@aws-sdk/client-sagemaker 3.859.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 (104) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/index.js +596 -125
  3. package/dist-es/SageMaker.js +10 -0
  4. package/dist-es/commands/AttachClusterNodeVolumeCommand.js +22 -0
  5. package/dist-es/commands/BatchAddClusterNodesCommand.js +22 -0
  6. package/dist-es/commands/CreateModelCardCommand.js +1 -1
  7. package/dist-es/commands/DescribeClusterEventCommand.js +22 -0
  8. package/dist-es/commands/DetachClusterNodeVolumeCommand.js +22 -0
  9. package/dist-es/commands/ListClusterEventsCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/models/models_0.js +45 -101
  12. package/dist-es/models/models_1.js +94 -15
  13. package/dist-es/models/models_2.js +14 -40
  14. package/dist-es/models/models_3.js +43 -40
  15. package/dist-es/models/models_4.js +40 -14
  16. package/dist-es/models/models_5.js +14 -2
  17. package/dist-es/pagination/ListClusterEventsPaginator.js +4 -0
  18. package/dist-es/pagination/index.js +1 -0
  19. package/dist-es/protocols/Aws_json1_1.js +339 -0
  20. package/dist-types/SageMaker.d.ts +35 -0
  21. package/dist-types/SageMakerClient.d.ts +7 -2
  22. package/dist-types/commands/AttachClusterNodeVolumeCommand.d.ts +82 -0
  23. package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +99 -0
  24. package/dist-types/commands/BatchDeleteClusterNodesCommand.d.ts +13 -0
  25. package/dist-types/commands/CreateClusterCommand.d.ts +2 -0
  26. package/dist-types/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -1
  27. package/dist-types/commands/CreateModelCardCommand.d.ts +1 -1
  28. package/dist-types/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  30. package/dist-types/commands/DescribeClusterCommand.d.ts +3 -0
  31. package/dist-types/commands/DescribeClusterEventCommand.d.ts +129 -0
  32. package/dist-types/commands/DescribeClusterNodeCommand.d.ts +5 -1
  33. package/dist-types/commands/DescribeContextCommand.d.ts +2 -1
  34. package/dist-types/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  35. package/dist-types/commands/DescribeDeviceCommand.d.ts +1 -1
  36. package/dist-types/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  37. package/dist-types/commands/DescribeDomainCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  39. package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  40. package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
  41. package/dist-types/commands/DetachClusterNodeVolumeCommand.d.ts +82 -0
  42. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
  43. package/dist-types/commands/ListActionsCommand.d.ts +1 -1
  44. package/dist-types/commands/ListAlgorithmsCommand.d.ts +1 -1
  45. package/dist-types/commands/ListAliasesCommand.d.ts +1 -1
  46. package/dist-types/commands/ListClusterEventsCommand.d.ts +96 -0
  47. package/dist-types/commands/ListClusterNodesCommand.d.ts +3 -1
  48. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  49. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  50. package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
  51. package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
  52. package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  53. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -0
  54. package/dist-types/commands/UpdateClusterSoftwareCommand.d.ts +1 -0
  55. package/dist-types/commands/UpdateWorkforceCommand.d.ts +1 -1
  56. package/dist-types/commands/index.d.ts +5 -0
  57. package/dist-types/models/models_0.d.ts +657 -531
  58. package/dist-types/models/models_1.d.ts +3755 -3694
  59. package/dist-types/models/models_2.d.ts +3169 -3559
  60. package/dist-types/models/models_3.d.ts +4492 -4376
  61. package/dist-types/models/models_4.d.ts +3841 -3859
  62. package/dist-types/models/models_5.d.ts +905 -5
  63. package/dist-types/pagination/ListClusterEventsPaginator.d.ts +7 -0
  64. package/dist-types/pagination/index.d.ts +1 -0
  65. package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
  66. package/dist-types/ts3.4/SageMaker.d.ts +85 -0
  67. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  68. package/dist-types/ts3.4/commands/AttachClusterNodeVolumeCommand.d.ts +51 -0
  69. package/dist-types/ts3.4/commands/BatchAddClusterNodesCommand.d.ts +51 -0
  70. package/dist-types/ts3.4/commands/CreateModelBiasJobDefinitionCommand.d.ts +2 -4
  71. package/dist-types/ts3.4/commands/CreateModelCardCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/CreateModelCardExportJobCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/DescribeClusterEventCommand.d.ts +51 -0
  75. package/dist-types/ts3.4/commands/DescribeContextCommand.d.ts +2 -4
  76. package/dist-types/ts3.4/commands/DescribeDataQualityJobDefinitionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/DescribeDeviceCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/DescribeDeviceFleetCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/DescribeDomainCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +4 -2
  83. package/dist-types/ts3.4/commands/DetachClusterNodeVolumeCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ListAlgorithmsCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/ListAliasesCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +51 -0
  89. package/dist-types/ts3.4/commands/PutModelPackageGroupPolicyCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  95. package/dist-types/ts3.4/models/models_0.d.ts +208 -204
  96. package/dist-types/ts3.4/models/models_1.d.ts +194 -132
  97. package/dist-types/ts3.4/models/models_2.d.ts +135 -248
  98. package/dist-types/ts3.4/models/models_3.d.ts +262 -229
  99. package/dist-types/ts3.4/models/models_4.d.ts +257 -266
  100. package/dist-types/ts3.4/models/models_5.d.ts +242 -21
  101. package/dist-types/ts3.4/pagination/ListClusterEventsPaginator.d.ts +11 -0
  102. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  103. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
  104. package/package.json +1 -1
@@ -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,19 +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
- export const SearchSortOrder = {
262
- ASCENDING: "Ascending",
263
- DESCENDING: "Descending",
264
- };
265
291
  export const ModelCardFilterSensitiveLog = (obj) => ({
266
292
  ...obj,
267
293
  ...(obj.Content && { Content: SENSITIVE_STRING }),
@@ -1,7 +1,19 @@
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
+ };
13
+ export const SearchSortOrder = {
14
+ ASCENDING: "Ascending",
15
+ DESCENDING: "Descending",
16
+ };
5
17
  export const VariantPropertyType = {
6
18
  DataCaptureConfig: "DataCaptureConfig",
7
19
  DesiredInstanceCount: "DesiredInstanceCount",
@@ -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");
@@ -9,6 +9,7 @@ export * from "./ListArtifactsPaginator";
9
9
  export * from "./ListAssociationsPaginator";
10
10
  export * from "./ListAutoMLJobsPaginator";
11
11
  export * from "./ListCandidatesForAutoMLJobPaginator";
12
+ export * from "./ListClusterEventsPaginator";
12
13
  export * from "./ListClusterNodesPaginator";
13
14
  export * from "./ListClusterSchedulerConfigsPaginator";
14
15
  export * from "./ListClustersPaginator";