@aws-sdk/client-sagemaker 3.1168.0 → 3.1169.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +21 -0
- package/dist-cjs/index.js +225 -35
- package/dist-es/SageMaker.js +10 -0
- package/dist-es/commands/DescribeClusterOperationCommand.js +4 -0
- package/dist-es/commands/ListClusterExtensionVersionsCommand.js +4 -0
- package/dist-es/commands/ListClusterOperationsCommand.js +4 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/enums.js +27 -0
- package/dist-es/pagination/ListClusterExtensionVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListClusterOperationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +153 -34
- package/dist-types/SageMaker.d.ts +35 -0
- package/dist-types/SageMakerClient.d.ts +5 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +6 -1
- package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterCommand.d.ts +6 -1
- package/dist-types/commands/DescribeClusterEventCommand.d.ts +1 -0
- package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +10 -1
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +106 -0
- package/dist-types/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterEventsCommand.d.ts +3 -1
- package/dist-types/commands/ListClusterExtensionVersionsCommand.d.ts +78 -0
- package/dist-types/commands/ListClusterExtensionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterOperationsCommand.d.ts +91 -0
- package/dist-types/commands/ListClustersCommand.d.ts +1 -2
- package/dist-types/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StopOptimizationJobCommand.d.ts +1 -1
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingSessionCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateClusterCommand.d.ts +6 -1
- package/dist-types/commands/UpdateClusterExtensionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/enums.d.ts +67 -0
- package/dist-types/models/models_0.d.ts +112 -107
- package/dist-types/models/models_1.d.ts +121 -89
- package/dist-types/models/models_2.d.ts +183 -247
- package/dist-types/models/models_3.d.ts +258 -284
- package/dist-types/models/models_4.d.ts +390 -170
- package/dist-types/models/models_5.d.ts +168 -3
- package/dist-types/pagination/ListClusterExtensionVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListClusterOperationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +16 -0
- package/dist-types/ts3.4/SageMaker.d.ts +65 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeEdgeDeploymentPlanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEdgePackagingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeEndpointCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListCandidatesForAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterEventsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterExtensionVersionsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListClusterExtensionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterOperationsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StopNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopOptimizationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/enums.d.ts +36 -0
- package/dist-types/ts3.4/models/models_0.d.ts +31 -28
- package/dist-types/ts3.4/models/models_1.d.ts +28 -23
- package/dist-types/ts3.4/models/models_2.d.ts +50 -63
- package/dist-types/ts3.4/models/models_3.d.ts +66 -77
- package/dist-types/ts3.4/models/models_4.d.ts +106 -50
- package/dist-types/ts3.4/models/models_5.d.ts +50 -1
- package/dist-types/ts3.4/pagination/ListClusterExtensionVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListClusterOperationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +16 -0
- package/package.json +1 -1
package/dist-es/SageMaker.js
CHANGED
|
@@ -162,6 +162,7 @@ import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
|
|
|
162
162
|
import { DescribeClusterEventCommand, } from "./commands/DescribeClusterEventCommand";
|
|
163
163
|
import { DescribeClusterExtensionCommand, } from "./commands/DescribeClusterExtensionCommand";
|
|
164
164
|
import { DescribeClusterNodeCommand, } from "./commands/DescribeClusterNodeCommand";
|
|
165
|
+
import { DescribeClusterOperationCommand, } from "./commands/DescribeClusterOperationCommand";
|
|
165
166
|
import { DescribeClusterSchedulerConfigCommand, } from "./commands/DescribeClusterSchedulerConfigCommand";
|
|
166
167
|
import { DescribeCodeRepositoryCommand, } from "./commands/DescribeCodeRepositoryCommand";
|
|
167
168
|
import { DescribeCompilationJobCommand, } from "./commands/DescribeCompilationJobCommand";
|
|
@@ -252,7 +253,9 @@ import { ListAutoMLJobsCommand, } from "./commands/ListAutoMLJobsCommand";
|
|
|
252
253
|
import { ListCandidatesForAutoMLJobCommand, } from "./commands/ListCandidatesForAutoMLJobCommand";
|
|
253
254
|
import { ListClusterEventsCommand, } from "./commands/ListClusterEventsCommand";
|
|
254
255
|
import { ListClusterExtensionsCommand, } from "./commands/ListClusterExtensionsCommand";
|
|
256
|
+
import { ListClusterExtensionVersionsCommand, } from "./commands/ListClusterExtensionVersionsCommand";
|
|
255
257
|
import { ListClusterNodesCommand, } from "./commands/ListClusterNodesCommand";
|
|
258
|
+
import { ListClusterOperationsCommand, } from "./commands/ListClusterOperationsCommand";
|
|
256
259
|
import { ListClusterSchedulerConfigsCommand, } from "./commands/ListClusterSchedulerConfigsCommand";
|
|
257
260
|
import { ListClustersCommand, } from "./commands/ListClustersCommand";
|
|
258
261
|
import { ListCodeRepositoriesCommand, } from "./commands/ListCodeRepositoriesCommand";
|
|
@@ -429,7 +432,9 @@ import { paginateListAutoMLJobs } from "./pagination/ListAutoMLJobsPaginator";
|
|
|
429
432
|
import { paginateListCandidatesForAutoMLJob } from "./pagination/ListCandidatesForAutoMLJobPaginator";
|
|
430
433
|
import { paginateListClusterEvents } from "./pagination/ListClusterEventsPaginator";
|
|
431
434
|
import { paginateListClusterExtensions } from "./pagination/ListClusterExtensionsPaginator";
|
|
435
|
+
import { paginateListClusterExtensionVersions } from "./pagination/ListClusterExtensionVersionsPaginator";
|
|
432
436
|
import { paginateListClusterNodes } from "./pagination/ListClusterNodesPaginator";
|
|
437
|
+
import { paginateListClusterOperations } from "./pagination/ListClusterOperationsPaginator";
|
|
433
438
|
import { paginateListClusterSchedulerConfigs } from "./pagination/ListClusterSchedulerConfigsPaginator";
|
|
434
439
|
import { paginateListClusters } from "./pagination/ListClustersPaginator";
|
|
435
440
|
import { paginateListCodeRepositories } from "./pagination/ListCodeRepositoriesPaginator";
|
|
@@ -684,6 +689,7 @@ const commands = {
|
|
|
684
689
|
DescribeClusterEventCommand,
|
|
685
690
|
DescribeClusterExtensionCommand,
|
|
686
691
|
DescribeClusterNodeCommand,
|
|
692
|
+
DescribeClusterOperationCommand,
|
|
687
693
|
DescribeClusterSchedulerConfigCommand,
|
|
688
694
|
DescribeCodeRepositoryCommand,
|
|
689
695
|
DescribeCompilationJobCommand,
|
|
@@ -774,7 +780,9 @@ const commands = {
|
|
|
774
780
|
ListCandidatesForAutoMLJobCommand,
|
|
775
781
|
ListClusterEventsCommand,
|
|
776
782
|
ListClusterExtensionsCommand,
|
|
783
|
+
ListClusterExtensionVersionsCommand,
|
|
777
784
|
ListClusterNodesCommand,
|
|
785
|
+
ListClusterOperationsCommand,
|
|
778
786
|
ListClustersCommand,
|
|
779
787
|
ListClusterSchedulerConfigsCommand,
|
|
780
788
|
ListCodeRepositoriesCommand,
|
|
@@ -953,7 +961,9 @@ const paginators = {
|
|
|
953
961
|
paginateListCandidatesForAutoMLJob,
|
|
954
962
|
paginateListClusterEvents,
|
|
955
963
|
paginateListClusterExtensions,
|
|
964
|
+
paginateListClusterExtensionVersions,
|
|
956
965
|
paginateListClusterNodes,
|
|
966
|
+
paginateListClusterOperations,
|
|
957
967
|
paginateListClusters,
|
|
958
968
|
paginateListClusterSchedulerConfigs,
|
|
959
969
|
paginateListCodeRepositories,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { ListClusterExtensionVersions$ } from "../schemas/schemas_0";
|
|
3
|
+
export class ListClusterExtensionVersionsCommand extends command(_ep0, _mw0, "ListClusterExtensionVersions", ListClusterExtensionVersions$) {
|
|
4
|
+
}
|
|
@@ -161,6 +161,7 @@ export * from "./DescribeClusterCommand";
|
|
|
161
161
|
export * from "./DescribeClusterEventCommand";
|
|
162
162
|
export * from "./DescribeClusterExtensionCommand";
|
|
163
163
|
export * from "./DescribeClusterNodeCommand";
|
|
164
|
+
export * from "./DescribeClusterOperationCommand";
|
|
164
165
|
export * from "./DescribeClusterSchedulerConfigCommand";
|
|
165
166
|
export * from "./DescribeCodeRepositoryCommand";
|
|
166
167
|
export * from "./DescribeCompilationJobCommand";
|
|
@@ -250,8 +251,10 @@ export * from "./ListAssociationsCommand";
|
|
|
250
251
|
export * from "./ListAutoMLJobsCommand";
|
|
251
252
|
export * from "./ListCandidatesForAutoMLJobCommand";
|
|
252
253
|
export * from "./ListClusterEventsCommand";
|
|
254
|
+
export * from "./ListClusterExtensionVersionsCommand";
|
|
253
255
|
export * from "./ListClusterExtensionsCommand";
|
|
254
256
|
export * from "./ListClusterNodesCommand";
|
|
257
|
+
export * from "./ListClusterOperationsCommand";
|
|
255
258
|
export * from "./ListClusterSchedulerConfigsCommand";
|
|
256
259
|
export * from "./ListClustersCommand";
|
|
257
260
|
export * from "./ListCodeRepositoriesCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1665,7 +1665,12 @@ export const CleanupFailureErrorCode = {
|
|
|
1665
1665
|
CLIENT_ERROR: "ClientError",
|
|
1666
1666
|
INTERNAL_FAILURE: "InternalFailure",
|
|
1667
1667
|
};
|
|
1668
|
+
export const ClusterOnDrainTimeout = {
|
|
1669
|
+
FORCE: "Force",
|
|
1670
|
+
SKIP: "Skip",
|
|
1671
|
+
};
|
|
1668
1672
|
export const ClusterPatchingStrategy = {
|
|
1673
|
+
DRAIN_FIRST: "DrainFirst",
|
|
1669
1674
|
WHEN_ALL_IDLE: "WhenAllIdle",
|
|
1670
1675
|
WHEN_IDLE: "WhenIdle",
|
|
1671
1676
|
};
|
|
@@ -1770,6 +1775,18 @@ export const ClusterNodeRecovery = {
|
|
|
1770
1775
|
AUTOMATIC: "Automatic",
|
|
1771
1776
|
NONE: "None",
|
|
1772
1777
|
};
|
|
1778
|
+
export const ClusterOperationStatus = {
|
|
1779
|
+
DONE: "Done",
|
|
1780
|
+
IN_PROGRESS: "InProgress",
|
|
1781
|
+
SUPERSEDED: "Superseded",
|
|
1782
|
+
};
|
|
1783
|
+
export const ClusterOperationSortBy = {
|
|
1784
|
+
CREATION_TIME: "CreationTime",
|
|
1785
|
+
};
|
|
1786
|
+
export const ClusterOperationType = {
|
|
1787
|
+
DHC: "DeepHealthCheck",
|
|
1788
|
+
SCALING: "Scaling",
|
|
1789
|
+
};
|
|
1773
1790
|
export const ClusterSlurmConfigStrategy = {
|
|
1774
1791
|
MANAGED: "Managed",
|
|
1775
1792
|
MERGE: "Merge",
|
|
@@ -2811,6 +2828,16 @@ export const ExtensionStatus = {
|
|
|
2811
2828
|
UPDATE_FAILED: "UpdateFailed",
|
|
2812
2829
|
UPDATING: "Updating",
|
|
2813
2830
|
};
|
|
2831
|
+
export const ExtensionHealthIssueCode = {
|
|
2832
|
+
ACCESS_DENIED: "AccessDenied",
|
|
2833
|
+
CONFIGURATION_CONFLICT: "ConfigurationConflict",
|
|
2834
|
+
DEPENDENCY_UNREACHABLE: "DependencyUnreachable",
|
|
2835
|
+
EXTENSION_UNHEALTHY: "ExtensionUnhealthy",
|
|
2836
|
+
INTERNAL_FAILURE: "InternalFailure",
|
|
2837
|
+
INVALID_CONFIGURATION: "InvalidConfiguration",
|
|
2838
|
+
OTHER: "Other",
|
|
2839
|
+
RESOURCE_NOT_FOUND: "ResourceNotFound",
|
|
2840
|
+
};
|
|
2814
2841
|
export const SchedulerConfigComponent = {
|
|
2815
2842
|
FAIR_SHARE: "FairShare",
|
|
2816
2843
|
IDLE_RESOURCE_SHARING: "IdleResourceSharing",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListClusterExtensionVersionsCommand, } from "../commands/ListClusterExtensionVersionsCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateListClusterExtensionVersions = createPaginator(SageMakerClient, ListClusterExtensionVersionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListClusterOperationsCommand, } from "../commands/ListClusterOperationsCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateListClusterOperations = createPaginator(SageMakerClient, ListClusterOperationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -15,7 +15,9 @@ export * from "./ListAutoMLJobsPaginator";
|
|
|
15
15
|
export * from "./ListCandidatesForAutoMLJobPaginator";
|
|
16
16
|
export * from "./ListClusterEventsPaginator";
|
|
17
17
|
export * from "./ListClusterExtensionsPaginator";
|
|
18
|
+
export * from "./ListClusterExtensionVersionsPaginator";
|
|
18
19
|
export * from "./ListClusterNodesPaginator";
|
|
20
|
+
export * from "./ListClusterOperationsPaginator";
|
|
19
21
|
export * from "./ListClustersPaginator";
|
|
20
22
|
export * from "./ListClusterSchedulerConfigsPaginator";
|
|
21
23
|
export * from "./ListCodeRepositoriesPaginator";
|