libZSservicesZSamazonka-mgnZSamazonka-mgn
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.MGN.ChangeServerLifeCycleState

Description

Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)

Synopsis

Creating a Request

data ChangeServerLifeCycleState Source #

See: newChangeServerLifeCycleState smart constructor.

Constructors

ChangeServerLifeCycleState' 

Fields

Instances

Instances details
Eq ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

Read ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

Show ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

Generic ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

Associated Types

type Rep ChangeServerLifeCycleState :: Type -> Type #

NFData ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

Hashable ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

ToJSON ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

AWSRequest ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

ToHeaders ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

ToPath ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

ToQuery ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

type Rep ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

type Rep ChangeServerLifeCycleState = D1 ('MetaData "ChangeServerLifeCycleState" "Amazonka.MGN.ChangeServerLifeCycleState" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "ChangeServerLifeCycleState'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lifeCycle") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ChangeServerLifeCycleStateSourceServerLifecycle) :*: S1 ('MetaSel ('Just "sourceServerID") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse ChangeServerLifeCycleState Source # 
Instance details

Defined in Amazonka.MGN.ChangeServerLifeCycleState

newChangeServerLifeCycleState Source #

Create a value of ChangeServerLifeCycleState 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:lifeCycle:ChangeServerLifeCycleState', changeServerLifeCycleState_lifeCycle - The request to change the source server migration lifecycle state.

$sel:sourceServerID:ChangeServerLifeCycleState', changeServerLifeCycleState_sourceServerID - The request to change the source server migration lifecycle state by source server ID.

Request Lenses

changeServerLifeCycleState_sourceServerID :: Lens' ChangeServerLifeCycleState Text Source #

The request to change the source server migration lifecycle state by source server ID.

Destructuring the Response

data SourceServer Source #

See: newSourceServer smart constructor.

Constructors

SourceServer' 

Fields

Instances

Instances details
Eq SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Show 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 #

NFData SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

Methods

rnf :: SourceServer -> () #

Hashable SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

FromJSON SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

type Rep SourceServer Source # 
Instance details

Defined in Amazonka.MGN.Types.SourceServer

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:sourceProperties:SourceServer', sourceServer_sourceProperties - Source server properties.

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

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

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

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

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

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

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

Response Lenses

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

Source server lifecycle state.

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

Source server archived status.