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 |
A list of fleet provisioning template versions.
Requires permission to access the ListProvisioningTemplateVersions action.
This operation returns paginated results.
Synopsis
- data ListProvisioningTemplateVersions = ListProvisioningTemplateVersions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- templateName :: Text
- newListProvisioningTemplateVersions :: Text -> ListProvisioningTemplateVersions
- listProvisioningTemplateVersions_nextToken :: Lens' ListProvisioningTemplateVersions (Maybe Text)
- listProvisioningTemplateVersions_maxResults :: Lens' ListProvisioningTemplateVersions (Maybe Natural)
- listProvisioningTemplateVersions_templateName :: Lens' ListProvisioningTemplateVersions Text
- data ListProvisioningTemplateVersionsResponse = ListProvisioningTemplateVersionsResponse' {}
- newListProvisioningTemplateVersionsResponse :: Int -> ListProvisioningTemplateVersionsResponse
- listProvisioningTemplateVersionsResponse_versions :: Lens' ListProvisioningTemplateVersionsResponse (Maybe [ProvisioningTemplateVersionSummary])
- listProvisioningTemplateVersionsResponse_nextToken :: Lens' ListProvisioningTemplateVersionsResponse (Maybe Text)
- listProvisioningTemplateVersionsResponse_httpStatus :: Lens' ListProvisioningTemplateVersionsResponse Int
Creating a Request
data ListProvisioningTemplateVersions Source #
See: newListProvisioningTemplateVersions
smart constructor.
ListProvisioningTemplateVersions' | |
|
Instances
newListProvisioningTemplateVersions Source #
Create a value of ListProvisioningTemplateVersions
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:ListProvisioningTemplateVersions'
, listProvisioningTemplateVersions_nextToken
- A token to retrieve the next set of results.
$sel:maxResults:ListProvisioningTemplateVersions'
, listProvisioningTemplateVersions_maxResults
- The maximum number of results to return at one time.
$sel:templateName:ListProvisioningTemplateVersions'
, listProvisioningTemplateVersions_templateName
- The name of the fleet provisioning template.
Request Lenses
listProvisioningTemplateVersions_nextToken :: Lens' ListProvisioningTemplateVersions (Maybe Text) Source #
A token to retrieve the next set of results.
listProvisioningTemplateVersions_maxResults :: Lens' ListProvisioningTemplateVersions (Maybe Natural) Source #
The maximum number of results to return at one time.
listProvisioningTemplateVersions_templateName :: Lens' ListProvisioningTemplateVersions Text Source #
The name of the fleet provisioning template.
Destructuring the Response
data ListProvisioningTemplateVersionsResponse Source #
See: newListProvisioningTemplateVersionsResponse
smart constructor.
ListProvisioningTemplateVersionsResponse' | |
|
Instances
newListProvisioningTemplateVersionsResponse Source #
Create a value of ListProvisioningTemplateVersionsResponse
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:ListProvisioningTemplateVersionsResponse'
, listProvisioningTemplateVersionsResponse_versions
- The list of fleet provisioning template versions.
$sel:nextToken:ListProvisioningTemplateVersions'
, listProvisioningTemplateVersionsResponse_nextToken
- A token to retrieve the next set of results.
$sel:httpStatus:ListProvisioningTemplateVersionsResponse'
, listProvisioningTemplateVersionsResponse_httpStatus
- The response's http status code.
Response Lenses
listProvisioningTemplateVersionsResponse_versions :: Lens' ListProvisioningTemplateVersionsResponse (Maybe [ProvisioningTemplateVersionSummary]) Source #
The list of fleet provisioning template versions.
listProvisioningTemplateVersionsResponse_nextToken :: Lens' ListProvisioningTemplateVersionsResponse (Maybe Text) Source #
A token to retrieve the next set of results.
listProvisioningTemplateVersionsResponse_httpStatus :: Lens' ListProvisioningTemplateVersionsResponse Int Source #
The response's http status code.