Class: Aws::CloudWatchEvents::Types::PutTargetsResultEntry

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-cloudwatchevents/types.rb

Overview

Represents a target that failed to be added to a rule.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#error_codeString

The error code that indicates why the target addition failed. If the value is ‘ConcurrentModificationException`, too many requests were made at the same time.

Returns:

  • (String)


3277
3278
3279
3280
3281
3282
3283
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3277

class PutTargetsResultEntry < Struct.new(
  :target_id,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#error_messageString

The error message that explains why the target addition failed.

Returns:

  • (String)


3277
3278
3279
3280
3281
3282
3283
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3277

class PutTargetsResultEntry < Struct.new(
  :target_id,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end

#target_idString

The ID of the target.

Returns:

  • (String)


3277
3278
3279
3280
3281
3282
3283
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 3277

class PutTargetsResultEntry < Struct.new(
  :target_id,
  :error_code,
  :error_message)
  SENSITIVE = []
  include Aws::Structure
end