Skip to content

Commit ca01bcc

Browse files
author
awstools
committed
feat(client-sagemaker): Introduces Serverless training: A fully managed compute infrastructure that abstracts away all infrastructure complexity, allowing you to focus purely on model development.
Added AI model customization assets used to train, refine, and evaluate custom models during the model customization process.
1 parent 415382c commit ca01bcc

36 files changed

+6776
-5077
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,12 @@ export interface BatchDescribeModelPackageCommandOutput extends BatchDescribeMod
9191
* // ETag: "STRING_VALUE",
9292
* // },
9393
* // ModelDataETag: "STRING_VALUE",
94+
* // IsCheckpoint: true || false,
95+
* // BaseModel: { // BaseModel
96+
* // HubContentName: "STRING_VALUE",
97+
* // HubContentVersion: "STRING_VALUE",
98+
* // RecipeName: "STRING_VALUE",
99+
* // },
94100
* // },
95101
* // ],
96102
* // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -108,6 +114,7 @@ export interface BatchDescribeModelPackageCommandOutput extends BatchDescribeMod
108114
* // },
109115
* // ModelPackageStatus: "Pending" || "InProgress" || "Completed" || "Failed" || "Deleting", // required
110116
* // ModelApprovalStatus: "Approved" || "Rejected" || "PendingManualApproval",
117+
* // ModelPackageRegistrationType: "Logged" || "Registered",
111118
* // },
112119
* // },
113120
* // BatchDescribeModelPackageErrorMap: { // BatchDescribeModelPackageErrorMap

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,12 @@ export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __M
146146
* ETag: "STRING_VALUE",
147147
* },
148148
* ModelDataETag: "STRING_VALUE",
149+
* IsCheckpoint: true || false,
150+
* BaseModel: { // BaseModel
151+
* HubContentName: "STRING_VALUE",
152+
* HubContentVersion: "STRING_VALUE",
153+
* RecipeName: "STRING_VALUE",
154+
* },
149155
* },
150156
* ],
151157
* SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -198,6 +204,9 @@ export interface CreateAlgorithmCommandOutput extends CreateAlgorithmOutput, __M
198204
* FileSystemType: "EFS" || "FSxLustre", // required
199205
* DirectoryPath: "STRING_VALUE", // required
200206
* },
207+
* DatasetSource: { // DatasetSource
208+
* DatasetArn: "STRING_VALUE", // required
209+
* },
201210
* },
202211
* ContentType: "STRING_VALUE",
203212
* CompressionType: "None" || "Gzip",

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ import { Command as $Command } from "@smithy/smithy-client";
44
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { CreateComputeQuotaRequest, CreateComputeQuotaResponse } from "../models/models_0";
7+
import { CreateComputeQuotaRequest } from "../models/models_0";
8+
import { CreateComputeQuotaResponse } from "../models/models_1";
89
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
910
import { CreateComputeQuota } from "../schemas/schemas_0";
1011

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Command as $Command } from "@smithy/smithy-client";
44
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { CreateContextRequest, CreateContextResponse } from "../models/models_0";
7+
import { CreateContextRequest, CreateContextResponse } from "../models/models_1";
88
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
99
import { CreateContext } from "../schemas/schemas_0";
1010

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,9 @@ export interface CreateHyperParameterTuningJobCommandOutput
181181
* FileSystemType: "EFS" || "FSxLustre", // required
182182
* DirectoryPath: "STRING_VALUE", // required
183183
* },
184+
* DatasetSource: { // DatasetSource
185+
* DatasetArn: "STRING_VALUE", // required
186+
* },
184187
* },
185188
* ContentType: "STRING_VALUE",
186189
* CompressionType: "None" || "Gzip",
@@ -342,6 +345,9 @@ export interface CreateHyperParameterTuningJobCommandOutput
342345
* FileSystemType: "EFS" || "FSxLustre", // required
343346
* DirectoryPath: "STRING_VALUE", // required
344347
* },
348+
* DatasetSource: {
349+
* DatasetArn: "STRING_VALUE", // required
350+
* },
345351
* },
346352
* ContentType: "STRING_VALUE",
347353
* CompressionType: "None" || "Gzip",

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
4040
* ModelPackageName: "STRING_VALUE",
4141
* ModelPackageGroupName: "STRING_VALUE",
4242
* ModelPackageDescription: "STRING_VALUE",
43+
* ModelPackageRegistrationType: "Logged" || "Registered",
4344
* InferenceSpecification: { // InferenceSpecification
4445
* Containers: [ // ModelPackageContainerDefinitionList // required
4546
* { // ModelPackageContainerDefinition
@@ -80,6 +81,12 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
8081
* ETag: "STRING_VALUE",
8182
* },
8283
* ModelDataETag: "STRING_VALUE",
84+
* IsCheckpoint: true || false,
85+
* BaseModel: { // BaseModel
86+
* HubContentName: "STRING_VALUE",
87+
* HubContentVersion: "STRING_VALUE",
88+
* RecipeName: "STRING_VALUE",
89+
* },
8390
* },
8491
* ],
8592
* SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -288,6 +295,12 @@ export interface CreateModelPackageCommandOutput extends CreateModelPackageOutpu
288295
* ETag: "STRING_VALUE",
289296
* },
290297
* ModelDataETag: "STRING_VALUE",
298+
* IsCheckpoint: true || false,
299+
* BaseModel: {
300+
* HubContentName: "STRING_VALUE",
301+
* HubContentVersion: "STRING_VALUE",
302+
* RecipeName: "STRING_VALUE",
303+
* },
291304
* },
292305
* ],
293306
* SupportedTransformInstanceTypes: [

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { Command as $Command } from "@smithy/smithy-client";
44
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
55

66
import { commonParams } from "../endpoint/EndpointParameters";
7-
import { CreateStudioLifecycleConfigRequest, CreateStudioLifecycleConfigResponse } from "../models/models_1";
7+
import { CreateStudioLifecycleConfigRequest, CreateStudioLifecycleConfigResponse } from "../models/models_2";
88
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
99
import { CreateStudioLifecycleConfig } from "../schemas/schemas_0";
1010

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
9393
* FileSystemType: "EFS" || "FSxLustre", // required
9494
* DirectoryPath: "STRING_VALUE", // required
9595
* },
96+
* DatasetSource: { // DatasetSource
97+
* DatasetArn: "STRING_VALUE", // required
98+
* },
9699
* },
97100
* ContentType: "STRING_VALUE",
98101
* CompressionType: "None" || "Gzip",
@@ -232,6 +235,24 @@ export interface CreateTrainingJobCommandOutput extends CreateTrainingJobRespons
232235
* SessionChainingConfig: { // SessionChainingConfig
233236
* EnableSessionTagChaining: true || false,
234237
* },
238+
* ServerlessJobConfig: { // ServerlessJobConfig
239+
* BaseModelArn: "STRING_VALUE", // required
240+
* AcceptEula: true || false,
241+
* JobType: "FineTuning" || "Evaluation", // required
242+
* CustomizationTechnique: "SFT" || "DPO" || "RLVR" || "RLAIF",
243+
* Peft: "LORA",
244+
* EvaluationType: "LLMAJEvaluation" || "CustomScorerEvaluation" || "BenchmarkEvaluation",
245+
* EvaluatorArn: "STRING_VALUE",
246+
* },
247+
* MlflowConfig: { // MlflowConfig
248+
* MlflowResourceArn: "STRING_VALUE", // required
249+
* MlflowExperimentName: "STRING_VALUE",
250+
* MlflowRunName: "STRING_VALUE",
251+
* },
252+
* ModelPackageConfig: { // ModelPackageConfig
253+
* ModelPackageGroupArn: "STRING_VALUE", // required
254+
* SourceModelPackageArn: "STRING_VALUE",
255+
* },
235256
* };
236257
* const command = new CreateTrainingJobCommand(input);
237258
* const response = await client.send(command);

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,12 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmOutput,
153153
* // ETag: "STRING_VALUE",
154154
* // },
155155
* // ModelDataETag: "STRING_VALUE",
156+
* // IsCheckpoint: true || false,
157+
* // BaseModel: { // BaseModel
158+
* // HubContentName: "STRING_VALUE",
159+
* // HubContentVersion: "STRING_VALUE",
160+
* // RecipeName: "STRING_VALUE",
161+
* // },
156162
* // },
157163
* // ],
158164
* // SupportedTransformInstanceTypes: [ // TransformInstanceTypes
@@ -205,6 +211,9 @@ export interface DescribeAlgorithmCommandOutput extends DescribeAlgorithmOutput,
205211
* // FileSystemType: "EFS" || "FSxLustre", // required
206212
* // DirectoryPath: "STRING_VALUE", // required
207213
* // },
214+
* // DatasetSource: { // DatasetSource
215+
* // DatasetArn: "STRING_VALUE", // required
216+
* // },
208217
* // },
209218
* // ContentType: "STRING_VALUE",
210219
* // CompressionType: "None" || "Gzip",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,9 @@ export interface DescribeHyperParameterTuningJobCommandOutput
187187
* // FileSystemType: "EFS" || "FSxLustre", // required
188188
* // DirectoryPath: "STRING_VALUE", // required
189189
* // },
190+
* // DatasetSource: { // DatasetSource
191+
* // DatasetArn: "STRING_VALUE", // required
192+
* // },
190193
* // },
191194
* // ContentType: "STRING_VALUE",
192195
* // CompressionType: "None" || "Gzip",
@@ -348,6 +351,9 @@ export interface DescribeHyperParameterTuningJobCommandOutput
348351
* // FileSystemType: "EFS" || "FSxLustre", // required
349352
* // DirectoryPath: "STRING_VALUE", // required
350353
* // },
354+
* // DatasetSource: {
355+
* // DatasetArn: "STRING_VALUE", // required
356+
* // },
351357
* // },
352358
* // ContentType: "STRING_VALUE",
353359
* // CompressionType: "None" || "Gzip",

0 commit comments

Comments
 (0)