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

Description

Starts a job that terminates specific launched EC2 Test and Cutover instances. This command will not work for any Source Server with a lifecycle.state of TESTING, CUTTING_OVER, or CUTOVER.

Synopsis

Creating a Request

data TerminateTargetInstances Source #

See: newTerminateTargetInstances smart constructor.

Constructors

TerminateTargetInstances' 

Fields

Instances

Instances details
Eq TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Show TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Generic TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Associated Types

type Rep TerminateTargetInstances :: Type -> Type #

NFData TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Hashable TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

ToJSON TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

AWSRequest TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

ToHeaders TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

ToPath TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

ToQuery TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

type Rep TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

type Rep TerminateTargetInstances = D1 ('MetaData "TerminateTargetInstances" "Amazonka.MGN.TerminateTargetInstances" "libZSservicesZSamazonka-mgnZSamazonka-mgn" 'False) (C1 ('MetaCons "TerminateTargetInstances'" '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 TerminateTargetInstances Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

newTerminateTargetInstances Source #

Create a value of TerminateTargetInstances 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:TerminateTargetInstances', terminateTargetInstances_tags - Terminate Target instance by Tags.

$sel:sourceServerIDs:TerminateTargetInstances', terminateTargetInstances_sourceServerIDs - Terminate Target instance by Source Server IDs.

Request Lenses

Destructuring the Response

data TerminateTargetInstancesResponse Source #

See: newTerminateTargetInstancesResponse smart constructor.

Constructors

TerminateTargetInstancesResponse' 

Fields

Instances

Instances details
Eq TerminateTargetInstancesResponse Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Show TerminateTargetInstancesResponse Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Generic TerminateTargetInstancesResponse Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

Associated Types

type Rep TerminateTargetInstancesResponse :: Type -> Type #

NFData TerminateTargetInstancesResponse Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

type Rep TerminateTargetInstancesResponse Source # 
Instance details

Defined in Amazonka.MGN.TerminateTargetInstances

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

newTerminateTargetInstancesResponse Source #

Create a value of TerminateTargetInstancesResponse 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:TerminateTargetInstancesResponse', terminateTargetInstancesResponse_job - Terminate Target instance Job response.

$sel:httpStatus:TerminateTargetInstancesResponse', terminateTargetInstancesResponse_httpStatus - The response's http status code.

Response Lenses