Class: Aws::EventBridge::Types::PutEventsRequestEntry

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

Overview

Note:

When making an API call, you may pass PutEventsRequestEntry data as a hash:

{
  time: Time.now,
  source: "String",
  resources: ["EventResource"],
  detail_type: "String",
  detail: "String",
  event_bus_name: "NonPartnerEventBusName",
}

Represents an event to be submitted.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

A valid JSON string. There is no other schema imposed. The JSON string may contain fields and nested subobjects.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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

#detail_typeString

Free-form string used to decide what fields to expect in the event detail.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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

#event_bus_nameString

The event bus that will receive the event. Only the rules that are associated with this event bus will be able to match the event.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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

#resourcesArray<String>

AWS resources, identified by Amazon Resource Name (ARN), which the event primarily concerns. Any number, including zero, may be present.

Returns:

  • (Array<String>)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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

#sourceString

The source of the event.

Returns:

  • (String)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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

#timeTime

The time stamp of the event, per RFC3339. If no time stamp is provided, the time stamp of the PutEvents call is used.

Returns:

  • (Time)


1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1648

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