delete_deployment

delete_deployment(**kwargs)

Deletes a deployment. To delete an active deployment, you must first cancel it. For more information, see CancelDeployment.

Deleting a deployment doesn't affect core devices that run that deployment, because core devices store the deployment's configuration on the device. Additionally, core devices can roll back to a previous deployment that has been deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_deployment(
    deploymentId='string'
)
Parameters
deploymentId (string) --

[REQUIRED]

The ID of the deployment.

Returns
None

Exceptions

  • GreengrassV2.Client.exceptions.ResourceNotFoundException
  • GreengrassV2.Client.exceptions.ValidationException
  • GreengrassV2.Client.exceptions.AccessDeniedException
  • GreengrassV2.Client.exceptions.InternalServerException
  • GreengrassV2.Client.exceptions.ConflictException
  • GreengrassV2.Client.exceptions.ThrottlingException