Struct aws_sdk_fis::client::fluent_builders::CreateExperimentTemplate[][src]

pub struct CreateExperimentTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description

Fluent builder constructing a request to CreateExperimentTemplate.

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.

Implementations

Sends the request and returns the response.

If an error occurs, an SdkError will be returned with additional details that can be matched against.

By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.

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

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

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

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

Appends an item to stopConditions.

To override the contents of this collection use set_stop_conditions.

The stop conditions.

The stop conditions.

Adds a key-value pair to targets.

To override the contents of this collection use set_targets.

The targets for the experiment.

The targets for the experiment.

Adds a key-value pair to actions.

To override the contents of this collection use set_actions.

The actions for the experiment.

The actions for the experiment.

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

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

Adds a key-value pair to tags.

To override the contents of this collection use set_tags.

The tags to apply to the experiment template.

The tags to apply to the experiment template.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more