Skip to content

Commit 91fa4eb

Browse files
author
awstools
committed
feat(client-sagemaker): AWS SageMaker InferenceComponents now support rolling update deployments for Inference Components.
1 parent 618b5ed commit 91fa4eb

21 files changed

+925
-552
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,14 @@ export interface CreateModelPackageCommandInput extends CreateModelPackageInput
3232
export interface CreateModelPackageCommandOutput extends CreateModelPackageOutput, __MetadataBearer {}
3333

3434
/**
35-
* <p>Creates a model package that you can use to create SageMaker models or list on Amazon Web Services
36-
* Marketplace, or a versioned model that is part of a model group. Buyers can subscribe to
37-
* model packages listed on Amazon Web Services Marketplace to create models in SageMaker.</p>
35+
* <p>Creates a model package that you can use to create SageMaker models or list on Amazon Web Services Marketplace, or a versioned model that is part of a model group. Buyers
36+
* can subscribe to model packages listed on Amazon Web Services Marketplace to create
37+
* models in SageMaker.</p>
3838
* <p>To create a model package by specifying a Docker container that contains your
3939
* inference code and the Amazon S3 location of your model artifacts, provide values for
40-
* <code>InferenceSpecification</code>. To create a model from an algorithm resource
40+
* <code>InferenceSpecification</code>. To create a model from an algorithm resource
4141
* that you created or subscribed to in Amazon Web Services Marketplace, provide a value for
42-
* <code>SourceAlgorithmSpecification</code>.</p>
42+
* <code>SourceAlgorithmSpecification</code>.</p>
4343
* <note>
4444
* <p>There are two types of model packages:</p>
4545
* <ul>

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ export interface DeleteModelPackageCommandOutput extends __MetadataBearer {}
2929

3030
/**
3131
* <p>Deletes a model package.</p>
32-
* <p>A model package is used to create SageMaker models or list on Amazon Web Services Marketplace. Buyers can
33-
* subscribe to model packages listed on Amazon Web Services Marketplace to create models in SageMaker.</p>
32+
* <p>A model package is used to create SageMaker models or list on Amazon Web Services
33+
* Marketplace. Buyers can subscribe to model packages listed on Amazon Web Services
34+
* Marketplace to create models in SageMaker.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

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

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,27 @@ export interface DescribeInferenceComponentCommandOutput extends DescribeInferen
7979
* // CreationTime: new Date("TIMESTAMP"), // required
8080
* // LastModifiedTime: new Date("TIMESTAMP"), // required
8181
* // InferenceComponentStatus: "InService" || "Creating" || "Updating" || "Failed" || "Deleting",
82+
* // LastDeploymentConfig: { // InferenceComponentDeploymentConfig
83+
* // RollingUpdatePolicy: { // InferenceComponentRollingUpdatePolicy
84+
* // MaximumBatchSize: { // InferenceComponentCapacitySize
85+
* // Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
86+
* // Value: Number("int"), // required
87+
* // },
88+
* // WaitIntervalInSeconds: Number("int"), // required
89+
* // MaximumExecutionTimeoutInSeconds: Number("int"),
90+
* // RollbackMaximumBatchSize: {
91+
* // Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
92+
* // Value: Number("int"), // required
93+
* // },
94+
* // },
95+
* // AutoRollbackConfiguration: { // AutoRollbackConfig
96+
* // Alarms: [ // AlarmList
97+
* // { // Alarm
98+
* // AlarmName: "STRING_VALUE",
99+
* // },
100+
* // ],
101+
* // },
102+
* // },
82103
* // };
83104
*
84105
* ```

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,10 @@ export interface DescribeModelPackageCommandOutput extends DescribeModelPackageO
3636
* models or list them on Amazon Web Services Marketplace.</p>
3737
* <important>
3838
* <p>If you provided a KMS Key ID when you created your model package,
39-
* you will see the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html">KMS
40-
* Decrypt</a> API call in your CloudTrail logs when you use this API.</p>
39+
* you will see the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html">KMS Decrypt</a> API call in
40+
* your CloudTrail logs when you use this API.</p>
4141
* </important>
42-
* <p>To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services
43-
* Marketplace.</p>
42+
* <p>To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.</p>
4443
* @example
4544
* Use a bare-bones client and the command you need to make an API call.
4645
* ```javascript

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ export interface GetModelPackageGroupPolicyCommandOutput extends GetModelPackage
3030
/**
3131
* <p>Gets a resource policy that manages access for a model group. For information about
3232
* resource policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based
33-
* policies and resource-based policies</a> in the <i>Amazon Web Services Identity and
34-
* Access Management User Guide.</i>.</p>
33+
* policies and resource-based policies</a> in the <i>Amazon Web Services
34+
* Identity and Access Management User Guide.</i>.</p>
3535
* @example
3636
* Use a bare-bones client and the command you need to make an API call.
3737
* ```javascript

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { ListDataQualityJobDefinitionsRequest, ListDataQualityJobDefinitionsResponse } from "../models/models_3";
8+
import { ListDataQualityJobDefinitionsRequest } from "../models/models_3";
9+
import { ListDataQualityJobDefinitionsResponse } from "../models/models_4";
910
import {
1011
de_ListDataQualityJobDefinitionsCommand,
1112
se_ListDataQualityJobDefinitionsCommand,

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { ListDeviceFleetsRequest } from "../models/models_3";
9-
import { ListDeviceFleetsResponse } from "../models/models_4";
8+
import { ListDeviceFleetsRequest, ListDeviceFleetsResponse } from "../models/models_4";
109
import { de_ListDeviceFleetsCommand, se_ListDeviceFleetsCommand } from "../protocols/Aws_json1_1";
1110
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1211

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ export interface PutModelPackageGroupPolicyCommandOutput extends PutModelPackage
3030
/**
3131
* <p>Adds a resouce policy to control access to a model group. For information about
3232
* resoure policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based
33-
* policies and resource-based policies</a> in the <i>Amazon Web Services Identity and Access Management User Guide.</i>.</p>
33+
* policies and resource-based policies</a> in the <i>Amazon Web Services
34+
* Identity and Access Management User Guide.</i>.</p>
3435
* @example
3536
* Use a bare-bones client and the command you need to make an API call.
3637
* ```javascript

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { StopProcessingJobRequest } from "../models/models_4";
8+
import { StopProcessingJobRequest } from "../models/models_5";
99
import { de_StopProcessingJobCommand, se_StopProcessingJobCommand } from "../protocols/Aws_json1_1";
1010
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1111

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

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

77
import { commonParams } from "../endpoint/EndpointParameters";
8-
import { StopTrainingJobRequest } from "../models/models_4";
8+
import { StopTrainingJobRequest } from "../models/models_5";
99
import { de_StopTrainingJobCommand, se_StopTrainingJobCommand } from "../protocols/Aws_json1_1";
1010
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
1111

0 commit comments

Comments
 (0)