list_environments
async
¶
list_environments(
domain_identifier: DomainId,
project_identifier: ProjectId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
aws_account_id: Optional[AwsAccountId] = None,
status: Optional[EnvironmentStatus] = None,
aws_account_region: Optional[AwsRegion] = None,
environment_profile_identifier: Optional[EnvironmentProfileId] = None,
environment_blueprint_identifier: Optional[EnvironmentBlueprintId] = None,
provider: Optional[str] = None,
name: Optional[str] = None,
max_results: Optional[MaxResults] = None,
next_token: Optional[PaginationToken] = None,
) -> ListEnvironmentsOutput
Lists Amazon DataZone environments.
Parameters:
-
domain_identifier(DomainId) –The identifier of the Amazon DataZone domain.
-
aws_account_id(Optional[AwsAccountId], default:None) –The identifier of the Amazon Web Services account where you want to list environments.
-
status(Optional[EnvironmentStatus], default:None) –The status of the environments that you want to list.
-
aws_account_region(Optional[AwsRegion], default:None) –The Amazon Web Services region where you want to list environments.
-
project_identifier(ProjectId) –The identifier of the Amazon DataZone project.
-
environment_profile_identifier(Optional[EnvironmentProfileId], default:None) –The identifier of the environment profile.
-
environment_blueprint_identifier(Optional[EnvironmentBlueprintId], default:None) –The identifier of the Amazon DataZone blueprint.
-
provider(Optional[str], default:None) –The provider of the environment.
-
name(Optional[str], default:None) –The name of the environment.
-
max_results(Optional[MaxResults], default:None) –The maximum number of environments to return in a single call to
ListEnvironments. When the number of environments to be listed is greater than the value ofMaxResults, the response contains aNextTokenvalue that you can use in a subsequent call toListEnvironmentsto list the next set of environments. -
next_token(Optional[PaginationToken], default:None) –When the number of environments is greater than the default value for the
MaxResultsparameter, or if you explicitly specify a value forMaxResultsthat is less than the number of environments, the response includes a pagination token namedNextToken. You can specify thisNextTokenvalue in a subsequent call toListEnvironmentsto list the next set of environments.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ThrottlingException–The request was denied due to request throttling.
-
UnauthorizedException–You do not have permission to perform this action.
-
InternalServerException–The request has failed because of an unknown error, exception or failure.
-
ValidationException–The input fails to satisfy the constraints specified by the Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_datazone/_services/async_data_zone.py
6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 | |