You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EventBridge::Types::PutTargetsResultEntry

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

Overview

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

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)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1940

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

#error_messageString

The error message that explains why the target addition failed.

Returns:

  • (String)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1940

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

#target_idString

The ID of the target.

Returns:

  • (String)


1940
1941
1942
1943
1944
1945
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1940

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