Class: Aws::CloudWatchEvents::Types::PutEventsRequestEntry
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchEvents::Types::PutEventsRequestEntry
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-cloudwatchevents/types.rb
Overview
Represents an event to be submitted.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#detail ⇒ String
A valid JSON string.
-
#detail_type ⇒ String
Free-form string used to decide what fields to expect in the event detail.
-
#event_bus_name ⇒ String
The name or ARN of the event bus to receive the event.
-
#resources ⇒ Array<String>
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns.
-
#source ⇒ String
The source of the event.
-
#time ⇒ Time
The time stamp of the event, per [RFC3339].
-
#trace_header ⇒ String
An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.
Instance Attribute Details
#detail ⇒ String
A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#detail_type ⇒ String
Free-form string used to decide what fields to expect in the event detail.
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#event_bus_name ⇒ String
The name or ARN of the event bus to receive the event. Only the rules that are associated with this event bus are used to match the event. If you omit this, the default event bus is used.
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#resources ⇒ Array<String>
Amazon Web Services resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#source ⇒ String
The source of the event.
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#time ⇒ Time
The time stamp of the event, per [RFC3339]. If no time stamp is provided, the time stamp of the [PutEvents] call is used.
[1]: www.rfc-editor.org/rfc/rfc3339.txt [2]: docs.aws.amazon.com/eventbridge/latest/APIReference/API_PutEvents.html
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |
#trace_header ⇒ String
An X-Ray trade header, which is an http header (X-Amzn-Trace-Id) that contains the trace-id associated with the event.
To learn more about X-Ray trace headers, see [Tracing header] in the X-Ray Developer Guide.
[1]: docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-tracingheader
2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 |
# File 'lib/aws-sdk-cloudwatchevents/types.rb', line 2925 class PutEventsRequestEntry < Struct.new( :time, :source, :resources, :detail_type, :detail, :event_bus_name, :trace_header) SENSITIVE = [] include Aws::Structure end |