Class: Aws::IoT::Types::UpdateMitigationActionRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass UpdateMitigationActionRequest data as a 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
    },
  },
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#action_nameString

The friendly name for the mitigation action. You cannot change the name by using UpdateMitigationAction. Instead, you must delete and recreate the mitigation action with the new name.

Returns:

  • (String)


19395
19396
19397
19398
19399
19400
19401
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19395

class UpdateMitigationActionRequest < Struct.new(
  :action_name,
  :role_arn,
  :action_params)
  SENSITIVE = []
  include Aws::Structure
end

#action_paramsTypes::MitigationActionParams

Defines the type of action and the parameters for that action.



19395
19396
19397
19398
19399
19400
19401
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19395

class UpdateMitigationActionRequest < Struct.new(
  :action_name,
  :role_arn,
  :action_params)
  SENSITIVE = []
  include Aws::Structure
end

#role_arnString

The ARN of the IAM role that is used to apply the mitigation action.

Returns:

  • (String)


19395
19396
19397
19398
19399
19400
19401
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 19395

class UpdateMitigationActionRequest < Struct.new(
  :action_name,
  :role_arn,
  :action_params)
  SENSITIVE = []
  include Aws::Structure
end