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: "EventSourceName",
  resources: ["EventResource"],
  detail_type: "String",
  detail: "String",
}

The details about an event generated by an SaaS partner.

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)


1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1769

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

#detail_typeString

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

Returns:

  • (String)


1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1769

class PutPartnerEventsRequestEntry < Struct.new(
  :time,
  :source,
  :resources,
  :detail_type,
  :detail)
  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>)


1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1769

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

#sourceString

The event source that is generating the evntry.

Returns:

  • (String)


1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1769

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

#timeTime

The date and time of the event.

Returns:

  • (Time)


1769
1770
1771
1772
1773
1774
1775
1776
1777
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1769

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