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

Description

Stops replication for a Source Server. This action would make the Source Server unprotected, delete its existing snapshots and stop billing for it.

Synopsis

Creating a Request

data StopReplication Source #

See: newStopReplication smart constructor.

Constructors

StopReplication' 

Fields

Instances

Instances details
ToJSON StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

ToHeaders StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

ToPath StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

ToQuery StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

AWSRequest StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Associated Types

type AWSResponse StopReplication #

Generic StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Associated Types

type Rep StopReplication :: Type -> Type #

Read StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Show StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

NFData StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Methods

rnf :: StopReplication -> () #

Eq StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Hashable StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

type AWSResponse StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

type Rep StopReplication Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

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

newStopReplication Source #

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

StopReplication, stopReplication_sourceServerID - The ID of the Source Server to stop replication for.

Request Lenses

stopReplication_sourceServerID :: Lens' StopReplication Text Source #

The ID of the Source Server to stop replication for.

Destructuring the Response

data StopReplicationResponse Source #

See: newStopReplicationResponse smart constructor.

Constructors

StopReplicationResponse' 

Fields

Instances

Instances details
Generic StopReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Associated Types

type Rep StopReplicationResponse :: Type -> Type #

Show StopReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

NFData StopReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

Methods

rnf :: StopReplicationResponse -> () #

Eq StopReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

type Rep StopReplicationResponse Source # 
Instance details

Defined in Amazonka.DrS.StopReplication

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

newStopReplicationResponse Source #

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

$sel:httpStatus:StopReplicationResponse', stopReplicationResponse_httpStatus - The response's http status code.

Response Lenses

stopReplicationResponse_sourceServer :: Lens' StopReplicationResponse (Maybe SourceServer) Source #

The Source Server that this action was targeted on.