| 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 |
Network.AWS.CloudDirectory.ListObjectAttributes
Description
Lists all attributes that are associated with an object.
This operation returns paginated results.
- listObjectAttributes :: Text -> ObjectReference -> ListObjectAttributes
- data ListObjectAttributes
- loaFacetFilter :: Lens' ListObjectAttributes (Maybe SchemaFacet)
- loaConsistencyLevel :: Lens' ListObjectAttributes (Maybe ConsistencyLevel)
- loaNextToken :: Lens' ListObjectAttributes (Maybe Text)
- loaMaxResults :: Lens' ListObjectAttributes (Maybe Natural)
- loaDirectoryARN :: Lens' ListObjectAttributes Text
- loaObjectReference :: Lens' ListObjectAttributes ObjectReference
- listObjectAttributesResponse :: Int -> ListObjectAttributesResponse
- data ListObjectAttributesResponse
- loarsNextToken :: Lens' ListObjectAttributesResponse (Maybe Text)
- loarsAttributes :: Lens' ListObjectAttributesResponse [AttributeKeyAndValue]
- loarsResponseStatus :: Lens' ListObjectAttributesResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ObjectReference | |
| -> ListObjectAttributes |
Creates a value of ListObjectAttributes with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loaFacetFilter- Used to filter the list of object attributes that are associated with a certain facet.loaConsistencyLevel- Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.loaNextToken- The pagination token.loaMaxResults- The maximum number of items to be retrieved in a single call. This is an approximate number.loaDirectoryARN- The Amazon Resource Name (ARN) that is associated with theDirectorywhere the object resides. For more information, seearns.loaObjectReference- The reference that identifies the object whose attributes will be listed.
data ListObjectAttributes Source #
See: listObjectAttributes smart constructor.
Instances
Request Lenses
loaFacetFilter :: Lens' ListObjectAttributes (Maybe SchemaFacet) Source #
Used to filter the list of object attributes that are associated with a certain facet.
loaConsistencyLevel :: Lens' ListObjectAttributes (Maybe ConsistencyLevel) Source #
Represents the manner and timing in which the successful write or update of an object is reflected in a subsequent read operation of that same object.
loaNextToken :: Lens' ListObjectAttributes (Maybe Text) Source #
The pagination token.
loaMaxResults :: Lens' ListObjectAttributes (Maybe Natural) Source #
The maximum number of items to be retrieved in a single call. This is an approximate number.
loaDirectoryARN :: Lens' ListObjectAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns .
loaObjectReference :: Lens' ListObjectAttributes ObjectReference Source #
The reference that identifies the object whose attributes will be listed.
Destructuring the Response
listObjectAttributesResponse Source #
Arguments
| :: Int | |
| -> ListObjectAttributesResponse |
Creates a value of ListObjectAttributesResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
loarsNextToken- The pagination token.loarsAttributes- Attributes map that is associated with the object.AttributeArnis the key, and attribute value is the value.loarsResponseStatus- -- | The response status code.
data ListObjectAttributesResponse Source #
See: listObjectAttributesResponse smart constructor.
Instances
Response Lenses
loarsNextToken :: Lens' ListObjectAttributesResponse (Maybe Text) Source #
The pagination token.
loarsAttributes :: Lens' ListObjectAttributesResponse [AttributeKeyAndValue] Source #
Attributes map that is associated with the object. AttributeArn is the key, and attribute value is the value.
loarsResponseStatus :: Lens' ListObjectAttributesResponse Int Source #
- - | The response status code.