Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Retrieves attributes within a facet that are associated with an object.
- getObjectAttributes :: Text -> ObjectReference -> SchemaFacet -> GetObjectAttributes
- data GetObjectAttributes
- goaConsistencyLevel :: Lens' GetObjectAttributes (Maybe ConsistencyLevel)
- goaDirectoryARN :: Lens' GetObjectAttributes Text
- goaObjectReference :: Lens' GetObjectAttributes ObjectReference
- goaSchemaFacet :: Lens' GetObjectAttributes SchemaFacet
- goaAttributeNames :: Lens' GetObjectAttributes [Text]
- getObjectAttributesResponse :: Int -> GetObjectAttributesResponse
- data GetObjectAttributesResponse
- goarsAttributes :: Lens' GetObjectAttributesResponse [AttributeKeyAndValue]
- goarsResponseStatus :: Lens' GetObjectAttributesResponse Int
Creating a Request
Creates a value of GetObjectAttributes
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goaConsistencyLevel
- The consistency level at which to retrieve the attributes on an object.goaDirectoryARN
- The Amazon Resource Name (ARN) that is associated with theDirectory
where the object resides.goaObjectReference
- Reference that identifies the object whose attributes will be retrieved.goaSchemaFacet
- Identifier for the facet whose attributes will be retrieved. SeeSchemaFacet
for details.goaAttributeNames
- List of attribute names whose values will be retrieved.
data GetObjectAttributes Source #
See: getObjectAttributes
smart constructor.
Request Lenses
goaConsistencyLevel :: Lens' GetObjectAttributes (Maybe ConsistencyLevel) Source #
The consistency level at which to retrieve the attributes on an object.
goaDirectoryARN :: Lens' GetObjectAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides.
goaObjectReference :: Lens' GetObjectAttributes ObjectReference Source #
Reference that identifies the object whose attributes will be retrieved.
goaSchemaFacet :: Lens' GetObjectAttributes SchemaFacet Source #
Identifier for the facet whose attributes will be retrieved. See SchemaFacet
for details.
goaAttributeNames :: Lens' GetObjectAttributes [Text] Source #
List of attribute names whose values will be retrieved.
Destructuring the Response
getObjectAttributesResponse Source #
Creates a value of GetObjectAttributesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
goarsAttributes
- The attributes that are associated with the object.goarsResponseStatus
- -- | The response status code.
data GetObjectAttributesResponse Source #
See: getObjectAttributesResponse
smart constructor.
Response Lenses
goarsAttributes :: Lens' GetObjectAttributesResponse [AttributeKeyAndValue] Source #
The attributes that are associated with the object.
goarsResponseStatus :: Lens' GetObjectAttributesResponse Int Source #
- - | The response status code.