#[non_exhaustive]pub struct UpdateExperimentTemplateInput {
pub id: Option<String>,
pub description: Option<String>,
pub stop_conditions: Option<Vec<UpdateExperimentTemplateStopConditionInput>>,
pub targets: Option<HashMap<String, UpdateExperimentTemplateTargetInput>>,
pub actions: Option<HashMap<String, UpdateExperimentTemplateActionInputItem>>,
pub role_arn: Option<String>,
pub log_configuration: Option<UpdateExperimentTemplateLogConfigurationInput>,
pub experiment_options: Option<UpdateExperimentTemplateExperimentOptionsInput>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: Option<String>The ID of the experiment template.
description: Option<String>A description for the template.
stop_conditions: Option<Vec<UpdateExperimentTemplateStopConditionInput>>The stop conditions for the experiment.
targets: Option<HashMap<String, UpdateExperimentTemplateTargetInput>>The targets for the experiment.
actions: Option<HashMap<String, UpdateExperimentTemplateActionInputItem>>The actions for the experiment.
role_arn: Option<String>The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
log_configuration: Option<UpdateExperimentTemplateLogConfigurationInput>The configuration for experiment logging.
experiment_options: Option<UpdateExperimentTemplateExperimentOptionsInput>The experiment options for the experiment template.
Implementations§
source§impl UpdateExperimentTemplateInput
impl UpdateExperimentTemplateInput
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the template.
sourcepub fn stop_conditions(&self) -> &[UpdateExperimentTemplateStopConditionInput]
pub fn stop_conditions(&self) -> &[UpdateExperimentTemplateStopConditionInput]
The stop conditions for the experiment.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .stop_conditions.is_none().
sourcepub fn targets(
&self
) -> Option<&HashMap<String, UpdateExperimentTemplateTargetInput>>
pub fn targets( &self ) -> Option<&HashMap<String, UpdateExperimentTemplateTargetInput>>
The targets for the experiment.
sourcepub fn actions(
&self
) -> Option<&HashMap<String, UpdateExperimentTemplateActionInputItem>>
pub fn actions( &self ) -> Option<&HashMap<String, UpdateExperimentTemplateActionInputItem>>
The actions for the experiment.
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of an IAM role that grants the FIS service permission to perform service actions on your behalf.
sourcepub fn log_configuration(
&self
) -> Option<&UpdateExperimentTemplateLogConfigurationInput>
pub fn log_configuration( &self ) -> Option<&UpdateExperimentTemplateLogConfigurationInput>
The configuration for experiment logging.
sourcepub fn experiment_options(
&self
) -> Option<&UpdateExperimentTemplateExperimentOptionsInput>
pub fn experiment_options( &self ) -> Option<&UpdateExperimentTemplateExperimentOptionsInput>
The experiment options for the experiment template.
source§impl UpdateExperimentTemplateInput
impl UpdateExperimentTemplateInput
sourcepub fn builder() -> UpdateExperimentTemplateInputBuilder
pub fn builder() -> UpdateExperimentTemplateInputBuilder
Creates a new builder-style object to manufacture UpdateExperimentTemplateInput.
Trait Implementations§
source§impl Clone for UpdateExperimentTemplateInput
impl Clone for UpdateExperimentTemplateInput
source§fn clone(&self) -> UpdateExperimentTemplateInput
fn clone(&self) -> UpdateExperimentTemplateInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for UpdateExperimentTemplateInput
impl PartialEq for UpdateExperimentTemplateInput
source§fn eq(&self, other: &UpdateExperimentTemplateInput) -> bool
fn eq(&self, other: &UpdateExperimentTemplateInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateExperimentTemplateInput
Auto Trait Implementations§
impl Freeze for UpdateExperimentTemplateInput
impl RefUnwindSafe for UpdateExperimentTemplateInput
impl Send for UpdateExperimentTemplateInput
impl Sync for UpdateExperimentTemplateInput
impl Unpin for UpdateExperimentTemplateInput
impl UnwindSafe for UpdateExperimentTemplateInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more