drs / Client / create_recovery_plan
create_recovery_plan¶
- drs.Client.create_recovery_plan(**kwargs)¶
Creates a Recovery Plan to orchestrate multi-server disaster recovery.
See also: AWS API Documentation
Request Syntax
response = client.create_recovery_plan( name='string', description='string', clientToken='string', tags={ 'string': 'string' } )
- Parameters:
name (string) –
[REQUIRED]
The name of a Recovery Plan.
description (string) – The description of a Recovery Plan.
clientToken (string) –
A unique string provided to ensure request idempotency.
This field is autopopulated if not provided.
tags (dict) –
The tags to apply to the Recovery Plan.
(string) –
(string) –
- Return type:
dict
- Returns:
Response Syntax
{ 'recoveryPlan': { 'recoveryPlanArn': 'string', 'name': 'string', 'description': 'string', 'status': 'ACTIVE'|'INVALID', 'createdAt': 'string', 'updatedAt': 'string', 'tags': { 'string': 'string' } } }
Response Structure
(dict) –
recoveryPlan (dict) –
A Recovery Plan resource.
recoveryPlanArn (string) –
The ARN of the Recovery Plan.
name (string) –
The name of a Recovery Plan.
description (string) –
The description of a Recovery Plan.
status (string) –
The status of the Recovery Plan.
createdAt (string) –
The timestamp when the Recovery Plan was created.
updatedAt (string) –
The timestamp when the Recovery Plan was last updated.
tags (dict) –
The tags associated with the Recovery Plan.
(string) –
(string) –
Exceptions
drs.Client.exceptions.InternalServerExceptiondrs.Client.exceptions.ConflictExceptiondrs.Client.exceptions.ServiceQuotaExceededExceptiondrs.Client.exceptions.ThrottlingExceptiondrs.Client.exceptions.AccessDeniedExceptiondrs.Client.exceptions.ValidationExceptiondrs.Client.exceptions.UninitializedAccountException