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
6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 | |