Module Values.GetEventRuleResponseSource

Returns a specified EventRule.

Sourcetype nonrec t = {
  1. arn : EventRuleArn.t option;
    (*

    The ARN of the resource.

    *)
  2. notificationConfigurationArn : NotificationConfigurationArn.t option;
    (*

    The ARN of a NotificationConfiguration.

    *)
  3. creationTime : CreationTime.t option;
    (*

    The date when the EventRule was created.

    *)
  4. 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.

    *)
  5. 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.

    *)
  6. 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.

    *)
  7. regions : Regions.t option;
    (*

    A list of Amazon Web Services Regions that send events to this EventRule.

    *)
  8. 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.

    *)
  9. statusSummaryByRegion : StatusSummaryByRegion.t option;
    (*

    A list of an EventRule's status by Region. Regions are mapped to EventRuleStatusSummary.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerException of InternalServerException.t
  3. | `ResourceNotFoundException of ResourceNotFoundException.t
  4. | `ThrottlingException of ThrottlingException.t
  5. | `ValidationException of ValidationException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?arn:??? -> ?notificationConfigurationArn:??? -> ?creationTime:??? -> ?source:??? -> ?eventType:??? -> ?eventPattern:??? -> ?regions:??? -> ?managedRules:??? -> ?statusSummaryByRegion:??? -> unit -> t
Sourceval 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 ]
Sourceval 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 ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval 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 ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t