Copyright | (c) 2013-2021 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 |
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_nextToken :: Lens' ListAttachedIndices (Maybe Text)
- listAttachedIndices_maxResults :: Lens' ListAttachedIndices (Maybe Natural)
- 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.
ListAttachedIndices' | |
|
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.
$sel:nextToken:ListAttachedIndices'
, listAttachedIndices_nextToken
- The pagination token.
$sel:maxResults:ListAttachedIndices'
, listAttachedIndices_maxResults
- The maximum number of results to retrieve.
$sel:directoryArn:ListAttachedIndices'
, listAttachedIndices_directoryArn
- The ARN of the directory.
$sel:targetReference: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_nextToken :: Lens' ListAttachedIndices (Maybe Text) Source #
The pagination token.
listAttachedIndices_maxResults :: Lens' ListAttachedIndices (Maybe Natural) Source #
The maximum number of results to retrieve.
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.
ListAttachedIndicesResponse' | |
|
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:
$sel:indexAttachments:ListAttachedIndicesResponse'
, listAttachedIndicesResponse_indexAttachments
- The indices attached to the specified object.
$sel:nextToken: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.