#[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>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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.
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
) -> Option<&[UpdateExperimentTemplateStopConditionInput]>
pub fn stop_conditions( &self ) -> Option<&[UpdateExperimentTemplateStopConditionInput]>
The stop conditions for the experiment.
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl PartialEq<UpdateExperimentTemplateInput> for UpdateExperimentTemplateInput
impl PartialEq<UpdateExperimentTemplateInput> for UpdateExperimentTemplateInput
source§fn eq(&self, other: &UpdateExperimentTemplateInput) -> bool
fn eq(&self, other: &UpdateExperimentTemplateInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for UpdateExperimentTemplateInput
Auto Trait Implementations§
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
Mutably borrows from an owned value. Read more