| 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.ListAttachedIndices
Description
Lists indices attached to the specified object.
This operation returns paginated results.
Synopsis
- data ListAttachedIndices = ListAttachedIndices' {}
- newListAttachedIndices :: Text -> ObjectReference -> ListAttachedIndices
- listAttachedIndices_consistencyLevel :: Lens' ListAttachedIndices (Maybe ConsistencyLevel)
- listAttachedIndices_maxResults :: Lens' ListAttachedIndices (Maybe Natural)
- listAttachedIndices_nextToken :: Lens' ListAttachedIndices (Maybe Text)
- listAttachedIndices_directoryArn :: Lens' ListAttachedIndices Text
- listAttachedIndices_targetReference :: Lens' ListAttachedIndices ObjectReference
- data ListAttachedIndicesResponse = ListAttachedIndicesResponse' {}
- newListAttachedIndicesResponse :: Int -> ListAttachedIndicesResponse
- listAttachedIndicesResponse_indexAttachments :: Lens' ListAttachedIndicesResponse (Maybe [IndexAttachment])
- listAttachedIndicesResponse_nextToken :: Lens' ListAttachedIndicesResponse (Maybe Text)
- listAttachedIndicesResponse_httpStatus :: Lens' ListAttachedIndicesResponse Int
Creating a Request
data ListAttachedIndices Source #
See: newListAttachedIndices smart constructor.
Constructors
| ListAttachedIndices' | |
Fields
| |
Instances
newListAttachedIndices Source #
Create a value of ListAttachedIndices 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:ListAttachedIndices', listAttachedIndices_consistencyLevel - The consistency level to use for this operation.
ListAttachedIndices, listAttachedIndices_maxResults - The maximum number of results to retrieve.
ListAttachedIndices, listAttachedIndices_nextToken - The pagination token.
ListAttachedIndices, listAttachedIndices_directoryArn - The ARN of the directory.
ListAttachedIndices, listAttachedIndices_targetReference - A reference to the object that has indices attached.
Request Lenses
listAttachedIndices_consistencyLevel :: Lens' ListAttachedIndices (Maybe ConsistencyLevel) Source #
The consistency level to use for this operation.
listAttachedIndices_maxResults :: Lens' ListAttachedIndices (Maybe Natural) Source #
The maximum number of results to retrieve.
listAttachedIndices_nextToken :: Lens' ListAttachedIndices (Maybe Text) Source #
The pagination token.
listAttachedIndices_directoryArn :: Lens' ListAttachedIndices Text Source #
The ARN of the directory.
listAttachedIndices_targetReference :: Lens' ListAttachedIndices ObjectReference Source #
A reference to the object that has indices attached.
Destructuring the Response
data ListAttachedIndicesResponse Source #
See: newListAttachedIndicesResponse smart constructor.
Constructors
| ListAttachedIndicesResponse' | |
Fields
| |
Instances
newListAttachedIndicesResponse Source #
Create a value of ListAttachedIndicesResponse 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:
ListAttachedIndicesResponse, listAttachedIndicesResponse_indexAttachments - The indices attached to the specified object.
ListAttachedIndices, listAttachedIndicesResponse_nextToken - The pagination token.
$sel:httpStatus:ListAttachedIndicesResponse', listAttachedIndicesResponse_httpStatus - The response's http status code.
Response Lenses
listAttachedIndicesResponse_indexAttachments :: Lens' ListAttachedIndicesResponse (Maybe [IndexAttachment]) Source #
The indices attached to the specified object.
listAttachedIndicesResponse_nextToken :: Lens' ListAttachedIndicesResponse (Maybe Text) Source #
The pagination token.
listAttachedIndicesResponse_httpStatus :: Lens' ListAttachedIndicesResponse Int Source #
The response's http status code.