Skip to content

Commit 12cef30

Browse files
author
awstools
committed
feat(client-sagemaker): Amazon SageMaker now supports using manifest files to specify the location of uncompressed model artifacts within Model Packages
1 parent ae91f03 commit 12cef30

12 files changed

+35
-0
lines changed

clients/client-sagemaker/src/commands/BatchDescribeModelPackageCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export interface BatchDescribeModelPackageCommandOutput extends BatchDescribeMod
6868
* // HubAccessConfig: { // InferenceHubAccessConfig
6969
* // HubContentArn: "STRING_VALUE", // required
7070
* // },
71+
* // ManifestS3Uri: "STRING_VALUE",
7172
* // },
7273
* // },
7374
* // ProductId: "STRING_VALUE",

clients/client-sagemaker/src/commands/CreateAlgorithmCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __M
122122
* HubAccessConfig: { // InferenceHubAccessConfig
123123
* HubContentArn: "STRING_VALUE", // required
124124
* },
125+
* ManifestS3Uri: "STRING_VALUE",
125126
* },
126127
* },
127128
* ProductId: "STRING_VALUE",

clients/client-sagemaker/src/commands/CreateModelCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
7575
* HubAccessConfig: { // InferenceHubAccessConfig
7676
* HubContentArn: "STRING_VALUE", // required
7777
* },
78+
* ManifestS3Uri: "STRING_VALUE",
7879
* },
7980
* },
8081
* AdditionalModelDataSources: [ // AdditionalModelDataSources
@@ -90,6 +91,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
9091
* HubAccessConfig: {
9192
* HubContentArn: "STRING_VALUE", // required
9293
* },
94+
* ManifestS3Uri: "STRING_VALUE",
9395
* },
9496
* },
9597
* ],
@@ -125,6 +127,7 @@ export interface CreateModelCommandOutput extends CreateModelOutput, __MetadataB
125127
* HubAccessConfig: {
126128
* HubContentArn: "STRING_VALUE", // required
127129
* },
130+
* ManifestS3Uri: "STRING_VALUE",
128131
* },
129132
* },
130133
* AdditionalModelDataSources: [

clients/client-sagemaker/src/commands/CreateModelPackageCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
8080
* HubAccessConfig: { // InferenceHubAccessConfig
8181
* HubContentArn: "STRING_VALUE", // required
8282
* },
83+
* ManifestS3Uri: "STRING_VALUE",
8384
* },
8485
* },
8586
* ProductId: "STRING_VALUE",
@@ -165,6 +166,7 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
165166
* HubAccessConfig: {
166167
* HubContentArn: "STRING_VALUE", // required
167168
* },
169+
* ManifestS3Uri: "STRING_VALUE",
168170
* },
169171
* },
170172
* AlgorithmName: "STRING_VALUE", // required
@@ -278,6 +280,7 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
278280
* HubAccessConfig: {
279281
* HubContentArn: "STRING_VALUE", // required
280282
* },
283+
* ManifestS3Uri: "STRING_VALUE",
281284
* },
282285
* },
283286
* ProductId: "STRING_VALUE",

clients/client-sagemaker/src/commands/DescribeAlgorithmCommand.ts

+1
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmOutput,
129129
* // HubAccessConfig: { // InferenceHubAccessConfig
130130
* // HubContentArn: "STRING_VALUE", // required
131131
* // },
132+
* // ManifestS3Uri: "STRING_VALUE",
132133
* // },
133134
* // },
134135
* // ProductId: "STRING_VALUE",

clients/client-sagemaker/src/commands/DescribeModelCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ export interface DescribeModelCommandOutput extends DescribeModelOutput, __Metad
6565
* // HubAccessConfig: { // InferenceHubAccessConfig
6666
* // HubContentArn: "STRING_VALUE", // required
6767
* // },
68+
* // ManifestS3Uri: "STRING_VALUE",
6869
* // },
6970
* // },
7071
* // AdditionalModelDataSources: [ // AdditionalModelDataSources
@@ -80,6 +81,7 @@ export interface DescribeModelCommandOutput extends DescribeModelOutput, __Metad
8081
* // HubAccessConfig: {
8182
* // HubContentArn: "STRING_VALUE", // required
8283
* // },
84+
* // ManifestS3Uri: "STRING_VALUE",
8385
* // },
8486
* // },
8587
* // ],
@@ -115,6 +117,7 @@ export interface DescribeModelCommandOutput extends DescribeModelOutput, __Metad
115117
* // HubAccessConfig: {
116118
* // HubContentArn: "STRING_VALUE", // required
117119
* // },
120+
* // ManifestS3Uri: "STRING_VALUE",
118121
* // },
119122
* // },
120123
* // AdditionalModelDataSources: [

clients/client-sagemaker/src/commands/DescribeModelPackageCommand.ts

+3
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
7777
* // HubAccessConfig: { // InferenceHubAccessConfig
7878
* // HubContentArn: "STRING_VALUE", // required
7979
* // },
80+
* // ManifestS3Uri: "STRING_VALUE",
8081
* // },
8182
* // },
8283
* // ProductId: "STRING_VALUE",
@@ -124,6 +125,7 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
124125
* // HubAccessConfig: {
125126
* // HubContentArn: "STRING_VALUE", // required
126127
* // },
128+
* // ManifestS3Uri: "STRING_VALUE",
127129
* // },
128130
* // },
129131
* // AlgorithmName: "STRING_VALUE", // required
@@ -307,6 +309,7 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
307309
* // HubAccessConfig: {
308310
* // HubContentArn: "STRING_VALUE", // required
309311
* // },
312+
* // ManifestS3Uri: "STRING_VALUE",
310313
* // },
311314
* // },
312315
* // ProductId: "STRING_VALUE",

clients/client-sagemaker/src/commands/SearchCommand.ts

+5
Original file line numberDiff line numberDiff line change
@@ -1099,6 +1099,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
10991099
* // HubAccessConfig: { // InferenceHubAccessConfig
11001100
* // HubContentArn: "STRING_VALUE", // required
11011101
* // },
1102+
* // ManifestS3Uri: "STRING_VALUE",
11021103
* // },
11031104
* // },
11041105
* // ProductId: "STRING_VALUE",
@@ -1146,6 +1147,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
11461147
* // HubAccessConfig: {
11471148
* // HubContentArn: "STRING_VALUE", // required
11481149
* // },
1150+
* // ManifestS3Uri: "STRING_VALUE",
11491151
* // },
11501152
* // },
11511153
* // AlgorithmName: "STRING_VALUE", // required
@@ -1281,6 +1283,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
12811283
* // HubAccessConfig: {
12821284
* // HubContentArn: "STRING_VALUE", // required
12831285
* // },
1286+
* // ManifestS3Uri: "STRING_VALUE",
12841287
* // },
12851288
* // },
12861289
* // ProductId: "STRING_VALUE",
@@ -1844,6 +1847,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
18441847
* // HubAccessConfig: {
18451848
* // HubContentArn: "STRING_VALUE", // required
18461849
* // },
1850+
* // ManifestS3Uri: "STRING_VALUE",
18471851
* // },
18481852
* // },
18491853
* // ],
@@ -1880,6 +1884,7 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {}
18801884
* // HubAccessConfig: {
18811885
* // HubContentArn: "STRING_VALUE", // required
18821886
* // },
1887+
* // ManifestS3Uri: "STRING_VALUE",
18831888
* // },
18841889
* // },
18851890
* // ],

clients/client-sagemaker/src/commands/UpdateModelPackageCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ export interface UpdateModelPackageCommandOutput extends UpdateModelPackageOutpu
7070
* HubAccessConfig: { // InferenceHubAccessConfig
7171
* HubContentArn: "STRING_VALUE", // required
7272
* },
73+
* ManifestS3Uri: "STRING_VALUE",
7374
* },
7475
* },
7576
* ProductId: "STRING_VALUE",
@@ -121,6 +122,7 @@ export interface UpdateModelPackageCommandOutput extends UpdateModelPackageOutpu
121122
* HubAccessConfig: {
122123
* HubContentArn: "STRING_VALUE", // required
123124
* },
125+
* ManifestS3Uri: "STRING_VALUE",
124126
* },
125127
* },
126128
* ProductId: "STRING_VALUE",

clients/client-sagemaker/src/models/models_0.ts

+6
Original file line numberDiff line numberDiff line change
@@ -452,6 +452,12 @@ export interface S3ModelDataSource {
452452
* @public
453453
*/
454454
HubAccessConfig?: InferenceHubAccessConfig;
455+
456+
/**
457+
* <p>The Amazon S3 URI of the manifest file. The manifest file is a CSV file that stores the artifact locations.</p>
458+
* @public
459+
*/
460+
ManifestS3Uri?: string;
455461
}
456462

457463
/**

clients/client-sagemaker/src/protocols/Aws_json1_1.ts

+1
Original file line numberDiff line numberDiff line change
@@ -28120,6 +28120,7 @@ const de_S3ModelDataSource = (output: any, context: __SerdeContext): S3ModelData
2812028120
return take(output, {
2812128121
CompressionType: __expectString,
2812228122
HubAccessConfig: (_: any) => de_InferenceHubAccessConfig(_, context),
28123+
ManifestS3Uri: __expectString,
2812328124
ModelAccessConfig: (_: any) => de_ModelAccessConfig(_, context),
2812428125
S3DataType: __expectString,
2812528126
S3Uri: __expectString,

codegen/sdk-codegen/aws-models/sagemaker.json

+6
Original file line numberDiff line numberDiff line change
@@ -57270,6 +57270,12 @@
5727057270
"traits": {
5727157271
"smithy.api#documentation": "<p>Configuration information for hub access.</p>"
5727257272
}
57273+
},
57274+
"ManifestS3Uri": {
57275+
"target": "com.amazonaws.sagemaker#S3ModelUri",
57276+
"traits": {
57277+
"smithy.api#documentation": "<p>The Amazon S3 URI of the manifest file. The manifest file is a CSV file that stores the artifact locations.</p>"
57278+
}
5727357279
}
5727457280
},
5727557281
"traits": {

0 commit comments

Comments
 (0)