Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

list_environments

list_environments(**kwargs)

Lists the Amazon Managed Workflows for Apache Airflow (MWAA) environments.

See also: AWS API Documentation

Request Syntax

response = client.list_environments(
    MaxResults=123,
    NextToken='string'
)
Parameters
  • MaxResults (integer) -- The maximum number of results to retrieve per page. For example, 5 environments per page.
  • NextToken (string) -- Retrieves the next page of the results.
Return type

dict

Returns

Response Syntax

{
    'Environments': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) --

    • Environments (list) --

      Returns a list of Amazon MWAA environments.

      • (string) --
    • NextToken (string) --

      Retrieves the next page of the results.

Exceptions

  • MWAA.Client.exceptions.ValidationException
  • MWAA.Client.exceptions.InternalServerException