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
6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 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 | |