@aws-sdk/client-sagemaker 3.860.0 → 3.861.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 (91) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +492 -124
  3. package/dist-es/SageMaker.js +6 -0
  4. package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCardCommand.js +1 -1
  6. package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
  7. package/dist-es/commands/ListClusterEventsCommand.js +22 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +38 -93
  10. package/dist-es/models/models_1.js +86 -15
  11. package/dist-es/models/models_2.js +14 -40
  12. package/dist-es/models/models_3.js +43 -40
  13. package/dist-es/models/models_4.js +40 -10
  14. package/dist-es/models/models_5.js +10 -2
  15. package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_json1_1.js +281 -0
  18. package/dist-types/SageMaker.d.ts +21 -0
  19. package/dist-types/SageMakerClient.d.ts +5 -2
  20. package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
  21. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
  22. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  23. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
  24. package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
  25. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  27. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  28. package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
  29. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
  30. package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
  31. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  34. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  38. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
  39. package/dist-types/commands/ListActionsCommand.d.ts +1 -2
  40. package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
  41. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
  42. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  43. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  44. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  45. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  47. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
  48. package/dist-types/commands/index.d.ts +3 -0
  49. package/dist-types/models/models_0.d.ts +635 -539
  50. package/dist-types/models/models_1.d.ts +3626 -3557
  51. package/dist-types/models/models_2.d.ts +3079 -3394
  52. package/dist-types/models/models_3.d.ts +4419 -4366
  53. package/dist-types/models/models_4.d.ts +3813 -3877
  54. package/dist-types/models/models_5.d.ts +836 -5
  55. package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
  56. package/dist-types/pagination/index.d.ts +1 -0
  57. package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
  58. package/dist-types/ts3.4/SageMaker.d.ts +51 -0
  59. package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
  60. package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
  61. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
  62. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
  66. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
  67. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  74. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -2
  76. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
  77. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +186 -188
  83. package/dist-types/ts3.4/models/models_1.d.ts +177 -117
  84. package/dist-types/ts3.4/models/models_2.d.ts +123 -214
  85. package/dist-types/ts3.4/models/models_3.d.ts +219 -195
  86. package/dist-types/ts3.4/models/models_4.d.ts +225 -244
  87. package/dist-types/ts3.4/models/models_5.d.ts +220 -17
  88. package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
  89. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  90. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
  91. package/package.json +1 -1
@@ -3,6 +3,7 @@ import { AddAssociationCommand, } from "./commands/AddAssociationCommand";
3
3
  import { AddTagsCommand } from "./commands/AddTagsCommand";
4
4
  import { AssociateTrialComponentCommand, } from "./commands/AssociateTrialComponentCommand";
5
5
  import { AttachClusterNodeVolumeCommand, } from "./commands/AttachClusterNodeVolumeCommand";
6
+ import { BatchAddClusterNodesCommand, } from "./commands/BatchAddClusterNodesCommand";
6
7
  import { BatchDeleteClusterNodesCommand, } from "./commands/BatchDeleteClusterNodesCommand";
7
8
  import { BatchDescribeModelPackageCommand, } from "./commands/BatchDescribeModelPackageCommand";
8
9
  import { CreateActionCommand, } from "./commands/CreateActionCommand";
@@ -135,6 +136,7 @@ import { DescribeArtifactCommand, } from "./commands/DescribeArtifactCommand";
135
136
  import { DescribeAutoMLJobCommand, } from "./commands/DescribeAutoMLJobCommand";
136
137
  import { DescribeAutoMLJobV2Command, } from "./commands/DescribeAutoMLJobV2Command";
137
138
  import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
139
+ import { DescribeClusterEventCommand, } from "./commands/DescribeClusterEventCommand";
138
140
  import { DescribeClusterNodeCommand, } from "./commands/DescribeClusterNodeCommand";
139
141
  import { DescribeClusterSchedulerConfigCommand, } from "./commands/DescribeClusterSchedulerConfigCommand";
140
142
  import { DescribeCodeRepositoryCommand, } from "./commands/DescribeCodeRepositoryCommand";
@@ -214,6 +216,7 @@ import { ListArtifactsCommand, } from "./commands/ListArtifactsCommand";
214
216
  import { ListAssociationsCommand, } from "./commands/ListAssociationsCommand";
215
217
  import { ListAutoMLJobsCommand, } from "./commands/ListAutoMLJobsCommand";
216
218
  import { ListCandidatesForAutoMLJobCommand, } from "./commands/ListCandidatesForAutoMLJobCommand";
219
+ import { ListClusterEventsCommand, } from "./commands/ListClusterEventsCommand";
217
220
  import { ListClusterNodesCommand, } from "./commands/ListClusterNodesCommand";
218
221
  import { ListClusterSchedulerConfigsCommand, } from "./commands/ListClusterSchedulerConfigsCommand";
219
222
  import { ListClustersCommand, } from "./commands/ListClustersCommand";
@@ -369,6 +372,7 @@ const commands = {
369
372
  AddTagsCommand,
370
373
  AssociateTrialComponentCommand,
371
374
  AttachClusterNodeVolumeCommand,
375
+ BatchAddClusterNodesCommand,
372
376
  BatchDeleteClusterNodesCommand,
373
377
  BatchDescribeModelPackageCommand,
374
378
  CreateActionCommand,
@@ -501,6 +505,7 @@ const commands = {
501
505
  DescribeAutoMLJobCommand,
502
506
  DescribeAutoMLJobV2Command,
503
507
  DescribeClusterCommand,
508
+ DescribeClusterEventCommand,
504
509
  DescribeClusterNodeCommand,
505
510
  DescribeClusterSchedulerConfigCommand,
506
511
  DescribeCodeRepositoryCommand,
@@ -580,6 +585,7 @@ const commands = {
580
585
  ListAssociationsCommand,
581
586
  ListAutoMLJobsCommand,
582
587
  ListCandidatesForAutoMLJobCommand,
588
+ ListClusterEventsCommand,
583
589
  ListClusterNodesCommand,
584
590
  ListClustersCommand,
585
591
  ListClusterSchedulerConfigsCommand,
@@ -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_BatchAddClusterNodesCommand, se_BatchAddClusterNodesCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class BatchAddClusterNodesCommand 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", "BatchAddClusterNodes", {})
17
+ .n("SageMakerClient", "BatchAddClusterNodesCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_BatchAddClusterNodesCommand)
20
+ .de(de_BatchAddClusterNodesCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateModelCardRequestFilterSensitiveLog, } from "../models/models_1";
5
+ import { CreateModelCardRequestFilterSensitiveLog, } from "../models/models_2";
6
6
  import { de_CreateModelCardCommand, se_CreateModelCardCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
8
  export class CreateModelCardCommand extends $Command
@@ -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_DescribeClusterEventCommand, se_DescribeClusterEventCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DescribeClusterEventCommand 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", "DescribeClusterEvent", {})
17
+ .n("SageMakerClient", "DescribeClusterEventCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_DescribeClusterEventCommand)
20
+ .de(de_DescribeClusterEventCommand)
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_ListClusterEventsCommand, se_ListClusterEventsCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class ListClusterEventsCommand 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", "ListClusterEvents", {})
17
+ .n("SageMakerClient", "ListClusterEventsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_ListClusterEventsCommand)
20
+ .de(de_ListClusterEventsCommand)
21
+ .build() {
22
+ }
@@ -2,6 +2,7 @@ export * from "./AddAssociationCommand";
2
2
  export * from "./AddTagsCommand";
3
3
  export * from "./AssociateTrialComponentCommand";
4
4
  export * from "./AttachClusterNodeVolumeCommand";
5
+ export * from "./BatchAddClusterNodesCommand";
5
6
  export * from "./BatchDeleteClusterNodesCommand";
6
7
  export * from "./BatchDescribeModelPackageCommand";
7
8
  export * from "./CreateActionCommand";
@@ -134,6 +135,7 @@ export * from "./DescribeArtifactCommand";
134
135
  export * from "./DescribeAutoMLJobCommand";
135
136
  export * from "./DescribeAutoMLJobV2Command";
136
137
  export * from "./DescribeClusterCommand";
138
+ export * from "./DescribeClusterEventCommand";
137
139
  export * from "./DescribeClusterNodeCommand";
138
140
  export * from "./DescribeClusterSchedulerConfigCommand";
139
141
  export * from "./DescribeCodeRepositoryCommand";
@@ -213,6 +215,7 @@ export * from "./ListArtifactsCommand";
213
215
  export * from "./ListAssociationsCommand";
214
216
  export * from "./ListAutoMLJobsCommand";
215
217
  export * from "./ListCandidatesForAutoMLJobCommand";
218
+ export * from "./ListClusterEventsCommand";
216
219
  export * from "./ListClusterNodesCommand";
217
220
  export * from "./ListClusterSchedulerConfigsCommand";
218
221
  export * from "./ListClustersCommand";
@@ -1084,6 +1084,19 @@ export const AwsManagedHumanLoopRequestSource = {
1084
1084
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
1085
1085
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
1086
1086
  };
1087
+ export const BatchAddClusterNodesErrorCode = {
1088
+ INSTANCE_GROUP_NOT_FOUND: "InstanceGroupNotFound",
1089
+ INVALID_INSTANCE_GROUP_STATUS: "InvalidInstanceGroupStatus",
1090
+ };
1091
+ export const ClusterInstanceStatus = {
1092
+ DEEP_HEALTH_CHECK_IN_PROGRESS: "DeepHealthCheckInProgress",
1093
+ FAILURE: "Failure",
1094
+ NOT_FOUND: "NotFound",
1095
+ PENDING: "Pending",
1096
+ RUNNING: "Running",
1097
+ SHUTTING_DOWN: "ShuttingDown",
1098
+ SYSTEM_UPDATING: "SystemUpdating",
1099
+ };
1087
1100
  export const BatchDeleteClusterNodesErrorCode = {
1088
1101
  INVALID_NODE_STATUS: "InvalidNodeStatus",
1089
1102
  NODE_ID_IN_USE: "NodeIdInUse",
@@ -1131,6 +1144,10 @@ export const DataSourceName = {
1131
1144
  SalesforceGenie: "SalesforceGenie",
1132
1145
  Snowflake: "Snowflake",
1133
1146
  };
1147
+ export const CapacityReservationType = {
1148
+ CRG: "CRG",
1149
+ ODCR: "ODCR",
1150
+ };
1134
1151
  export const CapacityReservationPreference = {
1135
1152
  CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
1136
1153
  };
@@ -1219,6 +1236,25 @@ export const ClarifyTextLanguage = {
1219
1236
  URDU: "ur",
1220
1237
  YORUBA: "yo",
1221
1238
  };
1239
+ export var EventMetadata;
1240
+ (function (EventMetadata) {
1241
+ EventMetadata.visit = (value, visitor) => {
1242
+ if (value.Cluster !== undefined)
1243
+ return visitor.Cluster(value.Cluster);
1244
+ if (value.InstanceGroup !== undefined)
1245
+ return visitor.InstanceGroup(value.InstanceGroup);
1246
+ if (value.InstanceGroupScaling !== undefined)
1247
+ return visitor.InstanceGroupScaling(value.InstanceGroupScaling);
1248
+ if (value.Instance !== undefined)
1249
+ return visitor.Instance(value.Instance);
1250
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1251
+ };
1252
+ })(EventMetadata || (EventMetadata = {}));
1253
+ export const ClusterEventResourceType = {
1254
+ CLUSTER: "Cluster",
1255
+ INSTANCE: "Instance",
1256
+ INSTANCE_GROUP: "InstanceGroup",
1257
+ };
1222
1258
  export var ClusterInstanceStorageConfig;
1223
1259
  (function (ClusterInstanceStorageConfig) {
1224
1260
  ClusterInstanceStorageConfig.visit = (value, visitor) => {
@@ -1354,13 +1390,8 @@ export const InstanceGroupStatus = {
1354
1390
  SYSTEMUPDATING: "SystemUpdating",
1355
1391
  UPDATING: "Updating",
1356
1392
  };
1357
- export const ClusterInstanceStatus = {
1358
- DEEP_HEALTH_CHECK_IN_PROGRESS: "DeepHealthCheckInProgress",
1359
- FAILURE: "Failure",
1360
- PENDING: "Pending",
1361
- RUNNING: "Running",
1362
- SHUTTING_DOWN: "ShuttingDown",
1363
- SYSTEM_UPDATING: "SystemUpdating",
1393
+ export const ClusterNodeProvisioningMode = {
1394
+ CONTINUOUS: "Continuous",
1364
1395
  };
1365
1396
  export const ClusterNodeRecovery = {
1366
1397
  AUTOMATIC: "Automatic",
@@ -1393,89 +1424,3 @@ export const ClusterStatus = {
1393
1424
  SYSTEMUPDATING: "SystemUpdating",
1394
1425
  UPDATING: "Updating",
1395
1426
  };
1396
- export const CodeRepositorySortBy = {
1397
- CREATION_TIME: "CreationTime",
1398
- LAST_MODIFIED_TIME: "LastModifiedTime",
1399
- NAME: "Name",
1400
- };
1401
- export const CodeRepositorySortOrder = {
1402
- ASCENDING: "Ascending",
1403
- DESCENDING: "Descending",
1404
- };
1405
- export var CollectionConfig;
1406
- (function (CollectionConfig) {
1407
- CollectionConfig.visit = (value, visitor) => {
1408
- if (value.VectorConfig !== undefined)
1409
- return visitor.VectorConfig(value.VectorConfig);
1410
- return visitor._(value.$unknown[0], value.$unknown[1]);
1411
- };
1412
- })(CollectionConfig || (CollectionConfig = {}));
1413
- export const CollectionType = {
1414
- LIST: "List",
1415
- SET: "Set",
1416
- VECTOR: "Vector",
1417
- };
1418
- export const CompilationJobStatus = {
1419
- COMPLETED: "COMPLETED",
1420
- FAILED: "FAILED",
1421
- INPROGRESS: "INPROGRESS",
1422
- STARTING: "STARTING",
1423
- STOPPED: "STOPPED",
1424
- STOPPING: "STOPPING",
1425
- };
1426
- export const TargetDevice = {
1427
- AISAGE: "aisage",
1428
- AMBA_CV2: "amba_cv2",
1429
- AMBA_CV22: "amba_cv22",
1430
- AMBA_CV25: "amba_cv25",
1431
- COREML: "coreml",
1432
- DEEPLENS: "deeplens",
1433
- IMX8MPLUS: "imx8mplus",
1434
- IMX8QM: "imx8qm",
1435
- JACINTO_TDA4VM: "jacinto_tda4vm",
1436
- JETSON_NANO: "jetson_nano",
1437
- JETSON_TX1: "jetson_tx1",
1438
- JETSON_TX2: "jetson_tx2",
1439
- JETSON_XAVIER: "jetson_xavier",
1440
- LAMBDA: "lambda",
1441
- ML_C4: "ml_c4",
1442
- ML_C5: "ml_c5",
1443
- ML_C6G: "ml_c6g",
1444
- ML_EIA2: "ml_eia2",
1445
- ML_G4DN: "ml_g4dn",
1446
- ML_INF1: "ml_inf1",
1447
- ML_INF2: "ml_inf2",
1448
- ML_M4: "ml_m4",
1449
- ML_M5: "ml_m5",
1450
- ML_M6G: "ml_m6g",
1451
- ML_P2: "ml_p2",
1452
- ML_P3: "ml_p3",
1453
- ML_TRN1: "ml_trn1",
1454
- QCS603: "qcs603",
1455
- QCS605: "qcs605",
1456
- RASP3B: "rasp3b",
1457
- RASP4B: "rasp4b",
1458
- RK3288: "rk3288",
1459
- RK3399: "rk3399",
1460
- SBE_C: "sbe_c",
1461
- SITARA_AM57X: "sitara_am57x",
1462
- X86_WIN32: "x86_win32",
1463
- X86_WIN64: "x86_win64",
1464
- };
1465
- export const TargetPlatformAccelerator = {
1466
- INTEL_GRAPHICS: "INTEL_GRAPHICS",
1467
- MALI: "MALI",
1468
- NNA: "NNA",
1469
- NVIDIA: "NVIDIA",
1470
- };
1471
- export const TargetPlatformArch = {
1472
- ARM64: "ARM64",
1473
- ARM_EABI: "ARM_EABI",
1474
- ARM_EABIHF: "ARM_EABIHF",
1475
- X86: "X86",
1476
- X86_64: "X86_64",
1477
- };
1478
- export const TargetPlatformOs = {
1479
- ANDROID: "ANDROID",
1480
- LINUX: "LINUX",
1481
- };
@@ -1,5 +1,90 @@
1
- import { SENSITIVE_STRING, } from "@smithy/smithy-client";
2
1
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
2
+ export const CodeRepositorySortBy = {
3
+ CREATION_TIME: "CreationTime",
4
+ LAST_MODIFIED_TIME: "LastModifiedTime",
5
+ NAME: "Name",
6
+ };
7
+ export const CodeRepositorySortOrder = {
8
+ ASCENDING: "Ascending",
9
+ DESCENDING: "Descending",
10
+ };
11
+ export var CollectionConfig;
12
+ (function (CollectionConfig) {
13
+ CollectionConfig.visit = (value, visitor) => {
14
+ if (value.VectorConfig !== undefined)
15
+ return visitor.VectorConfig(value.VectorConfig);
16
+ return visitor._(value.$unknown[0], value.$unknown[1]);
17
+ };
18
+ })(CollectionConfig || (CollectionConfig = {}));
19
+ export const CollectionType = {
20
+ LIST: "List",
21
+ SET: "Set",
22
+ VECTOR: "Vector",
23
+ };
24
+ export const CompilationJobStatus = {
25
+ COMPLETED: "COMPLETED",
26
+ FAILED: "FAILED",
27
+ INPROGRESS: "INPROGRESS",
28
+ STARTING: "STARTING",
29
+ STOPPED: "STOPPED",
30
+ STOPPING: "STOPPING",
31
+ };
32
+ export const TargetDevice = {
33
+ AISAGE: "aisage",
34
+ AMBA_CV2: "amba_cv2",
35
+ AMBA_CV22: "amba_cv22",
36
+ AMBA_CV25: "amba_cv25",
37
+ COREML: "coreml",
38
+ DEEPLENS: "deeplens",
39
+ IMX8MPLUS: "imx8mplus",
40
+ IMX8QM: "imx8qm",
41
+ JACINTO_TDA4VM: "jacinto_tda4vm",
42
+ JETSON_NANO: "jetson_nano",
43
+ JETSON_TX1: "jetson_tx1",
44
+ JETSON_TX2: "jetson_tx2",
45
+ JETSON_XAVIER: "jetson_xavier",
46
+ LAMBDA: "lambda",
47
+ ML_C4: "ml_c4",
48
+ ML_C5: "ml_c5",
49
+ ML_C6G: "ml_c6g",
50
+ ML_EIA2: "ml_eia2",
51
+ ML_G4DN: "ml_g4dn",
52
+ ML_INF1: "ml_inf1",
53
+ ML_INF2: "ml_inf2",
54
+ ML_M4: "ml_m4",
55
+ ML_M5: "ml_m5",
56
+ ML_M6G: "ml_m6g",
57
+ ML_P2: "ml_p2",
58
+ ML_P3: "ml_p3",
59
+ ML_TRN1: "ml_trn1",
60
+ QCS603: "qcs603",
61
+ QCS605: "qcs605",
62
+ RASP3B: "rasp3b",
63
+ RASP4B: "rasp4b",
64
+ RK3288: "rk3288",
65
+ RK3399: "rk3399",
66
+ SBE_C: "sbe_c",
67
+ SITARA_AM57X: "sitara_am57x",
68
+ X86_WIN32: "x86_win32",
69
+ X86_WIN64: "x86_win64",
70
+ };
71
+ export const TargetPlatformAccelerator = {
72
+ INTEL_GRAPHICS: "INTEL_GRAPHICS",
73
+ MALI: "MALI",
74
+ NNA: "NNA",
75
+ NVIDIA: "NVIDIA",
76
+ };
77
+ export const TargetPlatformArch = {
78
+ ARM64: "ARM64",
79
+ ARM_EABI: "ARM_EABI",
80
+ ARM_EABIHF: "ARM_EABIHF",
81
+ X86: "X86",
82
+ X86_64: "X86_64",
83
+ };
84
+ export const TargetPlatformOs = {
85
+ ANDROID: "ANDROID",
86
+ LINUX: "LINUX",
87
+ };
3
88
  export const CompleteOnConvergence = {
4
89
  DISABLED: "Disabled",
5
90
  ENABLED: "Enabled",
@@ -580,17 +665,3 @@ export const InferenceExecutionMode = {
580
665
  DIRECT: "Direct",
581
666
  SERIAL: "Serial",
582
667
  };
583
- export const ModelCardStatus = {
584
- APPROVED: "Approved",
585
- ARCHIVED: "Archived",
586
- DRAFT: "Draft",
587
- PENDINGREVIEW: "PendingReview",
588
- };
589
- export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
590
- ...obj,
591
- ...(obj.Content && { Content: SENSITIVE_STRING }),
592
- });
593
- export const ModelPackageModelCardFilterSensitiveLog = (obj) => ({
594
- ...obj,
595
- ...(obj.ModelCardContent && { ModelCardContent: SENSITIVE_STRING }),
596
- });
@@ -1,5 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
2
+ export const ModelCardStatus = {
3
+ APPROVED: "Approved",
4
+ ARCHIVED: "Archived",
5
+ DRAFT: "Draft",
6
+ PENDINGREVIEW: "PendingReview",
7
+ };
3
8
  export const SkipModelValidation = {
4
9
  ALL: "All",
5
10
  NONE: "None",
@@ -205,45 +210,14 @@ export const StageStatus = {
205
210
  Stopped: "STOPPED",
206
211
  Stopping: "STOPPING",
207
212
  };
208
- export const DomainStatus = {
209
- Delete_Failed: "Delete_Failed",
210
- Deleting: "Deleting",
211
- Failed: "Failed",
212
- InService: "InService",
213
- Pending: "Pending",
214
- Update_Failed: "Update_Failed",
215
- Updating: "Updating",
216
- };
217
- export const EdgePackagingJobStatus = {
218
- Completed: "COMPLETED",
219
- Failed: "FAILED",
220
- InProgress: "INPROGRESS",
221
- Starting: "STARTING",
222
- Stopped: "STOPPED",
223
- Stopping: "STOPPING",
224
- };
225
- export const EdgePresetDeploymentStatus = {
226
- Completed: "COMPLETED",
227
- Failed: "FAILED",
228
- };
229
- export const EndpointStatus = {
230
- CREATING: "Creating",
231
- DELETING: "Deleting",
232
- FAILED: "Failed",
233
- IN_SERVICE: "InService",
234
- OUT_OF_SERVICE: "OutOfService",
235
- ROLLING_BACK: "RollingBack",
236
- SYSTEM_UPDATING: "SystemUpdating",
237
- UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
238
- UPDATING: "Updating",
239
- };
240
- export const VariantStatus = {
241
- ACTIVATING_TRAFFIC: "ActivatingTraffic",
242
- BAKING: "Baking",
243
- CREATING: "Creating",
244
- DELETING: "Deleting",
245
- UPDATING: "Updating",
246
- };
213
+ export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
214
+ ...obj,
215
+ ...(obj.Content && { Content: SENSITIVE_STRING }),
216
+ });
217
+ export const ModelPackageModelCardFilterSensitiveLog = (obj) => ({
218
+ ...obj,
219
+ ...(obj.ModelCardContent && { ModelCardContent: SENSITIVE_STRING }),
220
+ });
247
221
  export const CreateModelPackageInputFilterSensitiveLog = (obj) => ({
248
222
  ...obj,
249
223
  ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
@@ -1,5 +1,44 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
2
+ import { ModelPackageModelCardFilterSensitiveLog, } from "./models_2";
3
+ export const DomainStatus = {
4
+ Delete_Failed: "Delete_Failed",
5
+ Deleting: "Deleting",
6
+ Failed: "Failed",
7
+ InService: "InService",
8
+ Pending: "Pending",
9
+ Update_Failed: "Update_Failed",
10
+ Updating: "Updating",
11
+ };
12
+ export const EdgePackagingJobStatus = {
13
+ Completed: "COMPLETED",
14
+ Failed: "FAILED",
15
+ InProgress: "INPROGRESS",
16
+ Starting: "STARTING",
17
+ Stopped: "STOPPED",
18
+ Stopping: "STOPPING",
19
+ };
20
+ export const EdgePresetDeploymentStatus = {
21
+ Completed: "COMPLETED",
22
+ Failed: "FAILED",
23
+ };
24
+ export const EndpointStatus = {
25
+ CREATING: "Creating",
26
+ DELETING: "Deleting",
27
+ FAILED: "Failed",
28
+ IN_SERVICE: "InService",
29
+ OUT_OF_SERVICE: "OutOfService",
30
+ ROLLING_BACK: "RollingBack",
31
+ SYSTEM_UPDATING: "SystemUpdating",
32
+ UPDATE_ROLLBACK_FAILED: "UpdateRollbackFailed",
33
+ UPDATING: "Updating",
34
+ };
35
+ export const VariantStatus = {
36
+ ACTIVATING_TRAFFIC: "ActivatingTraffic",
37
+ BAKING: "Baking",
38
+ CREATING: "Creating",
39
+ DELETING: "Deleting",
40
+ UPDATING: "Updating",
41
+ };
3
42
  export const FeatureGroupStatus = {
4
43
  CREATED: "Created",
5
44
  CREATE_FAILED: "CreateFailed",
@@ -381,6 +420,9 @@ export const EndpointSortKey = {
381
420
  Name: "Name",
382
421
  Status: "Status",
383
422
  };
423
+ export const EventSortBy = {
424
+ EVENT_TIME: "EventTime",
425
+ };
384
426
  export const FeatureGroupSortBy = {
385
427
  CREATION_TIME: "CreationTime",
386
428
  FEATURE_GROUP_STATUS: "FeatureGroupStatus",
@@ -448,45 +490,6 @@ export const ImageSortBy = {
448
490
  IMAGE_NAME: "IMAGE_NAME",
449
491
  LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
450
492
  };
451
- export const ImageSortOrder = {
452
- ASCENDING: "ASCENDING",
453
- DESCENDING: "DESCENDING",
454
- };
455
- export const ImageVersionSortBy = {
456
- CREATION_TIME: "CREATION_TIME",
457
- LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
458
- VERSION: "VERSION",
459
- };
460
- export const ImageVersionSortOrder = {
461
- ASCENDING: "ASCENDING",
462
- DESCENDING: "DESCENDING",
463
- };
464
- export const InferenceComponentSortKey = {
465
- CreationTime: "CreationTime",
466
- Name: "Name",
467
- Status: "Status",
468
- };
469
- export const InferenceExperimentStopDesiredState = {
470
- CANCELLED: "Cancelled",
471
- COMPLETED: "Completed",
472
- };
473
- export const RecommendationStepType = {
474
- BENCHMARK: "BENCHMARK",
475
- };
476
- export const LineageType = {
477
- ACTION: "Action",
478
- ARTIFACT: "Artifact",
479
- CONTEXT: "Context",
480
- TRIAL_COMPONENT: "TrialComponent",
481
- };
482
- export const SortActionsBy = {
483
- CREATION_TIME: "CreationTime",
484
- NAME: "Name",
485
- };
486
- export const SortOrder = {
487
- ASCENDING: "Ascending",
488
- DESCENDING: "Descending",
489
- };
490
493
  export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
491
494
  ...obj,
492
495
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,5 +1,44 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
2
+ import { ModelPackageModelCardFilterSensitiveLog, } from "./models_2";
3
+ export const ImageSortOrder = {
4
+ ASCENDING: "ASCENDING",
5
+ DESCENDING: "DESCENDING",
6
+ };
7
+ export const ImageVersionSortBy = {
8
+ CREATION_TIME: "CREATION_TIME",
9
+ LAST_MODIFIED_TIME: "LAST_MODIFIED_TIME",
10
+ VERSION: "VERSION",
11
+ };
12
+ export const ImageVersionSortOrder = {
13
+ ASCENDING: "ASCENDING",
14
+ DESCENDING: "DESCENDING",
15
+ };
16
+ export const InferenceComponentSortKey = {
17
+ CreationTime: "CreationTime",
18
+ Name: "Name",
19
+ Status: "Status",
20
+ };
21
+ export const InferenceExperimentStopDesiredState = {
22
+ CANCELLED: "Cancelled",
23
+ COMPLETED: "Completed",
24
+ };
25
+ export const RecommendationStepType = {
26
+ BENCHMARK: "BENCHMARK",
27
+ };
28
+ export const LineageType = {
29
+ ACTION: "Action",
30
+ ARTIFACT: "Artifact",
31
+ CONTEXT: "Context",
32
+ TRIAL_COMPONENT: "TrialComponent",
33
+ };
34
+ export const SortActionsBy = {
35
+ CREATION_TIME: "CreationTime",
36
+ NAME: "Name",
37
+ };
38
+ export const SortOrder = {
39
+ ASCENDING: "Ascending",
40
+ DESCENDING: "Descending",
41
+ };
3
42
  export const SortArtifactsBy = {
4
43
  CREATION_TIME: "CreationTime",
5
44
  };
@@ -249,15 +288,6 @@ export const ListWorkteamsSortByOptions = {
249
288
  CreateDate: "CreateDate",
250
289
  Name: "Name",
251
290
  };
252
- export const ModelVariantAction = {
253
- PROMOTE: "Promote",
254
- REMOVE: "Remove",
255
- RETAIN: "Retain",
256
- };
257
- export const Relation = {
258
- EQUAL_TO: "EqualTo",
259
- GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
260
- };
261
291
  export const ModelCardFilterSensitiveLog = (obj) => ({
262
292
  ...obj,
263
293
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,7 +1,15 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
- import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
- import { OidcConfigFilterSensitiveLog, } from "./models_2";
2
+ import { ModelPackageModelCardFilterSensitiveLog, OidcConfigFilterSensitiveLog, } from "./models_2";
4
3
  import { ModelCardFilterSensitiveLog, ModelPackageFilterSensitiveLog, } from "./models_4";
4
+ export const ModelVariantAction = {
5
+ PROMOTE: "Promote",
6
+ REMOVE: "Remove",
7
+ RETAIN: "Retain",
8
+ };
9
+ export const Relation = {
10
+ EQUAL_TO: "EqualTo",
11
+ GREATER_THAN_OR_EQUAL_TO: "GreaterThanOrEqualTo",
12
+ };
5
13
  export const SearchSortOrder = {
6
14
  ASCENDING: "Ascending",
7
15
  DESCENDING: "Descending",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { ListClusterEventsCommand, } from "../commands/ListClusterEventsCommand";
3
+ import { SageMakerClient } from "../SageMakerClient";
4
+ export const paginateListClusterEvents = createPaginator(SageMakerClient, ListClusterEventsCommand, "NextToken", "NextToken", "MaxResults");