Struct aws_sdk_fis::input::CreateExperimentTemplateInput
source · [−]#[non_exhaustive]pub struct CreateExperimentTemplateInput {
pub client_token: Option<String>,
pub description: Option<String>,
pub stop_conditions: Option<Vec<CreateExperimentTemplateStopConditionInput>>,
pub targets: Option<HashMap<String, CreateExperimentTemplateTargetInput>>,
pub actions: Option<HashMap<String, CreateExperimentTemplateActionInput>>,
pub role_arn: Option<String>,
pub tags: Option<HashMap<String, String>>,
pub log_configuration: Option<CreateExperimentTemplateLogConfigurationInput>,
}
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.client_token: Option<String>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
description: Option<String>
A description for the experiment template.
stop_conditions: Option<Vec<CreateExperimentTemplateStopConditionInput>>
The stop conditions.
targets: Option<HashMap<String, CreateExperimentTemplateTargetInput>>
The targets for the experiment.
actions: Option<HashMap<String, CreateExperimentTemplateActionInput>>
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.
The tags to apply to the experiment template.
log_configuration: Option<CreateExperimentTemplateLogConfigurationInput>
The configuration for experiment logging.
Implementations
sourceimpl CreateExperimentTemplateInput
impl CreateExperimentTemplateInput
sourcepub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateExperimentTemplate, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
self,
_config: &Config
) -> Result<Operation<CreateExperimentTemplate, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateExperimentTemplate
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateExperimentTemplateInput
sourceimpl CreateExperimentTemplateInput
impl CreateExperimentTemplateInput
sourcepub fn client_token(&self) -> Option<&str>
pub fn client_token(&self) -> Option<&str>
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description for the experiment template.
sourcepub fn stop_conditions(
&self
) -> Option<&[CreateExperimentTemplateStopConditionInput]>
pub fn stop_conditions(
&self
) -> Option<&[CreateExperimentTemplateStopConditionInput]>
The stop conditions.
sourcepub fn targets(
&self
) -> Option<&HashMap<String, CreateExperimentTemplateTargetInput>>
pub fn targets(
&self
) -> Option<&HashMap<String, CreateExperimentTemplateTargetInput>>
The targets for the experiment.
sourcepub fn actions(
&self
) -> Option<&HashMap<String, CreateExperimentTemplateActionInput>>
pub fn actions(
&self
) -> Option<&HashMap<String, CreateExperimentTemplateActionInput>>
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.
The tags to apply to the experiment template.
sourcepub fn log_configuration(
&self
) -> Option<&CreateExperimentTemplateLogConfigurationInput>
pub fn log_configuration(
&self
) -> Option<&CreateExperimentTemplateLogConfigurationInput>
The configuration for experiment logging.
Trait Implementations
sourceimpl Clone for CreateExperimentTemplateInput
impl Clone for CreateExperimentTemplateInput
sourcefn clone(&self) -> CreateExperimentTemplateInput
fn clone(&self) -> CreateExperimentTemplateInput
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 Debug for CreateExperimentTemplateInput
impl Debug for CreateExperimentTemplateInput
sourceimpl PartialEq<CreateExperimentTemplateInput> for CreateExperimentTemplateInput
impl PartialEq<CreateExperimentTemplateInput> for CreateExperimentTemplateInput
sourcefn eq(&self, other: &CreateExperimentTemplateInput) -> bool
fn eq(&self, other: &CreateExperimentTemplateInput) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateExperimentTemplateInput) -> bool
fn ne(&self, other: &CreateExperimentTemplateInput) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateExperimentTemplateInput
Auto Trait Implementations
impl RefUnwindSafe for CreateExperimentTemplateInput
impl Send for CreateExperimentTemplateInput
impl Sync for CreateExperimentTemplateInput
impl Unpin for CreateExperimentTemplateInput
impl UnwindSafe for CreateExperimentTemplateInput
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