Struct aws_sdk_iot::input::CreateMitigationActionInput
source · #[non_exhaustive]pub struct CreateMitigationActionInput { /* private fields */ }
Implementations§
source§impl CreateMitigationActionInput
impl CreateMitigationActionInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMitigationAction, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMitigationAction, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<CreateMitigationAction
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CreateMitigationActionInput
.
source§impl CreateMitigationActionInput
impl CreateMitigationActionInput
sourcepub fn action_name(&self) -> Option<&str>
pub fn action_name(&self) -> Option<&str>
A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction
).
sourcepub fn role_arn(&self) -> Option<&str>
pub fn role_arn(&self) -> Option<&str>
The ARN of the IAM role that is used to apply the mitigation action.
sourcepub fn action_params(&self) -> Option<&MitigationActionParams>
pub fn action_params(&self) -> Option<&MitigationActionParams>
Defines the type of action and the parameters for that action.
Metadata that can be used to manage the mitigation action.
Trait Implementations§
source§impl Clone for CreateMitigationActionInput
impl Clone for CreateMitigationActionInput
source§fn clone(&self) -> CreateMitigationActionInput
fn clone(&self) -> CreateMitigationActionInput
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 Debug for CreateMitigationActionInput
impl Debug for CreateMitigationActionInput
source§impl PartialEq<CreateMitigationActionInput> for CreateMitigationActionInput
impl PartialEq<CreateMitigationActionInput> for CreateMitigationActionInput
source§fn eq(&self, other: &CreateMitigationActionInput) -> bool
fn eq(&self, other: &CreateMitigationActionInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.