Struct aws_sdk_fis::client::fluent_builders::UpdateExperimentTemplate [−][src]
pub struct UpdateExperimentTemplate<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateExperimentTemplate
.
Updates the specified experiment template.
Implementations
impl<C, M, R> UpdateExperimentTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateExperimentTemplate<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateExperimentTemplateOutput, SdkError<UpdateExperimentTemplateError>> where
R::Policy: SmithyRetryPolicy<UpdateExperimentTemplateInputOperationOutputAlias, UpdateExperimentTemplateOutput, UpdateExperimentTemplateError, UpdateExperimentTemplateInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateExperimentTemplateOutput, SdkError<UpdateExperimentTemplateError>> where
R::Policy: SmithyRetryPolicy<UpdateExperimentTemplateInputOperationOutputAlias, UpdateExperimentTemplateOutput, UpdateExperimentTemplateError, UpdateExperimentTemplateInputOperationRetryAlias>,
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.
A description for the template.
A description for the template.
Appends an item to stopConditions
.
To override the contents of this collection use set_stop_conditions
.
The stop conditions for the experiment.
pub fn set_stop_conditions(
self,
input: Option<Vec<UpdateExperimentTemplateStopConditionInput>>
) -> Self
pub fn set_stop_conditions(
self,
input: Option<Vec<UpdateExperimentTemplateStopConditionInput>>
) -> Self
The stop conditions for the experiment.
Adds a key-value pair to targets
.
To override the contents of this collection use set_targets
.
The targets for the experiment.
pub fn set_targets(
self,
input: Option<HashMap<String, UpdateExperimentTemplateTargetInput>>
) -> Self
pub fn set_targets(
self,
input: Option<HashMap<String, UpdateExperimentTemplateTargetInput>>
) -> Self
The targets for the experiment.
pub fn actions(
self,
k: impl Into<String>,
v: UpdateExperimentTemplateActionInputItem
) -> Self
pub fn actions(
self,
k: impl Into<String>,
v: UpdateExperimentTemplateActionInputItem
) -> Self
Adds a key-value pair to actions
.
To override the contents of this collection use set_actions
.
The actions for the experiment.
pub fn set_actions(
self,
input: Option<HashMap<String, UpdateExperimentTemplateActionInputItem>>
) -> Self
pub fn set_actions(
self,
input: Option<HashMap<String, UpdateExperimentTemplateActionInputItem>>
) -> Self
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateExperimentTemplate<C, M, R>
impl<C, M, R> Send for UpdateExperimentTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateExperimentTemplate<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateExperimentTemplate<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateExperimentTemplate<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
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