delete_deployment
async
¶
delete_deployment(
app_name: AppName,
environment_name: EnvironmentName,
deployment_id: DeploymentId,
*,
config_overrides: Optional[AsyncAmplifyGen3ClientConfig] = None,
) -> DeleteDeploymentResponse
Deletes a deployment for an environment of a Gen 3 app.
Parameters:
-
app_name(AppName) –The name of the app.
-
environment_name(EnvironmentName) –The name of the environment.
-
deployment_id(DeploymentId) –The ID of the deployment.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
ConflictException–The request conflicts with the current state of the resource.
-
InternalServerException–An internal error occurred. Retry the request.
-
ResourceNotFoundException–The requested resource was not found.
-
ThrottlingException–The request was denied because the request rate exceeds the allowed limit.
-
ValidationException–The request contains invalid parameters or is otherwise malformed.
-
UnknownServiceError–The service returned an error code this client does not model.