interface CaptureContentTypeHeaderProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.SageMaker.Mixins.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awssagemaker/mixins#CfnInferenceExperimentPropsMixin_CaptureContentTypeHeaderProperty |
Java | software.amazon.awscdk.mixins.preview.services.sagemaker.mixins.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
Python | aws_cdk.mixins_preview.aws_sagemaker.mixins.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty |
TypeScript | @aws-cdk/mixins-preview » aws_sagemaker » mixins » CfnInferenceExperimentPropsMixin » CaptureContentTypeHeaderProperty |
Configuration specifying how to treat different headers.
If no headers are specified Amazon SageMaker AI will by default base64 encode when capturing the data.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as sagemaker_mixins } from '@aws-cdk/mixins-preview/aws-sagemaker';
const captureContentTypeHeaderProperty: sagemaker_mixins.CfnInferenceExperimentPropsMixin.CaptureContentTypeHeaderProperty = {
csvContentTypes: ['csvContentTypes'],
jsonContentTypes: ['jsonContentTypes'],
};
Properties
| Name | Type | Description |
|---|---|---|
| csv | string[] | The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly. |
| json | string[] | The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly. |
csvContentTypes?
Type:
string[]
(optional)
The list of all content type headers that Amazon SageMaker AI will treat as CSV and capture accordingly.
jsonContentTypes?
Type:
string[]
(optional)
The list of all content type headers that SageMaker AI will treat as JSON and capture accordingly.

.NET
Go
Java
Python
TypeScript