LaunchWizard / Client / delete_deployment

delete_deployment#

LaunchWizard.Client.delete_deployment(**kwargs)#

Deletes a deployment.

See also: AWS API Documentation

Request Syntax

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

deploymentId (string) –

[REQUIRED]

The ID of the deployment.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'COMPLETED'|'CREATING'|'DELETE_IN_PROGRESS'|'DELETE_INITIATING'|'DELETE_FAILED'|'DELETED'|'FAILED'|'IN_PROGRESS'|'VALIDATING',
    'statusReason': 'string'
}

Response Structure

  • (dict) –

    • status (string) –

      The status of the deployment.

    • statusReason (string) –

      The reason for the deployment status.

Exceptions

  • LaunchWizard.Client.exceptions.ResourceLimitException

  • LaunchWizard.Client.exceptions.InternalServerException

  • LaunchWizard.Client.exceptions.ValidationException

  • LaunchWizard.Client.exceptions.ResourceNotFoundException