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.ResourceNotFoundExceptiondrs.Client.exceptions.InternalServerExceptiondrs.Client.exceptions.ConflictExceptiondrs.Client.exceptions.ThrottlingExceptiondrs.Client.exceptions.AccessDeniedExceptiondrs.Client.exceptions.ValidationExceptiondrs.Client.exceptions.UninitializedAccountException