| 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.ListIndex
Description
Lists objects attached to the specified index.
This operation returns paginated results.
Synopsis
- data ListIndex = ListIndex' {}
- newListIndex :: Text -> ObjectReference -> ListIndex
- listIndex_consistencyLevel :: Lens' ListIndex (Maybe ConsistencyLevel)
- listIndex_maxResults :: Lens' ListIndex (Maybe Natural)
- listIndex_nextToken :: Lens' ListIndex (Maybe Text)
- listIndex_rangesOnIndexedValues :: Lens' ListIndex (Maybe [ObjectAttributeRange])
- listIndex_directoryArn :: Lens' ListIndex Text
- listIndex_indexReference :: Lens' ListIndex ObjectReference
- data ListIndexResponse = ListIndexResponse' {}
- newListIndexResponse :: Int -> ListIndexResponse
- listIndexResponse_indexAttachments :: Lens' ListIndexResponse (Maybe [IndexAttachment])
- listIndexResponse_nextToken :: Lens' ListIndexResponse (Maybe Text)
- listIndexResponse_httpStatus :: Lens' ListIndexResponse Int
Creating a Request
See: newListIndex smart constructor.
Constructors
| ListIndex' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ObjectReference | |
| -> ListIndex |
Create a value of ListIndex 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:ListIndex', listIndex_consistencyLevel - The consistency level to execute the request at.
ListIndex, listIndex_maxResults - The maximum number of objects in a single page to retrieve from the
index during a request. For more information, see
Amazon Cloud Directory Limits.
ListIndex, listIndex_nextToken - The pagination token.
ListIndex, listIndex_rangesOnIndexedValues - Specifies the ranges of indexed values that you want to query.
ListIndex, listIndex_directoryArn - The ARN of the directory that the index exists in.
ListIndex, listIndex_indexReference - The reference to the index to list.
Request Lenses
listIndex_consistencyLevel :: Lens' ListIndex (Maybe ConsistencyLevel) Source #
The consistency level to execute the request at.
listIndex_maxResults :: Lens' ListIndex (Maybe Natural) Source #
The maximum number of objects in a single page to retrieve from the index during a request. For more information, see Amazon Cloud Directory Limits.
listIndex_rangesOnIndexedValues :: Lens' ListIndex (Maybe [ObjectAttributeRange]) Source #
Specifies the ranges of indexed values that you want to query.
listIndex_directoryArn :: Lens' ListIndex Text Source #
The ARN of the directory that the index exists in.
listIndex_indexReference :: Lens' ListIndex ObjectReference Source #
The reference to the index to list.
Destructuring the Response
data ListIndexResponse Source #
See: newListIndexResponse smart constructor.
Constructors
| ListIndexResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> ListIndexResponse |
Create a value of ListIndexResponse 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:
ListIndexResponse, listIndexResponse_indexAttachments - The objects and indexed values attached to the index.
ListIndex, listIndexResponse_nextToken - The pagination token.
$sel:httpStatus:ListIndexResponse', listIndexResponse_httpStatus - The response's http status code.
Response Lenses
listIndexResponse_indexAttachments :: Lens' ListIndexResponse (Maybe [IndexAttachment]) Source #
The objects and indexed values attached to the index.
listIndexResponse_nextToken :: Lens' ListIndexResponse (Maybe Text) Source #
The pagination token.
listIndexResponse_httpStatus :: Lens' ListIndexResponse Int Source #
The response's http status code.