Copyright | (c) 2013-2017 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 |
Describes one or more of your Systems Manager documents.
This operation returns paginated results.
- listDocuments :: ListDocuments
- data ListDocuments
- ldDocumentFilterList :: Lens' ListDocuments (Maybe (NonEmpty DocumentFilter))
- ldFilters :: Lens' ListDocuments [DocumentKeyValuesFilter]
- ldNextToken :: Lens' ListDocuments (Maybe Text)
- ldMaxResults :: Lens' ListDocuments (Maybe Natural)
- listDocumentsResponse :: Int -> ListDocumentsResponse
- data ListDocumentsResponse
- ldrsDocumentIdentifiers :: Lens' ListDocumentsResponse [DocumentIdentifier]
- ldrsNextToken :: Lens' ListDocumentsResponse (Maybe Text)
- ldrsResponseStatus :: Lens' ListDocumentsResponse Int
Creating a Request
listDocuments :: ListDocuments Source #
Creates a value of ListDocuments
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldDocumentFilterList
- One or more filters. Use a filter to return a more specific list of results.ldFilters
- One or more filters. Use a filter to return a more specific list of results.ldNextToken
- The token for the next set of items to return. (You received this token from a previous call.)ldMaxResults
- The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
data ListDocuments Source #
See: listDocuments
smart constructor.
Request Lenses
ldDocumentFilterList :: Lens' ListDocuments (Maybe (NonEmpty DocumentFilter)) Source #
One or more filters. Use a filter to return a more specific list of results.
ldFilters :: Lens' ListDocuments [DocumentKeyValuesFilter] Source #
One or more filters. Use a filter to return a more specific list of results.
ldNextToken :: Lens' ListDocuments (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
ldMaxResults :: Lens' ListDocuments (Maybe Natural) Source #
The maximum number of items to return for this call. The call also returns a token that you can specify in a subsequent call to get the next set of results.
Destructuring the Response
listDocumentsResponse Source #
Creates a value of ListDocumentsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
ldrsDocumentIdentifiers
- The names of the Systems Manager documents.ldrsNextToken
- The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.ldrsResponseStatus
- -- | The response status code.
data ListDocumentsResponse Source #
See: listDocumentsResponse
smart constructor.
Response Lenses
ldrsDocumentIdentifiers :: Lens' ListDocumentsResponse [DocumentIdentifier] Source #
The names of the Systems Manager documents.
ldrsNextToken :: Lens' ListDocumentsResponse (Maybe Text) Source #
The token to use when requesting the next set of items. If there are no additional items to return, the string is empty.
ldrsResponseStatus :: Lens' ListDocumentsResponse Int Source #
- - | The response status code.