You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::IoT::Types::UpdateMitigationActionRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::IoT::Types::UpdateMitigationActionRequest
- Defined in:
- (unknown)
Overview
Note:
When passing UpdateMitigationActionRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
action_name: "MitigationActionName", # required
role_arn: "RoleArn",
action_params: {
update_device_certificate_params: {
action: "DEACTIVATE", # required, accepts DEACTIVATE
},
update_ca_certificate_params: {
action: "DEACTIVATE", # required, accepts DEACTIVATE
},
add_things_to_thing_group_params: {
thing_group_names: ["ThingGroupName"], # required
override_dynamic_groups: false,
},
replace_default_policy_version_params: {
template_name: "BLANK_POLICY", # required, accepts BLANK_POLICY
},
enable_io_t_logging_params: {
role_arn_for_logging: "RoleArn", # required
log_level: "DEBUG", # required, accepts DEBUG, INFO, ERROR, WARN, DISABLED
},
publish_finding_to_sns_params: {
topic_arn: "SnsTopicArn", # required
},
},
}
Instance Attribute Summary collapse
-
#action_name ⇒ String
The friendly name for the mitigation action.
-
#action_params ⇒ Types::MitigationActionParams
Defines the type of action and the parameters for that action.
-
#role_arn ⇒ String
The ARN of the IAM role that is used to apply the mitigation action.
Instance Attribute Details
#action_name ⇒ String
The friendly name for the mitigation action. You can\'t change the name
by using UpdateMitigationAction
. Instead, you must delete and
re-create the mitigation action with the new name.
#action_params ⇒ Types::MitigationActionParams
Defines the type of action and the parameters for that action.
#role_arn ⇒ String
The ARN of the IAM role that is used to apply the mitigation action.