libZSservicesZSamazonka-fisZSamazonka-fis
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.FIS.CreateExperimentTemplate

Description

Creates an experiment template.

To create a template, specify the following information:

  • Targets: A target can be a specific resource in your AWS environment, or one or more resources that match criteria that you specify, for example, resources that have specific tags.
  • Actions: The actions to carry out on the target. You can specify multiple actions, the duration of each action, and when to start each action during an experiment.
  • Stop conditions: If a stop condition is triggered while an experiment is running, the experiment is automatically stopped. You can define a stop condition as a CloudWatch alarm.

For more information, see the AWS Fault Injection Simulator User Guide.

Synopsis

Creating a Request

data CreateExperimentTemplate Source #

See: newCreateExperimentTemplate smart constructor.

Constructors

CreateExperimentTemplate' 

Fields

Instances

Instances details
Eq CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Read CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Show CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Generic CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Associated Types

type Rep CreateExperimentTemplate :: Type -> Type #

NFData CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Hashable CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

ToJSON CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

AWSRequest CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

ToHeaders CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

ToPath CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

ToQuery CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type Rep CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type AWSResponse CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

newCreateExperimentTemplate Source #

Create a value of CreateExperimentTemplate 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:targets:CreateExperimentTemplate', createExperimentTemplate_targets - The targets for the experiment.

$sel:tags:CreateExperimentTemplate', createExperimentTemplate_tags - The tags to apply to the experiment template.

$sel:clientToken:CreateExperimentTemplate', createExperimentTemplate_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

$sel:description:CreateExperimentTemplate', createExperimentTemplate_description - A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).

$sel:stopConditions:CreateExperimentTemplate', createExperimentTemplate_stopConditions - The stop conditions.

$sel:actions:CreateExperimentTemplate', createExperimentTemplate_actions - The actions for the experiment.

$sel:roleArn:CreateExperimentTemplate', createExperimentTemplate_roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

Request Lenses

createExperimentTemplate_tags :: Lens' CreateExperimentTemplate (Maybe (HashMap Text Text)) Source #

The tags to apply to the experiment template.

createExperimentTemplate_clientToken :: Lens' CreateExperimentTemplate Text Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

createExperimentTemplate_description :: Lens' CreateExperimentTemplate Text Source #

A description for the experiment template. Can contain up to 64 letters (A-Z and a-z).

createExperimentTemplate_roleArn :: Lens' CreateExperimentTemplate Text Source #

The Amazon Resource Name (ARN) of an IAM role that grants the AWS FIS service permission to perform service actions on your behalf.

Destructuring the Response

data CreateExperimentTemplateResponse Source #

See: newCreateExperimentTemplateResponse smart constructor.

Constructors

CreateExperimentTemplateResponse' 

Fields

Instances

Instances details
Eq CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Read CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Show CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Generic CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Associated Types

type Rep CreateExperimentTemplateResponse :: Type -> Type #

NFData CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type Rep CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type Rep CreateExperimentTemplateResponse = D1 ('MetaData "CreateExperimentTemplateResponse" "Amazonka.FIS.CreateExperimentTemplate" "libZSservicesZSamazonka-fisZSamazonka-fis" 'False) (C1 ('MetaCons "CreateExperimentTemplateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "experimentTemplate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExperimentTemplate)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateExperimentTemplateResponse Source #

Create a value of CreateExperimentTemplateResponse 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:experimentTemplate:CreateExperimentTemplateResponse', createExperimentTemplateResponse_experimentTemplate - Information about the experiment template.

$sel:httpStatus:CreateExperimentTemplateResponse', createExperimentTemplateResponse_httpStatus - The response's http status code.

Response Lenses