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 core definition.
This operation returns paginated results.
Synopsis
- data ListCoreDefinitionVersions = ListCoreDefinitionVersions' {}
- newListCoreDefinitionVersions :: Text -> ListCoreDefinitionVersions
- listCoreDefinitionVersions_nextToken :: Lens' ListCoreDefinitionVersions (Maybe Text)
- listCoreDefinitionVersions_maxResults :: Lens' ListCoreDefinitionVersions (Maybe Text)
- listCoreDefinitionVersions_coreDefinitionId :: Lens' ListCoreDefinitionVersions Text
- data ListCoreDefinitionVersionsResponse = ListCoreDefinitionVersionsResponse' {
- versions :: Maybe [VersionInformation]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListCoreDefinitionVersionsResponse :: Int -> ListCoreDefinitionVersionsResponse
- listCoreDefinitionVersionsResponse_versions :: Lens' ListCoreDefinitionVersionsResponse (Maybe [VersionInformation])
- listCoreDefinitionVersionsResponse_nextToken :: Lens' ListCoreDefinitionVersionsResponse (Maybe Text)
- listCoreDefinitionVersionsResponse_httpStatus :: Lens' ListCoreDefinitionVersionsResponse Int
Creating a Request
data ListCoreDefinitionVersions Source #
See: newListCoreDefinitionVersions
smart constructor.
ListCoreDefinitionVersions' | |
|
Instances
newListCoreDefinitionVersions Source #
Create a value of ListCoreDefinitionVersions
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:ListCoreDefinitionVersions'
, listCoreDefinitionVersions_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:maxResults:ListCoreDefinitionVersions'
, listCoreDefinitionVersions_maxResults
- The maximum number of results to be returned per request.
$sel:coreDefinitionId:ListCoreDefinitionVersions'
, listCoreDefinitionVersions_coreDefinitionId
- The ID of the core definition.
Request Lenses
listCoreDefinitionVersions_nextToken :: Lens' ListCoreDefinitionVersions (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listCoreDefinitionVersions_maxResults :: Lens' ListCoreDefinitionVersions (Maybe Text) Source #
The maximum number of results to be returned per request.
listCoreDefinitionVersions_coreDefinitionId :: Lens' ListCoreDefinitionVersions Text Source #
The ID of the core definition.
Destructuring the Response
data ListCoreDefinitionVersionsResponse Source #
See: newListCoreDefinitionVersionsResponse
smart constructor.
ListCoreDefinitionVersionsResponse' | |
|
Instances
newListCoreDefinitionVersionsResponse Source #
Create a value of ListCoreDefinitionVersionsResponse
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:ListCoreDefinitionVersionsResponse'
, listCoreDefinitionVersionsResponse_versions
- Information about a version.
$sel:nextToken:ListCoreDefinitionVersions'
, listCoreDefinitionVersionsResponse_nextToken
- The token for the next set of results, or ''null'' if there are no
additional results.
$sel:httpStatus:ListCoreDefinitionVersionsResponse'
, listCoreDefinitionVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listCoreDefinitionVersionsResponse_versions :: Lens' ListCoreDefinitionVersionsResponse (Maybe [VersionInformation]) Source #
Information about a version.
listCoreDefinitionVersionsResponse_nextToken :: Lens' ListCoreDefinitionVersionsResponse (Maybe Text) Source #
The token for the next set of results, or ''null'' if there are no additional results.
listCoreDefinitionVersionsResponse_httpStatus :: Lens' ListCoreDefinitionVersionsResponse Int Source #
The response's http status code.