Copyright | (c) 2013-2021 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 |
Lists the versions of a resource definition.
This operation returns paginated results.
Synopsis
- data ListResourceDefinitionVersions = ListResourceDefinitionVersions' {}
- newListResourceDefinitionVersions :: Text -> ListResourceDefinitionVersions
- listResourceDefinitionVersions_nextToken :: Lens' ListResourceDefinitionVersions (Maybe Text)
- listResourceDefinitionVersions_maxResults :: Lens' ListResourceDefinitionVersions (Maybe Text)
- listResourceDefinitionVersions_resourceDefinitionId :: Lens' ListResourceDefinitionVersions Text
- data ListResourceDefinitionVersionsResponse = ListResourceDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListResourceDefinitionVersionsResponse :: Int -> ListResourceDefinitionVersionsResponse
- listResourceDefinitionVersionsResponse_versions :: Lens' ListResourceDefinitionVersionsResponse (Maybe [VersionInformation])
- listResourceDefinitionVersionsResponse_nextToken :: Lens' ListResourceDefinitionVersionsResponse (Maybe Text)
- listResourceDefinitionVersionsResponse_httpStatus :: Lens' ListResourceDefinitionVersionsResponse Int
Creating a Request
data ListResourceDefinitionVersions Source #
See: newListResourceDefinitionVersions
smart constructor.
ListResourceDefinitionVersions' | |
|
Instances
newListResourceDefinitionVersions Source #
Create a value of ListResourceDefinitionVersions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:nextToken:ListResourceDefinitionVersions'
, listResourceDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListResourceDefinitionVersions'
, listResourceDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:resourceDefinitionId:ListResourceDefinitionVersions'
, listResourceDefinitionVersions_resourceDefinitionId
- The ID of the resource definition.
Request Lenses
listResourceDefinitionVersions_nextToken :: Lens' ListResourceDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listResourceDefinitionVersions_maxResults :: Lens' ListResourceDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listResourceDefinitionVersions_resourceDefinitionId :: Lens' ListResourceDefinitionVersions Text Source #
The ID of the resource definition.
Destructuring the Response
data ListResourceDefinitionVersionsResponse Source #
See: newListResourceDefinitionVersionsResponse
smart constructor.
ListResourceDefinitionVersionsResponse' | |
|
Instances
newListResourceDefinitionVersionsResponse Source #
Create a value of ListResourceDefinitionVersionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:versions:ListResourceDefinitionVersionsResponse'
, listResourceDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListResourceDefinitionVersions'
, listResourceDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListResourceDefinitionVersionsResponse'
, listResourceDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listResourceDefinitionVersionsResponse_versions :: Lens' ListResourceDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listResourceDefinitionVersionsResponse_nextToken :: Lens' ListResourceDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listResourceDefinitionVersionsResponse_httpStatus :: Lens' ListResourceDefinitionVersionsResponse Int Source #
The response's http status code.