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

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
}

Instance Attribute Summary collapse

Instance Attribute Details

#eventString

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

Returns:

  • (String)


1052
1053
1054
1055
1056
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1052

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

#event_patternString

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

Returns:

  • (String)


1052
1053
1054
1055
1056
# File 'gems/aws-sdk-cloudwatchevents/lib/aws-sdk-cloudwatchevents/types.rb', line 1052

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