Module Values_0.DataCaptureConfigSource

Configuration to control how SageMaker AI captures inference data.

Sourcetype nonrec t = {
  1. enableCapture : EnableCapture.t option;
    (*

    Whether data capture should be enabled or disabled (defaults to enabled).

    *)
  2. initialSamplingPercentage : SamplingPercentage.t;
    (*

    The percentage of requests SageMaker AI will capture. A lower value is recommended for Endpoints with high traffic.

    *)
  3. destinationS3Uri : DestinationS3Uri.t;
    (*

    The Amazon S3 location used to capture the data.

    *)
  4. kmsKeyId : KmsKeyId.t option;
    (*

    The Amazon Resource Name (ARN) of an Key Management Service key that SageMaker AI uses to encrypt the captured data at rest using Amazon S3 server-side encryption. The KmsKeyId can be any of the following formats: Key ID: 1234abcd-12ab-34cd-56ef-1234567890ab Key ARN: arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab Alias name: alias/ExampleAlias Alias name ARN: arn:aws:kms:us-west-2:111122223333:alias/ExampleAlias

    *)
  5. captureOptions : CaptureOptionList.t;
    (*

    Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both

    *)
  6. captureContentTypeHeader : CaptureContentTypeHeader.t option;
    (*

    Configuration specifying how to treat different headers. If no headers are specified SageMaker AI will by default base64 encode when capturing the data.

    *)
}
Sourceval context_ : string
Sourceval make : ?enableCapture:??? -> ?kmsKeyId:??? -> ?captureContentTypeHeader:??? -> initialSamplingPercentage:SamplingPercentage.t -> destinationS3Uri:DestinationS3Uri.t -> captureOptions:CaptureOptionList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of EnableCapture.t | `Integer of SamplingPercentage.t | `List of [> `Structure of (string * [> `Enum of string ]) list ] list | `String of DestinationS3Uri.t | `Structure of (string * [> `List of [> `String of CsvContentType.t ] list ]) list ]) 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