Class: Aws::CloudWatchEvents::Types::TestEventPatternRequest

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

{
  event_pattern: "EventPattern", # required
  event: "String", # required
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

The event, in JSON format, to test against the event pattern.

Returns:

  • (String)


2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 2662

class TestEventPatternRequest < Struct.new(
  :event_pattern,
  :event)
  SENSITIVE = []
  include Aws::Structure
end

#event_patternString

The event pattern. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

Returns:

  • (String)


2662
2663
2664
2665
2666
2667
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 2662

class TestEventPatternRequest < Struct.new(
  :event_pattern,
  :event)
  SENSITIVE = []
  include Aws::Structure
end