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 |
Lists the runtime environments.
This operation returns paginated results.
Synopsis
- data ListEnvironments = ListEnvironments' {
- engineType :: Maybe EngineType
- maxResults :: Maybe Natural
- names :: Maybe (NonEmpty Text)
- nextToken :: Maybe Text
- newListEnvironments :: ListEnvironments
- listEnvironments_engineType :: Lens' ListEnvironments (Maybe EngineType)
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- listEnvironments_names :: Lens' ListEnvironments (Maybe (NonEmpty Text))
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- 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:
ListEnvironments
, listEnvironments_engineType
- The engine type for the runtime environment.
$sel:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of runtime environments to return.
$sel:names:ListEnvironments'
, listEnvironments_names
- The names of the runtime environments. Must be unique within the
account.
ListEnvironments
, listEnvironments_nextToken
- A pagination token to control the number of runtime environments
displayed in the list.
Request Lenses
listEnvironments_engineType :: Lens' ListEnvironments (Maybe EngineType) Source #
The engine type for the runtime environment.
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of runtime environments to return.
listEnvironments_names :: Lens' ListEnvironments (Maybe (NonEmpty Text)) Source #
The names of the runtime environments. Must be unique within the account.
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #
A pagination token to control the number of runtime environments displayed in the 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:
ListEnvironments
, listEnvironmentsResponse_nextToken
- A pagination token that's returned when the response doesn't contain
all the runtime environments.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
$sel:environments:ListEnvironmentsResponse'
, listEnvironmentsResponse_environments
- Returns a list of summary details for all the runtime environments in
your account.
Response Lenses
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #
A pagination token that's returned when the response doesn't contain all the runtime environments.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.
listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [EnvironmentSummary] Source #
Returns a list of summary details for all the runtime environments in your account.