amazonka-drs-2.0: Amazon Elastic Disaster Recovery Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DrS.ReverseReplication

Description

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.

Synopsis

Creating a Request

data ReverseReplication Source #

See: newReverseReplication smart constructor.

Constructors

ReverseReplication' 

Fields

Instances

Instances details
ToJSON ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

ToHeaders ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

ToPath ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

ToQuery ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

AWSRequest ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Associated Types

type AWSResponse ReverseReplication #

Generic ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Associated Types

type Rep ReverseReplication :: Type -> Type #

Read ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Show ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

NFData ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Methods

rnf :: ReverseReplication -> () #

Eq ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Hashable ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

type AWSResponse ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

type Rep ReverseReplication Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

type Rep ReverseReplication = D1 ('MetaData "ReverseReplication" "Amazonka.DrS.ReverseReplication" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "ReverseReplication'" 'PrefixI 'True) (S1 ('MetaSel ('Just "recoveryInstanceID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newReverseReplication Source #

Create a value of ReverseReplication with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ReverseReplication, reverseReplication_recoveryInstanceID - The ID of the Recovery Instance that we want to reverse the replication for.

Request Lenses

reverseReplication_recoveryInstanceID :: Lens' ReverseReplication Text Source #

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

Destructuring the Response

data ReverseReplicationResponse Source #

See: newReverseReplicationResponse smart constructor.

Constructors

ReverseReplicationResponse' 

Fields

Instances

Instances details
Generic ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Associated Types

type Rep ReverseReplicationResponse :: Type -> Type #

Read ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Show ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

NFData ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

Eq ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

type Rep ReverseReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.ReverseReplication

type Rep ReverseReplicationResponse = D1 ('MetaData "ReverseReplicationResponse" "Amazonka.DrS.ReverseReplication" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "ReverseReplicationResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reversedDirectionSourceServerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newReverseReplicationResponse Source #

Create a value of ReverseReplicationResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

ReverseReplicationResponse, reverseReplicationResponse_reversedDirectionSourceServerArn - ARN of created SourceServer.

$sel:httpStatus:ReverseReplicationResponse', reverseReplicationResponse_httpStatus - The response's http status code.

Response Lenses