Method: Aws::Drs::Client#reverse_replication

Defined in:
lib/aws-sdk-drs/client.rb

#reverse_replication(params = {}) ⇒ Types::ReverseReplicationResponse

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.

Examples:

Request syntax with placeholder values


resp = client.reverse_replication({
  recovery_instance_id: "RecoveryInstanceID", # required
})

Response structure


resp.reversed_direction_source_server_arn #=> String

Parameters:

  • params (Hash) (defaults to: {})

    ({})

Options Hash (params):

  • :recovery_instance_id (required, String)

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

Returns:

See Also:



2396
2397
2398
2399
# File 'lib/aws-sdk-drs/client.rb', line 2396

def reverse_replication(params = {}, options = {})
  req = build_request(:reverse_replication, params)
  req.send_request(options)
end