Values.GetEventRuleResponseSourceReturns a specified EventRule.
type nonrec t = {arn : EventRuleArn.t option;The ARN of the resource.
*)notificationConfigurationArn : NotificationConfigurationArn.t option;The ARN of a NotificationConfiguration.
*)creationTime : CreationTime.t option;The date when the EventRule was created.
*)source : Source.t option;The matched event source. Must match one of the valid EventBridge sources. Only Amazon Web Services service sourced events are supported. For example, aws.ec2 and aws.cloudwatch. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
*)eventType : EventType.t option;The event type to match. Must match one of the valid Amazon EventBridge event types. For example, EC2 Instance State-change Notification and Amazon CloudWatch Alarm State Change. For more information, see Event delivery from Amazon Web Services services in the Amazon EventBridge User Guide.
*)eventPattern : EventRuleEventPattern.t option;An additional event pattern used to further filter the events this EventRule receives. For more information, see Amazon EventBridge event patterns in the Amazon EventBridge User Guide.
*)regions : Regions.t option;A list of Amazon Web Services Regions that send events to this EventRule.
*)managedRules : ManagedRuleArns.t option;A list of managed rules from EventBridge that are associated with this EventRule. These are created by User Notifications within your account so this EventRule functions.
*)statusSummaryByRegion : StatusSummaryByRegion.t option;A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of Region.t ] list
| `Map of
([> `String of Region.t ]
* [> `Structure of
(string
* [> `Enum of string
| `String of EventRuleStatusReason.t ])
list ])
list
| `String of EventRuleArn.t
| `Timestamp of CreationTime.t ])
list ]