@aws-sdk/client-sagemaker 3.787.0 → 3.796.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 CHANGED
@@ -2684,7 +2684,8 @@ var ProductionVariantAcceleratorType = {
2684
2684
  var ProductionVariantInferenceAmiVersion = {
2685
2685
  AL2_GPU_2: "al2-ami-sagemaker-inference-gpu-2",
2686
2686
  AL2_GPU_2_1: "al2-ami-sagemaker-inference-gpu-2-1",
2687
- AL2_GPU_3_1: "al2-ami-sagemaker-inference-gpu-3-1"
2687
+ AL2_GPU_3_1: "al2-ami-sagemaker-inference-gpu-3-1",
2688
+ AL2_NEURON_2: "al2-ami-sagemaker-inference-neuron-2"
2688
2689
  };
2689
2690
  var ManagedInstanceScalingStatus = {
2690
2691
  DISABLED: "DISABLED",
@@ -17296,6 +17297,7 @@ var de_ModelPackageSummary = /* @__PURE__ */ __name((output, context) => {
17296
17297
  return (0, import_smithy_client.take)(output, {
17297
17298
  CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
17298
17299
  ModelApprovalStatus: import_smithy_client.expectString,
17300
+ ModelLifeCycle: /* @__PURE__ */ __name((_) => de_ModelLifeCycle(_, context), "ModelLifeCycle"),
17299
17301
  ModelPackageArn: import_smithy_client.expectString,
17300
17302
  ModelPackageDescription: import_smithy_client.expectString,
17301
17303
  ModelPackageGroupName: import_smithy_client.expectString,
@@ -221,6 +221,7 @@ export const ProductionVariantInferenceAmiVersion = {
221
221
  AL2_GPU_2: "al2-ami-sagemaker-inference-gpu-2",
222
222
  AL2_GPU_2_1: "al2-ami-sagemaker-inference-gpu-2-1",
223
223
  AL2_GPU_3_1: "al2-ami-sagemaker-inference-gpu-3-1",
224
+ AL2_NEURON_2: "al2-ami-sagemaker-inference-neuron-2",
224
225
  };
225
226
  export const ManagedInstanceScalingStatus = {
226
227
  DISABLED: "DISABLED",
@@ -14321,6 +14321,7 @@ const de_ModelPackageSummary = (output, context) => {
14321
14321
  return take(output, {
14322
14322
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
14323
14323
  ModelApprovalStatus: __expectString,
14324
+ ModelLifeCycle: (_) => de_ModelLifeCycle(_, context),
14324
14325
  ModelPackageArn: __expectString,
14325
14326
  ModelPackageDescription: __expectString,
14326
14327
  ModelPackageGroupName: __expectString,
@@ -95,7 +95,7 @@ declare const CreateEndpointConfigCommand_base: {
95
95
  * RoutingConfig: { // ProductionVariantRoutingConfig
96
96
  * RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
97
97
  * },
98
- * InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1",
98
+ * InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
99
99
  * },
100
100
  * ],
101
101
  * DataCaptureConfig: { // DataCaptureConfig
@@ -208,7 +208,7 @@ declare const CreateEndpointConfigCommand_base: {
208
208
  * RoutingConfig: {
209
209
  * RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
210
210
  * },
211
- * InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1",
211
+ * InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
212
212
  * },
213
213
  * ],
214
214
  * ExecutionRoleArn: "STRING_VALUE",
@@ -72,7 +72,7 @@ declare const DescribeEndpointConfigCommand_base: {
72
72
  * // RoutingConfig: { // ProductionVariantRoutingConfig
73
73
  * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
74
74
  * // },
75
- * // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1",
75
+ * // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
76
76
  * // },
77
77
  * // ],
78
78
  * // DataCaptureConfig: { // DataCaptureConfig
@@ -180,7 +180,7 @@ declare const DescribeEndpointConfigCommand_base: {
180
180
  * // RoutingConfig: {
181
181
  * // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
182
182
  * // },
183
- * // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1",
183
+ * // InferenceAmiVersion: "al2-ami-sagemaker-inference-gpu-2" || "al2-ami-sagemaker-inference-gpu-2-1" || "al2-ami-sagemaker-inference-gpu-3-1" || "al2-ami-sagemaker-inference-neuron-2",
184
184
  * // },
185
185
  * // ],
186
186
  * // ExecutionRoleArn: "STRING_VALUE",
@@ -59,6 +59,11 @@ declare const ListModelPackagesCommand_base: {
59
59
  * // CreationTime: new Date("TIMESTAMP"), // required
60
60
  * // ModelPackageStatus: "Pending" || "InProgress" || "Completed" || "Failed" || "Deleting", // required
61
61
  * // ModelApprovalStatus: "Approved" || "Rejected" || "PendingManualApproval",
62
+ * // ModelLifeCycle: { // ModelLifeCycle
63
+ * // Stage: "STRING_VALUE", // required
64
+ * // StageStatus: "STRING_VALUE", // required
65
+ * // StageDescription: "STRING_VALUE",
66
+ * // },
62
67
  * // },
63
68
  * // ],
64
69
  * // NextToken: "STRING_VALUE",
@@ -2102,7 +2102,28 @@ export interface StoppingCondition {
2102
2102
  MaxWaitTimeInSeconds?: number | undefined;
2103
2103
  /**
2104
2104
  * <p>The maximum length of time, in seconds, that a training or compilation job can be
2105
- * pending before it is stopped.</p>
2105
+ * pending before it is stopped.</p>
2106
+ * <note>
2107
+ * <p>When working with training jobs that use capacity from <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/reserve-capacity-with-training-plans.html">training
2108
+ * plans</a>, not all <code>Pending</code> job states count against the
2109
+ * <code>MaxPendingTimeInSeconds</code> limit. The following scenarios do not
2110
+ * increment the <code>MaxPendingTimeInSeconds</code> counter:</p>
2111
+ * <ul>
2112
+ * <li>
2113
+ * <p>The plan is in a <code>Scheduled</code> state: Jobs queued (in
2114
+ * <code>Pending</code> status) before a plan's start date (waiting for
2115
+ * scheduled start time)</p>
2116
+ * </li>
2117
+ * <li>
2118
+ * <p>Between capacity reservations: Jobs temporarily back to
2119
+ * <code>Pending</code> status between two capacity reservation
2120
+ * periods</p>
2121
+ * </li>
2122
+ * </ul>
2123
+ * <p>
2124
+ * <code>MaxPendingTimeInSeconds</code> only increments when jobs are actively
2125
+ * waiting for capacity in an <code>Active</code> plan.</p>
2126
+ * </note>
2106
2127
  * @public
2107
2128
  */
2108
2129
  MaxPendingTimeInSeconds?: number | undefined;
@@ -3942,6 +3942,7 @@ export declare const ProductionVariantInferenceAmiVersion: {
3942
3942
  readonly AL2_GPU_2: "al2-ami-sagemaker-inference-gpu-2";
3943
3943
  readonly AL2_GPU_2_1: "al2-ami-sagemaker-inference-gpu-2-1";
3944
3944
  readonly AL2_GPU_3_1: "al2-ami-sagemaker-inference-gpu-3-1";
3945
+ readonly AL2_NEURON_2: "al2-ami-sagemaker-inference-neuron-2";
3945
3946
  };
3946
3947
  /**
3947
3948
  * @public
@@ -4203,6 +4204,17 @@ export interface ProductionVariant {
4203
4204
  * </li>
4204
4205
  * </ul>
4205
4206
  * </dd>
4207
+ * <dt>al2-ami-sagemaker-inference-neuron-2</dt>
4208
+ * <dd>
4209
+ * <ul>
4210
+ * <li>
4211
+ * <p>Accelerator: Inferentia2 and Trainium</p>
4212
+ * </li>
4213
+ * <li>
4214
+ * <p>Neuron driver version: 2.19</p>
4215
+ * </li>
4216
+ * </ul>
4217
+ * </dd>
4206
4218
  * </dl>
4207
4219
  * @public
4208
4220
  */
@@ -2850,6 +2850,11 @@ export interface ModelPackageSummary {
2850
2850
  * @public
2851
2851
  */
2852
2852
  ModelApprovalStatus?: ModelApprovalStatus | undefined;
2853
+ /**
2854
+ * <p> A structure describing the current state of the model in its life cycle. </p>
2855
+ * @public
2856
+ */
2857
+ ModelLifeCycle?: ModelLifeCycle | undefined;
2853
2858
  }
2854
2859
  /**
2855
2860
  * @public
@@ -906,6 +906,7 @@ export declare const ProductionVariantInferenceAmiVersion: {
906
906
  readonly AL2_GPU_2: "al2-ami-sagemaker-inference-gpu-2";
907
907
  readonly AL2_GPU_2_1: "al2-ami-sagemaker-inference-gpu-2-1";
908
908
  readonly AL2_GPU_3_1: "al2-ami-sagemaker-inference-gpu-3-1";
909
+ readonly AL2_NEURON_2: "al2-ami-sagemaker-inference-neuron-2";
909
910
  };
910
911
  export type ProductionVariantInferenceAmiVersion =
911
912
  (typeof ProductionVariantInferenceAmiVersion)[keyof typeof ProductionVariantInferenceAmiVersion];
@@ -864,6 +864,7 @@ export interface ModelPackageSummary {
864
864
  CreationTime: Date | undefined;
865
865
  ModelPackageStatus: ModelPackageStatus | undefined;
866
866
  ModelApprovalStatus?: ModelApprovalStatus | undefined;
867
+ ModelLifeCycle?: ModelLifeCycle | undefined;
867
868
  }
868
869
  export interface ListModelPackagesOutput {
869
870
  ModelPackageSummaryList: ModelPackageSummary[] | undefined;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.787.0",
4
+ "version": "3.796.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.775.0",
24
- "@aws-sdk/credential-provider-node": "3.787.0",
23
+ "@aws-sdk/core": "3.796.0",
24
+ "@aws-sdk/credential-provider-node": "3.796.0",
25
25
  "@aws-sdk/middleware-host-header": "3.775.0",
26
26
  "@aws-sdk/middleware-logger": "3.775.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.775.0",
28
- "@aws-sdk/middleware-user-agent": "3.787.0",
28
+ "@aws-sdk/middleware-user-agent": "3.796.0",
29
29
  "@aws-sdk/region-config-resolver": "3.775.0",
30
30
  "@aws-sdk/types": "3.775.0",
31
31
  "@aws-sdk/util-endpoints": "3.787.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.775.0",
33
- "@aws-sdk/util-user-agent-node": "3.787.0",
33
+ "@aws-sdk/util-user-agent-node": "3.796.0",
34
34
  "@smithy/config-resolver": "^4.1.0",
35
35
  "@smithy/core": "^3.2.0",
36
36
  "@smithy/fetch-http-handler": "^5.0.2",