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

Description

Starts replication for a stopped Source Server. This action would make the Source Server protected again and restart billing for it.

Synopsis

Creating a Request

data StartReplication Source #

See: newStartReplication smart constructor.

Constructors

StartReplication' 

Fields

Instances

Instances details
ToJSON StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

ToHeaders StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

ToPath StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

ToQuery StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

AWSRequest StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Associated Types

type AWSResponse StartReplication #

Generic StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Associated Types

type Rep StartReplication :: Type -> Type #

Read StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Show StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

NFData StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Methods

rnf :: StartReplication -> () #

Eq StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Hashable StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

type AWSResponse StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

type Rep StartReplication Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

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

newStartReplication Source #

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

StartReplication, startReplication_sourceServerID - The ID of the Source Server to start replication for.

Request Lenses

startReplication_sourceServerID :: Lens' StartReplication Text Source #

The ID of the Source Server to start replication for.

Destructuring the Response

data StartReplicationResponse Source #

See: newStartReplicationResponse smart constructor.

Constructors

StartReplicationResponse' 

Fields

Instances

Instances details
Generic StartReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Associated Types

type Rep StartReplicationResponse :: Type -> Type #

Show StartReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

NFData StartReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

Eq StartReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

type Rep StartReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StartReplication

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

newStartReplicationResponse Source #

Create a value of StartReplicationResponse 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:sourceServer:StartReplicationResponse', startReplicationResponse_sourceServer - The Source Server that this action was targeted on.

$sel:httpStatus:StartReplicationResponse', startReplicationResponse_httpStatus - The response's http status code.

Response Lenses

startReplicationResponse_sourceServer :: Lens' StartReplicationResponse (Maybe SourceServer) Source #

The Source Server that this action was targeted on.