amazonka-mgn-2.0: Amazon Application Migration 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.MGN.StartReplication

Description

Starts replication for SNAPSHOT_SHIPPING agents.

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

ToHeaders StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

ToPath StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

ToQuery StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

AWSRequest StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

Associated Types

type AWSResponse StartReplication #

Generic StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

Associated Types

type Rep StartReplication :: Type -> Type #

Read StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

Show StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

NFData StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

Methods

rnf :: StartReplication -> () #

Eq StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

Hashable StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

type AWSResponse StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

type Rep StartReplication Source # 
Instance details

Defined in Amazonka.MGN.StartReplication

type Rep StartReplication = D1 ('MetaData "StartReplication" "Amazonka.MGN.StartReplication" "amazonka-mgn-2.0-BuezedRYkBsCUJQfnWhjEk" '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 - ID of source server on which to start replication.

Request Lenses

startReplication_sourceServerID :: Lens' StartReplication Text Source #

ID of source server on which to start replication.

Destructuring the Response

data SourceServer Source #

See: newSourceServer smart constructor.

Constructors

SourceServer' 

Fields

Instances

Instances details
FromJSON SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Generic SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Associated Types

type Rep SourceServer :: Type -> Type #

Show SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

NFData SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Methods

rnf :: SourceServer -> () #

Eq SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Hashable SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

type Rep SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

type Rep SourceServer = D1 ('MetaData "SourceServer" "Amazonka.MGN.Types.SourceServer" "amazonka-mgn-2.0-BuezedRYkBsCUJQfnWhjEk" 'False) (C1 ('MetaCons "SourceServer'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "applicationID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "dataReplicationInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DataReplicationInfo)) :*: (S1 ('MetaSel ('Just "isArchived") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "launchedInstance") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LaunchedInstance))))) :*: ((S1 ('MetaSel ('Just "lifeCycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LifeCycle)) :*: (S1 ('MetaSel ('Just "replicationType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ReplicationType)) :*: S1 ('MetaSel ('Just "sourceProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceProperties)))) :*: (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "vcenterClientID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe 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:applicationID:SourceServer', sourceServer_applicationID - Source server application ID.

$sel:arn:SourceServer', sourceServer_arn - Source server ARN.

$sel:dataReplicationInfo:SourceServer', sourceServer_dataReplicationInfo - Source server data replication info.

$sel:isArchived:SourceServer', sourceServer_isArchived - Source server archived status.

$sel:launchedInstance:SourceServer', sourceServer_launchedInstance - Source server launched instance.

$sel:lifeCycle:SourceServer', sourceServer_lifeCycle - Source server lifecycle state.

$sel:replicationType:SourceServer', sourceServer_replicationType - Source server replication type.

$sel:sourceProperties:SourceServer', sourceServer_sourceProperties - Source server properties.

$sel:sourceServerID:SourceServer', sourceServer_sourceServerID - Source server ID.

$sel:tags:SourceServer', sourceServer_tags - Source server Tags.

$sel:vcenterClientID:SourceServer', sourceServer_vcenterClientID - Source server vCenter client id.

Response Lenses

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

Source server application ID.

sourceServer_isArchived :: Lens' SourceServer (Maybe Bool) Source #

Source server archived status.

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

Source server lifecycle state.

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

Source server vCenter client id.