drs / Client / reverse_replication

reverse_replication#

drs.Client.reverse_replication(**kwargs)#

Start replication to origin / target region - applies only to protected instances that originated in EC2. For recovery instances on target region - starts replication back to origin region. For failback instances on origin region - starts replication to target region to re-protect them.

See also: AWS API Documentation

Request Syntax

response = client.reverse_replication(
    recoveryInstanceID='string'
)
Parameters:

recoveryInstanceID (string) –

[REQUIRED]

The ID of the Recovery Instance that we want to reverse the replication for.

Return type:

dict

Returns:

Response Syntax

{
    'reversedDirectionSourceServerArn': 'string'
}

Response Structure

  • (dict) –

    • reversedDirectionSourceServerArn (string) –

      ARN of created SourceServer.

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