#[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
sourceimpl 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.
sourceimpl CreateExperimentTemplateActionInput
impl CreateExperimentTemplateActionInput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateExperimentTemplateActionInput
Trait Implementations
sourceimpl Clone for CreateExperimentTemplateActionInput
impl Clone for CreateExperimentTemplateActionInput
sourcefn clone(&self) -> CreateExperimentTemplateActionInput
fn clone(&self) -> CreateExperimentTemplateActionInput
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl PartialEq<CreateExperimentTemplateActionInput> for CreateExperimentTemplateActionInput
impl PartialEq<CreateExperimentTemplateActionInput> for CreateExperimentTemplateActionInput
sourcefn eq(&self, other: &CreateExperimentTemplateActionInput) -> bool
fn eq(&self, other: &CreateExperimentTemplateActionInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateExperimentTemplateActionInput) -> bool
fn ne(&self, other: &CreateExperimentTemplateActionInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateExperimentTemplateActionInput
Auto Trait Implementations
impl RefUnwindSafe for CreateExperimentTemplateActionInput
impl Send for CreateExperimentTemplateActionInput
impl Sync for CreateExperimentTemplateActionInput
impl Unpin for CreateExperimentTemplateActionInput
impl UnwindSafe for CreateExperimentTemplateActionInput
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more