drs / Client / delete_recovery_plan

delete_recovery_plan

drs.Client.delete_recovery_plan(**kwargs)

Deletes a Recovery Plan. Cannot delete a plan that has an execution in a non-terminal status ( CREATED, IN_PROGRESS).

See also: AWS API Documentation

Request Syntax

response = client.delete_recovery_plan(
    recoveryPlanArn='string'
)
Parameters:

recoveryPlanArn (string) –

[REQUIRED]

The ARN of the Recovery Plan to delete.

Return type:

dict

Returns:

Response Syntax

{
    'recoveryPlanArn': 'string'
}

Response Structure

  • (dict) –

    • recoveryPlanArn (string) –

      The ARN of the deleted Recovery Plan.

Exceptions

  • drs.Client.exceptions.ResourceNotFoundException

  • drs.Client.exceptions.InternalServerException

  • drs.Client.exceptions.ConflictException

  • drs.Client.exceptions.ThrottlingException

  • drs.Client.exceptions.AccessDeniedException

  • drs.Client.exceptions.ValidationException

  • drs.Client.exceptions.UninitializedAccountException