| Copyright | (c) 2013-2018 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 |
Network.AWS.SSM.ListAssociationVersions
Description
Retrieves all versions of an association for a specific association ID.
Synopsis
- listAssociationVersions :: Text -> ListAssociationVersions
- data ListAssociationVersions
- lavNextToken :: Lens' ListAssociationVersions (Maybe Text)
- lavMaxResults :: Lens' ListAssociationVersions (Maybe Natural)
- lavAssociationId :: Lens' ListAssociationVersions Text
- listAssociationVersionsResponse :: Int -> ListAssociationVersionsResponse
- data ListAssociationVersionsResponse
- lavrsNextToken :: Lens' ListAssociationVersionsResponse (Maybe Text)
- lavrsAssociationVersions :: Lens' ListAssociationVersionsResponse (Maybe (NonEmpty AssociationVersionInfo))
- lavrsResponseStatus :: Lens' ListAssociationVersionsResponse Int
Creating a Request
Arguments
| :: Text | |
| -> ListAssociationVersions |
Creates a value of ListAssociationVersions with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lavNextToken- A token to start the list. Use this token to get the next set of results.lavMaxResults- 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.lavAssociationId- The association ID for which you want to view all versions.
data ListAssociationVersions #
See: listAssociationVersions smart constructor.
Instances
Request Lenses
lavNextToken :: Lens' ListAssociationVersions (Maybe Text) #
A token to start the list. Use this token to get the next set of results.
lavMaxResults :: Lens' ListAssociationVersions (Maybe Natural) #
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.
lavAssociationId :: Lens' ListAssociationVersions Text #
The association ID for which you want to view all versions.
Destructuring the Response
listAssociationVersionsResponse #
Arguments
| :: Int | |
| -> ListAssociationVersionsResponse |
Creates a value of ListAssociationVersionsResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lavrsNextToken- The token for the next set of items to return. Use this token to get the next set of results.lavrsAssociationVersions- Information about all versions of the association for the specified association ID.lavrsResponseStatus- -- | The response status code.
data ListAssociationVersionsResponse #
See: listAssociationVersionsResponse smart constructor.
Instances
Response Lenses
lavrsNextToken :: Lens' ListAssociationVersionsResponse (Maybe Text) #
The token for the next set of items to return. Use this token to get the next set of results.
lavrsAssociationVersions :: Lens' ListAssociationVersionsResponse (Maybe (NonEmpty AssociationVersionInfo)) #
Information about all versions of the association for the specified association ID.
lavrsResponseStatus :: Lens' ListAssociationVersionsResponse Int #
- - | The response status code.