MWAA / Client / list_environments

list_environments#

MWAA.Client.list_environments(**kwargs)#

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

See also: AWS API Documentation

Request Syntax

response = client.list_environments(
    NextToken='string',
    MaxResults=123
)
Parameters:
  • NextToken (string) – Retrieves the next page of the results.

  • MaxResults (integer) – The maximum number of results to retrieve per page. For example, 5 environments per page.

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