class Aws::EventBridge::Types::TestEventPatternRequest

@note When making an API call, you may pass TestEventPatternRequest

data as a hash:

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

@!attribute [rw] event_pattern

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

[1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/eventbridge-and-event-patterns.html
@return [String]

@!attribute [rw] event

The event, in JSON format, to test against the event pattern. The
JSON must follow the format specified in [Amazon Web Services
Events][1], and the following fields are mandatory:

* `id`

* `account`

* `source`

* `time`

* `region`

* `resources`

* `detail-type`

[1]: https://docs.aws.amazon.com/eventbridge/latest/userguide/aws-events.html
@return [String]

@see docs.aws.amazon.com/goto/WebAPI/eventbridge-2015-10-07/TestEventPatternRequest AWS API Documentation

Constants

SENSITIVE