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.RetryDataReplication

Description

Causes the data replication initiation sequence to begin immediately upon next Handshake for the specified Source Server ID, regardless of when the previous initiation started. This command will work only if the Source Server is stalled or is in a DISCONNECTED or STOPPED state.

Synopsis

Creating a Request

data RetryDataReplication Source #

See: newRetryDataReplication smart constructor.

Constructors

RetryDataReplication' 

Fields

  • sourceServerID :: Text

    The ID of the Source Server whose data replication should be retried.

Instances

Instances details
ToJSON RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

ToHeaders RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

ToPath RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

ToQuery RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

AWSRequest RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

Associated Types

type AWSResponse RetryDataReplication #

Generic RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

Associated Types

type Rep RetryDataReplication :: Type -> Type #

Read RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

Show RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

NFData RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

Methods

rnf :: RetryDataReplication -> () #

Eq RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

Hashable RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

type AWSResponse RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

type Rep RetryDataReplication Source # 
Instance details

Defined in Amazonka.DrS.RetryDataReplication

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

newRetryDataReplication Source #

Create a value of RetryDataReplication 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:

RetryDataReplication, retryDataReplication_sourceServerID - The ID of the Source Server whose data replication should be retried.

Request Lenses

retryDataReplication_sourceServerID :: Lens' RetryDataReplication Text Source #

The ID of the Source Server whose data replication should be retried.

Destructuring the Response

data SourceServer Source #

See: newSourceServer smart constructor.

Constructors

SourceServer' 

Fields

Instances

Instances details
FromJSON SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

Generic SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

Associated Types

type Rep SourceServer :: Type -> Type #

Show SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

NFData SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

Methods

rnf :: SourceServer -> () #

Eq SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

Hashable SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

type Rep SourceServer Source # 
Instance details

Defined in Amazonka.DrS.Types.SourceServer

type Rep SourceServer = D1 ('MetaData "SourceServer" "Amazonka.DrS.Types.SourceServer" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "SourceServer'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dataReplicationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataReplicationInfo)) :*: S1 ('MetaSel ('Just "lastLaunchResult") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LastLaunchResult)))) :*: (S1 ('MetaSel ('Just "lifeCycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LifeCycle)) :*: (S1 ('MetaSel ('Just "recoveryInstanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "replicationDirection") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationDirection))))) :*: ((S1 ('MetaSel ('Just "reversedDirectionSourceServerArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "sourceCloudProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceCloudProperties)) :*: S1 ('MetaSel ('Just "sourceProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceProperties)))) :*: (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "stagingArea") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StagingArea)) :*: S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))))))))

newSourceServer :: SourceServer Source #

Create a value of SourceServer 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:

$sel:arn:SourceServer', sourceServer_arn - The ARN of the Source Server.

$sel:dataReplicationInfo:SourceServer', sourceServer_dataReplicationInfo - The Data Replication Info of the Source Server.

$sel:lastLaunchResult:SourceServer', sourceServer_lastLaunchResult - The status of the last recovery launch of this Source Server.

$sel:lifeCycle:SourceServer', sourceServer_lifeCycle - The lifecycle information of this Source Server.

$sel:recoveryInstanceId:SourceServer', sourceServer_recoveryInstanceId - The ID of the Recovery Instance associated with this Source Server.

$sel:replicationDirection:SourceServer', sourceServer_replicationDirection - Replication direction of the Source Server.

$sel:reversedDirectionSourceServerArn:SourceServer', sourceServer_reversedDirectionSourceServerArn - For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.

$sel:sourceCloudProperties:SourceServer', sourceServer_sourceCloudProperties - Source cloud properties of the Source Server.

$sel:sourceProperties:SourceServer', sourceServer_sourceProperties - The source properties of the Source Server.

$sel:sourceServerID:SourceServer', sourceServer_sourceServerID - The ID of the Source Server.

$sel:stagingArea:SourceServer', sourceServer_stagingArea - The staging area of the source server.

$sel:tags:SourceServer', sourceServer_tags - The tags associated with the Source Server.

Response Lenses

sourceServer_arn :: Lens' SourceServer (Maybe Text) Source #

The ARN of the Source Server.

sourceServer_dataReplicationInfo :: Lens' SourceServer (Maybe DataReplicationInfo) Source #

The Data Replication Info of the Source Server.

sourceServer_lastLaunchResult :: Lens' SourceServer (Maybe LastLaunchResult) Source #

The status of the last recovery launch of this Source Server.

sourceServer_lifeCycle :: Lens' SourceServer (Maybe LifeCycle) Source #

The lifecycle information of this Source Server.

sourceServer_recoveryInstanceId :: Lens' SourceServer (Maybe Text) Source #

The ID of the Recovery Instance associated with this Source Server.

sourceServer_reversedDirectionSourceServerArn :: Lens' SourceServer (Maybe Text) Source #

For EC2-originated Source Servers which have been failed over and then failed back, this value will mean the ARN of the Source Server on the opposite replication direction.

sourceServer_sourceCloudProperties :: Lens' SourceServer (Maybe SourceCloudProperties) Source #

Source cloud properties of the Source Server.

sourceServer_sourceProperties :: Lens' SourceServer (Maybe SourceProperties) Source #

The source properties of the Source Server.

sourceServer_stagingArea :: Lens' SourceServer (Maybe StagingArea) Source #

The staging area of the source server.

sourceServer_tags :: Lens' SourceServer (Maybe (HashMap Text Text)) Source #

The tags associated with the Source Server.