Amazon.CloudWatchEvents.AmazonCloudWatchEventsClient.TestEventPattern C# (CSharp) Method

TestEventPattern() public method

Tests whether an event pattern matches the provided event.

Note: Most services in AWS treat : or / as the same character in Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in event patterns and rules. Be sure to use the correct ARN characters when creating event patterns so that they match the ARN syntax in the event you want to match.

/// This exception occurs due to unexpected causes. /// /// The event pattern is invalid. ///
public TestEventPattern ( TestEventPatternRequest request ) : TestEventPatternResponse
request Amazon.CloudWatchEvents.Model.TestEventPatternRequest Container for the necessary parameters to execute the TestEventPattern service method.
return Amazon.CloudWatchEvents.Model.TestEventPatternResponse
        public TestEventPatternResponse TestEventPattern(TestEventPatternRequest request)
        {
            var marshaller = new TestEventPatternRequestMarshaller();
            var unmarshaller = TestEventPatternResponseUnmarshaller.Instance;

            return Invoke<TestEventPatternRequest,TestEventPatternResponse>(request, marshaller, unmarshaller);
        }