list_environments
¶
list_environments(
domain_identifier: DomainId,
project_identifier: ProjectId,
*,
config_overrides: Optional[DataZoneClientConfig] = 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/data_zone.py
6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 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 | |