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 fleet provisioning templates in your Amazon Web Services account.
Requires permission to access the ListProvisioningTemplates action.
This operation returns paginated results.
Synopsis
- data ListProvisioningTemplates = ListProvisioningTemplates' {}
- newListProvisioningTemplates :: ListProvisioningTemplates
- listProvisioningTemplates_nextToken :: Lens' ListProvisioningTemplates (Maybe Text)
- listProvisioningTemplates_maxResults :: Lens' ListProvisioningTemplates (Maybe Natural)
- data ListProvisioningTemplatesResponse = ListProvisioningTemplatesResponse' {}
- newListProvisioningTemplatesResponse :: Int -> ListProvisioningTemplatesResponse
- listProvisioningTemplatesResponse_templates :: Lens' ListProvisioningTemplatesResponse (Maybe [ProvisioningTemplateSummary])
- listProvisioningTemplatesResponse_nextToken :: Lens' ListProvisioningTemplatesResponse (Maybe Text)
- listProvisioningTemplatesResponse_httpStatus :: Lens' ListProvisioningTemplatesResponse Int
Creating a Request
data ListProvisioningTemplates Source #
See: newListProvisioningTemplates
smart constructor.
Instances
newListProvisioningTemplates :: ListProvisioningTemplates Source #
Create a value of ListProvisioningTemplates
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:ListProvisioningTemplates'
, listProvisioningTemplates_nextToken
- A token to retrieve the next set of results.
$sel:maxResults:ListProvisioningTemplates'
, listProvisioningTemplates_maxResults
- The maximum number of results to return at one time.
Request Lenses
listProvisioningTemplates_nextToken :: Lens' ListProvisioningTemplates (Maybe Text) Source #
A token to retrieve the next set of results.
listProvisioningTemplates_maxResults :: Lens' ListProvisioningTemplates (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListProvisioningTemplatesResponse Source #
See: newListProvisioningTemplatesResponse
smart constructor.
ListProvisioningTemplatesResponse' | |
|
Instances
newListProvisioningTemplatesResponse Source #
Create a value of ListProvisioningTemplatesResponse
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:templates:ListProvisioningTemplatesResponse'
, listProvisioningTemplatesResponse_templates
- A list of fleet provisioning templates
$sel:nextToken:ListProvisioningTemplates'
, listProvisioningTemplatesResponse_nextToken
- A token to retrieve the next set of results.
$sel:httpStatus:ListProvisioningTemplatesResponse'
, listProvisioningTemplatesResponse_httpStatus
- The response's http status code.
Response Lenses
listProvisioningTemplatesResponse_templates :: Lens' ListProvisioningTemplatesResponse (Maybe [ProvisioningTemplateSummary]) Source #
A list of fleet provisioning templates
listProvisioningTemplatesResponse_nextToken :: Lens' ListProvisioningTemplatesResponse (Maybe Text) Source #
A token to retrieve the next set of results.
listProvisioningTemplatesResponse_httpStatus :: Lens' ListProvisioningTemplatesResponse Int Source #
The response's http status code.