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 |
Lists the versions of a resource definition.
Synopsis
- listResourceDefinitionVersions :: Text -> ListResourceDefinitionVersions
- data ListResourceDefinitionVersions
- lrdvNextToken :: Lens' ListResourceDefinitionVersions (Maybe Text)
- lrdvMaxResults :: Lens' ListResourceDefinitionVersions (Maybe Text)
- lrdvResourceDefinitionId :: Lens' ListResourceDefinitionVersions Text
- listResourceDefinitionVersionsResponse :: Int -> ListResourceDefinitionVersionsResponse
- data ListResourceDefinitionVersionsResponse
- lrdvrsVersions :: Lens' ListResourceDefinitionVersionsResponse [VersionInformation]
- lrdvrsNextToken :: Lens' ListResourceDefinitionVersionsResponse (Maybe Text)
- lrdvrsResponseStatus :: Lens' ListResourceDefinitionVersionsResponse Int
Creating a Request
listResourceDefinitionVersions Source #
Creates a value of ListResourceDefinitionVersions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrdvNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lrdvMaxResults
- The maximum number of results to be returned per request.lrdvResourceDefinitionId
- The ID of the resource definition.
data ListResourceDefinitionVersions Source #
See: listResourceDefinitionVersions
smart constructor.
Instances
Request Lenses
lrdvNextToken :: Lens' ListResourceDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lrdvMaxResults :: Lens' ListResourceDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
lrdvResourceDefinitionId :: Lens' ListResourceDefinitionVersions Text Source #
The ID of the resource definition.
Destructuring the Response
listResourceDefinitionVersionsResponse Source #
Creates a value of ListResourceDefinitionVersionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lrdvrsVersions
- Information about a version.lrdvrsNextToken
- The token for the next set of results, or 'null'
if there are no additional results.lrdvrsResponseStatus
- -- | The response status code.
data ListResourceDefinitionVersionsResponse Source #
See: listResourceDefinitionVersionsResponse
smart constructor.
Instances
Response Lenses
lrdvrsVersions :: Lens' ListResourceDefinitionVersionsResponse [VersionInformation] Source #
Information about a version.
lrdvrsNextToken :: Lens' ListResourceDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or 'null'
if there are no additional results.
lrdvrsResponseStatus :: Lens' ListResourceDefinitionVersionsResponse Int Source #
- - | The response status code.