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 Amazon Managed Workflows for Apache Airflow (MWAA) environments.
This operation returns paginated results.
Synopsis
- data ListEnvironments = ListEnvironments' {}
- newListEnvironments :: ListEnvironments
- listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural)
- listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text)
- data ListEnvironmentsResponse = ListEnvironmentsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- environments :: [Text]
- newListEnvironmentsResponse :: Int -> ListEnvironmentsResponse
- listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text)
- listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int
- listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [Text]
Creating a Request
data ListEnvironments Source #
See: newListEnvironments
smart constructor.
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:maxResults:ListEnvironments'
, listEnvironments_maxResults
- The maximum number of results to retrieve per page. For example, 5
environments per page.
ListEnvironments
, listEnvironments_nextToken
- Retrieves the next page of the results.
Request Lenses
listEnvironments_maxResults :: Lens' ListEnvironments (Maybe Natural) Source #
The maximum number of results to retrieve per page. For example, 5
environments per page.
listEnvironments_nextToken :: Lens' ListEnvironments (Maybe Text) Source #
Retrieves the next page of the results.
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
- Retrieves the next page of the results.
$sel:httpStatus:ListEnvironmentsResponse'
, listEnvironmentsResponse_httpStatus
- The response's http status code.
$sel:environments:ListEnvironmentsResponse'
, listEnvironmentsResponse_environments
- Returns a list of Amazon MWAA environments.
Response Lenses
listEnvironmentsResponse_nextToken :: Lens' ListEnvironmentsResponse (Maybe Text) Source #
Retrieves the next page of the results.
listEnvironmentsResponse_httpStatus :: Lens' ListEnvironmentsResponse Int Source #
The response's http status code.
listEnvironmentsResponse_environments :: Lens' ListEnvironmentsResponse [Text] Source #
Returns a list of Amazon MWAA environments.