@aws-sdk/client-sagemaker 3.752.0 → 3.757.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +34 -6
- package/dist-es/models/models_3.js +4 -5
- package/dist-es/models/models_4.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +22 -0
- package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -5
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +3 -2
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +21 -0
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +3 -4
- package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +2 -2
- package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +2 -1
- package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -2
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +2 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateClusterCommand.d.ts +3 -0
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +21 -0
- package/dist-types/models/models_0.d.ts +44 -35
- package/dist-types/models/models_1.d.ts +95 -101
- package/dist-types/models/models_2.d.ts +2 -2
- package/dist-types/models/models_3.d.ts +147 -139
- package/dist-types/models/models_4.d.ts +199 -112
- package/dist-types/models/models_5.d.ts +88 -20
- package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/ts3.4/models/models_3.d.ts +22 -28
- package/dist-types/ts3.4/models/models_4.d.ts +28 -18
- package/dist-types/ts3.4/models/models_5.d.ts +20 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -351,6 +351,7 @@ __export(src_exports, {
|
|
|
351
351
|
ImageVersionSortOrder: () => ImageVersionSortOrder,
|
|
352
352
|
ImageVersionStatus: () => ImageVersionStatus,
|
|
353
353
|
ImportHubContentCommand: () => ImportHubContentCommand,
|
|
354
|
+
InferenceComponentCapacitySizeType: () => InferenceComponentCapacitySizeType,
|
|
354
355
|
InferenceComponentSortKey: () => InferenceComponentSortKey,
|
|
355
356
|
InferenceComponentStatus: () => InferenceComponentStatus,
|
|
356
357
|
InferenceExecutionMode: () => InferenceExecutionMode,
|
|
@@ -11233,6 +11234,7 @@ var se_UpdateEndpointWeightsAndCapacitiesInput = /* @__PURE__ */ __name((input,
|
|
|
11233
11234
|
}, "se_UpdateEndpointWeightsAndCapacitiesInput");
|
|
11234
11235
|
var se_UpdateInferenceComponentInput = /* @__PURE__ */ __name((input, context) => {
|
|
11235
11236
|
return (0, import_smithy_client.take)(input, {
|
|
11237
|
+
DeploymentConfig: import_smithy_client._json,
|
|
11236
11238
|
InferenceComponentName: [],
|
|
11237
11239
|
RuntimeConfig: import_smithy_client._json,
|
|
11238
11240
|
Specification: (_) => se_InferenceComponentSpecification(_, context)
|
|
@@ -13847,6 +13849,7 @@ var de_DescribeInferenceComponentOutput = /* @__PURE__ */ __name((output, contex
|
|
|
13847
13849
|
InferenceComponentArn: import_smithy_client.expectString,
|
|
13848
13850
|
InferenceComponentName: import_smithy_client.expectString,
|
|
13849
13851
|
InferenceComponentStatus: import_smithy_client.expectString,
|
|
13852
|
+
LastDeploymentConfig: (_) => de_InferenceComponentDeploymentConfig(_, context),
|
|
13850
13853
|
LastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
13851
13854
|
RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
|
|
13852
13855
|
Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
|
|
@@ -15718,6 +15721,12 @@ var de_ImportHubContentResponse = /* @__PURE__ */ __name((output, context) => {
|
|
|
15718
15721
|
HubContentArn: import_smithy_client.expectString
|
|
15719
15722
|
});
|
|
15720
15723
|
}, "de_ImportHubContentResponse");
|
|
15724
|
+
var de_InferenceComponentCapacitySize = /* @__PURE__ */ __name((output, context) => {
|
|
15725
|
+
return (0, import_smithy_client.take)(output, {
|
|
15726
|
+
Type: import_smithy_client.expectString,
|
|
15727
|
+
Value: import_smithy_client.expectInt32
|
|
15728
|
+
});
|
|
15729
|
+
}, "de_InferenceComponentCapacitySize");
|
|
15721
15730
|
var de_InferenceComponentComputeResourceRequirements = /* @__PURE__ */ __name((output, context) => {
|
|
15722
15731
|
return (0, import_smithy_client.take)(output, {
|
|
15723
15732
|
MaxMemoryRequiredInMb: import_smithy_client.expectInt32,
|
|
@@ -15733,6 +15742,20 @@ var de_InferenceComponentContainerSpecificationSummary = /* @__PURE__ */ __name(
|
|
|
15733
15742
|
Environment: (_) => de_EnvironmentMap(_, context)
|
|
15734
15743
|
});
|
|
15735
15744
|
}, "de_InferenceComponentContainerSpecificationSummary");
|
|
15745
|
+
var de_InferenceComponentDeploymentConfig = /* @__PURE__ */ __name((output, context) => {
|
|
15746
|
+
return (0, import_smithy_client.take)(output, {
|
|
15747
|
+
AutoRollbackConfiguration: (_) => de_AutoRollbackConfig(_, context),
|
|
15748
|
+
RollingUpdatePolicy: (_) => de_InferenceComponentRollingUpdatePolicy(_, context)
|
|
15749
|
+
});
|
|
15750
|
+
}, "de_InferenceComponentDeploymentConfig");
|
|
15751
|
+
var de_InferenceComponentRollingUpdatePolicy = /* @__PURE__ */ __name((output, context) => {
|
|
15752
|
+
return (0, import_smithy_client.take)(output, {
|
|
15753
|
+
MaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
15754
|
+
MaximumExecutionTimeoutInSeconds: import_smithy_client.expectInt32,
|
|
15755
|
+
RollbackMaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
15756
|
+
WaitIntervalInSeconds: import_smithy_client.expectInt32
|
|
15757
|
+
});
|
|
15758
|
+
}, "de_InferenceComponentRollingUpdatePolicy");
|
|
15736
15759
|
var de_InferenceComponentRuntimeConfigSummary = /* @__PURE__ */ __name((output, context) => {
|
|
15737
15760
|
return (0, import_smithy_client.take)(output, {
|
|
15738
15761
|
CurrentCopyCount: import_smithy_client.expectInt32,
|
|
@@ -22756,6 +22779,10 @@ var InferenceComponentStatus = {
|
|
|
22756
22779
|
IN_SERVICE: "InService",
|
|
22757
22780
|
UPDATING: "Updating"
|
|
22758
22781
|
};
|
|
22782
|
+
var InferenceComponentCapacitySizeType = {
|
|
22783
|
+
CAPACITY_PERCENT: "CAPACITY_PERCENT",
|
|
22784
|
+
COPY_COUNT: "COPY_COUNT"
|
|
22785
|
+
};
|
|
22759
22786
|
var ModelVariantStatus = {
|
|
22760
22787
|
CREATING: "Creating",
|
|
22761
22788
|
DELETED: "Deleted",
|
|
@@ -23178,11 +23205,6 @@ var MonitoringJobDefinitionSortKey = {
|
|
|
23178
23205
|
CREATION_TIME: "CreationTime",
|
|
23179
23206
|
NAME: "Name"
|
|
23180
23207
|
};
|
|
23181
|
-
var ListDeviceFleetsSortBy = {
|
|
23182
|
-
CreationTime: "CREATION_TIME",
|
|
23183
|
-
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
23184
|
-
Name: "NAME"
|
|
23185
|
-
};
|
|
23186
23208
|
var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
23187
23209
|
...obj,
|
|
23188
23210
|
...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -25056,6 +25078,11 @@ var RetryPipelineExecutionCommand = class extends import_smithy_client.Command.c
|
|
|
25056
25078
|
|
|
25057
25079
|
// src/models/models_4.ts
|
|
25058
25080
|
|
|
25081
|
+
var ListDeviceFleetsSortBy = {
|
|
25082
|
+
CreationTime: "CREATION_TIME",
|
|
25083
|
+
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
25084
|
+
Name: "NAME"
|
|
25085
|
+
};
|
|
25059
25086
|
var ListEdgeDeploymentPlansSortBy = {
|
|
25060
25087
|
CreationTime: "CREATION_TIME",
|
|
25061
25088
|
DeviceFleetName: "DEVICE_FLEET_NAME",
|
|
@@ -28220,6 +28247,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28220
28247
|
ImageStatus,
|
|
28221
28248
|
ImageVersionStatus,
|
|
28222
28249
|
InferenceComponentStatus,
|
|
28250
|
+
InferenceComponentCapacitySizeType,
|
|
28223
28251
|
ModelVariantStatus,
|
|
28224
28252
|
InferenceExperimentStatus,
|
|
28225
28253
|
RecommendationJobStatus,
|
|
@@ -28281,9 +28309,9 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
|
|
|
28281
28309
|
SortQuotaBy,
|
|
28282
28310
|
SortContextsBy,
|
|
28283
28311
|
MonitoringJobDefinitionSortKey,
|
|
28284
|
-
ListDeviceFleetsSortBy,
|
|
28285
28312
|
DescribeModelCardResponseFilterSensitiveLog,
|
|
28286
28313
|
DescribeModelPackageOutputFilterSensitiveLog,
|
|
28314
|
+
ListDeviceFleetsSortBy,
|
|
28287
28315
|
ListEdgeDeploymentPlansSortBy,
|
|
28288
28316
|
ListEdgePackagingJobsSortBy,
|
|
28289
28317
|
OrderKey,
|
|
@@ -39,6 +39,10 @@ export const InferenceComponentStatus = {
|
|
|
39
39
|
IN_SERVICE: "InService",
|
|
40
40
|
UPDATING: "Updating",
|
|
41
41
|
};
|
|
42
|
+
export const InferenceComponentCapacitySizeType = {
|
|
43
|
+
CAPACITY_PERCENT: "CAPACITY_PERCENT",
|
|
44
|
+
COPY_COUNT: "COPY_COUNT",
|
|
45
|
+
};
|
|
42
46
|
export const ModelVariantStatus = {
|
|
43
47
|
CREATING: "Creating",
|
|
44
48
|
DELETED: "Deleted",
|
|
@@ -461,11 +465,6 @@ export const MonitoringJobDefinitionSortKey = {
|
|
|
461
465
|
CREATION_TIME: "CreationTime",
|
|
462
466
|
NAME: "Name",
|
|
463
467
|
};
|
|
464
|
-
export const ListDeviceFleetsSortBy = {
|
|
465
|
-
CreationTime: "CREATION_TIME",
|
|
466
|
-
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
467
|
-
Name: "NAME",
|
|
468
|
-
};
|
|
469
468
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
470
469
|
...obj,
|
|
471
470
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@smithy/smithy-client";
|
|
2
2
|
import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
|
|
3
|
+
export const ListDeviceFleetsSortBy = {
|
|
4
|
+
CreationTime: "CREATION_TIME",
|
|
5
|
+
LastModifiedTime: "LAST_MODIFIED_TIME",
|
|
6
|
+
Name: "NAME",
|
|
7
|
+
};
|
|
3
8
|
export const ListEdgeDeploymentPlansSortBy = {
|
|
4
9
|
CreationTime: "CREATION_TIME",
|
|
5
10
|
DeviceFleetName: "DEVICE_FLEET_NAME",
|
|
@@ -8037,6 +8037,7 @@ const se_UpdateEndpointWeightsAndCapacitiesInput = (input, context) => {
|
|
|
8037
8037
|
};
|
|
8038
8038
|
const se_UpdateInferenceComponentInput = (input, context) => {
|
|
8039
8039
|
return take(input, {
|
|
8040
|
+
DeploymentConfig: _json,
|
|
8040
8041
|
InferenceComponentName: [],
|
|
8041
8042
|
RuntimeConfig: _json,
|
|
8042
8043
|
Specification: (_) => se_InferenceComponentSpecification(_, context),
|
|
@@ -10778,6 +10779,7 @@ const de_DescribeInferenceComponentOutput = (output, context) => {
|
|
|
10778
10779
|
InferenceComponentArn: __expectString,
|
|
10779
10780
|
InferenceComponentName: __expectString,
|
|
10780
10781
|
InferenceComponentStatus: __expectString,
|
|
10782
|
+
LastDeploymentConfig: (_) => de_InferenceComponentDeploymentConfig(_, context),
|
|
10781
10783
|
LastModifiedTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
10782
10784
|
RuntimeConfig: (_) => de_InferenceComponentRuntimeConfigSummary(_, context),
|
|
10783
10785
|
Specification: (_) => de_InferenceComponentSpecificationSummary(_, context),
|
|
@@ -12746,6 +12748,12 @@ const de_ImportHubContentResponse = (output, context) => {
|
|
|
12746
12748
|
HubContentArn: __expectString,
|
|
12747
12749
|
});
|
|
12748
12750
|
};
|
|
12751
|
+
const de_InferenceComponentCapacitySize = (output, context) => {
|
|
12752
|
+
return take(output, {
|
|
12753
|
+
Type: __expectString,
|
|
12754
|
+
Value: __expectInt32,
|
|
12755
|
+
});
|
|
12756
|
+
};
|
|
12749
12757
|
const de_InferenceComponentComputeResourceRequirements = (output, context) => {
|
|
12750
12758
|
return take(output, {
|
|
12751
12759
|
MaxMemoryRequiredInMb: __expectInt32,
|
|
@@ -12761,6 +12769,20 @@ const de_InferenceComponentContainerSpecificationSummary = (output, context) =>
|
|
|
12761
12769
|
Environment: (_) => de_EnvironmentMap(_, context),
|
|
12762
12770
|
});
|
|
12763
12771
|
};
|
|
12772
|
+
const de_InferenceComponentDeploymentConfig = (output, context) => {
|
|
12773
|
+
return take(output, {
|
|
12774
|
+
AutoRollbackConfiguration: (_) => de_AutoRollbackConfig(_, context),
|
|
12775
|
+
RollingUpdatePolicy: (_) => de_InferenceComponentRollingUpdatePolicy(_, context),
|
|
12776
|
+
});
|
|
12777
|
+
};
|
|
12778
|
+
const de_InferenceComponentRollingUpdatePolicy = (output, context) => {
|
|
12779
|
+
return take(output, {
|
|
12780
|
+
MaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
12781
|
+
MaximumExecutionTimeoutInSeconds: __expectInt32,
|
|
12782
|
+
RollbackMaximumBatchSize: (_) => de_InferenceComponentCapacitySize(_, context),
|
|
12783
|
+
WaitIntervalInSeconds: __expectInt32,
|
|
12784
|
+
});
|
|
12785
|
+
};
|
|
12764
12786
|
const de_InferenceComponentRuntimeConfigSummary = (output, context) => {
|
|
12765
12787
|
return take(output, {
|
|
12766
12788
|
CurrentCopyCount: __expectInt32,
|
|
@@ -27,14 +27,14 @@ declare const CreateModelPackageCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Creates a model package that you can use to create SageMaker models or list on Amazon Web Services
|
|
31
|
-
*
|
|
32
|
-
*
|
|
30
|
+
* <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
|
|
31
|
+
* can subscribe to model packages listed on Amazon Web Services Marketplace to create
|
|
32
|
+
* models in SageMaker.</p>
|
|
33
33
|
* <p>To create a model package by specifying a Docker container that contains your
|
|
34
34
|
* inference code and the Amazon S3 location of your model artifacts, provide values for
|
|
35
|
-
*
|
|
35
|
+
* <code>InferenceSpecification</code>. To create a model from an algorithm resource
|
|
36
36
|
* that you created or subscribed to in Amazon Web Services Marketplace, provide a value for
|
|
37
|
-
*
|
|
37
|
+
* <code>SourceAlgorithmSpecification</code>.</p>
|
|
38
38
|
* <note>
|
|
39
39
|
* <p>There are two types of model packages:</p>
|
|
40
40
|
* <ul>
|
|
@@ -28,8 +28,9 @@ declare const DeleteModelPackageCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Deletes a model package.</p>
|
|
31
|
-
* <p>A model package is used to create SageMaker models or list on Amazon Web Services
|
|
32
|
-
* subscribe to model packages listed on Amazon Web Services
|
|
31
|
+
* <p>A model package is used to create SageMaker models or list on Amazon Web Services
|
|
32
|
+
* Marketplace. Buyers can subscribe to model packages listed on Amazon Web Services
|
|
33
|
+
* Marketplace to create models in SageMaker.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -78,6 +78,27 @@ declare const DescribeInferenceComponentCommand_base: {
|
|
|
78
78
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
79
79
|
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
80
80
|
* // InferenceComponentStatus: "InService" || "Creating" || "Updating" || "Failed" || "Deleting",
|
|
81
|
+
* // LastDeploymentConfig: { // InferenceComponentDeploymentConfig
|
|
82
|
+
* // RollingUpdatePolicy: { // InferenceComponentRollingUpdatePolicy
|
|
83
|
+
* // MaximumBatchSize: { // InferenceComponentCapacitySize
|
|
84
|
+
* // Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
85
|
+
* // Value: Number("int"), // required
|
|
86
|
+
* // },
|
|
87
|
+
* // WaitIntervalInSeconds: Number("int"), // required
|
|
88
|
+
* // MaximumExecutionTimeoutInSeconds: Number("int"),
|
|
89
|
+
* // RollbackMaximumBatchSize: {
|
|
90
|
+
* // Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
91
|
+
* // Value: Number("int"), // required
|
|
92
|
+
* // },
|
|
93
|
+
* // },
|
|
94
|
+
* // AutoRollbackConfiguration: { // AutoRollbackConfig
|
|
95
|
+
* // Alarms: [ // AlarmList
|
|
96
|
+
* // { // Alarm
|
|
97
|
+
* // AlarmName: "STRING_VALUE",
|
|
98
|
+
* // },
|
|
99
|
+
* // ],
|
|
100
|
+
* // },
|
|
101
|
+
* // },
|
|
81
102
|
* // };
|
|
82
103
|
*
|
|
83
104
|
* ```
|
|
@@ -31,11 +31,10 @@ declare const DescribeModelPackageCommand_base: {
|
|
|
31
31
|
* models or list them on Amazon Web Services Marketplace.</p>
|
|
32
32
|
* <important>
|
|
33
33
|
* <p>If you provided a KMS Key ID when you created your model package,
|
|
34
|
-
*
|
|
35
|
-
*
|
|
34
|
+
* you will see the <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html">KMS Decrypt</a> API call in
|
|
35
|
+
* your CloudTrail logs when you use this API.</p>
|
|
36
36
|
* </important>
|
|
37
|
-
* <p>To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services
|
|
38
|
-
* Marketplace.</p>
|
|
37
|
+
* <p>To create models in SageMaker, buyers can subscribe to model packages listed on Amazon Web Services Marketplace.</p>
|
|
39
38
|
* @example
|
|
40
39
|
* Use a bare-bones client and the command you need to make an API call.
|
|
41
40
|
* ```javascript
|
|
@@ -29,8 +29,8 @@ declare const GetModelPackageGroupPolicyCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Gets a resource policy that manages access for a model group. For information about
|
|
31
31
|
* resource policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based
|
|
32
|
-
* policies and resource-based policies</a> in the <i>Amazon Web Services
|
|
33
|
-
*
|
|
32
|
+
* policies and resource-based policies</a> in the <i>Amazon Web Services
|
|
33
|
+
* Identity and Access Management User Guide.</i>.</p>
|
|
34
34
|
* @example
|
|
35
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
36
|
* ```javascript
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListDataQualityJobDefinitionsRequest
|
|
3
|
+
import { ListDataQualityJobDefinitionsRequest } from "../models/models_3";
|
|
4
|
+
import { ListDataQualityJobDefinitionsResponse } from "../models/models_4";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListDeviceFleetsRequest } from "../models/
|
|
4
|
-
import { ListDeviceFleetsResponse } from "../models/models_4";
|
|
3
|
+
import { ListDeviceFleetsRequest, ListDeviceFleetsResponse } from "../models/models_4";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -29,7 +29,8 @@ declare const PutModelPackageGroupPolicyCommand_base: {
|
|
|
29
29
|
/**
|
|
30
30
|
* <p>Adds a resouce policy to control access to a model group. For information about
|
|
31
31
|
* resoure policies, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_identity-vs-resource.html">Identity-based
|
|
32
|
-
* policies and resource-based policies</a> in the <i>Amazon Web Services
|
|
32
|
+
* policies and resource-based policies</a> in the <i>Amazon Web Services
|
|
33
|
+
* Identity and Access Management User Guide.</i>.</p>
|
|
33
34
|
* @example
|
|
34
35
|
* Use a bare-bones client and the command you need to make an API call.
|
|
35
36
|
* ```javascript
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopProcessingJobRequest } from "../models/
|
|
3
|
+
import { StopProcessingJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopTrainingJobRequest } from "../models/
|
|
3
|
+
import { StopTrainingJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { StopTransformJobRequest } from "../models/
|
|
3
|
+
import { StopTransformJobRequest } from "../models/models_5";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { UpdateActionRequest } from "../models/
|
|
4
|
-
import { UpdateActionResponse } from "../models/models_5";
|
|
3
|
+
import { UpdateActionRequest, UpdateActionResponse } from "../models/models_5";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -69,6 +69,9 @@ declare const UpdateClusterCommand_base: {
|
|
|
69
69
|
* },
|
|
70
70
|
* ],
|
|
71
71
|
* NodeRecovery: "Automatic" || "None",
|
|
72
|
+
* InstanceGroupsToDelete: [ // ClusterInstanceGroupsToDelete
|
|
73
|
+
* "STRING_VALUE",
|
|
74
|
+
* ],
|
|
72
75
|
* };
|
|
73
76
|
* const command = new UpdateClusterCommand(input);
|
|
74
77
|
* const response = await client.send(command);
|
|
@@ -60,6 +60,27 @@ declare const UpdateInferenceComponentCommand_base: {
|
|
|
60
60
|
* RuntimeConfig: { // InferenceComponentRuntimeConfig
|
|
61
61
|
* CopyCount: Number("int"), // required
|
|
62
62
|
* },
|
|
63
|
+
* DeploymentConfig: { // InferenceComponentDeploymentConfig
|
|
64
|
+
* RollingUpdatePolicy: { // InferenceComponentRollingUpdatePolicy
|
|
65
|
+
* MaximumBatchSize: { // InferenceComponentCapacitySize
|
|
66
|
+
* Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
67
|
+
* Value: Number("int"), // required
|
|
68
|
+
* },
|
|
69
|
+
* WaitIntervalInSeconds: Number("int"), // required
|
|
70
|
+
* MaximumExecutionTimeoutInSeconds: Number("int"),
|
|
71
|
+
* RollbackMaximumBatchSize: {
|
|
72
|
+
* Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
73
|
+
* Value: Number("int"), // required
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* AutoRollbackConfiguration: { // AutoRollbackConfig
|
|
77
|
+
* Alarms: [ // AlarmList
|
|
78
|
+
* { // Alarm
|
|
79
|
+
* AlarmName: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
63
84
|
* };
|
|
64
85
|
* const command = new UpdateInferenceComponentCommand(input);
|
|
65
86
|
* const response = await client.send(command);
|
|
@@ -465,7 +465,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
465
465
|
* <p>The Amazon Elastic Container Registry (Amazon ECR) path where inference code is stored.</p>
|
|
466
466
|
* <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker,
|
|
467
467
|
* the inference code must meet SageMaker requirements. SageMaker supports both
|
|
468
|
-
*
|
|
468
|
+
* <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>
|
|
469
469
|
* image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon
|
|
470
470
|
* SageMaker</a>.</p>
|
|
471
471
|
* @public
|
|
@@ -480,7 +480,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
480
480
|
/**
|
|
481
481
|
* <p>The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
|
482
482
|
* This path must point to a single <code>gzip</code> compressed tar archive
|
|
483
|
-
*
|
|
483
|
+
* (<code>.tar.gz</code> suffix).</p>
|
|
484
484
|
* <note>
|
|
485
485
|
* <p>The model artifacts must be in an S3 bucket that is in the same region as the
|
|
486
486
|
* model package.</p>
|
|
@@ -500,7 +500,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
500
500
|
ProductId?: string | undefined;
|
|
501
501
|
/**
|
|
502
502
|
* <p>The environment variables to set in the Docker container. Each key and value in the
|
|
503
|
-
*
|
|
503
|
+
* <code>Environment</code> string to string map can have length of up to 1024. We
|
|
504
504
|
* support up to 16 entries in the map.</p>
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
@@ -7222,8 +7222,15 @@ export interface BatchDeleteClusterNodesRequest {
|
|
|
7222
7222
|
/**
|
|
7223
7223
|
* <p>A list of node IDs to be deleted from the specified cluster.</p>
|
|
7224
7224
|
* <note>
|
|
7225
|
-
* <
|
|
7226
|
-
*
|
|
7225
|
+
* <ul>
|
|
7226
|
+
* <li>
|
|
7227
|
+
* <p>For SageMaker HyperPod clusters using the Slurm workload manager, you cannot remove
|
|
7228
|
+
* instances that are configured as Slurm controller nodes.</p>
|
|
7229
|
+
* </li>
|
|
7230
|
+
* <li>
|
|
7231
|
+
* <p>If you need to delete more than 99 instances, contact <a href="http://aws.amazon.com/contact-us/">Support</a> for assistance.</p>
|
|
7232
|
+
* </li>
|
|
7233
|
+
* </ul>
|
|
7227
7234
|
* </note>
|
|
7228
7235
|
* @public
|
|
7229
7236
|
*/
|
|
@@ -7427,8 +7434,8 @@ export interface BatchDescribeModelPackageOutput {
|
|
|
7427
7434
|
*/
|
|
7428
7435
|
ModelPackageSummaries?: Record<string, BatchDescribeModelPackageSummary> | undefined;
|
|
7429
7436
|
/**
|
|
7430
|
-
* <p>A map of the resource and BatchDescribeModelPackageError objects
|
|
7431
|
-
*
|
|
7437
|
+
* <p>A map of the resource and BatchDescribeModelPackageError objects reporting the error
|
|
7438
|
+
* associated with describing the model package.</p>
|
|
7432
7439
|
* @public
|
|
7433
7440
|
*/
|
|
7434
7441
|
BatchDescribeModelPackageErrorMap?: Record<string, BatchDescribeModelPackageError> | undefined;
|
|
@@ -7697,8 +7704,8 @@ export declare const TrafficRoutingConfigType: {
|
|
|
7697
7704
|
*/
|
|
7698
7705
|
export type TrafficRoutingConfigType = (typeof TrafficRoutingConfigType)[keyof typeof TrafficRoutingConfigType];
|
|
7699
7706
|
/**
|
|
7700
|
-
* <p>Defines the traffic routing strategy during an endpoint deployment to shift traffic
|
|
7701
|
-
* old fleet to the new fleet.</p>
|
|
7707
|
+
* <p>Defines the traffic routing strategy during an endpoint deployment to shift traffic
|
|
7708
|
+
* from the old fleet to the new fleet.</p>
|
|
7702
7709
|
* @public
|
|
7703
7710
|
*/
|
|
7704
7711
|
export interface TrafficRoutingConfig {
|
|
@@ -7707,42 +7714,40 @@ export interface TrafficRoutingConfig {
|
|
|
7707
7714
|
* <ul>
|
|
7708
7715
|
* <li>
|
|
7709
7716
|
* <p>
|
|
7710
|
-
* <code>ALL_AT_ONCE</code>: Endpoint traffic shifts to the new fleet
|
|
7711
|
-
*
|
|
7712
|
-
* </p>
|
|
7717
|
+
* <code>ALL_AT_ONCE</code>: Endpoint traffic shifts to the new fleet in a single
|
|
7718
|
+
* step. </p>
|
|
7713
7719
|
* </li>
|
|
7714
7720
|
* <li>
|
|
7715
7721
|
* <p>
|
|
7716
|
-
* <code>CANARY</code>: Endpoint traffic shifts to the new fleet
|
|
7717
|
-
*
|
|
7718
|
-
*
|
|
7719
|
-
* </p>
|
|
7722
|
+
* <code>CANARY</code>: Endpoint traffic shifts to the new fleet in two steps.
|
|
7723
|
+
* The first step is the canary, which is a small portion of the traffic. The
|
|
7724
|
+
* second step is the remainder of the traffic. </p>
|
|
7720
7725
|
* </li>
|
|
7721
7726
|
* <li>
|
|
7722
7727
|
* <p>
|
|
7723
|
-
* <code>LINEAR</code>: Endpoint traffic shifts to the new fleet in
|
|
7724
|
-
*
|
|
7725
|
-
* </p>
|
|
7728
|
+
* <code>LINEAR</code>: Endpoint traffic shifts to the new fleet in n steps of a
|
|
7729
|
+
* configurable size. </p>
|
|
7726
7730
|
* </li>
|
|
7727
7731
|
* </ul>
|
|
7728
7732
|
* @public
|
|
7729
7733
|
*/
|
|
7730
7734
|
Type: TrafficRoutingConfigType | undefined;
|
|
7731
7735
|
/**
|
|
7732
|
-
* <p>The waiting time (in seconds) between incremental steps to turn on traffic on the
|
|
7733
|
-
*
|
|
7736
|
+
* <p>The waiting time (in seconds) between incremental steps to turn on traffic on the new
|
|
7737
|
+
* endpoint fleet.</p>
|
|
7734
7738
|
* @public
|
|
7735
7739
|
*/
|
|
7736
7740
|
WaitIntervalInSeconds: number | undefined;
|
|
7737
7741
|
/**
|
|
7738
|
-
* <p>Batch size for the first step to turn on traffic on the new endpoint fleet.
|
|
7739
|
-
*
|
|
7742
|
+
* <p>Batch size for the first step to turn on traffic on the new endpoint fleet.
|
|
7743
|
+
* <code>Value</code> must be less than or equal to 50% of the variant's total instance
|
|
7744
|
+
* count.</p>
|
|
7740
7745
|
* @public
|
|
7741
7746
|
*/
|
|
7742
7747
|
CanarySize?: CapacitySize | undefined;
|
|
7743
7748
|
/**
|
|
7744
|
-
* <p>Batch size for each step to turn on traffic on the new endpoint fleet.
|
|
7745
|
-
*
|
|
7749
|
+
* <p>Batch size for each step to turn on traffic on the new endpoint fleet.
|
|
7750
|
+
* <code>Value</code> must be 10-50% of the variant's total instance count.</p>
|
|
7746
7751
|
* @public
|
|
7747
7752
|
*/
|
|
7748
7753
|
LinearStepSize?: CapacitySize | undefined;
|
|
@@ -8219,9 +8224,9 @@ export interface CheckpointConfig {
|
|
|
8219
8224
|
LocalPath?: string | undefined;
|
|
8220
8225
|
}
|
|
8221
8226
|
/**
|
|
8222
|
-
* <p>The container for the metadata for the ClarifyCheck step. For more information,
|
|
8223
|
-
*
|
|
8224
|
-
*
|
|
8227
|
+
* <p>The container for the metadata for the ClarifyCheck step. For more information, see
|
|
8228
|
+
* the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-clarify-check">ClarifyCheck step</a> in the <i>Amazon SageMaker Developer
|
|
8229
|
+
* Guide</i>. </p>
|
|
8225
8230
|
* @public
|
|
8226
8231
|
*/
|
|
8227
8232
|
export interface ClarifyCheckStepMetadata {
|
|
@@ -8251,21 +8256,25 @@ export interface ClarifyCheckStepMetadata {
|
|
|
8251
8256
|
*/
|
|
8252
8257
|
ViolationReport?: string | undefined;
|
|
8253
8258
|
/**
|
|
8254
|
-
* <p>The Amazon Resource Name (ARN) of the check processing job that was run by this step's
|
|
8259
|
+
* <p>The Amazon Resource Name (ARN) of the check processing job that was run by this step's
|
|
8260
|
+
* execution.</p>
|
|
8255
8261
|
* @public
|
|
8256
8262
|
*/
|
|
8257
8263
|
CheckJobArn?: string | undefined;
|
|
8258
8264
|
/**
|
|
8259
|
-
* <p>This flag indicates if the drift check against the previous baseline will be skipped
|
|
8260
|
-
* If it is set to <code>False</code>, the previous baseline of the configured
|
|
8265
|
+
* <p>This flag indicates if the drift check against the previous baseline will be skipped
|
|
8266
|
+
* or not. If it is set to <code>False</code>, the previous baseline of the configured
|
|
8267
|
+
* check type must be available.</p>
|
|
8261
8268
|
* @public
|
|
8262
8269
|
*/
|
|
8263
8270
|
SkipCheck?: boolean | undefined;
|
|
8264
8271
|
/**
|
|
8265
|
-
* <p>This flag indicates if a newly calculated baseline can be accessed through step
|
|
8266
|
-
* <code>BaselineUsedForDriftCheckConstraints</code> and
|
|
8267
|
-
*
|
|
8268
|
-
*
|
|
8272
|
+
* <p>This flag indicates if a newly calculated baseline can be accessed through step
|
|
8273
|
+
* properties <code>BaselineUsedForDriftCheckConstraints</code> and
|
|
8274
|
+
* <code>BaselineUsedForDriftCheckStatistics</code>. If it is set to
|
|
8275
|
+
* <code>False</code>, the previous baseline of the configured check type must also be
|
|
8276
|
+
* available. These can be accessed through the
|
|
8277
|
+
* <code>BaselineUsedForDriftCheckConstraints</code> property. </p>
|
|
8269
8278
|
* @public
|
|
8270
8279
|
*/
|
|
8271
8280
|
RegisterNewBaseline?: boolean | undefined;
|