Module Values.CreateQueryLoggingConfigurationRequestSource

Creates a query logging configuration for the specified workspace. This operation enables logging of queries that exceed the specified QSP threshold.

Sourcetype nonrec t = {
  1. workspaceId : WorkspaceId.t;
    (*

    The ID of the workspace for which to create the query logging configuration.

    *)
  2. destinations : LoggingDestinations.t;
    (*

    The destinations where query logs will be sent. Only CloudWatch Logs destination is supported. The list must contain exactly one element.

    *)
  3. clientToken : IdempotencyToken.t option;
    (*

    (Optional) A unique, case-sensitive identifier that you can provide to ensure the idempotency of the request.

    *)
}
Sourceval context_ : string
Sourceval make : ?clientToken:??? -> workspaceId:WorkspaceId.t -> destinations:LoggingDestinations.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `Long of LoggingFilterQspThresholdLong.t | `String of LogGroupArn.t ]) list ]) list ] list | `String of WorkspaceId.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