DataCaptureConfig
import type { DataCaptureConfig } from "https://aws-api.deno.dev/v0.4/services/sagemaker.ts?docs=full";
Configuration to control how SageMaker captures inference data.
interface DataCaptureConfig {
CaptureContentTypeHeader?: CaptureContentTypeHeader | null;
CaptureOptions: CaptureOption[];
DestinationS3Uri: string;
EnableCapture?: boolean | null;
InitialSamplingPercentage: number;
KmsKeyId?: string | null;
}§Properties
§
CaptureContentTypeHeader?: CaptureContentTypeHeader | null
[src]Configuration specifying how to treat different headers. If no headers are specified SageMaker will by default base64 encode when capturing the data.
§
CaptureOptions: CaptureOption[]
[src]Specifies data Model Monitor will capture. You can configure whether to collect only input, only output, or both
§
EnableCapture?: boolean | null
[src]Whether data capture should be enabled or disabled (defaults to enabled).
§
InitialSamplingPercentage: number
[src]The percentage of requests SageMaker will capture. A lower value is recommended for Endpoints with high traffic.
§
KmsKeyId?: string | null
[src]The Amazon Resource Name (ARN) of a Amazon Web Services Key Management Service key that SageMaker 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