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

Description

Launches a Cutover Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartCutover and changes the SourceServer.lifeCycle.state property to CUTTING_OVER.

Synopsis

Creating a Request

data StartCutover Source #

See: newStartCutover smart constructor.

Constructors

StartCutover' 

Fields

Instances

Instances details
Eq StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Show StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Generic StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Associated Types

type Rep StartCutover :: Type -> Type #

NFData StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Methods

rnf :: StartCutover -> () #

Hashable StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

ToJSON StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

AWSRequest StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Associated Types

type AWSResponse StartCutover #

ToHeaders StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

ToPath StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

ToQuery StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

type Rep StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

type Rep StartCutover = D1 ('MetaData "StartCutover" "Amazonka.MGN.StartCutover" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "StartCutover'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "sourceServerIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))
type AWSResponse StartCutover Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

newStartCutover Source #

Create a value of StartCutover 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:tags:StartCutover', startCutover_tags - Start Cutover by Tags.

$sel:sourceServerIDs:StartCutover', startCutover_sourceServerIDs - Start Cutover by Source Server IDs.

Request Lenses

startCutover_sourceServerIDs :: Lens' StartCutover (NonEmpty Text) Source #

Start Cutover by Source Server IDs.

Destructuring the Response

data StartCutoverResponse Source #

See: newStartCutoverResponse smart constructor.

Constructors

StartCutoverResponse' 

Fields

Instances

Instances details
Eq StartCutoverResponse Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Show StartCutoverResponse Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Generic StartCutoverResponse Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Associated Types

type Rep StartCutoverResponse :: Type -> Type #

NFData StartCutoverResponse Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

Methods

rnf :: StartCutoverResponse -> () #

type Rep StartCutoverResponse Source # 
Instance details

Defined in Amazonka.MGN.StartCutover

type Rep StartCutoverResponse = D1 ('MetaData "StartCutoverResponse" "Amazonka.MGN.StartCutover" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "StartCutoverResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "job") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Job)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartCutoverResponse Source #

Create a value of StartCutoverResponse 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:job:StartCutoverResponse', startCutoverResponse_job - Start Cutover Job response.

$sel:httpStatus:StartCutoverResponse', startCutoverResponse_httpStatus - The response's http status code.

Response Lenses