amazonka-fis-2.0: Amazon Fault Injection Simulator SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.FIS.CreateExperimentTemplate

Description

Creates an experiment template.

An experiment template includes the following components:

  • Targets: A target can be a specific resource in your Amazon Web Services 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 Experiment templates in the Fault Injection Simulator User Guide.

Synopsis

Creating a Request

data CreateExperimentTemplate Source #

See: newCreateExperimentTemplate smart constructor.

Constructors

CreateExperimentTemplate' 

Fields

Instances

Instances details
ToJSON 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

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

Read CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Show CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

NFData CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Eq CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Hashable CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type AWSResponse CreateExperimentTemplate Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

type Rep 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:

CreateExperimentTemplate, createExperimentTemplate_logConfiguration - The configuration for experiment logging.

CreateExperimentTemplate, createExperimentTemplate_tags - The tags to apply to the experiment template.

CreateExperimentTemplate, createExperimentTemplate_targets - The targets for the experiment.

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

CreateExperimentTemplate, createExperimentTemplate_description - A description for the experiment template.

CreateExperimentTemplate, createExperimentTemplate_stopConditions - The stop conditions.

CreateExperimentTemplate, createExperimentTemplate_actions - The actions for the experiment.

CreateExperimentTemplate, createExperimentTemplate_roleArn - The Amazon Resource Name (ARN) of an IAM role that grants the 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_roleArn :: Lens' CreateExperimentTemplate Text Source #

The Amazon Resource Name (ARN) of an IAM role that grants the 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
Generic CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Associated Types

type Rep CreateExperimentTemplateResponse :: Type -> Type #

Read CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Show CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

NFData CreateExperimentTemplateResponse Source # 
Instance details

Defined in Amazonka.FIS.CreateExperimentTemplate

Eq 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" "amazonka-fis-2.0-7yQxB3RmWBm2PZyqsl0n5H" '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