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 environments with detail data summaries.
This operation returns paginated results.
Synopsis
- data ListEnvironments = ListEnvironments' {}
- newListEnvironments :: ListEnvironments
- listEnvironments_environmentTemplates :: Lens' ListEnvironments (Maybe [EnvironmentTemplateFilter])
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- data ListEnvironmentsResponse = ListEnvironmentsResponse' {}
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
- listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int
- listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [EnvironmentSummary]
Creating a Request
data ListEnvironments Source #
See: newListEnvironments
smart constructor.
ListEnvironments' | |
|
Instances
newListEnvironments :: ListEnvironments Source #
Create a value of ListEnvironments
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:environmentTemplates:ListEnvironments'
, listEnvironments_environmentTemplates
- An array of the versions of the environment template.
$sel:nextToken:ListEnvironments'
, listEnvironments_nextToken
- A token to indicate the location of the next environment in the array of
environments, after the list of environments that was previously
requested.
$sel:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of environments to list.
Request Lenses
listEnvironments_environmentTemplates :: Lens' ListEnvironments (Maybe [EnvironmentTemplateFilter]) Source #
An array of the versions of the environment template.
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #
A token to indicate the location of the next environment in the array of environments, after the list of environments that was previously requested.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of environments to list.
Destructuring the Response
data ListEnvironmentsResponse Source #
See: newListEnvironmentsResponse
smart constructor.
ListEnvironmentsResponse' | |
|
Instances
newListEnvironmentsResponse Source #
Create a value of ListEnvironmentsResponse
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:ListEnvironments'
, listEnvironmentsResponse_nextToken
- A token to indicate the location of the next environment in the array of
environments, after the current requested list of environments.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
$sel:environments:ListEnvironmentsResponse'
, listEnvironmentsResponse_environments
- An array of environment detail data summaries.
Response Lenses
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #
A token to indicate the location of the next environment in the array of environments, after the current requested list of environments.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.
listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [EnvironmentSummary] Source #
An array of environment detail data summaries.