@aws-sdk/client-sagemaker 3.1149.0 → 3.1151.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 (110) hide show
  1. package/README.md +35 -0
  2. package/dist-cjs/index.js +346 -57
  3. package/dist-es/SageMaker.js +12 -0
  4. package/dist-es/commands/CreateTrainingSessionCommand.js +4 -0
  5. package/dist-es/commands/DeleteTrainingSessionCommand.js +4 -0
  6. package/dist-es/commands/DescribeTrainingSessionCommand.js +4 -0
  7. package/dist-es/commands/ListTrainingSessionsCommand.js +4 -0
  8. package/dist-es/commands/StopTrainingSessionCommand.js +4 -0
  9. package/dist-es/commands/index.js +5 -0
  10. package/dist-es/models/enums.js +22 -0
  11. package/dist-es/pagination/ListTrainingSessionsPaginator.js +4 -0
  12. package/dist-es/pagination/index.js +1 -0
  13. package/dist-es/schemas/schemas_0.js +263 -56
  14. package/dist-types/SageMaker.d.ts +43 -0
  15. package/dist-types/SageMakerClient.d.ts +7 -2
  16. package/dist-types/commands/CreateTrainingSessionCommand.d.ts +110 -0
  17. package/dist-types/commands/DeleteTrainingSessionCommand.d.ts +72 -0
  18. package/dist-types/commands/DescribeExperimentCommand.d.ts +2 -1
  19. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  21. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeHubCommand.d.ts +1 -2
  23. package/dist-types/commands/DescribePipelineExecutionCommand.d.ts +1 -1
  24. package/dist-types/commands/DescribeTrainingSessionCommand.d.ts +118 -0
  25. package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListDevicesCommand.d.ts +1 -1
  27. package/dist-types/commands/ListDomainsCommand.d.ts +1 -1
  28. package/dist-types/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  29. package/dist-types/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  30. package/dist-types/commands/ListEndpointConfigsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListEndpointsCommand.d.ts +1 -1
  32. package/dist-types/commands/ListExperimentsCommand.d.ts +1 -1
  33. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  34. package/dist-types/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  35. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +42 -0
  36. package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
  37. package/dist-types/commands/ListTrainingSessionsCommand.d.ts +84 -0
  38. package/dist-types/commands/SearchCommand.d.ts +2 -2
  39. package/dist-types/commands/StopTrainingSessionCommand.d.ts +72 -0
  40. package/dist-types/commands/UpdateContextCommand.d.ts +2 -1
  41. package/dist-types/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  42. package/dist-types/commands/UpdateDevicesCommand.d.ts +1 -1
  43. package/dist-types/commands/UpdateDomainCommand.d.ts +1 -1
  44. package/dist-types/commands/UpdateEndpointCommand.d.ts +1 -1
  45. package/dist-types/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  46. package/dist-types/commands/UpdateExperimentCommand.d.ts +1 -1
  47. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  48. package/dist-types/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  49. package/dist-types/commands/UpdateHubCommand.d.ts +1 -1
  50. package/dist-types/commands/UpdateHubContentCommand.d.ts +1 -1
  51. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  52. package/dist-types/commands/UpdateImageCommand.d.ts +1 -1
  53. package/dist-types/commands/index.d.ts +5 -0
  54. package/dist-types/models/enums.d.ts +49 -0
  55. package/dist-types/models/models_0.d.ts +80 -155
  56. package/dist-types/models/models_1.d.ts +156 -91
  57. package/dist-types/models/models_2.d.ts +221 -367
  58. package/dist-types/models/models_3.d.ts +4456 -4437
  59. package/dist-types/models/models_4.d.ts +3991 -3817
  60. package/dist-types/models/models_5.d.ts +501 -4
  61. package/dist-types/pagination/ListTrainingSessionsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/schemas/schemas_0.d.ts +29 -0
  64. package/dist-types/ts3.4/SageMaker.d.ts +93 -0
  65. package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
  66. package/dist-types/ts3.4/commands/CreateTrainingSessionCommand.d.ts +39 -0
  67. package/dist-types/ts3.4/commands/DeleteTrainingSessionCommand.d.ts +39 -0
  68. package/dist-types/ts3.4/commands/DescribeExperimentCommand.d.ts +2 -1
  69. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/DescribeFeatureMetadataCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/DescribeHubCommand.d.ts +1 -2
  73. package/dist-types/ts3.4/commands/DescribeTrainingSessionCommand.d.ts +42 -0
  74. package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/ListDevicesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/ListDomainsCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/ListEdgeDeploymentPlansCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/ListEdgePackagingJobsCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/commands/ListEndpointConfigsCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/ListEndpointsCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/ListExperimentsCommand.d.ts +1 -1
  82. package/dist-types/ts3.4/commands/ListFeatureGroupsCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ListFlowDefinitionsCommand.d.ts +1 -2
  84. package/dist-types/ts3.4/commands/ListTrainingSessionsCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/StopTrainingSessionCommand.d.ts +39 -0
  86. package/dist-types/ts3.4/commands/UpdateContextCommand.d.ts +2 -1
  87. package/dist-types/ts3.4/commands/UpdateDeviceFleetCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/UpdateDevicesCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/UpdateDomainCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/UpdateEndpointCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/UpdateEndpointWeightsAndCapacitiesCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/UpdateExperimentCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/UpdateFeatureGroupCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/UpdateFeatureMetadataCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/UpdateHubCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/UpdateImageCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  100. package/dist-types/ts3.4/models/enums.d.ts +27 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +20 -36
  102. package/dist-types/ts3.4/models/models_1.d.ts +41 -22
  103. package/dist-types/ts3.4/models/models_2.d.ts +57 -101
  104. package/dist-types/ts3.4/models/models_3.d.ts +147 -145
  105. package/dist-types/ts3.4/models/models_4.d.ts +185 -140
  106. package/dist-types/ts3.4/models/models_5.d.ts +146 -1
  107. package/dist-types/ts3.4/pagination/ListTrainingSessionsPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  109. package/dist-types/ts3.4/schemas/schemas_0.d.ts +29 -0
  110. package/package.json +3 -3
@@ -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,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CreateTrainingSession$ } from "../schemas/schemas_0";
3
+ export class CreateTrainingSessionCommand extends command(_ep0, _mw0, "CreateTrainingSession", CreateTrainingSession$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DeleteTrainingSession$ } from "../schemas/schemas_0";
3
+ export class DeleteTrainingSessionCommand extends command(_ep0, _mw0, "DeleteTrainingSession", DeleteTrainingSession$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { DescribeTrainingSession$ } from "../schemas/schemas_0";
3
+ export class DescribeTrainingSessionCommand extends command(_ep0, _mw0, "DescribeTrainingSession", DescribeTrainingSession$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { ListTrainingSessions$ } from "../schemas/schemas_0";
3
+ export class ListTrainingSessionsCommand extends command(_ep0, _mw0, "ListTrainingSessions", ListTrainingSessions$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { StopTrainingSession$ } from "../schemas/schemas_0";
3
+ export class StopTrainingSessionCommand extends command(_ep0, _mw0, "StopTrainingSession", StopTrainingSession$) {
4
+ }
@@ -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";
@@ -1661,6 +1661,10 @@ export const ClarifyTextLanguage = {
1661
1661
  URDU: "ur",
1662
1662
  YORUBA: "yo",
1663
1663
  };
1664
+ export const CleanupFailureErrorCode = {
1665
+ CLIENT_ERROR: "ClientError",
1666
+ INTERNAL_FAILURE: "InternalFailure",
1667
+ };
1664
1668
  export const ClusterPatchingStrategy = {
1665
1669
  WHEN_ALL_IDLE: "WhenAllIdle",
1666
1670
  WHEN_IDLE: "WhenIdle",
@@ -3118,6 +3122,7 @@ export const PipelineStatus = {
3118
3122
  DELETING: "Deleting",
3119
3123
  };
3120
3124
  export const PipelineExecutionStatus = {
3125
+ COMPLETED_WITH_FAILURES: "CompletedWithFailures",
3121
3126
  EXECUTING: "Executing",
3122
3127
  FAILED: "Failed",
3123
3128
  STOPPED: "Stopped",
@@ -3218,6 +3223,18 @@ export const SageMakerResourceName = {
3218
3223
  STUDIO_APPS: "studio-apps",
3219
3224
  TRAINING_JOB: "training-job",
3220
3225
  };
3226
+ export const TrainingSessionStatus = {
3227
+ BLOCKED: "Blocked",
3228
+ CREATED: "Created",
3229
+ DELETING: "Deleting",
3230
+ DELETION_FAILED: "DeletionFailed",
3231
+ EXPIRED: "Expired",
3232
+ FAILED: "Failed",
3233
+ RUNNING: "Running",
3234
+ SCHEDULED: "Scheduled",
3235
+ STOPPED: "Stopped",
3236
+ STOPPING: "Stopping",
3237
+ };
3221
3238
  export const TransformJobStatus = {
3222
3239
  COMPLETED: "Completed",
3223
3240
  FAILED: "Failed",
@@ -3288,6 +3305,11 @@ export const Operator = {
3288
3305
  NOT_EQUALS: "NotEquals",
3289
3306
  NOT_EXISTS: "NotExists",
3290
3307
  };
3308
+ export const ForEachStatus = {
3309
+ FAILED: "Failed",
3310
+ STOPPED: "Stopped",
3311
+ SUCCEEDED: "Succeeded",
3312
+ };
3291
3313
  export const SagemakerServicecatalogStatus = {
3292
3314
  DISABLED: "Disabled",
3293
3315
  ENABLED: "Enabled",
@@ -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";