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

Class: Aws::CloudWatchEvents::Types::PutPartnerEventsRequestEntry

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/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 string. There is no other schema imposed. The JSON string can contain fields and nested subobjects.

Returns:

  • (String)


1607
1608
1609
1610
1611
1612
1613
1614
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1607

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.

Returns:

  • (String)


1607
1608
1609
1610
1611
1612
1613
1614
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1607

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>)


1607
1608
1609
1610
1611
1612
1613
1614
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1607

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

#sourceString

The event source that is generating the evntry.

Returns:

  • (String)


1607
1608
1609
1610
1611
1612
1613
1614
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1607

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

#timeTime

The date and time of the event.

Returns:

  • (Time)


1607
1608
1609
1610
1611
1612
1613
1614
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1607

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