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

Description

Lauches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

Synopsis

Creating a Request

data StartTest Source #

See: newStartTest smart constructor.

Constructors

StartTest' 

Fields

Instances

Instances details
Eq StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Show StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Generic StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Associated Types

type Rep StartTest :: Type -> Type #

NFData StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Methods

rnf :: StartTest -> () #

Hashable StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

ToJSON StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

AWSRequest StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Associated Types

type AWSResponse StartTest #

ToHeaders StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Methods

toHeaders :: StartTest -> [Header] #

ToPath StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

ToQuery StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

type Rep StartTest Source # 
Instance details

Defined in Amazonka.MGN.StartTest

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

Defined in Amazonka.MGN.StartTest

newStartTest Source #

Create a value of StartTest 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:StartTest', startTest_tags - Start Test by Tags.

$sel:sourceServerIDs:StartTest', startTest_sourceServerIDs - Start Test for Source Server IDs.

Request Lenses

startTest_sourceServerIDs :: Lens' StartTest (NonEmpty Text) Source #

Start Test for Source Server IDs.

Destructuring the Response

data StartTestResponse Source #

See: newStartTestResponse smart constructor.

Constructors

StartTestResponse' 

Fields

Instances

Instances details
Eq StartTestResponse Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Show StartTestResponse Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Generic StartTestResponse Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Associated Types

type Rep StartTestResponse :: Type -> Type #

NFData StartTestResponse Source # 
Instance details

Defined in Amazonka.MGN.StartTest

Methods

rnf :: StartTestResponse -> () #

type Rep StartTestResponse Source # 
Instance details

Defined in Amazonka.MGN.StartTest

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

newStartTestResponse Source #

Create a value of StartTestResponse 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:StartTestResponse', startTestResponse_job - Start Test Job response.

$sel:httpStatus:StartTestResponse', startTestResponse_httpStatus - The response's http status code.

Response Lenses

startTestResponse_httpStatus :: Lens' StartTestResponse Int Source #

The response's http status code.