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 |
Retrieves all versions of an association for a specific association ID.
- 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
listAssociationVersions Source #
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 Source #
See: listAssociationVersions
smart constructor.
Request Lenses
lavNextToken :: Lens' ListAssociationVersions (Maybe Text) Source #
A token to start the list. Use this token to get the next set of results.
lavMaxResults :: Lens' ListAssociationVersions (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.
lavAssociationId :: Lens' ListAssociationVersions Text Source #
The association ID for which you want to view all versions.
Destructuring the Response
listAssociationVersionsResponse Source #
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 Source #
See: listAssociationVersionsResponse
smart constructor.
Response Lenses
lavrsNextToken :: Lens' ListAssociationVersionsResponse (Maybe Text) Source #
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)) Source #
Information about all versions of the association for the specified association ID.
lavrsResponseStatus :: Lens' ListAssociationVersionsResponse Int Source #
- - | The response status code.