list_environments
Retrieve a list of Amazon DataZone environments for a specific domain and project, with optional filters like status, name, or profile.
Instructions
Lists environments in Amazon DataZone.
Args: domain_identifier (str): The identifier of the Amazon DataZone domain. project_identifier (str): The identifier of the Amazon DataZone project. max_results (int, optional): Maximum number of environments to return. Defaults to 50. next_token (str, optional): Token for pagination. Defaults to None. aws_account_id (str, optional): The identifier of the AWS account where you want to list environments. aws_account_region (str, optional): The AWS region where you want to list environments. environment_blueprint_identifier (str, optional): The identifier of the Amazon DataZone blueprint. environment_profile_identifier (str, optional): The identifier of the environment profile. name (str, optional): The name of the environment. provider (str, optional): The provider of the environment. status (str, optional): The status of the environments to list. Valid values: ACTIVE, CREATING, UPDATING, DELETING, CREATE_FAILED, UPDATE_FAILED, DELETE_FAILED, VALIDATION_FAILED, SUSPENDED, DISABLED, EXPIRED, DELETED, INACCESSIBLE
Returns: Any: The API response containing environment details or None if an error occurs
Example: >>> list_environments( ... domain_identifier="dzd_4p9n6sw4qt9xgn", ... project_identifier="prj_123456789", ... status="ACTIVE", ... )
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| status | No | ||
| provider | No | ||
| next_token | No | ||
| max_results | No | ||
| aws_account_id | No | ||
| domain_identifier | Yes | ||
| aws_account_region | No | ||
| project_identifier | Yes | ||
| environment_profile_identifier | No | ||
| environment_blueprint_identifier | No |