Skip to content

Commit

Permalink
feat(client-sagemaker): Including DataCaptureConfig key in the Amazon…
Browse files Browse the repository at this point in the history
… Sagemaker Search's transform job object
  • Loading branch information
awstools committed Aug 4, 2023
1 parent 70146be commit 126b1c6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions clients/client-sagemaker/src/commands/SearchCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -831,6 +831,11 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // RunName: "STRING_VALUE",
* // },
* // Tags: "<TagList>",
* // DataCaptureConfig: { // BatchDataCaptureConfig
* // DestinationS3Uri: "STRING_VALUE", // required
* // KmsKeyId: "STRING_VALUE",
* // GenerateInferenceId: true || false,
* // },
* // },
* // },
* // LineageGroupArn: "STRING_VALUE",
Expand Down Expand Up @@ -1821,6 +1826,11 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
* // },
* // ExperimentConfig: "<ExperimentConfig>",
* // Tags: "<TagList>",
* // DataCaptureConfig: {
* // DestinationS3Uri: "STRING_VALUE", // required
* // KmsKeyId: "STRING_VALUE",
* // GenerateInferenceId: true || false,
* // },
* // },
* // MonitoringSchedules: [ // ModelDashboardMonitoringSchedules
* // { // ModelDashboardMonitoringSchedule
Expand Down
7 changes: 7 additions & 0 deletions clients/client-sagemaker/src/models/models_3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
AutoMLJobSummary,
AutoMLSortBy,
AutoMLSortOrder,
BatchDataCaptureConfig,
BatchStrategy,
CacheHitResult,
CallbackStepMetadata,
Expand Down Expand Up @@ -9867,6 +9868,12 @@ export interface TransformJob {
* <p>A list of tags associated with the transform job.</p>
*/
Tags?: Tag[];

/**
* @public
* <p>Configuration to control how SageMaker captures inference data for batch transform jobs.</p>
*/
DataCaptureConfig?: BatchDataCaptureConfig;
}

/**
Expand Down
1 change: 1 addition & 0 deletions clients/client-sagemaker/src/protocols/Aws_json1_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28110,6 +28110,7 @@ const de_TransformJob = (output: any, context: __SerdeContext): TransformJob =>
AutoMLJobArn: __expectString,
BatchStrategy: __expectString,
CreationTime: (_: any) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
DataCaptureConfig: _json,
DataProcessing: _json,
Environment: _json,
ExperimentConfig: _json,
Expand Down
3 changes: 3 additions & 0 deletions codegen/sdk-codegen/aws-models/sagemaker.json
Original file line number Diff line number Diff line change
Expand Up @@ -55952,6 +55952,9 @@
"traits": {
"smithy.api#documentation": "<p>A list of tags associated with the transform job.</p>"
}
},
"DataCaptureConfig": {
"target": "com.amazonaws.sagemaker#BatchDataCaptureConfig"
}
},
"traits": {
Expand Down

0 comments on commit 126b1c6

Please sign in to comment.