delete_environment
async
¶
delete_environment(
domain_identifier: DomainId,
identifier: EnvironmentId,
*,
config_overrides: Optional[AsyncDataZoneClientConfig] = None,
) -> None
Deletes an environment in Amazon DataZone.
Parameters:
-
domain_identifier(DomainId) –The ID of the Amazon DataZone domain in which the environment is deleted.
-
identifier(EnvironmentId) –The identifier of the environment that is to be deleted.
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.
-
ResourceNotFoundException–The specified resource cannot be found.
-
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.