@aws-sdk/client-sagemaker 3.863.0 → 3.864.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +575 -392
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/DescribeReservedCapacityCommand.js +22 -0
  5. package/dist-es/commands/ListUltraServersByReservedCapacityCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +1 -13
  8. package/dist-es/models/models_1.js +13 -0
  9. package/dist-es/models/models_3.js +22 -33
  10. package/dist-es/models/models_4.js +21 -14
  11. package/dist-es/models/models_5.js +12 -1
  12. package/dist-es/pagination/ListUltraServersByReservedCapacityPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +133 -0
  15. package/dist-types/SageMaker.d.ts +14 -0
  16. package/dist-types/SageMakerClient.d.ts +4 -2
  17. package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateAlgorithmCommand.d.ts +12 -3
  19. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +26 -8
  20. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +1 -2
  21. package/dist-types/commands/CreateTrainingJobCommand.d.ts +11 -2
  22. package/dist-types/commands/CreateTrainingPlanCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +12 -3
  24. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +3 -0
  25. package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +1 -1
  26. package/dist-types/commands/DescribeContextCommand.d.ts +1 -2
  27. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +26 -8
  28. package/dist-types/commands/DescribeReservedCapacityCommand.d.ts +93 -0
  29. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +11 -2
  30. package/dist-types/commands/DescribeTrainingPlanCommand.d.ts +7 -1
  31. package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +1 -1
  32. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -0
  33. package/dist-types/commands/ListTrainingPlansCommand.d.ts +5 -1
  34. package/dist-types/commands/ListUltraServersByReservedCapacityCommand.d.ts +92 -0
  35. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
  36. package/dist-types/commands/SearchCommand.d.ts +26 -8
  37. package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +7 -2
  38. package/dist-types/commands/index.d.ts +2 -0
  39. package/dist-types/models/models_0.d.ts +71 -87
  40. package/dist-types/models/models_1.d.ts +77 -89
  41. package/dist-types/models/models_2.d.ts +94 -107
  42. package/dist-types/models/models_3.d.ts +295 -295
  43. package/dist-types/models/models_4.d.ts +374 -674
  44. package/dist-types/models/models_5.d.ts +703 -5
  45. package/dist-types/pagination/ListUltraServersByReservedCapacityPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +1 -0
  47. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  48. package/dist-types/ts3.4/SageMaker.d.ts +40 -0
  49. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +4 -2
  51. package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +4 -2
  53. package/dist-types/ts3.4/commands/DescribeReservedCapacityCommand.d.ts +51 -0
  54. package/dist-types/ts3.4/commands/ListUltraServersByReservedCapacityCommand.d.ts +51 -0
  55. package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +15 -25
  58. package/dist-types/ts3.4/models/models_1.d.ts +25 -21
  59. package/dist-types/ts3.4/models/models_2.d.ts +24 -29
  60. package/dist-types/ts3.4/models/models_3.d.ts +88 -93
  61. package/dist-types/ts3.4/models/models_4.d.ts +112 -184
  62. package/dist-types/ts3.4/models/models_5.d.ts +183 -5
  63. package/dist-types/ts3.4/pagination/ListUltraServersByReservedCapacityPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  65. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  66. package/package.json +5 -5
@@ -185,6 +185,7 @@ import { DescribePipelineDefinitionForExecutionCommand, } from "./commands/Descr
185
185
  import { DescribePipelineExecutionCommand, } from "./commands/DescribePipelineExecutionCommand";
186
186
  import { DescribeProcessingJobCommand, } from "./commands/DescribeProcessingJobCommand";
187
187
  import { DescribeProjectCommand, } from "./commands/DescribeProjectCommand";
188
+ import { DescribeReservedCapacityCommand, } from "./commands/DescribeReservedCapacityCommand";
188
189
  import { DescribeSpaceCommand, } from "./commands/DescribeSpaceCommand";
189
190
  import { DescribeStudioLifecycleConfigCommand, } from "./commands/DescribeStudioLifecycleConfigCommand";
190
191
  import { DescribeSubscribedWorkteamCommand, } from "./commands/DescribeSubscribedWorkteamCommand";
@@ -287,6 +288,7 @@ import { ListTrainingPlansCommand, } from "./commands/ListTrainingPlansCommand";
287
288
  import { ListTransformJobsCommand, } from "./commands/ListTransformJobsCommand";
288
289
  import { ListTrialComponentsCommand, } from "./commands/ListTrialComponentsCommand";
289
290
  import { ListTrialsCommand } from "./commands/ListTrialsCommand";
291
+ import { ListUltraServersByReservedCapacityCommand, } from "./commands/ListUltraServersByReservedCapacityCommand";
290
292
  import { ListUserProfilesCommand, } from "./commands/ListUserProfilesCommand";
291
293
  import { ListWorkforcesCommand, } from "./commands/ListWorkforcesCommand";
292
294
  import { ListWorkteamsCommand, } from "./commands/ListWorkteamsCommand";
@@ -554,6 +556,7 @@ const commands = {
554
556
  DescribePipelineExecutionCommand,
555
557
  DescribeProcessingJobCommand,
556
558
  DescribeProjectCommand,
559
+ DescribeReservedCapacityCommand,
557
560
  DescribeSpaceCommand,
558
561
  DescribeStudioLifecycleConfigCommand,
559
562
  DescribeSubscribedWorkteamCommand,
@@ -656,6 +659,7 @@ const commands = {
656
659
  ListTransformJobsCommand,
657
660
  ListTrialComponentsCommand,
658
661
  ListTrialsCommand,
662
+ ListUltraServersByReservedCapacityCommand,
659
663
  ListUserProfilesCommand,
660
664
  ListWorkforcesCommand,
661
665
  ListWorkteamsCommand,
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DescribeReservedCapacityCommand, se_DescribeReservedCapacityCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeReservedCapacityCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SageMaker", "DescribeReservedCapacity", {})
17
+ .n("SageMakerClient", "DescribeReservedCapacityCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeReservedCapacityCommand)
20
+ .de(de_DescribeReservedCapacityCommand)
21
+ .build() {
22
+ }
@@ -0,0 +1,22 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_ListUltraServersByReservedCapacityCommand, se_ListUltraServersByReservedCapacityCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListUltraServersByReservedCapacityCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SageMaker", "ListUltraServersByReservedCapacity", {})
17
+ .n("SageMakerClient", "ListUltraServersByReservedCapacityCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListUltraServersByReservedCapacityCommand)
20
+ .de(de_ListUltraServersByReservedCapacityCommand)
21
+ .build() {
22
+ }
@@ -184,6 +184,7 @@ export * from "./DescribePipelineDefinitionForExecutionCommand";
184
184
  export * from "./DescribePipelineExecutionCommand";
185
185
  export * from "./DescribeProcessingJobCommand";
186
186
  export * from "./DescribeProjectCommand";
187
+ export * from "./DescribeReservedCapacityCommand";
187
188
  export * from "./DescribeSpaceCommand";
188
189
  export * from "./DescribeStudioLifecycleConfigCommand";
189
190
  export * from "./DescribeSubscribedWorkteamCommand";
@@ -286,6 +287,7 @@ export * from "./ListTrainingPlansCommand";
286
287
  export * from "./ListTransformJobsCommand";
287
288
  export * from "./ListTrialComponentsCommand";
288
289
  export * from "./ListTrialsCommand";
290
+ export * from "./ListUltraServersByReservedCapacityCommand";
289
291
  export * from "./ListUserProfilesCommand";
290
292
  export * from "./ListWorkforcesCommand";
291
293
  export * from "./ListWorkteamsCommand";
@@ -591,6 +591,7 @@ export const TrainingInstanceType = {
591
591
  ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
592
592
  ML_P5E_48XLARGE: "ml.p5e.48xlarge",
593
593
  ML_P5_48XLARGE: "ml.p5.48xlarge",
594
+ ML_P6E_GB200_36XLARGE: "ml.p6e-gb200.36xlarge",
594
595
  ML_P6_B200_48XLARGE: "ml.p6-b200.48xlarge",
595
596
  ML_R5D_12XLARGE: "ml.r5d.12xlarge",
596
597
  ML_R5D_16XLARGE: "ml.r5d.16xlarge",
@@ -1411,16 +1412,3 @@ export const SchedulerResourceStatus = {
1411
1412
  UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
1412
1413
  UPDATING: "Updating",
1413
1414
  };
1414
- export const ClusterSortBy = {
1415
- CREATION_TIME: "CREATION_TIME",
1416
- NAME: "NAME",
1417
- };
1418
- export const ClusterStatus = {
1419
- CREATING: "Creating",
1420
- DELETING: "Deleting",
1421
- FAILED: "Failed",
1422
- INSERVICE: "InService",
1423
- ROLLINGBACK: "RollingBack",
1424
- SYSTEMUPDATING: "SystemUpdating",
1425
- UPDATING: "Updating",
1426
- };
@@ -1,4 +1,17 @@
1
1
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
2
+ export const ClusterSortBy = {
3
+ CREATION_TIME: "CREATION_TIME",
4
+ NAME: "NAME",
5
+ };
6
+ export const ClusterStatus = {
7
+ CREATING: "Creating",
8
+ DELETING: "Deleting",
9
+ FAILED: "Failed",
10
+ INSERVICE: "InService",
11
+ ROLLINGBACK: "RollingBack",
12
+ SYSTEMUPDATING: "SystemUpdating",
13
+ UPDATING: "Updating",
14
+ };
2
15
  export const CodeRepositorySortBy = {
3
16
  CREATION_TIME: "CreationTime",
4
17
  LAST_MODIFIED_TIME: "LastModifiedTime",
@@ -291,6 +291,28 @@ export const ProjectStatus = {
291
291
  UPDATE_FAILED: "UpdateFailed",
292
292
  UPDATE_IN_PROGRESS: "UpdateInProgress",
293
293
  };
294
+ export const ReservedCapacityInstanceType = {
295
+ ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
296
+ ML_P4D_24XLARGE: "ml.p4d.24xlarge",
297
+ ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
298
+ ML_P5E_48XLARGE: "ml.p5e.48xlarge",
299
+ ML_P5_48XLARGE: "ml.p5.48xlarge",
300
+ ML_P6E_GB200_36XLARGE: "ml.p6e-gb200.36xlarge",
301
+ ML_P6_B200_48XLARGE: "ml.p6-b200.48xlarge",
302
+ ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
303
+ ML_TRN2_48XLARGE: "ml.trn2.48xlarge",
304
+ };
305
+ export const ReservedCapacityType = {
306
+ INSTANCE: "Instance",
307
+ ULTRASERVER: "UltraServer",
308
+ };
309
+ export const ReservedCapacityStatus = {
310
+ ACTIVE: "Active",
311
+ EXPIRED: "Expired",
312
+ FAILED: "Failed",
313
+ PENDING: "Pending",
314
+ SCHEDULED: "Scheduled",
315
+ };
294
316
  export const SpaceStatus = {
295
317
  Delete_Failed: "Delete_Failed",
296
318
  Deleting: "Deleting",
@@ -329,23 +351,6 @@ export const WarmPoolResourceStatus = {
329
351
  REUSED: "Reused",
330
352
  TERMINATED: "Terminated",
331
353
  };
332
- export const ReservedCapacityInstanceType = {
333
- ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
334
- ML_P4D_24XLARGE: "ml.p4d.24xlarge",
335
- ML_P5EN_48XLARGE: "ml.p5en.48xlarge",
336
- ML_P5E_48XLARGE: "ml.p5e.48xlarge",
337
- ML_P5_48XLARGE: "ml.p5.48xlarge",
338
- ML_P6_B200_48XLARGE: "ml.p6-b200.48xlarge",
339
- ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
340
- ML_TRN2_48XLARGE: "ml.trn2.48xlarge",
341
- };
342
- export const ReservedCapacityStatus = {
343
- ACTIVE: "Active",
344
- EXPIRED: "Expired",
345
- FAILED: "Failed",
346
- PENDING: "Pending",
347
- SCHEDULED: "Scheduled",
348
- };
349
354
  export const TrainingPlanStatus = {
350
355
  ACTIVE: "Active",
351
356
  EXPIRED: "Expired",
@@ -474,22 +479,6 @@ export const HubContentSortBy = {
474
479
  HUB_CONTENT_NAME: "HubContentName",
475
480
  HUB_CONTENT_STATUS: "HubContentStatus",
476
481
  };
477
- export const HubSortBy = {
478
- ACCOUNT_ID_OWNER: "AccountIdOwner",
479
- CREATION_TIME: "CreationTime",
480
- HUB_NAME: "HubName",
481
- HUB_STATUS: "HubStatus",
482
- };
483
- export const HyperParameterTuningJobSortByOptions = {
484
- CreationTime: "CreationTime",
485
- Name: "Name",
486
- Status: "Status",
487
- };
488
- export const ImageSortBy = {
489
- CREATION_TIME: "CREATION_TIME",
490
- IMAGE_NAME: "IMAGE_NAME",
491
- LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
492
- };
493
482
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
494
483
  ...obj,
495
484
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,5 +1,19 @@
1
- import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ModelPackageModelCardFilterSensitiveLog, } from "./models_2";
1
+ export const HubSortBy = {
2
+ ACCOUNT_ID_OWNER: "AccountIdOwner",
3
+ CREATION_TIME: "CreationTime",
4
+ HUB_NAME: "HubName",
5
+ HUB_STATUS: "HubStatus",
6
+ };
7
+ export const HyperParameterTuningJobSortByOptions = {
8
+ CreationTime: "CreationTime",
9
+ Name: "Name",
10
+ Status: "Status",
11
+ };
12
+ export const ImageSortBy = {
13
+ CREATION_TIME: "CREATION_TIME",
14
+ IMAGE_NAME: "IMAGE_NAME",
15
+ LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
16
+ };
3
17
  export const ImageSortOrder = {
4
18
  ASCENDING: "ASCENDING",
5
19
  DESCENDING: "DESCENDING",
@@ -276,6 +290,11 @@ export const SortTrialsBy = {
276
290
  CREATION_TIME: "CreationTime",
277
291
  NAME: "Name",
278
292
  };
293
+ export const UltraServerHealthStatus = {
294
+ IMPAIRED: "Impaired",
295
+ INSUFFICIENT_DATA: "Insufficient-Data",
296
+ OK: "OK",
297
+ };
279
298
  export const UserProfileSortKey = {
280
299
  CreationTime: "CreationTime",
281
300
  LastModifiedTime: "LastModifiedTime",
@@ -284,15 +303,3 @@ export const ListWorkforcesSortByOptions = {
284
303
  CreateDate: "CreateDate",
285
304
  Name: "Name",
286
305
  };
287
- export const ListWorkteamsSortByOptions = {
288
- CreateDate: "CreateDate",
289
- Name: "Name",
290
- };
291
- export const ModelCardFilterSensitiveLog = (obj) => ({
292
- ...obj,
293
- ...(obj.Content && { Content: SENSITIVE_STRING }),
294
- });
295
- export const ModelPackageFilterSensitiveLog = (obj) => ({
296
- ...obj,
297
- ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
298
- });
@@ -1,6 +1,9 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, OidcConfigFilterSensitiveLog, } from "./models_2";
3
- import { ModelCardFilterSensitiveLog, ModelPackageFilterSensitiveLog, } from "./models_4";
3
+ export const ListWorkteamsSortByOptions = {
4
+ CreateDate: "CreateDate",
5
+ Name: "Name",
6
+ };
4
7
  export const ModelVariantAction = {
5
8
  PROMOTE: "Promote",
6
9
  REMOVE: "Remove",
@@ -19,6 +22,14 @@ export const VariantPropertyType = {
19
22
  DesiredInstanceCount: "DesiredInstanceCount",
20
23
  DesiredWeight: "DesiredWeight",
21
24
  };
25
+ export const ModelCardFilterSensitiveLog = (obj) => ({
26
+ ...obj,
27
+ ...(obj.Content && { Content: SENSITIVE_STRING }),
28
+ });
29
+ export const ModelPackageFilterSensitiveLog = (obj) => ({
30
+ ...obj,
31
+ ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
32
+ });
22
33
  export const SearchRecordFilterSensitiveLog = (obj) => ({
23
34
  ...obj,
24
35
  ...(obj.TrialComponent && { TrialComponent: obj.TrialComponent }),
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListUltraServersByReservedCapacityCommand, } from "../commands/ListUltraServersByReservedCapacityCommand";
3
+ import { SageMakerClient } from "../SageMakerClient";
4
+ export const paginateListUltraServersByReservedCapacity = createPaginator(SageMakerClient, ListUltraServersByReservedCapacityCommand, "NextToken", "NextToken", "MaxResults");
@@ -77,6 +77,7 @@ export * from "./ListTrainingPlansPaginator";
77
77
  export * from "./ListTransformJobsPaginator";
78
78
  export * from "./ListTrialComponentsPaginator";
79
79
  export * from "./ListTrialsPaginator";
80
+ export * from "./ListUltraServersByReservedCapacityPaginator";
80
81
  export * from "./ListUserProfilesPaginator";
81
82
  export * from "./ListWorkforcesPaginator";
82
83
  export * from "./ListWorkteamsPaginator";
@@ -1122,6 +1122,12 @@ export const se_DescribeProjectCommand = async (input, context) => {
1122
1122
  body = JSON.stringify(_json(input));
1123
1123
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1124
1124
  };
1125
+ export const se_DescribeReservedCapacityCommand = async (input, context) => {
1126
+ const headers = sharedHeaders("DescribeReservedCapacity");
1127
+ let body;
1128
+ body = JSON.stringify(_json(input));
1129
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1130
+ };
1125
1131
  export const se_DescribeSpaceCommand = async (input, context) => {
1126
1132
  const headers = sharedHeaders("DescribeSpace");
1127
1133
  let body;
@@ -1734,6 +1740,12 @@ export const se_ListTrialsCommand = async (input, context) => {
1734
1740
  body = JSON.stringify(se_ListTrialsRequest(input, context));
1735
1741
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
1736
1742
  };
1743
+ export const se_ListUltraServersByReservedCapacityCommand = async (input, context) => {
1744
+ const headers = sharedHeaders("ListUltraServersByReservedCapacity");
1745
+ let body;
1746
+ body = JSON.stringify(_json(input));
1747
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
1748
+ };
1737
1749
  export const se_ListUserProfilesCommand = async (input, context) => {
1738
1750
  const headers = sharedHeaders("ListUserProfiles");
1739
1751
  let body;
@@ -4506,6 +4518,19 @@ export const de_DescribeProjectCommand = async (output, context) => {
4506
4518
  };
4507
4519
  return response;
4508
4520
  };
4521
+ export const de_DescribeReservedCapacityCommand = async (output, context) => {
4522
+ if (output.statusCode >= 300) {
4523
+ return de_CommandError(output, context);
4524
+ }
4525
+ const data = await parseBody(output.body, context);
4526
+ let contents = {};
4527
+ contents = de_DescribeReservedCapacityResponse(data, context);
4528
+ const response = {
4529
+ $metadata: deserializeMetadata(output),
4530
+ ...contents,
4531
+ };
4532
+ return response;
4533
+ };
4509
4534
  export const de_DescribeSpaceCommand = async (output, context) => {
4510
4535
  if (output.statusCode >= 300) {
4511
4536
  return de_CommandError(output, context);
@@ -5832,6 +5857,19 @@ export const de_ListTrialsCommand = async (output, context) => {
5832
5857
  };
5833
5858
  return response;
5834
5859
  };
5860
+ export const de_ListUltraServersByReservedCapacityCommand = async (output, context) => {
5861
+ if (output.statusCode >= 300) {
5862
+ return de_CommandError(output, context);
5863
+ }
5864
+ const data = await parseBody(output.body, context);
5865
+ let contents = {};
5866
+ contents = de_ListUltraServersByReservedCapacityResponse(data, context);
5867
+ const response = {
5868
+ $metadata: deserializeMetadata(output),
5869
+ ...contents,
5870
+ };
5871
+ return response;
5872
+ };
5835
5873
  export const de_ListUserProfilesCommand = async (output, context) => {
5836
5874
  if (output.statusCode >= 300) {
5837
5875
  return de_CommandError(output, context);
@@ -8216,6 +8254,8 @@ const se_SearchTrainingPlanOfferingsRequest = (input, context) => {
8216
8254
  InstanceType: [],
8217
8255
  StartTimeAfter: (_) => _.getTime() / 1_000,
8218
8256
  TargetResources: _json,
8257
+ UltraServerCount: [],
8258
+ UltraServerType: [],
8219
8259
  });
8220
8260
  };
8221
8261
  const se_SendPipelineExecutionStepFailureRequest = (input, context) => {
@@ -9592,6 +9632,7 @@ const de_ClusterNodeDetails = (output, context) => {
9592
9632
  PrivatePrimaryIp: __expectString,
9593
9633
  PrivatePrimaryIpv6: __expectString,
9594
9634
  ThreadsPerCore: __expectInt32,
9635
+ UltraServerInfo: (_) => de_UltraServerInfo(_, context),
9595
9636
  });
9596
9637
  };
9597
9638
  const de_ClusterNodeIds = (output, context) => {
@@ -9627,6 +9668,7 @@ const de_ClusterNodeSummary = (output, context) => {
9627
9668
  LastSoftwareUpdateTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9628
9669
  LaunchTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
9629
9670
  NodeLogicalId: __expectString,
9671
+ UltraServerInfo: (_) => de_UltraServerInfo(_, context),
9630
9672
  });
9631
9673
  };
9632
9674
  const de_ClusterOrchestrator = (output, context) => {
@@ -11668,6 +11710,23 @@ const de_DescribeProjectOutput = (output, context) => {
11668
11710
  TemplateProviderDetails: (_) => de_TemplateProviderDetailList(_, context),
11669
11711
  });
11670
11712
  };
11713
+ const de_DescribeReservedCapacityResponse = (output, context) => {
11714
+ return take(output, {
11715
+ AvailabilityZone: __expectString,
11716
+ AvailableInstanceCount: __expectInt32,
11717
+ DurationHours: __expectLong,
11718
+ DurationMinutes: __expectLong,
11719
+ EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11720
+ InUseInstanceCount: __expectInt32,
11721
+ InstanceType: __expectString,
11722
+ ReservedCapacityArn: __expectString,
11723
+ ReservedCapacityType: __expectString,
11724
+ StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11725
+ Status: __expectString,
11726
+ TotalInstanceCount: __expectInt32,
11727
+ UltraServerSummary: (_) => de_UltraServerSummary(_, context),
11728
+ });
11729
+ };
11671
11730
  const de_DescribeSpaceResponse = (output, context) => {
11672
11731
  return take(output, {
11673
11732
  CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
@@ -11750,6 +11809,7 @@ const de_DescribeTrainingJobResponse = (output, context) => {
11750
11809
  const de_DescribeTrainingPlanResponse = (output, context) => {
11751
11810
  return take(output, {
11752
11811
  AvailableInstanceCount: __expectInt32,
11812
+ AvailableSpareInstanceCount: __expectInt32,
11753
11813
  CurrencyCode: __expectString,
11754
11814
  DurationHours: __expectLong,
11755
11815
  DurationMinutes: __expectLong,
@@ -11761,8 +11821,10 @@ const de_DescribeTrainingPlanResponse = (output, context) => {
11761
11821
  StatusMessage: __expectString,
11762
11822
  TargetResources: (_) => de_SageMakerResourceNames(_, context),
11763
11823
  TotalInstanceCount: __expectInt32,
11824
+ TotalUltraServerCount: __expectInt32,
11764
11825
  TrainingPlanArn: __expectString,
11765
11826
  TrainingPlanName: __expectString,
11827
+ UnhealthyInstanceCount: __expectInt32,
11766
11828
  UpfrontFee: __expectString,
11767
11829
  });
11768
11830
  };
@@ -13605,6 +13667,12 @@ const de_InstanceMetadataServiceConfiguration = (output, context) => {
13605
13667
  MinimumInstanceMetadataServiceVersion: __expectString,
13606
13668
  });
13607
13669
  };
13670
+ const de_InstancePlacementConfig = (output, context) => {
13671
+ return take(output, {
13672
+ EnableMultipleJobs: __expectBoolean,
13673
+ PlacementSpecifications: (_) => de_PlacementSpecifications(_, context),
13674
+ });
13675
+ };
13608
13676
  const de_IntegerParameterRange = (output, context) => {
13609
13677
  return take(output, {
13610
13678
  MaxValue: __expectString,
@@ -14334,6 +14402,12 @@ const de_ListTrialsResponse = (output, context) => {
14334
14402
  TrialSummaries: (_) => de_TrialSummaries(_, context),
14335
14403
  });
14336
14404
  };
14405
+ const de_ListUltraServersByReservedCapacityResponse = (output, context) => {
14406
+ return take(output, {
14407
+ NextToken: __expectString,
14408
+ UltraServers: (_) => de_UltraServers(_, context),
14409
+ });
14410
+ };
14337
14411
  const de_ListUserProfilesResponse = (output, context) => {
14338
14412
  return take(output, {
14339
14413
  NextToken: __expectString,
@@ -15930,6 +16004,20 @@ const de_PipelineVersionSummaryList = (output, context) => {
15930
16004
  });
15931
16005
  return retVal;
15932
16006
  };
16007
+ const de_PlacementSpecification = (output, context) => {
16008
+ return take(output, {
16009
+ InstanceCount: __expectInt32,
16010
+ UltraServerId: __expectString,
16011
+ });
16012
+ };
16013
+ const de_PlacementSpecifications = (output, context) => {
16014
+ const retVal = (output || [])
16015
+ .filter((e) => e != null)
16016
+ .map((entry) => {
16017
+ return de_PlacementSpecification(entry, context);
16018
+ });
16019
+ return retVal;
16020
+ };
15933
16021
  const de_PredefinedMetricSpecification = (output, context) => {
15934
16022
  return take(output, {
15935
16023
  PredefinedMetricType: __expectString,
@@ -16549,7 +16637,10 @@ const de_ReservedCapacityOffering = (output, context) => {
16549
16637
  EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16550
16638
  InstanceCount: __expectInt32,
16551
16639
  InstanceType: __expectString,
16640
+ ReservedCapacityType: __expectString,
16552
16641
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16642
+ UltraServerCount: __expectInt32,
16643
+ UltraServerType: __expectString,
16553
16644
  });
16554
16645
  };
16555
16646
  const de_ReservedCapacityOfferings = (output, context) => {
@@ -16576,9 +16667,12 @@ const de_ReservedCapacitySummary = (output, context) => {
16576
16667
  EndTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16577
16668
  InstanceType: __expectString,
16578
16669
  ReservedCapacityArn: __expectString,
16670
+ ReservedCapacityType: __expectString,
16579
16671
  StartTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
16580
16672
  Status: __expectString,
16581
16673
  TotalInstanceCount: __expectInt32,
16674
+ UltraServerCount: __expectInt32,
16675
+ UltraServerType: __expectString,
16582
16676
  });
16583
16677
  };
16584
16678
  const de_ResolvedAttributes = (output, context) => {
@@ -16608,6 +16702,7 @@ const de_ResourceConfig = (output, context) => {
16608
16702
  return take(output, {
16609
16703
  InstanceCount: __expectInt32,
16610
16704
  InstanceGroups: (_) => de_InstanceGroups(_, context),
16705
+ InstancePlacementConfig: (_) => de_InstancePlacementConfig(_, context),
16611
16706
  InstanceType: __expectString,
16612
16707
  KeepAlivePeriodInSeconds: __expectInt32,
16613
16708
  TrainingPlanArn: __expectString,
@@ -17534,6 +17629,7 @@ const de_TrainingPlanSummary = (output, context) => {
17534
17629
  StatusMessage: __expectString,
17535
17630
  TargetResources: (_) => de_SageMakerResourceNames(_, context),
17536
17631
  TotalInstanceCount: __expectInt32,
17632
+ TotalUltraServerCount: __expectInt32,
17537
17633
  TrainingPlanArn: __expectString,
17538
17634
  TrainingPlanName: __expectString,
17539
17635
  UpfrontFee: __expectString,
@@ -17887,6 +17983,43 @@ const de_UiTemplateInfo = (output, context) => {
17887
17983
  Url: __expectString,
17888
17984
  });
17889
17985
  };
17986
+ const de_UltraServer = (output, context) => {
17987
+ return take(output, {
17988
+ AvailabilityZone: __expectString,
17989
+ AvailableInstanceCount: __expectInt32,
17990
+ AvailableSpareInstanceCount: __expectInt32,
17991
+ ConfiguredSpareInstanceCount: __expectInt32,
17992
+ HealthStatus: __expectString,
17993
+ InUseInstanceCount: __expectInt32,
17994
+ InstanceType: __expectString,
17995
+ TotalInstanceCount: __expectInt32,
17996
+ UltraServerId: __expectString,
17997
+ UltraServerType: __expectString,
17998
+ UnhealthyInstanceCount: __expectInt32,
17999
+ });
18000
+ };
18001
+ const de_UltraServerInfo = (output, context) => {
18002
+ return take(output, {
18003
+ Id: __expectString,
18004
+ });
18005
+ };
18006
+ const de_UltraServers = (output, context) => {
18007
+ const retVal = (output || [])
18008
+ .filter((e) => e != null)
18009
+ .map((entry) => {
18010
+ return de_UltraServer(entry, context);
18011
+ });
18012
+ return retVal;
18013
+ };
18014
+ const de_UltraServerSummary = (output, context) => {
18015
+ return take(output, {
18016
+ AvailableSpareInstanceCount: __expectInt32,
18017
+ InstanceType: __expectString,
18018
+ UltraServerCount: __expectInt32,
18019
+ UltraServerType: __expectString,
18020
+ UnhealthyInstanceCount: __expectInt32,
18021
+ });
18022
+ };
17890
18023
  const de_UnifiedStudioSettings = (output, context) => {
17891
18024
  return take(output, {
17892
18025
  DomainAccountId: __expectString,
@@ -185,6 +185,7 @@ import { DescribePipelineDefinitionForExecutionCommandInput, DescribePipelineDef
185
185
  import { DescribePipelineExecutionCommandInput, DescribePipelineExecutionCommandOutput } from "./commands/DescribePipelineExecutionCommand";
186
186
  import { DescribeProcessingJobCommandInput, DescribeProcessingJobCommandOutput } from "./commands/DescribeProcessingJobCommand";
187
187
  import { DescribeProjectCommandInput, DescribeProjectCommandOutput } from "./commands/DescribeProjectCommand";
188
+ import { DescribeReservedCapacityCommandInput, DescribeReservedCapacityCommandOutput } from "./commands/DescribeReservedCapacityCommand";
188
189
  import { DescribeSpaceCommandInput, DescribeSpaceCommandOutput } from "./commands/DescribeSpaceCommand";
189
190
  import { DescribeStudioLifecycleConfigCommandInput, DescribeStudioLifecycleConfigCommandOutput } from "./commands/DescribeStudioLifecycleConfigCommand";
190
191
  import { DescribeSubscribedWorkteamCommandInput, DescribeSubscribedWorkteamCommandOutput } from "./commands/DescribeSubscribedWorkteamCommand";
@@ -287,6 +288,7 @@ import { ListTrainingPlansCommandInput, ListTrainingPlansCommandOutput } from ".
287
288
  import { ListTransformJobsCommandInput, ListTransformJobsCommandOutput } from "./commands/ListTransformJobsCommand";
288
289
  import { ListTrialComponentsCommandInput, ListTrialComponentsCommandOutput } from "./commands/ListTrialComponentsCommand";
289
290
  import { ListTrialsCommandInput, ListTrialsCommandOutput } from "./commands/ListTrialsCommand";
291
+ import { ListUltraServersByReservedCapacityCommandInput, ListUltraServersByReservedCapacityCommandOutput } from "./commands/ListUltraServersByReservedCapacityCommand";
290
292
  import { ListUserProfilesCommandInput, ListUserProfilesCommandOutput } from "./commands/ListUserProfilesCommand";
291
293
  import { ListWorkforcesCommandInput, ListWorkforcesCommandOutput } from "./commands/ListWorkforcesCommand";
292
294
  import { ListWorkteamsCommandInput, ListWorkteamsCommandOutput } from "./commands/ListWorkteamsCommand";
@@ -1486,6 +1488,12 @@ export interface SageMaker {
1486
1488
  describeProject(args: DescribeProjectCommandInput, options?: __HttpHandlerOptions): Promise<DescribeProjectCommandOutput>;
1487
1489
  describeProject(args: DescribeProjectCommandInput, cb: (err: any, data?: DescribeProjectCommandOutput) => void): void;
1488
1490
  describeProject(args: DescribeProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeProjectCommandOutput) => void): void;
1491
+ /**
1492
+ * @see {@link DescribeReservedCapacityCommand}
1493
+ */
1494
+ describeReservedCapacity(args: DescribeReservedCapacityCommandInput, options?: __HttpHandlerOptions): Promise<DescribeReservedCapacityCommandOutput>;
1495
+ describeReservedCapacity(args: DescribeReservedCapacityCommandInput, cb: (err: any, data?: DescribeReservedCapacityCommandOutput) => void): void;
1496
+ describeReservedCapacity(args: DescribeReservedCapacityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeReservedCapacityCommandOutput) => void): void;
1489
1497
  /**
1490
1498
  * @see {@link DescribeSpaceCommand}
1491
1499
  */
@@ -2163,6 +2171,12 @@ export interface SageMaker {
2163
2171
  listTrials(args: ListTrialsCommandInput, options?: __HttpHandlerOptions): Promise<ListTrialsCommandOutput>;
2164
2172
  listTrials(args: ListTrialsCommandInput, cb: (err: any, data?: ListTrialsCommandOutput) => void): void;
2165
2173
  listTrials(args: ListTrialsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTrialsCommandOutput) => void): void;
2174
+ /**
2175
+ * @see {@link ListUltraServersByReservedCapacityCommand}
2176
+ */
2177
+ listUltraServersByReservedCapacity(args: ListUltraServersByReservedCapacityCommandInput, options?: __HttpHandlerOptions): Promise<ListUltraServersByReservedCapacityCommandOutput>;
2178
+ listUltraServersByReservedCapacity(args: ListUltraServersByReservedCapacityCommandInput, cb: (err: any, data?: ListUltraServersByReservedCapacityCommandOutput) => void): void;
2179
+ listUltraServersByReservedCapacity(args: ListUltraServersByReservedCapacityCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListUltraServersByReservedCapacityCommandOutput) => void): void;
2166
2180
  /**
2167
2181
  * @see {@link ListUserProfilesCommand}
2168
2182
  */