| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.CloudDirectory.ListObjectAttributes
Description
Lists all attributes that are associated with an object.
This operation returns paginated results.
Synopsis
- data ListObjectAttributes = ListObjectAttributes' {}
- newListObjectAttributes :: Text -> ObjectReference -> ListObjectAttributes
- listObjectAttributes_consistencyLevel :: Lens' ListObjectAttributes (Maybe ConsistencyLevel)
- listObjectAttributes_facetFilter :: Lens' ListObjectAttributes (Maybe SchemaFacet)
- listObjectAttributes_maxResults :: Lens' ListObjectAttributes (Maybe Natural)
- listObjectAttributes_nextToken :: Lens' ListObjectAttributes (Maybe Text)
- listObjectAttributes_directoryArn :: Lens' ListObjectAttributes Text
- listObjectAttributes_objectReference :: Lens' ListObjectAttributes ObjectReference
- data ListObjectAttributesResponse = ListObjectAttributesResponse' {}
- newListObjectAttributesResponse :: Int -> ListObjectAttributesResponse
- listObjectAttributesResponse_attributes :: Lens' ListObjectAttributesResponse (Maybe [AttributeKeyAndValue])
- listObjectAttributesResponse_nextToken :: Lens' ListObjectAttributesResponse (Maybe Text)
- listObjectAttributesResponse_httpStatus :: Lens' ListObjectAttributesResponse Int
Creating a Request
data ListObjectAttributes Source #
See: newListObjectAttributes smart constructor.
Constructors
| ListObjectAttributes' | |
Fields
| |
Instances
newListObjectAttributes Source #
Create a value of ListObjectAttributes with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:consistencyLevel:ListObjectAttributes', listObjectAttributes_consistencyLevel - 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.
ListObjectAttributes, listObjectAttributes_facetFilter - Used to filter the list of object attributes that are associated with a
certain facet.
ListObjectAttributes, listObjectAttributes_maxResults - The maximum number of items to be retrieved in a single call. This is an
approximate number.
ListObjectAttributes, listObjectAttributes_nextToken - The pagination token.
ListObjectAttributes, listObjectAttributes_directoryArn - The Amazon Resource Name (ARN) that is associated with the Directory
where the object resides. For more information, see arns.
ListObjectAttributes, listObjectAttributes_objectReference - The reference that identifies the object whose attributes will be
listed.
Request Lenses
listObjectAttributes_consistencyLevel :: 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.
listObjectAttributes_facetFilter :: Lens' ListObjectAttributes (Maybe SchemaFacet) Source #
Used to filter the list of object attributes that are associated with a certain facet.
listObjectAttributes_maxResults :: Lens' ListObjectAttributes (Maybe Natural) Source #
The maximum number of items to be retrieved in a single call. This is an approximate number.
listObjectAttributes_nextToken :: Lens' ListObjectAttributes (Maybe Text) Source #
The pagination token.
listObjectAttributes_directoryArn :: Lens' ListObjectAttributes Text Source #
The Amazon Resource Name (ARN) that is associated with the Directory where the object resides. For more information, see arns.
listObjectAttributes_objectReference :: Lens' ListObjectAttributes ObjectReference Source #
The reference that identifies the object whose attributes will be listed.
Destructuring the Response
data ListObjectAttributesResponse Source #
See: newListObjectAttributesResponse smart constructor.
Constructors
| ListObjectAttributesResponse' | |
Fields
| |
Instances
newListObjectAttributesResponse Source #
Create a value of ListObjectAttributesResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListObjectAttributesResponse, listObjectAttributesResponse_attributes - Attributes map that is associated with the object. AttributeArn is the
key, and attribute value is the value.
ListObjectAttributes, listObjectAttributesResponse_nextToken - The pagination token.
$sel:httpStatus:ListObjectAttributesResponse', listObjectAttributesResponse_httpStatus - The response's http status code.
Response Lenses
listObjectAttributesResponse_attributes :: Lens' ListObjectAttributesResponse (Maybe [AttributeKeyAndValue]) Source #
Attributes map that is associated with the object. AttributeArn is the
key, and attribute value is the value.
listObjectAttributesResponse_nextToken :: Lens' ListObjectAttributesResponse (Maybe Text) Source #
The pagination token.
listObjectAttributesResponse_httpStatus :: Lens' ListObjectAttributesResponse Int Source #
The response's http status code.