#[non_exhaustive]pub struct CreateExperimentTemplateActionInput {
pub action_id: Option<String>,
pub description: Option<String>,
pub parameters: Option<HashMap<String, String>>,
pub targets: Option<HashMap<String, String>>,
pub start_after: Option<Vec<String>>,
}
Expand description
Specifies an action for an experiment template.
For more information, see Actions in the Fault Injection Simulator User Guide.
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.action_id: Option<String>
The ID of the action. The format of the action ID is: aws:service-name:action-type.
description: Option<String>
A description for the action.
parameters: Option<HashMap<String, String>>
The parameters for the action, if applicable.
targets: Option<HashMap<String, String>>
The targets for the action.
start_after: Option<Vec<String>>
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
Implementations§
source§impl CreateExperimentTemplateActionInput
impl CreateExperimentTemplateActionInput
sourcepub fn action_id(&self) -> Option<&str>
pub fn action_id(&self) -> Option<&str>
The ID of the action. The format of the action ID is: aws:service-name:action-type.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the action.
sourcepub fn parameters(&self) -> Option<&HashMap<String, String>>
pub fn parameters(&self) -> Option<&HashMap<String, String>>
The parameters for the action, if applicable.
sourcepub fn start_after(&self) -> Option<&[String]>
pub fn start_after(&self) -> Option<&[String]>
The name of the action that must be completed before the current action starts. Omit this parameter to run the action at the start of the experiment.
source§impl CreateExperimentTemplateActionInput
impl CreateExperimentTemplateActionInput
sourcepub fn builder() -> CreateExperimentTemplateActionInputBuilder
pub fn builder() -> CreateExperimentTemplateActionInputBuilder
Creates a new builder-style object to manufacture CreateExperimentTemplateActionInput
.
Trait Implementations§
source§impl Clone for CreateExperimentTemplateActionInput
impl Clone for CreateExperimentTemplateActionInput
source§fn clone(&self) -> CreateExperimentTemplateActionInput
fn clone(&self) -> CreateExperimentTemplateActionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<CreateExperimentTemplateActionInput> for CreateExperimentTemplateActionInput
impl PartialEq<CreateExperimentTemplateActionInput> for CreateExperimentTemplateActionInput
source§fn eq(&self, other: &CreateExperimentTemplateActionInput) -> bool
fn eq(&self, other: &CreateExperimentTemplateActionInput) -> bool
self
and other
values to be equal, and is used
by ==
.