Class: Aws::IoT::Types::StartDetectMitigationActionsTaskRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#actionsArray<String>

The actions to be performed when a device has unexpected behavior.

Returns:

  • (Array<String>)


15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#client_request_tokenString

Each mitigation action task must have a unique client request token. If you try to create a new task with the same token as a task that already exists, an exception occurs. If you omit this value, Amazon Web Services SDKs will automatically generate a unique client request.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#include_only_active_violationsBoolean

Specifies to list only active violations.

Returns:

  • (Boolean)


15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#include_suppressed_alertsBoolean

Specifies to include suppressed alerts.

Returns:

  • (Boolean)


15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#targetTypes::DetectMitigationActionsTaskTarget

Specifies the ML Detect findings to which the mitigation actions are applied.



15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#task_idString

The unique identifier of the task.

Returns:

  • (String)


15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end

#violation_event_occurrence_rangeTypes::ViolationEventOccurrenceRange

Specifies the time period of which violation events occurred between.



15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 15373

class StartDetectMitigationActionsTaskRequest < Struct.new(
  :task_id,
  :target,
  :actions,
  :violation_event_occurrence_range,
  :include_only_active_violations,
  :include_suppressed_alerts,
  :client_request_token)
  SENSITIVE = []
  include Aws::Structure
end