| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.SSM.ListDocuments
Description
Describes one or more of your configuration documents.
See: AWS API Reference for ListDocuments.
- listDocuments :: ListDocuments
- data ListDocuments
- ldDocumentFilterList :: Lens' ListDocuments (Maybe (NonEmpty DocumentFilter))
- ldNextToken :: Lens' ListDocuments (Maybe Text)
- ldMaxResults :: Lens' ListDocuments (Maybe Natural)
- listDocumentsResponse :: Int -> ListDocumentsResponse
- data ListDocumentsResponse
- ldrsDocumentIdentifiers :: Lens' ListDocumentsResponse [DocumentIdentifier]
- ldrsNextToken :: Lens' ListDocumentsResponse (Maybe Text)
- ldrsStatus :: 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:
data ListDocuments Source
See: listDocuments smart constructor.
Instances
Request Lenses
ldDocumentFilterList :: Lens' ListDocuments (Maybe (NonEmpty DocumentFilter)) 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
Arguments
| :: Int | |
| -> ListDocumentsResponse |
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:
data ListDocumentsResponse Source
See: listDocumentsResponse smart constructor.
Response Lenses
ldrsDocumentIdentifiers :: Lens' ListDocumentsResponse [DocumentIdentifier] Source
The names of the configuration 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.
ldrsStatus :: Lens' ListDocumentsResponse Int Source
The response status code.