@aws-sdk/client-sagemaker 3.874.0 → 3.877.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.
Files changed (36) hide show
  1. package/dist-cjs/index.js +44 -15
  2. package/dist-es/models/models_0.js +13 -14
  3. package/dist-es/models/models_1.js +14 -4
  4. package/dist-es/models/models_2.js +4 -0
  5. package/dist-es/models/models_3.js +0 -5
  6. package/dist-es/models/models_4.js +5 -4
  7. package/dist-es/models/models_5.js +4 -0
  8. package/dist-es/protocols/Aws_json1_1.js +10 -0
  9. package/dist-types/commands/CreateClusterCommand.d.ts +5 -0
  10. package/dist-types/commands/CreateModelCommand.d.ts +1 -1
  11. package/dist-types/commands/DescribeClusterCommand.d.ts +7 -0
  12. package/dist-types/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
  13. package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -2
  14. package/dist-types/commands/GetSearchSuggestionsCommand.d.ts +2 -1
  15. package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
  16. package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -2
  17. package/dist-types/commands/UpdateClusterCommand.d.ts +5 -0
  18. package/dist-types/models/models_0.d.ts +79 -186
  19. package/dist-types/models/models_1.d.ts +197 -100
  20. package/dist-types/models/models_2.d.ts +111 -74
  21. package/dist-types/models/models_3.d.ts +75 -119
  22. package/dist-types/models/models_4.d.ts +119 -126
  23. package/dist-types/models/models_5.d.ts +138 -5
  24. package/dist-types/ts3.4/commands/CreateModelCommand.d.ts +1 -1
  25. package/dist-types/ts3.4/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
  26. package/dist-types/ts3.4/commands/DescribeCompilationJobCommand.d.ts +4 -2
  27. package/dist-types/ts3.4/commands/GetSearchSuggestionsCommand.d.ts +2 -4
  28. package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
  29. package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +4 -2
  30. package/dist-types/ts3.4/models/models_0.d.ts +29 -52
  31. package/dist-types/ts3.4/models/models_1.d.ts +60 -29
  32. package/dist-types/ts3.4/models/models_2.d.ts +33 -23
  33. package/dist-types/ts3.4/models/models_3.d.ts +23 -36
  34. package/dist-types/ts3.4/models/models_4.d.ts +33 -36
  35. package/dist-types/ts3.4/models/models_5.d.ts +41 -4
  36. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -81,6 +81,9 @@ __export(index_exports, {
81
81
  ClarifyFeatureType: () => ClarifyFeatureType,
82
82
  ClarifyTextGranularity: () => ClarifyTextGranularity,
83
83
  ClarifyTextLanguage: () => ClarifyTextLanguage,
84
+ ClusterAutoScalerType: () => ClusterAutoScalerType,
85
+ ClusterAutoScalingMode: () => ClusterAutoScalingMode,
86
+ ClusterAutoScalingStatus: () => ClusterAutoScalingStatus,
84
87
  ClusterEventResourceType: () => ClusterEventResourceType,
85
88
  ClusterInstanceStatus: () => ClusterInstanceStatus,
86
89
  ClusterInstanceStorageConfig: () => ClusterInstanceStorageConfig,
@@ -2270,6 +2273,19 @@ var ClarifyTextLanguage = {
2270
2273
  URDU: "ur",
2271
2274
  YORUBA: "yo"
2272
2275
  };
2276
+ var ClusterAutoScalerType = {
2277
+ KARPENTER: "Karpenter"
2278
+ };
2279
+ var ClusterAutoScalingMode = {
2280
+ DISABLE: "Disable",
2281
+ ENABLE: "Enable"
2282
+ };
2283
+ var ClusterAutoScalingStatus = {
2284
+ CREATING: "Creating",
2285
+ DELETING: "Deleting",
2286
+ FAILED: "Failed",
2287
+ INSERVICE: "InService"
2288
+ };
2273
2289
  var EventMetadata;
2274
2290
  ((EventMetadata3) => {
2275
2291
  EventMetadata3.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -2427,6 +2443,8 @@ var ClusterNodeRecovery = {
2427
2443
  AUTOMATIC: "Automatic",
2428
2444
  NONE: "None"
2429
2445
  };
2446
+
2447
+ // src/models/models_1.ts
2430
2448
  var SchedulerResourceStatus = {
2431
2449
  CREATED: "Created",
2432
2450
  CREATE_FAILED: "CreateFailed",
@@ -2441,8 +2459,6 @@ var SchedulerResourceStatus = {
2441
2459
  UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
2442
2460
  UPDATING: "Updating"
2443
2461
  };
2444
-
2445
- // src/models/models_1.ts
2446
2462
  var ClusterSortBy = {
2447
2463
  CREATION_TIME: "CREATION_TIME",
2448
2464
  NAME: "NAME"
@@ -3129,13 +3145,13 @@ var TrackingServerSize = {
3129
3145
  M: "Medium",
3130
3146
  S: "Small"
3131
3147
  };
3148
+
3149
+ // src/models/models_2.ts
3150
+
3132
3151
  var InferenceExecutionMode = {
3133
3152
  DIRECT: "Direct",
3134
3153
  SERIAL: "Serial"
3135
3154
  };
3136
-
3137
- // src/models/models_2.ts
3138
-
3139
3155
  var ModelCardStatus = {
3140
3156
  APPROVED: "Approved",
3141
3157
  ARCHIVED: "Archived",
@@ -12824,6 +12840,14 @@ var de_ClarifyTextConfig = /* @__PURE__ */ __name((output, context) => {
12824
12840
  Language: import_smithy_client.expectString
12825
12841
  });
12826
12842
  }, "de_ClarifyTextConfig");
12843
+ var de_ClusterAutoScalingConfigOutput = /* @__PURE__ */ __name((output, context) => {
12844
+ return (0, import_smithy_client.take)(output, {
12845
+ AutoScalerType: import_smithy_client.expectString,
12846
+ FailureMessage: import_smithy_client.expectString,
12847
+ Mode: import_smithy_client.expectString,
12848
+ Status: import_smithy_client.expectString
12849
+ });
12850
+ }, "de_ClusterAutoScalingConfigOutput");
12827
12851
  var de_ClusterEbsVolumeConfig = /* @__PURE__ */ __name((output, context) => {
12828
12852
  return (0, import_smithy_client.take)(output, {
12829
12853
  RootVolume: import_smithy_client.expectBoolean,
@@ -14153,8 +14177,10 @@ var de_DescribeClusterNodeResponse = /* @__PURE__ */ __name((output, context) =>
14153
14177
  }, "de_DescribeClusterNodeResponse");
14154
14178
  var de_DescribeClusterResponse = /* @__PURE__ */ __name((output, context) => {
14155
14179
  return (0, import_smithy_client.take)(output, {
14180
+ AutoScaling: /* @__PURE__ */ __name((_) => de_ClusterAutoScalingConfigOutput(_, context), "AutoScaling"),
14156
14181
  ClusterArn: import_smithy_client.expectString,
14157
14182
  ClusterName: import_smithy_client.expectString,
14183
+ ClusterRole: import_smithy_client.expectString,
14158
14184
  ClusterStatus: import_smithy_client.expectString,
14159
14185
  CreationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreationTime"),
14160
14186
  FailureMessage: import_smithy_client.expectString,
@@ -24355,11 +24381,6 @@ var ResourceType = {
24355
24381
  PROJECT: "Project",
24356
24382
  TRAINING_JOB: "TrainingJob"
24357
24383
  };
24358
- var HubContentSortBy = {
24359
- CREATION_TIME: "CreationTime",
24360
- HUB_CONTENT_NAME: "HubContentName",
24361
- HUB_CONTENT_STATUS: "HubContentStatus"
24362
- };
24363
24384
  var DescribeModelCardResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
24364
24385
  ...obj,
24365
24386
  ...obj.Content && { Content: import_smithy_client.SENSITIVE_STRING }
@@ -26308,6 +26329,10 @@ var RetryPipelineExecutionCommand = class extends import_smithy_client.Command.c
26308
26329
 
26309
26330
  // src/models/models_5.ts
26310
26331
 
26332
+ var ListWorkforcesSortByOptions = {
26333
+ CreateDate: "CreateDate",
26334
+ Name: "Name"
26335
+ };
26311
26336
  var ListWorkteamsSortByOptions = {
26312
26337
  CreateDate: "CreateDate",
26313
26338
  Name: "Name"
@@ -28690,6 +28715,11 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28690
28715
  }, "waitUntilTransformJobCompletedOrStopped");
28691
28716
 
28692
28717
  // src/models/models_4.ts
28718
+ var HubContentSortBy = {
28719
+ CREATION_TIME: "CreationTime",
28720
+ HUB_CONTENT_NAME: "HubContentName",
28721
+ HUB_CONTENT_STATUS: "HubContentStatus"
28722
+ };
28693
28723
  var HubSortBy = {
28694
28724
  ACCOUNT_ID_OWNER: "AccountIdOwner",
28695
28725
  CREATION_TIME: "CreationTime",
@@ -28991,10 +29021,6 @@ var UserProfileSortKey = {
28991
29021
  CreationTime: "CreationTime",
28992
29022
  LastModifiedTime: "LastModifiedTime"
28993
29023
  };
28994
- var ListWorkforcesSortByOptions = {
28995
- CreateDate: "CreateDate",
28996
- Name: "Name"
28997
- };
28998
29024
  // Annotate the CommonJS export names for ESM import in node:
28999
29025
 
29000
29026
  0 && (module.exports = {
@@ -29568,6 +29594,9 @@ var ListWorkforcesSortByOptions = {
29568
29594
  ClarifyFeatureType,
29569
29595
  ClarifyTextGranularity,
29570
29596
  ClarifyTextLanguage,
29597
+ ClusterAutoScalerType,
29598
+ ClusterAutoScalingMode,
29599
+ ClusterAutoScalingStatus,
29571
29600
  EventMetadata,
29572
29601
  ClusterEventResourceType,
29573
29602
  ClusterInstanceStorageConfig,
@@ -29742,9 +29771,9 @@ var ListWorkforcesSortByOptions = {
29742
29771
  Operator,
29743
29772
  SagemakerServicecatalogStatus,
29744
29773
  ResourceType,
29745
- HubContentSortBy,
29746
29774
  DescribeModelCardResponseFilterSensitiveLog,
29747
29775
  DescribeModelPackageOutputFilterSensitiveLog,
29776
+ HubContentSortBy,
29748
29777
  HubSortBy,
29749
29778
  HyperParameterTuningJobSortByOptions,
29750
29779
  ImageSortBy,
@@ -1238,6 +1238,19 @@ export const ClarifyTextLanguage = {
1238
1238
  URDU: "ur",
1239
1239
  YORUBA: "yo",
1240
1240
  };
1241
+ export const ClusterAutoScalerType = {
1242
+ KARPENTER: "Karpenter",
1243
+ };
1244
+ export const ClusterAutoScalingMode = {
1245
+ DISABLE: "Disable",
1246
+ ENABLE: "Enable",
1247
+ };
1248
+ export const ClusterAutoScalingStatus = {
1249
+ CREATING: "Creating",
1250
+ DELETING: "Deleting",
1251
+ FAILED: "Failed",
1252
+ INSERVICE: "InService",
1253
+ };
1241
1254
  export var EventMetadata;
1242
1255
  (function (EventMetadata) {
1243
1256
  EventMetadata.visit = (value, visitor) => {
@@ -1400,17 +1413,3 @@ export const ClusterNodeRecovery = {
1400
1413
  AUTOMATIC: "Automatic",
1401
1414
  NONE: "None",
1402
1415
  };
1403
- export const SchedulerResourceStatus = {
1404
- CREATED: "Created",
1405
- CREATE_FAILED: "CreateFailed",
1406
- CREATE_ROLLBACK_FAILED: "CreateRollbackFailed",
1407
- CREATING: "Creating",
1408
- DELETED: "Deleted",
1409
- DELETE_FAILED: "DeleteFailed",
1410
- DELETE_ROLLBACK_FAILED: "DeleteRollbackFailed",
1411
- DELETING: "Deleting",
1412
- UPDATED: "Updated",
1413
- UPDATE_FAILED: "UpdateFailed",
1414
- UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
1415
- UPDATING: "Updating",
1416
- };
@@ -1,4 +1,18 @@
1
1
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
2
+ export const SchedulerResourceStatus = {
3
+ CREATED: "Created",
4
+ CREATE_FAILED: "CreateFailed",
5
+ CREATE_ROLLBACK_FAILED: "CreateRollbackFailed",
6
+ CREATING: "Creating",
7
+ DELETED: "Deleted",
8
+ DELETE_FAILED: "DeleteFailed",
9
+ DELETE_ROLLBACK_FAILED: "DeleteRollbackFailed",
10
+ DELETING: "Deleting",
11
+ UPDATED: "Updated",
12
+ UPDATE_FAILED: "UpdateFailed",
13
+ UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
14
+ UPDATING: "Updating",
15
+ };
2
16
  export const ClusterSortBy = {
3
17
  CREATION_TIME: "CREATION_TIME",
4
18
  NAME: "NAME",
@@ -676,7 +690,3 @@ export const TrackingServerSize = {
676
690
  M: "Medium",
677
691
  S: "Small",
678
692
  };
679
- export const InferenceExecutionMode = {
680
- DIRECT: "Direct",
681
- SERIAL: "Serial",
682
- };
@@ -1,4 +1,8 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ export const InferenceExecutionMode = {
3
+ DIRECT: "Direct",
4
+ SERIAL: "Serial",
5
+ };
2
6
  export const ModelCardStatus = {
3
7
  APPROVED: "Approved",
4
8
  ARCHIVED: "Archived",
@@ -475,11 +475,6 @@ export const ResourceType = {
475
475
  PROJECT: "Project",
476
476
  TRAINING_JOB: "TrainingJob",
477
477
  };
478
- export const HubContentSortBy = {
479
- CREATION_TIME: "CreationTime",
480
- HUB_CONTENT_NAME: "HubContentName",
481
- HUB_CONTENT_STATUS: "HubContentStatus",
482
- };
483
478
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
484
479
  ...obj,
485
480
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,3 +1,8 @@
1
+ export const HubContentSortBy = {
2
+ CREATION_TIME: "CreationTime",
3
+ HUB_CONTENT_NAME: "HubContentName",
4
+ HUB_CONTENT_STATUS: "HubContentStatus",
5
+ };
1
6
  export const HubSortBy = {
2
7
  ACCOUNT_ID_OWNER: "AccountIdOwner",
3
8
  CREATION_TIME: "CreationTime",
@@ -299,7 +304,3 @@ export const UserProfileSortKey = {
299
304
  CreationTime: "CreationTime",
300
305
  LastModifiedTime: "LastModifiedTime",
301
306
  };
302
- export const ListWorkforcesSortByOptions = {
303
- CreateDate: "CreateDate",
304
- Name: "Name",
305
- };
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, OidcConfigFilterSensitiveLog, } from "./models_2";
3
+ export const ListWorkforcesSortByOptions = {
4
+ CreateDate: "CreateDate",
5
+ Name: "Name",
6
+ };
3
7
  export const ListWorkteamsSortByOptions = {
4
8
  CreateDate: "CreateDate",
5
9
  Name: "Name",
@@ -9550,6 +9550,14 @@ const de_ClarifyTextConfig = (output, context) => {
9550
9550
  Language: __expectString,
9551
9551
  });
9552
9552
  };
9553
+ const de_ClusterAutoScalingConfigOutput = (output, context) => {
9554
+ return take(output, {
9555
+ AutoScalerType: __expectString,
9556
+ FailureMessage: __expectString,
9557
+ Mode: __expectString,
9558
+ Status: __expectString,
9559
+ });
9560
+ };
9553
9561
  const de_ClusterEbsVolumeConfig = (output, context) => {
9554
9562
  return take(output, {
9555
9563
  RootVolume: __expectBoolean,
@@ -10950,8 +10958,10 @@ const de_DescribeClusterNodeResponse = (output, context) => {
10950
10958
  };
10951
10959
  const de_DescribeClusterResponse = (output, context) => {
10952
10960
  return take(output, {
10961
+ AutoScaling: (_) => de_ClusterAutoScalingConfigOutput(_, context),
10953
10962
  ClusterArn: __expectString,
10954
10963
  ClusterName: __expectString,
10964
+ ClusterRole: __expectString,
10955
10965
  ClusterStatus: __expectString,
10956
10966
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
10957
10967
  FailureMessage: __expectString,
@@ -170,6 +170,11 @@ declare const CreateClusterCommand_base: {
170
170
  * },
171
171
  * NodeRecovery: "Automatic" || "None",
172
172
  * NodeProvisioningMode: "Continuous",
173
+ * ClusterRole: "STRING_VALUE",
174
+ * AutoScaling: { // ClusterAutoScalingConfig
175
+ * Mode: "Enable" || "Disable", // required
176
+ * AutoScalerType: "Karpenter",
177
+ * },
173
178
  * };
174
179
  * const command = new CreateClusterCommand(input);
175
180
  * const response = await client.send(command);
@@ -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 { CreateModelInput, CreateModelOutput } from "../models/models_1";
3
+ import { CreateModelInput, CreateModelOutput } from "../models/models_2";
4
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
5
  /**
6
6
  * @public
@@ -181,6 +181,13 @@ declare const DescribeClusterCommand_base: {
181
181
  * // },
182
182
  * // NodeRecovery: "Automatic" || "None",
183
183
  * // NodeProvisioningMode: "Continuous",
184
+ * // ClusterRole: "STRING_VALUE",
185
+ * // AutoScaling: { // ClusterAutoScalingConfigOutput
186
+ * // Mode: "Enable" || "Disable", // required
187
+ * // AutoScalerType: "Karpenter",
188
+ * // Status: "InService" || "Failed" || "Creating" || "Deleting", // required
189
+ * // FailureMessage: "STRING_VALUE",
190
+ * // },
184
191
  * // };
185
192
  *
186
193
  * ```
@@ -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 { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/models_2";
3
+ import { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/models_3";
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 { DescribeCompilationJobRequest } from "../models/models_2";
4
- import { DescribeCompilationJobResponse } from "../models/models_3";
3
+ import { DescribeCompilationJobRequest, DescribeCompilationJobResponse } from "../models/models_3";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  /**
7
6
  * @public
@@ -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 { GetSearchSuggestionsRequest, GetSearchSuggestionsResponse } from "../models/models_3";
3
+ import { GetSearchSuggestionsRequest } from "../models/models_3";
4
+ import { GetSearchSuggestionsResponse } from "../models/models_4";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  /**
6
7
  * @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 { ListUserProfilesRequest, ListUserProfilesResponse } from "../models/models_4";
3
+ import { ListUserProfilesRequest, ListUserProfilesResponse } 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 { ListWorkforcesRequest } from "../models/models_4";
4
- import { ListWorkforcesResponse } from "../models/models_5";
3
+ import { ListWorkforcesRequest, ListWorkforcesResponse } from "../models/models_5";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  /**
7
6
  * @public
@@ -153,6 +153,11 @@ declare const UpdateClusterCommand_base: {
153
153
  * InstanceGroupsToDelete: [ // ClusterInstanceGroupsToDelete
154
154
  * "STRING_VALUE",
155
155
  * ],
156
+ * ClusterRole: "STRING_VALUE",
157
+ * AutoScaling: { // ClusterAutoScalingConfig
158
+ * Mode: "Enable" || "Disable", // required
159
+ * AutoScalerType: "Karpenter",
160
+ * },
156
161
  * };
157
162
  * const command = new UpdateClusterCommand(input);
158
163
  * const response = await client.send(command);
@@ -5904,6 +5904,85 @@ export interface ClarifyExplainerConfig {
5904
5904
  */
5905
5905
  ShapConfig: ClarifyShapConfig | undefined;
5906
5906
  }
5907
+ /**
5908
+ * @public
5909
+ * @enum
5910
+ */
5911
+ export declare const ClusterAutoScalerType: {
5912
+ readonly KARPENTER: "Karpenter";
5913
+ };
5914
+ /**
5915
+ * @public
5916
+ */
5917
+ export type ClusterAutoScalerType = (typeof ClusterAutoScalerType)[keyof typeof ClusterAutoScalerType];
5918
+ /**
5919
+ * @public
5920
+ * @enum
5921
+ */
5922
+ export declare const ClusterAutoScalingMode: {
5923
+ readonly DISABLE: "Disable";
5924
+ readonly ENABLE: "Enable";
5925
+ };
5926
+ /**
5927
+ * @public
5928
+ */
5929
+ export type ClusterAutoScalingMode = (typeof ClusterAutoScalingMode)[keyof typeof ClusterAutoScalingMode];
5930
+ /**
5931
+ * <p>Specifies the autoscaling configuration for a HyperPod cluster.</p>
5932
+ * @public
5933
+ */
5934
+ export interface ClusterAutoScalingConfig {
5935
+ /**
5936
+ * <p>Describes whether autoscaling is enabled or disabled for the cluster. Valid values are <code>Enable</code> and <code>Disable</code>.</p>
5937
+ * @public
5938
+ */
5939
+ Mode: ClusterAutoScalingMode | undefined;
5940
+ /**
5941
+ * <p>The type of autoscaler to use. Currently supported value is <code>Karpenter</code>.</p>
5942
+ * @public
5943
+ */
5944
+ AutoScalerType?: ClusterAutoScalerType | undefined;
5945
+ }
5946
+ /**
5947
+ * @public
5948
+ * @enum
5949
+ */
5950
+ export declare const ClusterAutoScalingStatus: {
5951
+ readonly CREATING: "Creating";
5952
+ readonly DELETING: "Deleting";
5953
+ readonly FAILED: "Failed";
5954
+ readonly INSERVICE: "InService";
5955
+ };
5956
+ /**
5957
+ * @public
5958
+ */
5959
+ export type ClusterAutoScalingStatus = (typeof ClusterAutoScalingStatus)[keyof typeof ClusterAutoScalingStatus];
5960
+ /**
5961
+ * <p>The autoscaling configuration and status information for a HyperPod cluster.</p>
5962
+ * @public
5963
+ */
5964
+ export interface ClusterAutoScalingConfigOutput {
5965
+ /**
5966
+ * <p>Describes whether autoscaling is enabled or disabled for the cluster.</p>
5967
+ * @public
5968
+ */
5969
+ Mode: ClusterAutoScalingMode | undefined;
5970
+ /**
5971
+ * <p>The type of autoscaler configured for the cluster.</p>
5972
+ * @public
5973
+ */
5974
+ AutoScalerType?: ClusterAutoScalerType | undefined;
5975
+ /**
5976
+ * <p>The current status of the autoscaling configuration. Valid values are <code>InService</code>, <code>Failed</code>, <code>Creating</code>, and <code>Deleting</code>.</p>
5977
+ * @public
5978
+ */
5979
+ Status: ClusterAutoScalingStatus | undefined;
5980
+ /**
5981
+ * <p>If the autoscaling status is <code>Failed</code>, this field contains a message describing the failure.</p>
5982
+ * @public
5983
+ */
5984
+ FailureMessage?: string | undefined;
5985
+ }
5907
5986
  /**
5908
5987
  * <p>Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS) volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620">SageMaker HyperPod release notes: June 20, 2024</a>.</p>
5909
5988
  * @public
@@ -6881,189 +6960,3 @@ export interface FSxLustreConfig {
6881
6960
  */
6882
6961
  PerUnitStorageThroughput: number | undefined;
6883
6962
  }
6884
- /**
6885
- * <p>The configuration details for the restricted instance groups (RIG) environment.</p>
6886
- * @public
6887
- */
6888
- export interface EnvironmentConfigDetails {
6889
- /**
6890
- * <p>Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.</p>
6891
- * @public
6892
- */
6893
- FSxLustreConfig?: FSxLustreConfig | undefined;
6894
- /**
6895
- * <p>The Amazon S3 path where output data from the restricted instance group (RIG) environment will be stored.</p>
6896
- * @public
6897
- */
6898
- S3OutputPath?: string | undefined;
6899
- }
6900
- /**
6901
- * <p>The instance group details of the restricted instance group (RIG).</p>
6902
- * @public
6903
- */
6904
- export interface ClusterRestrictedInstanceGroupDetails {
6905
- /**
6906
- * <p>The number of instances that are currently in the restricted instance group of a SageMaker HyperPod cluster.</p>
6907
- * @public
6908
- */
6909
- CurrentCount?: number | undefined;
6910
- /**
6911
- * <p>The number of instances you specified to add to the restricted instance group of a SageMaker HyperPod cluster.</p>
6912
- * @public
6913
- */
6914
- TargetCount?: number | undefined;
6915
- /**
6916
- * <p>The name of the restricted instance group of a SageMaker HyperPod cluster.</p>
6917
- * @public
6918
- */
6919
- InstanceGroupName?: string | undefined;
6920
- /**
6921
- * <p>The instance type of the restricted instance group of a SageMaker HyperPod cluster.</p>
6922
- * @public
6923
- */
6924
- InstanceType?: ClusterInstanceType | undefined;
6925
- /**
6926
- * <p>The execution role for the restricted instance group to assume.</p>
6927
- * @public
6928
- */
6929
- ExecutionRole?: string | undefined;
6930
- /**
6931
- * <p>The number you specified to <code>TreadsPerCore</code> in <code>CreateCluster</code> for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">CPU cores and threads per CPU core per instance type</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
6932
- * @public
6933
- */
6934
- ThreadsPerCore?: number | undefined;
6935
- /**
6936
- * <p>The additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.</p>
6937
- * @public
6938
- */
6939
- InstanceStorageConfigs?: ClusterInstanceStorageConfig[] | undefined;
6940
- /**
6941
- * <p>A flag indicating whether deep health checks should be performed when the cluster's restricted instance group is created or updated.</p>
6942
- * @public
6943
- */
6944
- OnStartDeepHealthChecks?: DeepHealthCheckType[] | undefined;
6945
- /**
6946
- * <p>The current status of the cluster's restricted instance group.</p> <ul> <li> <p> <code>InService</code>: The restricted instance group is active and healthy.</p> </li> <li> <p> <code>Creating</code>: The restricted instance group is being provisioned.</p> </li> <li> <p> <code>Updating</code>: The restricted instance group is being updated.</p> </li> <li> <p> <code>Failed</code>: The restricted instance group has failed to provision or is no longer healthy.</p> </li> <li> <p> <code>Degraded</code>: The restricted instance group is degraded, meaning that some instances have failed to provision or are no longer healthy.</p> </li> <li> <p> <code>Deleting</code>: The restricted instance group is being deleted.</p> </li> </ul>
6947
- * @public
6948
- */
6949
- Status?: InstanceGroupStatus | undefined;
6950
- /**
6951
- * <p>The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
6952
- * @public
6953
- */
6954
- TrainingPlanArn?: string | undefined;
6955
- /**
6956
- * <p>The current status of the training plan associated with this cluster restricted instance group.</p>
6957
- * @public
6958
- */
6959
- TrainingPlanStatus?: string | undefined;
6960
- /**
6961
- * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
6962
- * @public
6963
- */
6964
- OverrideVpcConfig?: VpcConfig | undefined;
6965
- /**
6966
- * <p>The configuration object of the schedule that SageMaker follows when updating the AMI.</p>
6967
- * @public
6968
- */
6969
- ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
6970
- /**
6971
- * <p>The configuration for the restricted instance groups (RIG) environment.</p>
6972
- * @public
6973
- */
6974
- EnvironmentConfig?: EnvironmentConfigDetails | undefined;
6975
- }
6976
- /**
6977
- * <p>The configuration for the restricted instance groups (RIG) environment.</p>
6978
- * @public
6979
- */
6980
- export interface EnvironmentConfig {
6981
- /**
6982
- * <p>Configuration settings for an Amazon FSx for Lustre file system to be used with the cluster.</p>
6983
- * @public
6984
- */
6985
- FSxLustreConfig?: FSxLustreConfig | undefined;
6986
- }
6987
- /**
6988
- * <p>The specifications of a restricted instance group that you need to define.</p>
6989
- * @public
6990
- */
6991
- export interface ClusterRestrictedInstanceGroupSpecification {
6992
- /**
6993
- * <p>Specifies the number of instances to add to the restricted instance group of a SageMaker HyperPod cluster.</p>
6994
- * @public
6995
- */
6996
- InstanceCount: number | undefined;
6997
- /**
6998
- * <p>Specifies the name of the restricted instance group.</p>
6999
- * @public
7000
- */
7001
- InstanceGroupName: string | undefined;
7002
- /**
7003
- * <p>Specifies the instance type of the restricted instance group.</p>
7004
- * @public
7005
- */
7006
- InstanceType: ClusterInstanceType | undefined;
7007
- /**
7008
- * <p>Specifies an IAM execution role to be assumed by the restricted instance group.</p>
7009
- * @public
7010
- */
7011
- ExecutionRole: string | undefined;
7012
- /**
7013
- * <p>The number you specified to <code>TreadsPerCore</code> in <code>CreateCluster</code> for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/cpu-options-supported-instances-values.html">CPU cores and threads per CPU core per instance type</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>
7014
- * @public
7015
- */
7016
- ThreadsPerCore?: number | undefined;
7017
- /**
7018
- * <p>Specifies the additional storage configurations for the instances in the SageMaker HyperPod cluster restricted instance group.</p>
7019
- * @public
7020
- */
7021
- InstanceStorageConfigs?: ClusterInstanceStorageConfig[] | undefined;
7022
- /**
7023
- * <p>A flag indicating whether deep health checks should be performed when the cluster restricted instance group is created or updated.</p>
7024
- * @public
7025
- */
7026
- OnStartDeepHealthChecks?: DeepHealthCheckType[] | undefined;
7027
- /**
7028
- * <p>The Amazon Resource Name (ARN) of the training plan to filter clusters by. For more information about reserving GPU capacity for your SageMaker HyperPod clusters using Amazon SageMaker Training Plan, see <code> <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_CreateTrainingPlan.html">CreateTrainingPlan</a> </code>.</p>
7029
- * @public
7030
- */
7031
- TrainingPlanArn?: string | undefined;
7032
- /**
7033
- * <p>Specifies an Amazon Virtual Private Cloud (VPC) that your SageMaker jobs, hosted models, and compute resources have access to. You can control access to and from your resources by configuring a VPC. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/infrastructure-give-access.html">Give SageMaker Access to Resources in your Amazon VPC</a>. </p>
7034
- * @public
7035
- */
7036
- OverrideVpcConfig?: VpcConfig | undefined;
7037
- /**
7038
- * <p>The configuration object of the schedule that SageMaker follows when updating the AMI.</p>
7039
- * @public
7040
- */
7041
- ScheduledUpdateConfig?: ScheduledUpdateConfig | undefined;
7042
- /**
7043
- * <p>The configuration for the restricted instance groups (RIG) environment.</p>
7044
- * @public
7045
- */
7046
- EnvironmentConfig: EnvironmentConfig | undefined;
7047
- }
7048
- /**
7049
- * @public
7050
- * @enum
7051
- */
7052
- export declare const SchedulerResourceStatus: {
7053
- readonly CREATED: "Created";
7054
- readonly CREATE_FAILED: "CreateFailed";
7055
- readonly CREATE_ROLLBACK_FAILED: "CreateRollbackFailed";
7056
- readonly CREATING: "Creating";
7057
- readonly DELETED: "Deleted";
7058
- readonly DELETE_FAILED: "DeleteFailed";
7059
- readonly DELETE_ROLLBACK_FAILED: "DeleteRollbackFailed";
7060
- readonly DELETING: "Deleting";
7061
- readonly UPDATED: "Updated";
7062
- readonly UPDATE_FAILED: "UpdateFailed";
7063
- readonly UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed";
7064
- readonly UPDATING: "Updating";
7065
- };
7066
- /**
7067
- * @public
7068
- */
7069
- export type SchedulerResourceStatus = (typeof SchedulerResourceStatus)[keyof typeof SchedulerResourceStatus];