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 |
List major or minor versions of an environment template with detail data.
This operation returns paginated results.
Synopsis
- data ListEnvironmentTemplateVersions = ListEnvironmentTemplateVersions' {}
- newListEnvironmentTemplateVersions :: Text -> ListEnvironmentTemplateVersions
- listEnvironmentTemplateVersions_majorVersion :: Lens' ListEnvironmentTemplateVersions (Maybe Text)
- listEnvironmentTemplateVersions_nextToken :: Lens' ListEnvironmentTemplateVersions (Maybe Text)
- listEnvironmentTemplateVersions_maxResults :: Lens' ListEnvironmentTemplateVersions (Maybe Natural)
- listEnvironmentTemplateVersions_templateName :: Lens' ListEnvironmentTemplateVersions Text
- data ListEnvironmentTemplateVersionsResponse = ListEnvironmentTemplateVersionsResponse' {}
- newListEnvironmentTemplateVersionsResponse :: Int -> ListEnvironmentTemplateVersionsResponse
- listEnvironmentTemplateVersionsResponse_nextToken :: Lens' ListEnvironmentTemplateVersionsResponse (Maybe Text)
- listEnvironmentTemplateVersionsResponse_httpStatus :: Lens' ListEnvironmentTemplateVersionsResponse Int
- listEnvironmentTemplateVersionsResponse_templateVersions :: Lens' ListEnvironmentTemplateVersionsResponse [EnvironmentTemplateVersionSummary]
Creating a Request
data ListEnvironmentTemplateVersions Source #
See: newListEnvironmentTemplateVersions
smart constructor.
ListEnvironmentTemplateVersions' | |
|
Instances
newListEnvironmentTemplateVersions Source #
Create a value of ListEnvironmentTemplateVersions
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:majorVersion:ListEnvironmentTemplateVersions'
, listEnvironmentTemplateVersions_majorVersion
- To view a list of minor of versions under a major version of an
environment template, include majorVersion
.
To view a list of major versions of an environment template, exclude
majorVersion
.
$sel:nextToken:ListEnvironmentTemplateVersions'
, listEnvironmentTemplateVersions_nextToken
- A token to indicate the location of the next major or minor version in
the array of major or minor versions of an environment template, after
the list of major or minor versions that was previously requested.
$sel:maxResults:ListEnvironmentTemplateVersions'
, listEnvironmentTemplateVersions_maxResults
- The maximum number of major or minor versions of an environment template
to list.
$sel:templateName:ListEnvironmentTemplateVersions'
, listEnvironmentTemplateVersions_templateName
- The name of the environment template.
Request Lenses
listEnvironmentTemplateVersions_majorVersion :: Lens' ListEnvironmentTemplateVersions (Maybe Text) Source #
To view a list of minor of versions under a major version of an
environment template, include majorVersion
.
To view a list of major versions of an environment template, exclude
majorVersion
.
listEnvironmentTemplateVersions_nextToken :: Lens' ListEnvironmentTemplateVersions (Maybe Text) Source #
A token to indicate the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
listEnvironmentTemplateVersions_maxResults :: Lens' ListEnvironmentTemplateVersions (Maybe Natural) Source #
The maximum number of major or minor versions of an environment template to list.
listEnvironmentTemplateVersions_templateName :: Lens' ListEnvironmentTemplateVersions Text Source #
The name of the environment template.
Destructuring the Response
data ListEnvironmentTemplateVersionsResponse Source #
See: newListEnvironmentTemplateVersionsResponse
smart constructor.
ListEnvironmentTemplateVersionsResponse' | |
|
Instances
newListEnvironmentTemplateVersionsResponse Source #
Create a value of ListEnvironmentTemplateVersionsResponse
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:ListEnvironmentTemplateVersions'
, listEnvironmentTemplateVersionsResponse_nextToken
- A token to indicate the location of the next major or minor version in
the array of major or minor versions of an environment template, after
the list of major or minor versions that was previously requested.
$sel:httpStatus:ListEnvironmentTemplateVersionsResponse'
, listEnvironmentTemplateVersionsResponse_httpStatus
- The response's http status code.
$sel:templateVersions:ListEnvironmentTemplateVersionsResponse'
, listEnvironmentTemplateVersionsResponse_templateVersions
- An array of major or minor versions of an environment template detail
data.
Response Lenses
listEnvironmentTemplateVersionsResponse_nextToken :: Lens' ListEnvironmentTemplateVersionsResponse (Maybe Text) Source #
A token to indicate the location of the next major or minor version in the array of major or minor versions of an environment template, after the list of major or minor versions that was previously requested.
listEnvironmentTemplateVersionsResponse_httpStatus :: Lens' ListEnvironmentTemplateVersionsResponse Int Source #
The response's http status code.
listEnvironmentTemplateVersionsResponse_templateVersions :: Lens' ListEnvironmentTemplateVersionsResponse [EnvironmentTemplateVersionSummary] Source #
An array of major or minor versions of an environment template detail data.