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

Description

Finalizes the cutover immediately for specific Source Servers. All AWS resources created by Application Migration Service for enabling the replication of these source servers will be terminated / deleted within 90 minutes. Launched Test or Cutover instances will NOT be terminated. The AWS Replication Agent will receive a command to uninstall itself (within 10 minutes). The following properties of the SourceServer will be changed immediately: dataReplicationInfo.dataReplicationState will be changed to DISCONNECTED; The SourceServer.lifeCycle.state will be changed to CUTOVER; The totalStorageBytes property fo each of dataReplicationInfo.replicatedDisks will be set to zero; dataReplicationInfo.lagDuration and dataReplicationInfo.lagDuration will be nullified.

Synopsis

Creating a Request

data FinalizeCutover Source #

See: newFinalizeCutover smart constructor.

Constructors

FinalizeCutover' 

Fields

Instances

Instances details
ToJSON FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

ToHeaders FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

ToPath FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

ToQuery FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

AWSRequest FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

Associated Types

type AWSResponse FinalizeCutover #

Generic FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

Associated Types

type Rep FinalizeCutover :: Type -> Type #

Read FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

Show FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

NFData FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

Methods

rnf :: FinalizeCutover -> () #

Eq FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

Hashable FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

type AWSResponse FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

type Rep FinalizeCutover Source # 
Instance details

Defined in Amazonka.MGN.FinalizeCutover

type Rep FinalizeCutover = D1 ('MetaData "FinalizeCutover" "Amazonka.MGN.FinalizeCutover" "amazonka-mgn-2.0-BuezedRYkBsCUJQfnWhjEk" 'False) (C1 ('MetaCons "FinalizeCutover'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newFinalizeCutover Source #

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

FinalizeCutover, finalizeCutover_sourceServerID - Request to finalize Cutover by Source Server ID.

Request Lenses

finalizeCutover_sourceServerID :: Lens' FinalizeCutover Text Source #

Request to finalize Cutover by Source Server ID.

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.