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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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>)


14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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)


14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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)


14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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)


14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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.



14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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)


14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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.



14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
# File 'lib/aws-sdk-iot/types.rb', line 14671

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