| 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.ListAssociations
Description
Lists the associations for the specified configuration document or instance.
See: AWS API Reference for ListAssociations.
- listAssociations :: NonEmpty AssociationFilter -> ListAssociations
- data ListAssociations
- laNextToken :: Lens' ListAssociations (Maybe Text)
- laMaxResults :: Lens' ListAssociations (Maybe Natural)
- laAssociationFilterList :: Lens' ListAssociations (NonEmpty AssociationFilter)
- listAssociationsResponse :: Int -> ListAssociationsResponse
- data ListAssociationsResponse
- larsNextToken :: Lens' ListAssociationsResponse (Maybe Text)
- larsAssociations :: Lens' ListAssociationsResponse [Association]
- larsResponseStatus :: Lens' ListAssociationsResponse Int
Creating a Request
Arguments
| :: NonEmpty AssociationFilter | |
| -> ListAssociations |
Creates a value of ListAssociations with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAssociations Source
See: listAssociations smart constructor.
Instances
Request Lenses
laNextToken :: Lens' ListAssociations (Maybe Text) Source
The token for the next set of items to return. (You received this token from a previous call.)
laMaxResults :: Lens' ListAssociations (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.
laAssociationFilterList :: Lens' ListAssociations (NonEmpty AssociationFilter) Source
One or more filters. Use a filter to return a more specific list of results.
Destructuring the Response
listAssociationsResponse Source
Arguments
| :: Int | |
| -> ListAssociationsResponse |
Creates a value of ListAssociationsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ListAssociationsResponse Source
See: listAssociationsResponse smart constructor.
Response Lenses
larsNextToken :: Lens' ListAssociationsResponse (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.
larsAssociations :: Lens' ListAssociationsResponse [Association] Source
The associations.
larsResponseStatus :: Lens' ListAssociationsResponse Int Source
The response status code.