Class: Aws::EventBridgeV2::Types::PutEventsRequestEntry

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

Overview

A single event entry in a PutEvents request.

Constant Summary collapse

SENSITIVE =
[:detail]

Instance Attribute Summary collapse

Instance Attribute Details

#detail ⇒ String

The event payload, as a valid JSON string.

Returns:

  • (String)


1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end

#detail_type ⇒ String

Free-form detail-type classifying an event within its source.

Returns:

  • (String)


1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end

#resources ⇒ Array<String>

ARNs of resources the event concerns. Included in the event delivered to subscribers.

Returns:

  • (Array<String>)


1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end

#source ⇒ String

The source of the event. The aws. value prefix is service-reserved and cannot be used as a value.

Returns:

  • (String)


1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end

#system_metadata ⇒ Types::PutEventsSystemMetadata

System metadata for PutEvents entries. ContentType is not applicable (always application/eventbridge+json, set server-side).



1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end

#time ⇒ Time

The time the event occurred. Defaults to the time the service receives the event when omitted.

Returns:

  • (Time)


1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
# File 'gems/aws-sdk-eventbridgev2/lib/aws-sdk-eventbridgev2/types.rb', line 1978

class PutEventsRequestEntry < Struct.new(
  :source,
  :detail_type,
  :detail,
  :resources,
  :time,
  :system_metadata)
  SENSITIVE = [:detail]
  include Aws::Structure
end