Struct aws_sdk_iot::input::CreateMitigationActionInput [−][src]
#[non_exhaustive]pub struct CreateMitigationActionInput {
pub action_name: Option<String>,
pub role_arn: Option<String>,
pub action_params: Option<MitigationActionParams>,
pub tags: Option<Vec<Tag>>,
}
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_name: Option<String>
A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction
).
role_arn: Option<String>
The ARN of the IAM role that is used to apply the mitigation action.
action_params: Option<MitigationActionParams>
Defines the type of action and the parameters for that action.
Metadata that can be used to manage the mitigation action.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMitigationAction, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateMitigationAction, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateMitigationAction
>
Creates a new builder-style object to manufacture CreateMitigationActionInput
A friendly name for the action. Choose a friendly name that accurately describes the action (for example, EnableLoggingAction
).
The ARN of the IAM role that is used to apply the mitigation action.
Defines the type of action and the parameters for that action.
Metadata that can be used to manage the mitigation action.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for CreateMitigationActionInput
impl Send for CreateMitigationActionInput
impl Sync for CreateMitigationActionInput
impl Unpin for CreateMitigationActionInput
impl UnwindSafe for CreateMitigationActionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more