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

Class: Aws::EventBridge::Types::PutPartnerEventsRequestEntry

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 PutPartnerEventsRequestEntry data as a hash:

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

The details about an event generated by an SaaS partner.

Instance Attribute Summary collapse

Instance Attribute Details

#detailString

A valid JSON object. There is no other schema imposed. The JSON object can contain fields and nested subobjects. This field is required.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1611

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  include Aws::Structure
end

#detail_typeString

A free-form string used to decide which fields to expect in the event detail. This field is required.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1611

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  include Aws::Structure
end

#resourcesArray<String>

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

Returns:

  • (Array<String>)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1611

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  include Aws::Structure
end

#sourceString

The event source that is generating the evntry. This field is required.

Returns:

  • (String)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1611

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  include Aws::Structure
end

#timeTime

The date and time of the event.

Returns:

  • (Time)


1611
1612
1613
1614
1615
1616
1617
1618
# File 'gems/aws-sdk-eventbridge/lib/aws-sdk-eventbridge/types.rb', line 1611

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  include Aws::Structure
end