Module Values.CreateEventTrackerResponseSource

Creates an event tracker that you use when adding event data to a specified dataset group using the PutEvents API. Only one event tracker can be associated with a dataset group. You will get an error if you call CreateEventTracker using the same dataset group as an existing event tracker. When you create an event tracker, the response includes a tracking ID, which you pass as a parameter when you use the PutEvents operation. Amazon Personalize then appends the event data to the Item interactions dataset of the dataset group you specify in your event tracker. The event tracker can be in one of the following states: CREATE PENDING > CREATE IN_PROGRESS > ACTIVE -or- CREATE FAILED DELETE PENDING > DELETE IN_PROGRESS To get the status of the event tracker, call DescribeEventTracker. The event tracker must be in the ACTIVE state before using the tracking ID. Related APIs ListEventTrackers DescribeEventTracker DeleteEventTracker

Sourcetype nonrec t = {
  1. eventTrackerArn : Arn.t option;
    (*

    The ARN of the event tracker.

    *)
  2. trackingId : TrackingId.t option;
    (*

    The ID of the event tracker. Include this ID in requests to the PutEvents API.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInputException of InvalidInputException.t
  2. | `LimitExceededException of LimitExceededException.t
  3. | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t
  4. | `ResourceInUseException of ResourceInUseException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `TooManyTagsException of TooManyTagsException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?eventTrackerArn:??? -> ?trackingId:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInputException of InvalidInputException.t | `LimitExceededException of LimitExceededException.t | `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t | `ResourceInUseException of ResourceInUseException.t | `ResourceNotFoundException of ResourceNotFoundException.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Arn.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