Module Values.CreateEventTriggerResponseSource

Creates an event trigger, which specifies the rules when to perform action based on customer's ingested data. Each event stream can be associated with only one integration in the same region and AWS account as the event stream.

Sourcetype nonrec t = {
  1. eventTriggerName : Name.t option;
    (*

    The unique name of the event trigger.

    *)
  2. objectTypeName : TypeName.t option;
    (*

    The unique name of the object type.

    *)
  3. description : SensitiveText.t option;
    (*

    The description of the event trigger.

    *)
  4. eventTriggerConditions : EventTriggerConditions.t option;
    (*

    A list of conditions that determine when an event should trigger the destination.

    *)
  5. segmentFilter : Name.t option;
    (*

    The destination is triggered only for profiles that meet the criteria of a segment definition.

    *)
  6. eventTriggerLimits : EventTriggerLimits.t option;
    (*

    Defines limits controlling whether an event triggers the destination, based on ingestion latency and the number of invocations per profile over specific time periods.

    *)
  7. createdAt : Timestamp.t option;
    (*

    The timestamp of when the event trigger was created.

    *)
  8. lastUpdatedAt : Timestamp.t option;
    (*

    The timestamp of when the event trigger was most recently updated.

    *)
  9. tags : TagMap.t option;
    (*

    An array of key-value pairs to apply to this resource.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `BadRequestException of BadRequestException.t
  3. | `InternalServerException of InternalServerException.t
  4. | `ResourceNotFoundException of ResourceNotFoundException.t
  5. | `ThrottlingException of ThrottlingException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventTriggerName:??? -> ?objectTypeName:??? -> ?description:??? -> ?eventTriggerConditions:??? -> ?segmentFilter:??? -> ?eventTriggerLimits:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?tags:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of AccessDeniedException.t | `BadRequestException of BadRequestException.t | `InternalServerException of InternalServerException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `ThrottlingException of ThrottlingException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `List of [> `String of String1To255.t ] list | `String of Text.t ]) list ] list ]) list ] list ]) list ] list | `Map of ([> `String of TagKey.t ] * [> `String of TagValue.t ]) list | `String of Name.t | `Structure of (string * [> `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Enum of string | `Integer of MaxSize24.t ]) list ] list | `Long of OptionalLong.t ]) list | `Timestamp of Timestamp.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