@aws-sdk/client-sagemaker 3.1174.0 → 3.1176.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 +28 -0
- package/dist-cjs/index.js +253 -24
- package/dist-es/SageMaker.js +14 -0
- package/dist-es/commands/DescribeCapacityReservationCommand.js +4 -0
- package/dist-es/commands/DescribeResourceAssociationsCommand.js +4 -0
- package/dist-es/commands/GetCapacityReservationUsageCommand.js +4 -0
- package/dist-es/commands/ListCapacityReservationsCommand.js +4 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/enums.js +26 -0
- package/dist-es/pagination/DescribeResourceAssociationsPaginator.js +4 -0
- package/dist-es/pagination/GetCapacityReservationUsagePaginator.js +4 -0
- package/dist-es/pagination/ListCapacityReservationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +169 -23
- package/dist-types/SageMaker.d.ts +50 -0
- package/dist-types/SageMakerClient.d.ts +6 -2
- package/dist-types/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCapacityReservationCommand.d.ts +86 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterOperationCommand.d.ts +1 -1
- package/dist-types/commands/DescribeResourceAssociationsCommand.d.ts +96 -0
- package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +92 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/commands/ListCapacityReservationsCommand.d.ts +95 -0
- package/dist-types/commands/QueryLineageCommand.d.ts +2 -1
- package/dist-types/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/commands/RemoveInferenceGatewayCommand.d.ts +1 -1
- package/dist-types/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/enums.d.ts +74 -0
- package/dist-types/models/models_0.d.ts +283 -319
- package/dist-types/models/models_1.d.ts +320 -178
- package/dist-types/models/models_2.d.ts +199 -217
- package/dist-types/models/models_3.d.ts +318 -621
- package/dist-types/models/models_4.d.ts +4241 -4118
- package/dist-types/models/models_5.d.ts +535 -6
- package/dist-types/pagination/DescribeResourceAssociationsPaginator.d.ts +7 -0
- package/dist-types/pagination/GetCapacityReservationUsagePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCapacityReservationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +20 -0
- package/dist-types/ts3.4/SageMaker.d.ts +90 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +24 -0
- package/dist-types/ts3.4/commands/CreateModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCapacityReservationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeClusterExtensionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeClusterOperationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeResourceAssociationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ImportHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/QueryLineageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/RegisterDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RemoveInferenceGatewayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RenderUiTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetryPipelineExecutionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/models_0.d.ts +85 -73
- package/dist-types/ts3.4/models/models_1.d.ts +78 -44
- package/dist-types/ts3.4/models/models_2.d.ts +49 -60
- package/dist-types/ts3.4/models/models_3.d.ts +87 -141
- package/dist-types/ts3.4/models/models_4.d.ts +166 -154
- package/dist-types/ts3.4/models/models_5.d.ts +148 -6
- package/dist-types/ts3.4/pagination/DescribeResourceAssociationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/GetCapacityReservationUsagePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCapacityReservationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +20 -0
- package/package.json +3 -3
package/dist-es/SageMaker.js
CHANGED
|
@@ -164,6 +164,7 @@ import { DescribeAppImageConfigCommand, } from "./commands/DescribeAppImageConfi
|
|
|
164
164
|
import { DescribeArtifactCommand, } from "./commands/DescribeArtifactCommand";
|
|
165
165
|
import { DescribeAutoMLJobCommand, } from "./commands/DescribeAutoMLJobCommand";
|
|
166
166
|
import { DescribeAutoMLJobV2Command, } from "./commands/DescribeAutoMLJobV2Command";
|
|
167
|
+
import { DescribeCapacityReservationCommand, } from "./commands/DescribeCapacityReservationCommand";
|
|
167
168
|
import { DescribeClusterCommand, } from "./commands/DescribeClusterCommand";
|
|
168
169
|
import { DescribeClusterEventCommand, } from "./commands/DescribeClusterEventCommand";
|
|
169
170
|
import { DescribeClusterExtensionCommand, } from "./commands/DescribeClusterExtensionCommand";
|
|
@@ -222,6 +223,7 @@ import { DescribePipelineExecutionCommand, } from "./commands/DescribePipelineEx
|
|
|
222
223
|
import { DescribeProcessingJobCommand, } from "./commands/DescribeProcessingJobCommand";
|
|
223
224
|
import { DescribeProjectCommand, } from "./commands/DescribeProjectCommand";
|
|
224
225
|
import { DescribeReservedCapacityCommand, } from "./commands/DescribeReservedCapacityCommand";
|
|
226
|
+
import { DescribeResourceAssociationsCommand, } from "./commands/DescribeResourceAssociationsCommand";
|
|
225
227
|
import { DescribeSpaceCommand, } from "./commands/DescribeSpaceCommand";
|
|
226
228
|
import { DescribeStudioLifecycleConfigCommand, } from "./commands/DescribeStudioLifecycleConfigCommand";
|
|
227
229
|
import { DescribeSubscribedWorkteamCommand, } from "./commands/DescribeSubscribedWorkteamCommand";
|
|
@@ -240,6 +242,7 @@ import { DisableSagemakerServicecatalogPortfolioCommand, } from "./commands/Disa
|
|
|
240
242
|
import { DisassociateTrialComponentCommand, } from "./commands/DisassociateTrialComponentCommand";
|
|
241
243
|
import { EnableSagemakerServicecatalogPortfolioCommand, } from "./commands/EnableSagemakerServicecatalogPortfolioCommand";
|
|
242
244
|
import { ExtendTrainingPlanCommand, } from "./commands/ExtendTrainingPlanCommand";
|
|
245
|
+
import { GetCapacityReservationUsageCommand, } from "./commands/GetCapacityReservationUsageCommand";
|
|
243
246
|
import { GetDeviceFleetReportCommand, } from "./commands/GetDeviceFleetReportCommand";
|
|
244
247
|
import { GetEndpointPolicyCommand, } from "./commands/GetEndpointPolicyCommand";
|
|
245
248
|
import { GetLineageGroupPolicyCommand, } from "./commands/GetLineageGroupPolicyCommand";
|
|
@@ -260,6 +263,7 @@ import { ListArtifactsCommand, } from "./commands/ListArtifactsCommand";
|
|
|
260
263
|
import { ListAssociationsCommand, } from "./commands/ListAssociationsCommand";
|
|
261
264
|
import { ListAutoMLJobsCommand, } from "./commands/ListAutoMLJobsCommand";
|
|
262
265
|
import { ListCandidatesForAutoMLJobCommand, } from "./commands/ListCandidatesForAutoMLJobCommand";
|
|
266
|
+
import { ListCapacityReservationsCommand, } from "./commands/ListCapacityReservationsCommand";
|
|
263
267
|
import { ListClusterEventsCommand, } from "./commands/ListClusterEventsCommand";
|
|
264
268
|
import { ListClusterExtensionsCommand, } from "./commands/ListClusterExtensionsCommand";
|
|
265
269
|
import { ListClusterExtensionVersionsCommand, } from "./commands/ListClusterExtensionVersionsCommand";
|
|
@@ -434,7 +438,9 @@ import { UpdateUserProfileCommand, } from "./commands/UpdateUserProfileCommand";
|
|
|
434
438
|
import { UpdateWorkforceCommand, } from "./commands/UpdateWorkforceCommand";
|
|
435
439
|
import { UpdateWorkteamCommand, } from "./commands/UpdateWorkteamCommand";
|
|
436
440
|
import { paginateCreateHubContentPresignedUrls } from "./pagination/CreateHubContentPresignedUrlsPaginator";
|
|
441
|
+
import { paginateDescribeResourceAssociations } from "./pagination/DescribeResourceAssociationsPaginator";
|
|
437
442
|
import { paginateDescribeTrainingPlanExtensionHistory, } from "./pagination/DescribeTrainingPlanExtensionHistoryPaginator";
|
|
443
|
+
import { paginateGetCapacityReservationUsage } from "./pagination/GetCapacityReservationUsagePaginator";
|
|
438
444
|
import { paginateListActions } from "./pagination/ListActionsPaginator";
|
|
439
445
|
import { paginateListAIBenchmarkJobs } from "./pagination/ListAIBenchmarkJobsPaginator";
|
|
440
446
|
import { paginateListAIRecommendationJobs } from "./pagination/ListAIRecommendationJobsPaginator";
|
|
@@ -447,6 +453,7 @@ import { paginateListArtifacts } from "./pagination/ListArtifactsPaginator";
|
|
|
447
453
|
import { paginateListAssociations } from "./pagination/ListAssociationsPaginator";
|
|
448
454
|
import { paginateListAutoMLJobs } from "./pagination/ListAutoMLJobsPaginator";
|
|
449
455
|
import { paginateListCandidatesForAutoMLJob } from "./pagination/ListCandidatesForAutoMLJobPaginator";
|
|
456
|
+
import { paginateListCapacityReservations } from "./pagination/ListCapacityReservationsPaginator";
|
|
450
457
|
import { paginateListClusterEvents } from "./pagination/ListClusterEventsPaginator";
|
|
451
458
|
import { paginateListClusterExtensions } from "./pagination/ListClusterExtensionsPaginator";
|
|
452
459
|
import { paginateListClusterExtensionVersions } from "./pagination/ListClusterExtensionVersionsPaginator";
|
|
@@ -711,6 +718,7 @@ const commands = {
|
|
|
711
718
|
DescribeArtifactCommand,
|
|
712
719
|
DescribeAutoMLJobCommand,
|
|
713
720
|
DescribeAutoMLJobV2Command,
|
|
721
|
+
DescribeCapacityReservationCommand,
|
|
714
722
|
DescribeClusterCommand,
|
|
715
723
|
DescribeClusterEventCommand,
|
|
716
724
|
DescribeClusterExtensionCommand,
|
|
@@ -769,6 +777,7 @@ const commands = {
|
|
|
769
777
|
DescribeProcessingJobCommand,
|
|
770
778
|
DescribeProjectCommand,
|
|
771
779
|
DescribeReservedCapacityCommand,
|
|
780
|
+
DescribeResourceAssociationsCommand,
|
|
772
781
|
DescribeSpaceCommand,
|
|
773
782
|
DescribeStudioLifecycleConfigCommand,
|
|
774
783
|
DescribeSubscribedWorkteamCommand,
|
|
@@ -787,6 +796,7 @@ const commands = {
|
|
|
787
796
|
DisassociateTrialComponentCommand,
|
|
788
797
|
EnableSagemakerServicecatalogPortfolioCommand,
|
|
789
798
|
ExtendTrainingPlanCommand,
|
|
799
|
+
GetCapacityReservationUsageCommand,
|
|
790
800
|
GetDeviceFleetReportCommand,
|
|
791
801
|
GetEndpointPolicyCommand,
|
|
792
802
|
GetLineageGroupPolicyCommand,
|
|
@@ -807,6 +817,7 @@ const commands = {
|
|
|
807
817
|
ListAssociationsCommand,
|
|
808
818
|
ListAutoMLJobsCommand,
|
|
809
819
|
ListCandidatesForAutoMLJobCommand,
|
|
820
|
+
ListCapacityReservationsCommand,
|
|
810
821
|
ListClusterEventsCommand,
|
|
811
822
|
ListClusterExtensionsCommand,
|
|
812
823
|
ListClusterExtensionVersionsCommand,
|
|
@@ -983,7 +994,9 @@ const commands = {
|
|
|
983
994
|
};
|
|
984
995
|
const paginators = {
|
|
985
996
|
paginateCreateHubContentPresignedUrls,
|
|
997
|
+
paginateDescribeResourceAssociations,
|
|
986
998
|
paginateDescribeTrainingPlanExtensionHistory,
|
|
999
|
+
paginateGetCapacityReservationUsage,
|
|
987
1000
|
paginateListActions,
|
|
988
1001
|
paginateListAIBenchmarkJobs,
|
|
989
1002
|
paginateListAIRecommendationJobs,
|
|
@@ -996,6 +1009,7 @@ const paginators = {
|
|
|
996
1009
|
paginateListAssociations,
|
|
997
1010
|
paginateListAutoMLJobs,
|
|
998
1011
|
paginateListCandidatesForAutoMLJob,
|
|
1012
|
+
paginateListCapacityReservations,
|
|
999
1013
|
paginateListClusterEvents,
|
|
1000
1014
|
paginateListClusterExtensions,
|
|
1001
1015
|
paginateListClusterExtensionVersions,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { _ep0, _mw0, command } from "../commandBuilder";
|
|
2
|
+
import { DescribeResourceAssociations$ } from "../schemas/schemas_0";
|
|
3
|
+
export class DescribeResourceAssociationsCommand extends command(_ep0, _mw0, "DescribeResourceAssociations", DescribeResourceAssociations$) {
|
|
4
|
+
}
|
|
@@ -163,6 +163,7 @@ export * from "./DescribeAppImageConfigCommand";
|
|
|
163
163
|
export * from "./DescribeArtifactCommand";
|
|
164
164
|
export * from "./DescribeAutoMLJobCommand";
|
|
165
165
|
export * from "./DescribeAutoMLJobV2Command";
|
|
166
|
+
export * from "./DescribeCapacityReservationCommand";
|
|
166
167
|
export * from "./DescribeClusterCommand";
|
|
167
168
|
export * from "./DescribeClusterEventCommand";
|
|
168
169
|
export * from "./DescribeClusterExtensionCommand";
|
|
@@ -221,6 +222,7 @@ export * from "./DescribePipelineExecutionCommand";
|
|
|
221
222
|
export * from "./DescribeProcessingJobCommand";
|
|
222
223
|
export * from "./DescribeProjectCommand";
|
|
223
224
|
export * from "./DescribeReservedCapacityCommand";
|
|
225
|
+
export * from "./DescribeResourceAssociationsCommand";
|
|
224
226
|
export * from "./DescribeSpaceCommand";
|
|
225
227
|
export * from "./DescribeStudioLifecycleConfigCommand";
|
|
226
228
|
export * from "./DescribeSubscribedWorkteamCommand";
|
|
@@ -239,6 +241,7 @@ export * from "./DisableSagemakerServicecatalogPortfolioCommand";
|
|
|
239
241
|
export * from "./DisassociateTrialComponentCommand";
|
|
240
242
|
export * from "./EnableSagemakerServicecatalogPortfolioCommand";
|
|
241
243
|
export * from "./ExtendTrainingPlanCommand";
|
|
244
|
+
export * from "./GetCapacityReservationUsageCommand";
|
|
242
245
|
export * from "./GetDeviceFleetReportCommand";
|
|
243
246
|
export * from "./GetEndpointPolicyCommand";
|
|
244
247
|
export * from "./GetLineageGroupPolicyCommand";
|
|
@@ -259,6 +262,7 @@ export * from "./ListArtifactsCommand";
|
|
|
259
262
|
export * from "./ListAssociationsCommand";
|
|
260
263
|
export * from "./ListAutoMLJobsCommand";
|
|
261
264
|
export * from "./ListCandidatesForAutoMLJobCommand";
|
|
265
|
+
export * from "./ListCapacityReservationsCommand";
|
|
262
266
|
export * from "./ListClusterEventsCommand";
|
|
263
267
|
export * from "./ListClusterExtensionVersionsCommand";
|
|
264
268
|
export * from "./ListClusterExtensionsCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1581,6 +1581,31 @@ export const CapacityReservationType = {
|
|
|
1581
1581
|
CRG: "CRG",
|
|
1582
1582
|
ODCR: "ODCR",
|
|
1583
1583
|
};
|
|
1584
|
+
export const CapacityReservationStatus = {
|
|
1585
|
+
ACTIVE: "Active",
|
|
1586
|
+
EXPIRED: "Expired",
|
|
1587
|
+
SCHEDULED: "Scheduled",
|
|
1588
|
+
};
|
|
1589
|
+
export const CapacityReservationEndpointSharing = {
|
|
1590
|
+
MULTIPLE_ENDPOINTS: "MultipleEndpoints",
|
|
1591
|
+
SINGLE_ENDPOINT: "SingleEndpoint",
|
|
1592
|
+
};
|
|
1593
|
+
export const CapacityReservationMatchCriteria = {
|
|
1594
|
+
OPEN: "Open",
|
|
1595
|
+
TARGETED: "Targeted",
|
|
1596
|
+
};
|
|
1597
|
+
export const CapacityReservationOptInStatus = {
|
|
1598
|
+
ACTIVE: "Active",
|
|
1599
|
+
INACTIVE: "Inactive",
|
|
1600
|
+
PENDING: "Pending",
|
|
1601
|
+
};
|
|
1602
|
+
export const CapacityReservationFilterName = {
|
|
1603
|
+
STATUS: "Status",
|
|
1604
|
+
};
|
|
1605
|
+
export const CapacityReservationResourceType = {
|
|
1606
|
+
ENDPOINTS: "Endpoints",
|
|
1607
|
+
HYPERPOD_CLUSTERS: "HyperPodClusters",
|
|
1608
|
+
};
|
|
1584
1609
|
export const CapacityReservationPreference = {
|
|
1585
1610
|
CAPACITY_RESERVATIONS_ONLY: "capacity-reservations-only",
|
|
1586
1611
|
};
|
|
@@ -1762,6 +1787,7 @@ export const ClusterSlurmNodeType = {
|
|
|
1762
1787
|
export const SoftwareUpdateStatus = {
|
|
1763
1788
|
FAILED: "Failed",
|
|
1764
1789
|
IN_PROGRESS: "InProgress",
|
|
1790
|
+
PARTIALLY_SUCCEEDED: "PartiallySucceeded",
|
|
1765
1791
|
PENDING: "Pending",
|
|
1766
1792
|
ROLLBACK_COMPLETE: "RollbackComplete",
|
|
1767
1793
|
ROLLBACK_IN_PROGRESS: "RollbackInProgress",
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { DescribeResourceAssociationsCommand, } from "../commands/DescribeResourceAssociationsCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateDescribeResourceAssociations = createPaginator(SageMakerClient, DescribeResourceAssociationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { GetCapacityReservationUsageCommand, } from "../commands/GetCapacityReservationUsageCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateGetCapacityReservationUsage = createPaginator(SageMakerClient, GetCapacityReservationUsageCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListCapacityReservationsCommand, } from "../commands/ListCapacityReservationsCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateListCapacityReservations = createPaginator(SageMakerClient, ListCapacityReservationsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./Interfaces";
|
|
2
2
|
export * from "./CreateHubContentPresignedUrlsPaginator";
|
|
3
|
+
export * from "./DescribeResourceAssociationsPaginator";
|
|
3
4
|
export * from "./DescribeTrainingPlanExtensionHistoryPaginator";
|
|
5
|
+
export * from "./GetCapacityReservationUsagePaginator";
|
|
4
6
|
export * from "./ListActionsPaginator";
|
|
5
7
|
export * from "./ListAIBenchmarkJobsPaginator";
|
|
6
8
|
export * from "./ListAIRecommendationJobsPaginator";
|
|
@@ -13,6 +15,7 @@ export * from "./ListArtifactsPaginator";
|
|
|
13
15
|
export * from "./ListAssociationsPaginator";
|
|
14
16
|
export * from "./ListAutoMLJobsPaginator";
|
|
15
17
|
export * from "./ListCandidatesForAutoMLJobPaginator";
|
|
18
|
+
export * from "./ListCapacityReservationsPaginator";
|
|
16
19
|
export * from "./ListClusterEventsPaginator";
|
|
17
20
|
export * from "./ListClusterExtensionsPaginator";
|
|
18
21
|
export * from "./ListClusterExtensionVersionsPaginator";
|