@aws-sdk/client-sagemaker 3.1148.0 → 3.1150.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 +35 -0
- package/dist-cjs/index.js +223 -14
- package/dist-es/SageMaker.js +12 -0
- package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
- package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
- package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
- package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
- package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/SageMakerServiceException.js +1 -0
- package/dist-es/models/enums.js +12 -0
- package/dist-es/models/errors.js +4 -0
- package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +153 -13
- package/dist-types/SageMaker.d.ts +43 -0
- package/dist-types/SageMakerClient.d.ts +7 -2
- package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
- package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
- package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
- package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -1
- package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
- package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
- package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
- package/dist-types/commands/UpdateEndpointCommand.d.ts +2 -1
- package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/SageMakerServiceException.d.ts +1 -0
- package/dist-types/models/enums.d.ts +20 -0
- package/dist-types/models/errors.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +22 -37
- package/dist-types/models/models_1.d.ts +37 -22
- package/dist-types/models/models_2.d.ts +152 -285
- package/dist-types/models/models_3.d.ts +430 -401
- package/dist-types/models/models_4.d.ts +463 -343
- package/dist-types/models/models_5.d.ts +335 -4
- package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +22 -0
- package/dist-types/ts3.4/SageMaker.d.ts +93 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/SageMakerServiceException.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +14 -0
- package/dist-types/ts3.4/models/errors.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -9
- package/dist-types/ts3.4/models/models_1.d.ts +10 -5
- package/dist-types/ts3.4/models/models_2.d.ts +37 -78
- package/dist-types/ts3.4/models/models_3.d.ts +101 -95
- package/dist-types/ts3.4/models/models_4.d.ts +123 -89
- package/dist-types/ts3.4/models/models_5.d.ts +96 -1
- package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +22 -0
- package/package.json +4 -4
package/dist-es/SageMaker.js
CHANGED
|
@@ -75,6 +75,7 @@ import { CreateSpaceCommand, } from "./commands/CreateSpaceCommand";
|
|
|
75
75
|
import { CreateStudioLifecycleConfigCommand, } from "./commands/CreateStudioLifecycleConfigCommand";
|
|
76
76
|
import { CreateTrainingJobCommand, } from "./commands/CreateTrainingJobCommand";
|
|
77
77
|
import { CreateTrainingPlanCommand, } from "./commands/CreateTrainingPlanCommand";
|
|
78
|
+
import { CreateTrainingSessionCommand, } from "./commands/CreateTrainingSessionCommand";
|
|
78
79
|
import { CreateTransformJobCommand, } from "./commands/CreateTransformJobCommand";
|
|
79
80
|
import { CreateTrialCommand, } from "./commands/CreateTrialCommand";
|
|
80
81
|
import { CreateTrialComponentCommand, } from "./commands/CreateTrialComponentCommand";
|
|
@@ -138,6 +139,7 @@ import { DeleteSpaceCommand, } from "./commands/DeleteSpaceCommand";
|
|
|
138
139
|
import { DeleteStudioLifecycleConfigCommand, } from "./commands/DeleteStudioLifecycleConfigCommand";
|
|
139
140
|
import { DeleteTagsCommand, } from "./commands/DeleteTagsCommand";
|
|
140
141
|
import { DeleteTrainingJobCommand, } from "./commands/DeleteTrainingJobCommand";
|
|
142
|
+
import { DeleteTrainingSessionCommand, } from "./commands/DeleteTrainingSessionCommand";
|
|
141
143
|
import { DeleteTrialCommand, } from "./commands/DeleteTrialCommand";
|
|
142
144
|
import { DeleteTrialComponentCommand, } from "./commands/DeleteTrialComponentCommand";
|
|
143
145
|
import { DeleteUserProfileCommand, } from "./commands/DeleteUserProfileCommand";
|
|
@@ -214,6 +216,7 @@ import { DescribeSubscribedWorkteamCommand, } from "./commands/DescribeSubscribe
|
|
|
214
216
|
import { DescribeTrainingJobCommand, } from "./commands/DescribeTrainingJobCommand";
|
|
215
217
|
import { DescribeTrainingPlanCommand, } from "./commands/DescribeTrainingPlanCommand";
|
|
216
218
|
import { DescribeTrainingPlanExtensionHistoryCommand, } from "./commands/DescribeTrainingPlanExtensionHistoryCommand";
|
|
219
|
+
import { DescribeTrainingSessionCommand, } from "./commands/DescribeTrainingSessionCommand";
|
|
217
220
|
import { DescribeTransformJobCommand, } from "./commands/DescribeTransformJobCommand";
|
|
218
221
|
import { DescribeTrialCommand, } from "./commands/DescribeTrialCommand";
|
|
219
222
|
import { DescribeTrialComponentCommand, } from "./commands/DescribeTrialComponentCommand";
|
|
@@ -315,6 +318,7 @@ import { ListTagsCommand } from "./commands/ListTagsCommand";
|
|
|
315
318
|
import { ListTrainingJobsCommand, } from "./commands/ListTrainingJobsCommand";
|
|
316
319
|
import { ListTrainingJobsForHyperParameterTuningJobCommand, } from "./commands/ListTrainingJobsForHyperParameterTuningJobCommand";
|
|
317
320
|
import { ListTrainingPlansCommand, } from "./commands/ListTrainingPlansCommand";
|
|
321
|
+
import { ListTrainingSessionsCommand, } from "./commands/ListTrainingSessionsCommand";
|
|
318
322
|
import { ListTransformJobsCommand, } from "./commands/ListTransformJobsCommand";
|
|
319
323
|
import { ListTrialComponentsCommand, } from "./commands/ListTrialComponentsCommand";
|
|
320
324
|
import { ListTrialsCommand, } from "./commands/ListTrialsCommand";
|
|
@@ -357,6 +361,7 @@ import { StopOptimizationJobCommand, } from "./commands/StopOptimizationJobComma
|
|
|
357
361
|
import { StopPipelineExecutionCommand, } from "./commands/StopPipelineExecutionCommand";
|
|
358
362
|
import { StopProcessingJobCommand, } from "./commands/StopProcessingJobCommand";
|
|
359
363
|
import { StopTrainingJobCommand, } from "./commands/StopTrainingJobCommand";
|
|
364
|
+
import { StopTrainingSessionCommand, } from "./commands/StopTrainingSessionCommand";
|
|
360
365
|
import { StopTransformJobCommand, } from "./commands/StopTransformJobCommand";
|
|
361
366
|
import { UpdateActionCommand, } from "./commands/UpdateActionCommand";
|
|
362
367
|
import { UpdateAppImageConfigCommand, } from "./commands/UpdateAppImageConfigCommand";
|
|
@@ -485,6 +490,7 @@ import { paginateListTags } from "./pagination/ListTagsPaginator";
|
|
|
485
490
|
import { paginateListTrainingJobsForHyperParameterTuningJob, } from "./pagination/ListTrainingJobsForHyperParameterTuningJobPaginator";
|
|
486
491
|
import { paginateListTrainingJobs } from "./pagination/ListTrainingJobsPaginator";
|
|
487
492
|
import { paginateListTrainingPlans } from "./pagination/ListTrainingPlansPaginator";
|
|
493
|
+
import { paginateListTrainingSessions } from "./pagination/ListTrainingSessionsPaginator";
|
|
488
494
|
import { paginateListTransformJobs } from "./pagination/ListTransformJobsPaginator";
|
|
489
495
|
import { paginateListTrialComponents } from "./pagination/ListTrialComponentsPaginator";
|
|
490
496
|
import { paginateListTrials } from "./pagination/ListTrialsPaginator";
|
|
@@ -585,6 +591,7 @@ const commands = {
|
|
|
585
591
|
CreateStudioLifecycleConfigCommand,
|
|
586
592
|
CreateTrainingJobCommand,
|
|
587
593
|
CreateTrainingPlanCommand,
|
|
594
|
+
CreateTrainingSessionCommand,
|
|
588
595
|
CreateTransformJobCommand,
|
|
589
596
|
CreateTrialCommand,
|
|
590
597
|
CreateTrialComponentCommand,
|
|
@@ -648,6 +655,7 @@ const commands = {
|
|
|
648
655
|
DeleteStudioLifecycleConfigCommand,
|
|
649
656
|
DeleteTagsCommand,
|
|
650
657
|
DeleteTrainingJobCommand,
|
|
658
|
+
DeleteTrainingSessionCommand,
|
|
651
659
|
DeleteTrialCommand,
|
|
652
660
|
DeleteTrialComponentCommand,
|
|
653
661
|
DeleteUserProfileCommand,
|
|
@@ -724,6 +732,7 @@ const commands = {
|
|
|
724
732
|
DescribeTrainingJobCommand,
|
|
725
733
|
DescribeTrainingPlanCommand,
|
|
726
734
|
DescribeTrainingPlanExtensionHistoryCommand,
|
|
735
|
+
DescribeTrainingSessionCommand,
|
|
727
736
|
DescribeTransformJobCommand,
|
|
728
737
|
DescribeTrialCommand,
|
|
729
738
|
DescribeTrialComponentCommand,
|
|
@@ -825,6 +834,7 @@ const commands = {
|
|
|
825
834
|
ListTrainingJobsCommand,
|
|
826
835
|
ListTrainingJobsForHyperParameterTuningJobCommand,
|
|
827
836
|
ListTrainingPlansCommand,
|
|
837
|
+
ListTrainingSessionsCommand,
|
|
828
838
|
ListTransformJobsCommand,
|
|
829
839
|
ListTrialComponentsCommand,
|
|
830
840
|
ListTrialsCommand,
|
|
@@ -867,6 +877,7 @@ const commands = {
|
|
|
867
877
|
StopPipelineExecutionCommand,
|
|
868
878
|
StopProcessingJobCommand,
|
|
869
879
|
StopTrainingJobCommand,
|
|
880
|
+
StopTrainingSessionCommand,
|
|
870
881
|
StopTransformJobCommand,
|
|
871
882
|
UpdateActionCommand,
|
|
872
883
|
UpdateAppImageConfigCommand,
|
|
@@ -997,6 +1008,7 @@ const paginators = {
|
|
|
997
1008
|
paginateListTrainingJobs,
|
|
998
1009
|
paginateListTrainingJobsForHyperParameterTuningJob,
|
|
999
1010
|
paginateListTrainingPlans,
|
|
1011
|
+
paginateListTrainingSessions,
|
|
1000
1012
|
paginateListTransformJobs,
|
|
1001
1013
|
paginateListTrialComponents,
|
|
1002
1014
|
paginateListTrials,
|
|
@@ -74,6 +74,7 @@ export * from "./CreateSpaceCommand";
|
|
|
74
74
|
export * from "./CreateStudioLifecycleConfigCommand";
|
|
75
75
|
export * from "./CreateTrainingJobCommand";
|
|
76
76
|
export * from "./CreateTrainingPlanCommand";
|
|
77
|
+
export * from "./CreateTrainingSessionCommand";
|
|
77
78
|
export * from "./CreateTransformJobCommand";
|
|
78
79
|
export * from "./CreateTrialCommand";
|
|
79
80
|
export * from "./CreateTrialComponentCommand";
|
|
@@ -137,6 +138,7 @@ export * from "./DeleteSpaceCommand";
|
|
|
137
138
|
export * from "./DeleteStudioLifecycleConfigCommand";
|
|
138
139
|
export * from "./DeleteTagsCommand";
|
|
139
140
|
export * from "./DeleteTrainingJobCommand";
|
|
141
|
+
export * from "./DeleteTrainingSessionCommand";
|
|
140
142
|
export * from "./DeleteTrialCommand";
|
|
141
143
|
export * from "./DeleteTrialComponentCommand";
|
|
142
144
|
export * from "./DeleteUserProfileCommand";
|
|
@@ -213,6 +215,7 @@ export * from "./DescribeSubscribedWorkteamCommand";
|
|
|
213
215
|
export * from "./DescribeTrainingJobCommand";
|
|
214
216
|
export * from "./DescribeTrainingPlanCommand";
|
|
215
217
|
export * from "./DescribeTrainingPlanExtensionHistoryCommand";
|
|
218
|
+
export * from "./DescribeTrainingSessionCommand";
|
|
216
219
|
export * from "./DescribeTransformJobCommand";
|
|
217
220
|
export * from "./DescribeTrialCommand";
|
|
218
221
|
export * from "./DescribeTrialComponentCommand";
|
|
@@ -314,6 +317,7 @@ export * from "./ListTagsCommand";
|
|
|
314
317
|
export * from "./ListTrainingJobsCommand";
|
|
315
318
|
export * from "./ListTrainingJobsForHyperParameterTuningJobCommand";
|
|
316
319
|
export * from "./ListTrainingPlansCommand";
|
|
320
|
+
export * from "./ListTrainingSessionsCommand";
|
|
317
321
|
export * from "./ListTransformJobsCommand";
|
|
318
322
|
export * from "./ListTrialComponentsCommand";
|
|
319
323
|
export * from "./ListTrialsCommand";
|
|
@@ -356,6 +360,7 @@ export * from "./StopOptimizationJobCommand";
|
|
|
356
360
|
export * from "./StopPipelineExecutionCommand";
|
|
357
361
|
export * from "./StopProcessingJobCommand";
|
|
358
362
|
export * from "./StopTrainingJobCommand";
|
|
363
|
+
export * from "./StopTrainingSessionCommand";
|
|
359
364
|
export * from "./StopTransformJobCommand";
|
|
360
365
|
export * from "./UpdateActionCommand";
|
|
361
366
|
export * from "./UpdateAppImageConfigCommand";
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ServiceException as __ServiceException, } from "@smithy/core/client";
|
|
2
2
|
export { __ServiceException };
|
|
3
3
|
export class SageMakerServiceException extends __ServiceException {
|
|
4
|
+
static shapeId = "smithy.ts.sdk.synthetic.com.amazonaws.sagemaker#SageMakerServiceException";
|
|
4
5
|
constructor(options) {
|
|
5
6
|
super(options);
|
|
6
7
|
Object.setPrototypeOf(this, SageMakerServiceException.prototype);
|
package/dist-es/models/enums.js
CHANGED
|
@@ -3218,6 +3218,18 @@ export const SageMakerResourceName = {
|
|
|
3218
3218
|
STUDIO_APPS: "studio-apps",
|
|
3219
3219
|
TRAINING_JOB: "training-job",
|
|
3220
3220
|
};
|
|
3221
|
+
export const TrainingSessionStatus = {
|
|
3222
|
+
BLOCKED: "Blocked",
|
|
3223
|
+
CREATED: "Created",
|
|
3224
|
+
DELETING: "Deleting",
|
|
3225
|
+
DELETION_FAILED: "DeletionFailed",
|
|
3226
|
+
EXPIRED: "Expired",
|
|
3227
|
+
FAILED: "Failed",
|
|
3228
|
+
RUNNING: "Running",
|
|
3229
|
+
SCHEDULED: "Scheduled",
|
|
3230
|
+
STOPPED: "Stopped",
|
|
3231
|
+
STOPPING: "Stopping",
|
|
3232
|
+
};
|
|
3221
3233
|
export const TransformJobStatus = {
|
|
3222
3234
|
COMPLETED: "Completed",
|
|
3223
3235
|
FAILED: "Failed",
|
package/dist-es/models/errors.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
|
|
2
2
|
export class ResourceLimitExceeded extends __BaseException {
|
|
3
|
+
static shapeId = "com.amazonaws.sagemaker#ResourceLimitExceeded";
|
|
3
4
|
name = "ResourceLimitExceeded";
|
|
4
5
|
$fault = "client";
|
|
5
6
|
Message;
|
|
@@ -14,6 +15,7 @@ export class ResourceLimitExceeded extends __BaseException {
|
|
|
14
15
|
}
|
|
15
16
|
}
|
|
16
17
|
export class ResourceNotFound extends __BaseException {
|
|
18
|
+
static shapeId = "com.amazonaws.sagemaker#ResourceNotFound";
|
|
17
19
|
name = "ResourceNotFound";
|
|
18
20
|
$fault = "client";
|
|
19
21
|
Message;
|
|
@@ -28,6 +30,7 @@ export class ResourceNotFound extends __BaseException {
|
|
|
28
30
|
}
|
|
29
31
|
}
|
|
30
32
|
export class ConflictException extends __BaseException {
|
|
33
|
+
static shapeId = "com.amazonaws.sagemaker#ConflictException";
|
|
31
34
|
name = "ConflictException";
|
|
32
35
|
$fault = "client";
|
|
33
36
|
Message;
|
|
@@ -42,6 +45,7 @@ export class ConflictException extends __BaseException {
|
|
|
42
45
|
}
|
|
43
46
|
}
|
|
44
47
|
export class ResourceInUse extends __BaseException {
|
|
48
|
+
static shapeId = "com.amazonaws.sagemaker#ResourceInUse";
|
|
45
49
|
name = "ResourceInUse";
|
|
46
50
|
$fault = "client";
|
|
47
51
|
Message;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import { createPaginator } from "@smithy/core";
|
|
2
|
+
import { ListTrainingSessionsCommand, } from "../commands/ListTrainingSessionsCommand";
|
|
3
|
+
import { SageMakerClient } from "../SageMakerClient";
|
|
4
|
+
export const paginateListTrainingSessions = createPaginator(SageMakerClient, ListTrainingSessionsCommand, "NextToken", "NextToken", "MaxResults");
|
|
@@ -81,6 +81,7 @@ export * from "./ListTagsPaginator";
|
|
|
81
81
|
export * from "./ListTrainingJobsPaginator";
|
|
82
82
|
export * from "./ListTrainingJobsForHyperParameterTuningJobPaginator";
|
|
83
83
|
export * from "./ListTrainingPlansPaginator";
|
|
84
|
+
export * from "./ListTrainingSessionsPaginator";
|
|
84
85
|
export * from "./ListTransformJobsPaginator";
|
|
85
86
|
export * from "./ListTrialComponentsPaginator";
|
|
86
87
|
export * from "./ListTrialsPaginator";
|