Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
List environment templates.
This operation returns paginated results.
Synopsis
- data ListEnvironmentTemplates = ListEnvironmentTemplates' {}
- newListEnvironmentTemplates :: ListEnvironmentTemplates
- listEnvironmentTemplates_maxResults :: Lens' ListEnvironmentTemplates (Maybe Natural)
- listEnvironmentTemplates_nextToken :: Lens' ListEnvironmentTemplates (Maybe Text)
- 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:maxResults:ListEnvironmentTemplates'
, listEnvironmentTemplates_maxResults
- The maximum number of environment templates to list.
ListEnvironmentTemplates
, listEnvironmentTemplates_nextToken
- A token that indicates the location of the next environment template in
the array of environment templates, after the list of environment
templates that was previously requested.
Request Lenses
listEnvironmentTemplates_maxResults :: Lens' ListEnvironmentTemplates (Maybe Natural) Source #
The maximum number of environment templates to list.
listEnvironmentTemplates_nextToken :: Lens' ListEnvironmentTemplates (Maybe Text) Source #
A token that indicates the location of the next environment template in the array of environment templates, after the list of environment templates that was previously requested.
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:
ListEnvironmentTemplates
, listEnvironmentTemplatesResponse_nextToken
- A token that indicates 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 that indicates 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.