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 a service template with detail data.
This operation returns paginated results.
Synopsis
- data ListServiceTemplateVersions = ListServiceTemplateVersions' {}
- newListServiceTemplateVersions :: Text -> ListServiceTemplateVersions
- listServiceTemplateVersions_majorVersion :: Lens' ListServiceTemplateVersions (Maybe Text)
- listServiceTemplateVersions_nextToken :: Lens' ListServiceTemplateVersions (Maybe Text)
- listServiceTemplateVersions_maxResults :: Lens' ListServiceTemplateVersions (Maybe Natural)
- listServiceTemplateVersions_templateName :: Lens' ListServiceTemplateVersions Text
- data ListServiceTemplateVersionsResponse = ListServiceTemplateVersionsResponse' {}
- newListServiceTemplateVersionsResponse :: Int -> ListServiceTemplateVersionsResponse
- listServiceTemplateVersionsResponse_nextToken :: Lens' ListServiceTemplateVersionsResponse (Maybe Text)
- listServiceTemplateVersionsResponse_httpStatus :: Lens' ListServiceTemplateVersionsResponse Int
- listServiceTemplateVersionsResponse_templateVersions :: Lens' ListServiceTemplateVersionsResponse [ServiceTemplateVersionSummary]
Creating a Request
data ListServiceTemplateVersions Source #
See: newListServiceTemplateVersions
smart constructor.
ListServiceTemplateVersions' | |
|
Instances
newListServiceTemplateVersions Source #
Create a value of ListServiceTemplateVersions
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:ListServiceTemplateVersions'
, listServiceTemplateVersions_majorVersion
- To view a list of minor of versions under a major version of a service
template, include majorVersion
.
To view a list of major versions of a service template, exclude
majorVersion
.
$sel:nextToken:ListServiceTemplateVersions'
, listServiceTemplateVersions_nextToken
- A token to indicate the location of the next major or minor version in
the array of major or minor versions of a service template, after the
list of major or minor versions that was previously requested.
$sel:maxResults:ListServiceTemplateVersions'
, listServiceTemplateVersions_maxResults
- The maximum number of major or minor versions of a service template to
list.
$sel:templateName:ListServiceTemplateVersions'
, listServiceTemplateVersions_templateName
- The name of the service template.
Request Lenses
listServiceTemplateVersions_majorVersion :: Lens' ListServiceTemplateVersions (Maybe Text) Source #
To view a list of minor of versions under a major version of a service
template, include majorVersion
.
To view a list of major versions of a service template, exclude
majorVersion
.
listServiceTemplateVersions_nextToken :: Lens' ListServiceTemplateVersions (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 a service template, after the list of major or minor versions that was previously requested.
listServiceTemplateVersions_maxResults :: Lens' ListServiceTemplateVersions (Maybe Natural) Source #
The maximum number of major or minor versions of a service template to list.
listServiceTemplateVersions_templateName :: Lens' ListServiceTemplateVersions Text Source #
The name of the service template.
Destructuring the Response
data ListServiceTemplateVersionsResponse Source #
See: newListServiceTemplateVersionsResponse
smart constructor.
ListServiceTemplateVersionsResponse' | |
|
Instances
newListServiceTemplateVersionsResponse Source #
Create a value of ListServiceTemplateVersionsResponse
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:ListServiceTemplateVersions'
, listServiceTemplateVersionsResponse_nextToken
- A token to indicate the location of the next major or minor version in
the array of major or minor versions of a service template, after the
list of major or minor versions that was previously requested.
$sel:httpStatus:ListServiceTemplateVersionsResponse'
, listServiceTemplateVersionsResponse_httpStatus
- The response's http status code.
$sel:templateVersions:ListServiceTemplateVersionsResponse'
, listServiceTemplateVersionsResponse_templateVersions
- An array of major or minor versions of a service template with detail
data.
Response Lenses
listServiceTemplateVersionsResponse_nextToken :: Lens' ListServiceTemplateVersionsResponse (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 a service template, after the list of major or minor versions that was previously requested.
listServiceTemplateVersionsResponse_httpStatus :: Lens' ListServiceTemplateVersionsResponse Int Source #
The response's http status code.
listServiceTemplateVersionsResponse_templateVersions :: Lens' ListServiceTemplateVersionsResponse [ServiceTemplateVersionSummary] Source #
An array of major or minor versions of a service template with detail data.