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 environment templates.
This operation returns paginated results.
Synopsis
- data ListEnvironmentTemplates = ListEnvironmentTemplates' {}
- newListEnvironmentTemplates :: ListEnvironmentTemplates
- listEnvironmentTemplates_nextToken :: Lens' ListEnvironmentTemplates (Maybe Text)
- listEnvironmentTemplates_maxResults :: Lens' ListEnvironmentTemplates (Maybe Natural)
- data ListEnvironmentTemplatesResponse = ListEnvironmentTemplatesResponse' {}
- newListEnvironmentTemplatesResponse :: Int -> ListEnvironmentTemplatesResponse
- listEnvironmentTemplatesResponse_nextToken :: Lens' ListEnvironmentTemplatesResponse (Maybe Text)
- listEnvironmentTemplatesResponse_httpStatus :: Lens' ListEnvironmentTemplatesResponse Int
- listEnvironmentTemplatesResponse_templates :: Lens' ListEnvironmentTemplatesResponse [EnvironmentTemplateSummary]
Creating a Request
data ListEnvironmentTemplates Source #
See: newListEnvironmentTemplates
smart constructor.
Instances
newListEnvironmentTemplates :: ListEnvironmentTemplates Source #
Create a value of ListEnvironmentTemplates
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:ListEnvironmentTemplates'
, listEnvironmentTemplates_nextToken
- A token to indicate the location of the next environment template in the
array of environment templates, after the list of environment templates
that was previously requested.
$sel:maxResults:ListEnvironmentTemplates'
, listEnvironmentTemplates_maxResults
- The maximum number of environment templates to list.
Request Lenses
listEnvironmentTemplates_nextToken :: Lens' ListEnvironmentTemplates (Maybe Text) Source #
A token to indicate the location of the next environment template in the array of environment templates, after the list of environment templates that was previously requested.
listEnvironmentTemplates_maxResults :: Lens' ListEnvironmentTemplates (Maybe Natural) Source #
The maximum number of environment templates to list.
Destructuring the Response
data ListEnvironmentTemplatesResponse Source #
See: newListEnvironmentTemplatesResponse
smart constructor.
ListEnvironmentTemplatesResponse' | |
|
Instances
newListEnvironmentTemplatesResponse Source #
Create a value of ListEnvironmentTemplatesResponse
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:ListEnvironmentTemplates'
, listEnvironmentTemplatesResponse_nextToken
- A token to indicate the location of the next environment template in the
array of environment templates, after the current requested list of
environment templates.
$sel:httpStatus:ListEnvironmentTemplatesResponse'
, listEnvironmentTemplatesResponse_httpStatus
- The response's http status code.
$sel:templates:ListEnvironmentTemplatesResponse'
, listEnvironmentTemplatesResponse_templates
- An array of environment templates with detail data.
Response Lenses
listEnvironmentTemplatesResponse_nextToken :: Lens' ListEnvironmentTemplatesResponse (Maybe Text) Source #
A token to indicate the location of the next environment template in the array of environment templates, after the current requested list of environment templates.
listEnvironmentTemplatesResponse_httpStatus :: Lens' ListEnvironmentTemplatesResponse Int Source #
The response's http status code.
listEnvironmentTemplatesResponse_templates :: Lens' ListEnvironmentTemplatesResponse [EnvironmentTemplateSummary] Source #
An array of environment templates with detail data.