@aws-sdk/client-sagemaker 3.474.0 → 3.475.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 (130) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/SageMaker.js +2 -0
  3. package/dist-cjs/commands/DeleteCompilationJobCommand.js +51 -0
  4. package/dist-cjs/commands/index.js +1 -0
  5. package/dist-cjs/models/models_0.js +65 -2
  6. package/dist-cjs/models/models_1.js +3 -0
  7. package/dist-cjs/models/models_2.js +5 -0
  8. package/dist-cjs/models/models_3.js +3 -0
  9. package/dist-cjs/pagination/ListFeatureGroupsPaginator.js +29 -0
  10. package/dist-cjs/pagination/index.js +1 -0
  11. package/dist-cjs/protocols/Aws_json1_1.js +144 -42
  12. package/dist-es/SageMaker.js +2 -0
  13. package/dist-es/commands/DeleteCompilationJobCommand.js +47 -0
  14. package/dist-es/commands/index.js +1 -0
  15. package/dist-es/models/models_0.js +65 -2
  16. package/dist-es/models/models_1.js +3 -0
  17. package/dist-es/models/models_2.js +5 -0
  18. package/dist-es/models/models_3.js +3 -0
  19. package/dist-es/pagination/ListFeatureGroupsPaginator.js +25 -0
  20. package/dist-es/pagination/index.js +1 -0
  21. package/dist-es/protocols/Aws_json1_1.js +130 -30
  22. package/dist-types/SageMaker.d.ts +7 -0
  23. package/dist-types/SageMakerClient.d.ts +3 -2
  24. package/dist-types/commands/AddAssociationCommand.d.ts +1 -1
  25. package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +1 -1
  26. package/dist-types/commands/CreateAlgorithmCommand.d.ts +5 -5
  27. package/dist-types/commands/CreateAppCommand.d.ts +2 -2
  28. package/dist-types/commands/CreateAppImageConfigCommand.d.ts +5 -0
  29. package/dist-types/commands/CreateArtifactCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateAutoMLJobCommand.d.ts +5 -5
  31. package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +27 -24
  32. package/dist-types/commands/CreateCompilationJobCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateDomainCommand.d.ts +21 -21
  34. package/dist-types/commands/CreateEndpointCommand.d.ts +7 -7
  35. package/dist-types/commands/CreateEndpointConfigCommand.d.ts +3 -3
  36. package/dist-types/commands/CreateFeatureGroupCommand.d.ts +3 -3
  37. package/dist-types/commands/CreateFlowDefinitionCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +34 -34
  39. package/dist-types/commands/CreateInferenceRecommendationsJobCommand.d.ts +9 -9
  40. package/dist-types/commands/CreateModelCommand.d.ts +16 -16
  41. package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -5
  42. package/dist-types/commands/CreatePipelineCommand.d.ts +4 -0
  43. package/dist-types/commands/CreateSpaceCommand.d.ts +9 -9
  44. package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -3
  46. package/dist-types/commands/CreateUserProfileCommand.d.ts +9 -9
  47. package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
  48. package/dist-types/commands/DeleteAlgorithmCommand.d.ts +4 -0
  49. package/dist-types/commands/DeleteAppCommand.d.ts +2 -2
  50. package/dist-types/commands/DeleteCompilationJobCommand.d.ts +81 -0
  51. package/dist-types/commands/DeletePipelineCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +5 -5
  53. package/dist-types/commands/DescribeAppCommand.d.ts +4 -4
  54. package/dist-types/commands/DescribeAppImageConfigCommand.d.ts +5 -0
  55. package/dist-types/commands/DescribeAutoMLJobCommand.d.ts +10 -10
  56. package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +50 -47
  57. package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeDomainCommand.d.ts +18 -18
  59. package/dist-types/commands/DescribeEndpointCommand.d.ts +10 -10
  60. package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +3 -3
  61. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +3 -3
  62. package/dist-types/commands/DescribeFlowDefinitionCommand.d.ts +1 -1
  63. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +38 -38
  64. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +13 -13
  65. package/dist-types/commands/DescribeModelCommand.d.ts +17 -17
  66. package/dist-types/commands/DescribeModelPackageCommand.d.ts +5 -5
  67. package/dist-types/commands/DescribePipelineCommand.d.ts +1 -1
  68. package/dist-types/commands/DescribeSpaceCommand.d.ts +10 -10
  69. package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
  70. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +12 -12
  71. package/dist-types/commands/DescribeUserProfileCommand.d.ts +13 -9
  72. package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
  73. package/dist-types/commands/GetSearchSuggestionsCommand.d.ts +1 -1
  74. package/dist-types/commands/ListAppImageConfigsCommand.d.ts +5 -0
  75. package/dist-types/commands/ListAppsCommand.d.ts +2 -2
  76. package/dist-types/commands/ListAssociationsCommand.d.ts +2 -2
  77. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  78. package/dist-types/commands/ListCandidatesForAutoMLJobCommand.d.ts +4 -4
  79. package/dist-types/commands/ListCompilationJobsCommand.d.ts +1 -1
  80. package/dist-types/commands/ListFeatureGroupsCommand.d.ts +1 -1
  81. package/dist-types/commands/ListHyperParameterTuningJobsCommand.d.ts +2 -2
  82. package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +7 -7
  83. package/dist-types/commands/ListInferenceRecommendationsJobsCommand.d.ts +2 -2
  84. package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +7 -7
  85. package/dist-types/commands/ListSpacesCommand.d.ts +2 -2
  86. package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
  87. package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
  88. package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +4 -0
  89. package/dist-types/commands/QueryLineageCommand.d.ts +1 -1
  90. package/dist-types/commands/SearchCommand.d.ts +98 -98
  91. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +4 -0
  92. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +4 -0
  93. package/dist-types/commands/StartPipelineExecutionCommand.d.ts +4 -0
  94. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +4 -0
  95. package/dist-types/commands/UpdateAppImageConfigCommand.d.ts +5 -0
  96. package/dist-types/commands/UpdateArtifactCommand.d.ts +1 -1
  97. package/dist-types/commands/UpdateCodeRepositoryCommand.d.ts +4 -0
  98. package/dist-types/commands/UpdateDomainCommand.d.ts +10 -10
  99. package/dist-types/commands/UpdateEndpointCommand.d.ts +7 -7
  100. package/dist-types/commands/UpdateFeatureGroupCommand.d.ts +6 -2
  101. package/dist-types/commands/UpdateModelPackageCommand.d.ts +5 -1
  102. package/dist-types/commands/UpdatePipelineCommand.d.ts +4 -0
  103. package/dist-types/commands/UpdatePipelineExecutionCommand.d.ts +4 -0
  104. package/dist-types/commands/UpdateProjectCommand.d.ts +4 -0
  105. package/dist-types/commands/UpdateSpaceCommand.d.ts +8 -8
  106. package/dist-types/commands/UpdateTrainingJobCommand.d.ts +4 -0
  107. package/dist-types/commands/UpdateUserProfileCommand.d.ts +9 -9
  108. package/dist-types/commands/UpdateWorkteamCommand.d.ts +2 -2
  109. package/dist-types/commands/index.d.ts +1 -0
  110. package/dist-types/models/models_0.d.ts +172 -99
  111. package/dist-types/models/models_1.d.ts +76 -69
  112. package/dist-types/models/models_2.d.ts +103 -115
  113. package/dist-types/models/models_3.d.ts +59 -36
  114. package/dist-types/models/models_4.d.ts +44 -33
  115. package/dist-types/pagination/ListFeatureGroupsPaginator.d.ts +7 -0
  116. package/dist-types/pagination/index.d.ts +1 -0
  117. package/dist-types/protocols/Aws_json1_1.d.ts +9 -0
  118. package/dist-types/ts3.4/SageMaker.d.ts +17 -0
  119. package/dist-types/ts3.4/SageMakerClient.d.ts +6 -0
  120. package/dist-types/ts3.4/commands/DeleteCompilationJobCommand.d.ts +37 -0
  121. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  122. package/dist-types/ts3.4/models/models_0.d.ts +91 -26
  123. package/dist-types/ts3.4/models/models_1.d.ts +19 -16
  124. package/dist-types/ts3.4/models/models_2.d.ts +25 -24
  125. package/dist-types/ts3.4/models/models_3.d.ts +17 -10
  126. package/dist-types/ts3.4/models/models_4.d.ts +10 -8
  127. package/dist-types/ts3.4/pagination/ListFeatureGroupsPaginator.d.ts +11 -0
  128. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  129. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
  130. package/package.json +1 -1
@@ -12,6 +12,7 @@ export const AssociationEdgeType = {
12
12
  CONTRIBUTED_TO: "ContributedTo",
13
13
  DERIVED_FROM: "DerivedFrom",
14
14
  PRODUCED: "Produced",
15
+ SAME_AS: "SameAs",
15
16
  };
16
17
  export class ResourceLimitExceeded extends __BaseException {
17
18
  constructor(opts) {
@@ -101,6 +102,16 @@ export const ProductionVariantInstanceType = {
101
102
  ML_C7G_8XLARGE: "ml.c7g.8xlarge",
102
103
  ML_C7G_LARGE: "ml.c7g.large",
103
104
  ML_C7G_XLARGE: "ml.c7g.xlarge",
105
+ ML_C7I_12XLARGE: "ml.c7i.12xlarge",
106
+ ML_C7I_16XLARGE: "ml.c7i.16xlarge",
107
+ ML_C7I_24XLARGE: "ml.c7i.24xlarge",
108
+ ML_C7I_2XLARGE: "ml.c7i.2xlarge",
109
+ ML_C7I_48XLARGE: "ml.c7i.48xlarge",
110
+ ML_C7I_4XLARGE: "ml.c7i.4xlarge",
111
+ ML_C7I_8XLARGE: "ml.c7i.8xlarge",
112
+ ML_C7I_LARGE: "ml.c7i.large",
113
+ ML_C7I_XLARGE: "ml.c7i.xlarge",
114
+ ML_DL1_24XLARGE: "ml.dl1.24xlarge",
104
115
  ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
105
116
  ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
106
117
  ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
@@ -154,6 +165,15 @@ export const ProductionVariantInstanceType = {
154
165
  ML_M6G_8XLARGE: "ml.m6g.8xlarge",
155
166
  ML_M6G_LARGE: "ml.m6g.large",
156
167
  ML_M6G_XLARGE: "ml.m6g.xlarge",
168
+ ML_M7I_12XLARGE: "ml.m7i.12xlarge",
169
+ ML_M7I_16XLARGE: "ml.m7i.16xlarge",
170
+ ML_M7I_24XLARGE: "ml.m7i.24xlarge",
171
+ ML_M7I_2XLARGE: "ml.m7i.2xlarge",
172
+ ML_M7I_48XLARGE: "ml.m7i.48xlarge",
173
+ ML_M7I_4XLARGE: "ml.m7i.4xlarge",
174
+ ML_M7I_8XLARGE: "ml.m7i.8xlarge",
175
+ ML_M7I_LARGE: "ml.m7i.large",
176
+ ML_M7I_XLARGE: "ml.m7i.xlarge",
157
177
  ML_P2_16XLARGE: "ml.p2.16xlarge",
158
178
  ML_P2_8XLARGE: "ml.p2.8xlarge",
159
179
  ML_P2_XLARGE: "ml.p2.xlarge",
@@ -189,10 +209,20 @@ export const ProductionVariantInstanceType = {
189
209
  ML_R6G_8XLARGE: "ml.r6g.8xlarge",
190
210
  ML_R6G_LARGE: "ml.r6g.large",
191
211
  ML_R6G_XLARGE: "ml.r6g.xlarge",
212
+ ML_R7I_12XLARGE: "ml.r7i.12xlarge",
213
+ ML_R7I_16XLARGE: "ml.r7i.16xlarge",
214
+ ML_R7I_24XLARGE: "ml.r7i.24xlarge",
215
+ ML_R7I_2XLARGE: "ml.r7i.2xlarge",
216
+ ML_R7I_48XLARGE: "ml.r7i.48xlarge",
217
+ ML_R7I_4XLARGE: "ml.r7i.4xlarge",
218
+ ML_R7I_8XLARGE: "ml.r7i.8xlarge",
219
+ ML_R7I_LARGE: "ml.r7i.large",
220
+ ML_R7I_XLARGE: "ml.r7i.xlarge",
192
221
  ML_T2_2XLARGE: "ml.t2.2xlarge",
193
222
  ML_T2_LARGE: "ml.t2.large",
194
223
  ML_T2_MEDIUM: "ml.t2.medium",
195
224
  ML_T2_XLARGE: "ml.t2.xlarge",
225
+ ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
196
226
  ML_TRN1_2XLARGE: "ml.trn1.2xlarge",
197
227
  ML_TRN1_32XLARGE: "ml.trn1.32xlarge",
198
228
  };
@@ -303,6 +333,14 @@ export const TrainingInstanceType = {
303
333
  ML_C5_4XLARGE: "ml.c5.4xlarge",
304
334
  ML_C5_9XLARGE: "ml.c5.9xlarge",
305
335
  ML_C5_XLARGE: "ml.c5.xlarge",
336
+ ML_C6I_12XLARGE: "ml.c6i.12xlarge",
337
+ ML_C6I_16XLARGE: "ml.c6i.16xlarge",
338
+ ML_C6I_24XLARGE: "ml.c6i.24xlarge",
339
+ ML_C6I_2XLARGE: "ml.c6i.2xlarge",
340
+ ML_C6I_32XLARGE: "ml.c6i.32xlarge",
341
+ ML_C6I_4XLARGE: "ml.c6i.4xlarge",
342
+ ML_C6I_8XLARGE: "ml.c6i.8xlarge",
343
+ ML_C6I_XLARGE: "ml.c6i.xlarge",
306
344
  ML_G4DN_12XLARGE: "ml.g4dn.12xlarge",
307
345
  ML_G4DN_16XLARGE: "ml.g4dn.16xlarge",
308
346
  ML_G4DN_2XLARGE: "ml.g4dn.2xlarge",
@@ -328,6 +366,15 @@ export const TrainingInstanceType = {
328
366
  ML_M5_4XLARGE: "ml.m5.4xlarge",
329
367
  ML_M5_LARGE: "ml.m5.large",
330
368
  ML_M5_XLARGE: "ml.m5.xlarge",
369
+ ML_M6I_12XLARGE: "ml.m6i.12xlarge",
370
+ ML_M6I_16XLARGE: "ml.m6i.16xlarge",
371
+ ML_M6I_24XLARGE: "ml.m6i.24xlarge",
372
+ ML_M6I_2XLARGE: "ml.m6i.2xlarge",
373
+ ML_M6I_32XLARGE: "ml.m6i.32xlarge",
374
+ ML_M6I_4XLARGE: "ml.m6i.4xlarge",
375
+ ML_M6I_8XLARGE: "ml.m6i.8xlarge",
376
+ ML_M6I_LARGE: "ml.m6i.large",
377
+ ML_M6I_XLARGE: "ml.m6i.xlarge",
331
378
  ML_P2_16XLARGE: "ml.p2.16xlarge",
332
379
  ML_P2_8XLARGE: "ml.p2.8xlarge",
333
380
  ML_P2_XLARGE: "ml.p2.xlarge",
@@ -335,6 +382,7 @@ export const TrainingInstanceType = {
335
382
  ML_P3_16XLARGE: "ml.p3.16xlarge",
336
383
  ML_P3_2XLARGE: "ml.p3.2xlarge",
337
384
  ML_P3_8XLARGE: "ml.p3.8xlarge",
385
+ ML_P4DE_24XLARGE: "ml.p4de.24xlarge",
338
386
  ML_P4D_24XLARGE: "ml.p4d.24xlarge",
339
387
  ML_P5_48XLARGE: "ml.p5.48xlarge",
340
388
  ML_TRN1N_32XLARGE: "ml.trn1n.32xlarge",
@@ -356,13 +404,21 @@ export const AssemblyType = {
356
404
  NONE: "None",
357
405
  };
358
406
  export const AppType = {
407
+ Canvas: "Canvas",
359
408
  CodeEditor: "CodeEditor",
409
+ DatasetManager: "DatasetManager",
410
+ DetailedProfiler: "DetailedProfiler",
360
411
  JupyterLab: "JupyterLab",
361
412
  JupyterServer: "JupyterServer",
362
413
  KernelGateway: "KernelGateway",
414
+ Local: "Local",
415
+ RSession: "RSession",
363
416
  RSessionGateway: "RSessionGateway",
364
417
  RStudioServerPro: "RStudioServerPro",
418
+ SageMakerLite: "SageMakerLite",
419
+ Savitur: "Savitur",
365
420
  TensorBoard: "TensorBoard",
421
+ VSCode: "VSCode",
366
422
  };
367
423
  export const AppInstanceType = {
368
424
  ML_C5_12XLARGE: "ml.c5.12xlarge",
@@ -630,10 +686,10 @@ export var AutoMLProblemTypeConfig;
630
686
  return visitor.ImageClassificationJobConfig(value.ImageClassificationJobConfig);
631
687
  if (value.TextClassificationJobConfig !== undefined)
632
688
  return visitor.TextClassificationJobConfig(value.TextClassificationJobConfig);
633
- if (value.TabularJobConfig !== undefined)
634
- return visitor.TabularJobConfig(value.TabularJobConfig);
635
689
  if (value.TimeSeriesForecastingJobConfig !== undefined)
636
690
  return visitor.TimeSeriesForecastingJobConfig(value.TimeSeriesForecastingJobConfig);
691
+ if (value.TabularJobConfig !== undefined)
692
+ return visitor.TabularJobConfig(value.TabularJobConfig);
637
693
  if (value.TextGenerationJobConfig !== undefined)
638
694
  return visitor.TextGenerationJobConfig(value.TextGenerationJobConfig);
639
695
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -669,8 +725,11 @@ export const AutotuneMode = {
669
725
  ENABLED: "Enabled",
670
726
  };
671
727
  export const AwsManagedHumanLoopRequestSource = {
728
+ BEDROCK_MODEL_EVALUATION: "AWS/Bedrock/ModelEvaluation",
729
+ HANDSHAKE_VERIFY_IDENTITY: "AWS/Handshake/VerifyIdentity",
672
730
  REKOGNITION_DETECT_MODERATION_LABELS_IMAGE_V3: "AWS/Rekognition/DetectModerationLabels/Image/V3",
673
731
  TEXTRACT_ANALYZE_DOCUMENT_FORMS_V1: "AWS/Textract/AnalyzeDocument/Forms/V1",
732
+ TEXTRACT_ANALYZE_EXPENSE: "AWS/Textract/AnalyzeExpense",
674
733
  };
675
734
  export const ModelApprovalStatus = {
676
735
  APPROVED: "Approved",
@@ -720,6 +779,7 @@ export const DataSourceName = {
720
779
  };
721
780
  export const CaptureMode = {
722
781
  INPUT: "Input",
782
+ INPUT_AND_OUTPUT: "InputAndOutput",
723
783
  OUTPUT: "Output",
724
784
  };
725
785
  export const CaptureStatus = {
@@ -905,18 +965,21 @@ export const TargetDevice = {
905
965
  LAMBDA: "lambda",
906
966
  ML_C4: "ml_c4",
907
967
  ML_C5: "ml_c5",
968
+ ML_C6G: "ml_c6g",
908
969
  ML_EIA2: "ml_eia2",
909
970
  ML_G4DN: "ml_g4dn",
910
971
  ML_INF1: "ml_inf1",
911
972
  ML_INF2: "ml_inf2",
912
973
  ML_M4: "ml_m4",
913
974
  ML_M5: "ml_m5",
975
+ ML_M6G: "ml_m6g",
914
976
  ML_P2: "ml_p2",
915
977
  ML_P3: "ml_p3",
916
978
  ML_TRN1: "ml_trn1",
917
979
  QCS603: "qcs603",
918
980
  QCS605: "qcs605",
919
981
  RASP3B: "rasp3b",
982
+ RASP4B: "rasp4b",
920
983
  RK3288: "rk3288",
921
984
  RK3399: "rk3399",
922
985
  SBE_C: "sbe_c",
@@ -111,6 +111,7 @@ export const FeatureType = {
111
111
  STRING: "String",
112
112
  };
113
113
  export const TableFormat = {
114
+ DEFAULT: "Default",
114
115
  GLUE: "Glue",
115
116
  ICEBERG: "Iceberg",
116
117
  };
@@ -341,6 +342,8 @@ export const StudioLifecycleConfigAppType = {
341
342
  JupyterLab: "JupyterLab",
342
343
  JupyterServer: "JupyterServer",
343
344
  KernelGateway: "KernelGateway",
345
+ Savitur: "Savitur",
346
+ VSCode: "VSCode",
344
347
  };
345
348
  export const CreateModelCardRequestFilterSensitiveLog = (obj) => ({
346
349
  ...obj,
@@ -154,6 +154,8 @@ export const TrainingJobStatus = {
154
154
  };
155
155
  export const HyperParameterTuningJobStatus = {
156
156
  COMPLETED: "Completed",
157
+ DELETE_FAILED: "DeleteFailed",
158
+ DELETING: "Deleting",
157
159
  FAILED: "Failed",
158
160
  IN_PROGRESS: "InProgress",
159
161
  STOPPED: "Stopped",
@@ -201,6 +203,8 @@ export const InferenceExperimentStatus = {
201
203
  };
202
204
  export const RecommendationJobStatus = {
203
205
  COMPLETED: "COMPLETED",
206
+ DELETED: "DELETED",
207
+ DELETING: "DELETING",
204
208
  FAILED: "FAILED",
205
209
  IN_PROGRESS: "IN_PROGRESS",
206
210
  PENDING: "PENDING",
@@ -268,6 +272,7 @@ export const NotebookInstanceStatus = {
268
272
  };
269
273
  export const PipelineStatus = {
270
274
  ACTIVE: "Active",
275
+ DELETING: "Deleting",
271
276
  };
272
277
  export const PipelineExecutionStatus = {
273
278
  EXECUTING: "Executing",
@@ -11,6 +11,7 @@ export const SecondaryStatus = {
11
11
  LAUNCHING_ML_INSTANCES: "LaunchingMLInstances",
12
12
  MAX_RUNTIME_EXCEEDED: "MaxRuntimeExceeded",
13
13
  MAX_WAIT_TIME_EXCEEDED: "MaxWaitTimeExceeded",
14
+ PENDING: "Pending",
14
15
  PREPARING_TRAINING_STACK: "PreparingTrainingStack",
15
16
  RESTARTING: "Restarting",
16
17
  STARTING: "Starting",
@@ -123,6 +124,8 @@ export const ResourceType = {
123
124
  FEATURE_GROUP: "FeatureGroup",
124
125
  FEATURE_METADATA: "FeatureMetadata",
125
126
  HYPER_PARAMETER_TUNING_JOB: "HyperParameterTuningJob",
127
+ IMAGE: "Image",
128
+ IMAGE_VERSION: "ImageVersion",
126
129
  MODEL: "Model",
127
130
  MODEL_CARD: "ModelCard",
128
131
  MODEL_PACKAGE: "ModelPackage",
@@ -0,0 +1,25 @@
1
+ import { ListFeatureGroupsCommand, } from "../commands/ListFeatureGroupsCommand";
2
+ import { SageMakerClient } from "../SageMakerClient";
3
+ const makePagedClientRequest = async (client, input, ...args) => {
4
+ return await client.send(new ListFeatureGroupsCommand(input), ...args);
5
+ };
6
+ export async function* paginateListFeatureGroups(config, input, ...additionalArguments) {
7
+ let token = config.startingToken || undefined;
8
+ let hasNext = true;
9
+ let page;
10
+ while (hasNext) {
11
+ input.NextToken = token;
12
+ input["MaxResults"] = config.pageSize;
13
+ if (config.client instanceof SageMakerClient) {
14
+ page = await makePagedClientRequest(config.client, input, ...additionalArguments);
15
+ }
16
+ else {
17
+ throw new Error("Invalid client, expected SageMaker | SageMakerClient");
18
+ }
19
+ yield page;
20
+ const prevToken = token;
21
+ token = page.NextToken;
22
+ hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
23
+ }
24
+ return undefined;
25
+ }
@@ -20,6 +20,7 @@ export * from "./ListEdgePackagingJobsPaginator";
20
20
  export * from "./ListEndpointConfigsPaginator";
21
21
  export * from "./ListEndpointsPaginator";
22
22
  export * from "./ListExperimentsPaginator";
23
+ export * from "./ListFeatureGroupsPaginator";
23
24
  export * from "./ListFlowDefinitionsPaginator";
24
25
  export * from "./ListHumanTaskUisPaginator";
25
26
  export * from "./ListHyperParameterTuningJobsPaginator";
@@ -413,6 +413,12 @@ export const se_DeleteCodeRepositoryCommand = async (input, context) => {
413
413
  body = JSON.stringify(_json(input));
414
414
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
415
415
  };
416
+ export const se_DeleteCompilationJobCommand = async (input, context) => {
417
+ const headers = sharedHeaders("DeleteCompilationJob");
418
+ let body;
419
+ body = JSON.stringify(_json(input));
420
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
421
+ };
416
422
  export const se_DeleteContextCommand = async (input, context) => {
417
423
  const headers = sharedHeaders("DeleteContext");
418
424
  let body;
@@ -3453,6 +3459,9 @@ const de_CreatePipelineCommandError = async (output, context) => {
3453
3459
  };
3454
3460
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3455
3461
  switch (errorCode) {
3462
+ case "ConflictException":
3463
+ case "com.amazonaws.sagemaker#ConflictException":
3464
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3456
3465
  case "ResourceLimitExceeded":
3457
3466
  case "com.amazonaws.sagemaker#ResourceLimitExceeded":
3458
3467
  throw await de_ResourceLimitExceededRes(parsedOutput, context);
@@ -3950,12 +3959,18 @@ const de_DeleteAlgorithmCommandError = async (output, context) => {
3950
3959
  body: await parseErrorBody(output.body, context),
3951
3960
  };
3952
3961
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3953
- const parsedBody = parsedOutput.body;
3954
- return throwDefaultError({
3955
- output,
3956
- parsedBody,
3957
- errorCode,
3958
- });
3962
+ switch (errorCode) {
3963
+ case "ConflictException":
3964
+ case "com.amazonaws.sagemaker#ConflictException":
3965
+ throw await de_ConflictExceptionRes(parsedOutput, context);
3966
+ default:
3967
+ const parsedBody = parsedOutput.body;
3968
+ return throwDefaultError({
3969
+ output,
3970
+ parsedBody,
3971
+ errorCode,
3972
+ });
3973
+ }
3959
3974
  };
3960
3975
  export const de_DeleteAppCommand = async (output, context) => {
3961
3976
  if (output.statusCode >= 300) {
@@ -4140,6 +4155,35 @@ const de_DeleteCodeRepositoryCommandError = async (output, context) => {
4140
4155
  errorCode,
4141
4156
  });
4142
4157
  };
4158
+ export const de_DeleteCompilationJobCommand = async (output, context) => {
4159
+ if (output.statusCode >= 300) {
4160
+ return de_DeleteCompilationJobCommandError(output, context);
4161
+ }
4162
+ await collectBody(output.body, context);
4163
+ const response = {
4164
+ $metadata: deserializeMetadata(output),
4165
+ };
4166
+ return response;
4167
+ };
4168
+ const de_DeleteCompilationJobCommandError = async (output, context) => {
4169
+ const parsedOutput = {
4170
+ ...output,
4171
+ body: await parseErrorBody(output.body, context),
4172
+ };
4173
+ const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
4174
+ switch (errorCode) {
4175
+ case "ResourceNotFound":
4176
+ case "com.amazonaws.sagemaker#ResourceNotFound":
4177
+ throw await de_ResourceNotFoundRes(parsedOutput, context);
4178
+ default:
4179
+ const parsedBody = parsedOutput.body;
4180
+ return throwDefaultError({
4181
+ output,
4182
+ parsedBody,
4183
+ errorCode,
4184
+ });
4185
+ }
4186
+ };
4143
4187
  export const de_DeleteContextCommand = async (output, context) => {
4144
4188
  if (output.statusCode >= 300) {
4145
4189
  return de_DeleteContextCommandError(output, context);
@@ -5004,6 +5048,9 @@ const de_DeletePipelineCommandError = async (output, context) => {
5004
5048
  };
5005
5049
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
5006
5050
  switch (errorCode) {
5051
+ case "ConflictException":
5052
+ case "com.amazonaws.sagemaker#ConflictException":
5053
+ throw await de_ConflictExceptionRes(parsedOutput, context);
5007
5054
  case "ResourceNotFound":
5008
5055
  case "com.amazonaws.sagemaker#ResourceNotFound":
5009
5056
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -7116,6 +7163,9 @@ const de_DescribeUserProfileCommandError = async (output, context) => {
7116
7163
  };
7117
7164
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
7118
7165
  switch (errorCode) {
7166
+ case "ResourceLimitExceeded":
7167
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
7168
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
7119
7169
  case "ResourceNotFound":
7120
7170
  case "com.amazonaws.sagemaker#ResourceNotFound":
7121
7171
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -9571,12 +9621,18 @@ const de_PutModelPackageGroupPolicyCommandError = async (output, context) => {
9571
9621
  body: await parseErrorBody(output.body, context),
9572
9622
  };
9573
9623
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9574
- const parsedBody = parsedOutput.body;
9575
- return throwDefaultError({
9576
- output,
9577
- parsedBody,
9578
- errorCode,
9579
- });
9624
+ switch (errorCode) {
9625
+ case "ConflictException":
9626
+ case "com.amazonaws.sagemaker#ConflictException":
9627
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9628
+ default:
9629
+ const parsedBody = parsedOutput.body;
9630
+ return throwDefaultError({
9631
+ output,
9632
+ parsedBody,
9633
+ errorCode,
9634
+ });
9635
+ }
9580
9636
  };
9581
9637
  export const de_QueryLineageCommand = async (output, context) => {
9582
9638
  if (output.statusCode >= 300) {
@@ -9755,6 +9811,9 @@ const de_SendPipelineExecutionStepFailureCommandError = async (output, context)
9755
9811
  };
9756
9812
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9757
9813
  switch (errorCode) {
9814
+ case "ConflictException":
9815
+ case "com.amazonaws.sagemaker#ConflictException":
9816
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9758
9817
  case "ResourceLimitExceeded":
9759
9818
  case "com.amazonaws.sagemaker#ResourceLimitExceeded":
9760
9819
  throw await de_ResourceLimitExceededRes(parsedOutput, context);
@@ -9790,6 +9849,9 @@ const de_SendPipelineExecutionStepSuccessCommandError = async (output, context)
9790
9849
  };
9791
9850
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9792
9851
  switch (errorCode) {
9852
+ case "ConflictException":
9853
+ case "com.amazonaws.sagemaker#ConflictException":
9854
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9793
9855
  case "ResourceLimitExceeded":
9794
9856
  case "com.amazonaws.sagemaker#ResourceLimitExceeded":
9795
9857
  throw await de_ResourceLimitExceededRes(parsedOutput, context);
@@ -9941,6 +10003,9 @@ const de_StartPipelineExecutionCommandError = async (output, context) => {
9941
10003
  };
9942
10004
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
9943
10005
  switch (errorCode) {
10006
+ case "ConflictException":
10007
+ case "com.amazonaws.sagemaker#ConflictException":
10008
+ throw await de_ConflictExceptionRes(parsedOutput, context);
9944
10009
  case "ResourceLimitExceeded":
9945
10010
  case "com.amazonaws.sagemaker#ResourceLimitExceeded":
9946
10011
  throw await de_ResourceLimitExceededRes(parsedOutput, context);
@@ -10254,6 +10319,9 @@ const de_StopPipelineExecutionCommandError = async (output, context) => {
10254
10319
  };
10255
10320
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10256
10321
  switch (errorCode) {
10322
+ case "ConflictException":
10323
+ case "com.amazonaws.sagemaker#ConflictException":
10324
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10257
10325
  case "ResourceNotFound":
10258
10326
  case "com.amazonaws.sagemaker#ResourceNotFound":
10259
10327
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -10512,12 +10580,18 @@ const de_UpdateCodeRepositoryCommandError = async (output, context) => {
10512
10580
  body: await parseErrorBody(output.body, context),
10513
10581
  };
10514
10582
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10515
- const parsedBody = parsedOutput.body;
10516
- return throwDefaultError({
10517
- output,
10518
- parsedBody,
10519
- errorCode,
10520
- });
10583
+ switch (errorCode) {
10584
+ case "ConflictException":
10585
+ case "com.amazonaws.sagemaker#ConflictException":
10586
+ throw await de_ConflictExceptionRes(parsedOutput, context);
10587
+ default:
10588
+ const parsedBody = parsedOutput.body;
10589
+ return throwDefaultError({
10590
+ output,
10591
+ parsedBody,
10592
+ errorCode,
10593
+ });
10594
+ }
10521
10595
  };
10522
10596
  export const de_UpdateContextCommand = async (output, context) => {
10523
10597
  if (output.statusCode >= 300) {
@@ -10763,6 +10837,9 @@ const de_UpdateFeatureGroupCommandError = async (output, context) => {
10763
10837
  };
10764
10838
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
10765
10839
  switch (errorCode) {
10840
+ case "ResourceLimitExceeded":
10841
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
10842
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
10766
10843
  case "ResourceNotFound":
10767
10844
  case "com.amazonaws.sagemaker#ResourceNotFound":
10768
10845
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -11062,12 +11139,18 @@ const de_UpdateModelPackageCommandError = async (output, context) => {
11062
11139
  body: await parseErrorBody(output.body, context),
11063
11140
  };
11064
11141
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11065
- const parsedBody = parsedOutput.body;
11066
- return throwDefaultError({
11067
- output,
11068
- parsedBody,
11069
- errorCode,
11070
- });
11142
+ switch (errorCode) {
11143
+ case "ConflictException":
11144
+ case "com.amazonaws.sagemaker#ConflictException":
11145
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11146
+ default:
11147
+ const parsedBody = parsedOutput.body;
11148
+ return throwDefaultError({
11149
+ output,
11150
+ parsedBody,
11151
+ errorCode,
11152
+ });
11153
+ }
11071
11154
  };
11072
11155
  export const de_UpdateMonitoringAlertCommand = async (output, context) => {
11073
11156
  if (output.statusCode >= 300) {
@@ -11223,6 +11306,9 @@ const de_UpdatePipelineCommandError = async (output, context) => {
11223
11306
  };
11224
11307
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11225
11308
  switch (errorCode) {
11309
+ case "ConflictException":
11310
+ case "com.amazonaws.sagemaker#ConflictException":
11311
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11226
11312
  case "ResourceNotFound":
11227
11313
  case "com.amazonaws.sagemaker#ResourceNotFound":
11228
11314
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -11255,6 +11341,9 @@ const de_UpdatePipelineExecutionCommandError = async (output, context) => {
11255
11341
  };
11256
11342
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11257
11343
  switch (errorCode) {
11344
+ case "ConflictException":
11345
+ case "com.amazonaws.sagemaker#ConflictException":
11346
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11258
11347
  case "ResourceNotFound":
11259
11348
  case "com.amazonaws.sagemaker#ResourceNotFound":
11260
11349
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -11286,12 +11375,18 @@ const de_UpdateProjectCommandError = async (output, context) => {
11286
11375
  body: await parseErrorBody(output.body, context),
11287
11376
  };
11288
11377
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11289
- const parsedBody = parsedOutput.body;
11290
- return throwDefaultError({
11291
- output,
11292
- parsedBody,
11293
- errorCode,
11294
- });
11378
+ switch (errorCode) {
11379
+ case "ConflictException":
11380
+ case "com.amazonaws.sagemaker#ConflictException":
11381
+ throw await de_ConflictExceptionRes(parsedOutput, context);
11382
+ default:
11383
+ const parsedBody = parsedOutput.body;
11384
+ return throwDefaultError({
11385
+ output,
11386
+ parsedBody,
11387
+ errorCode,
11388
+ });
11389
+ }
11295
11390
  };
11296
11391
  export const de_UpdateSpaceCommand = async (output, context) => {
11297
11392
  if (output.statusCode >= 300) {
@@ -11351,6 +11446,9 @@ const de_UpdateTrainingJobCommandError = async (output, context) => {
11351
11446
  };
11352
11447
  const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
11353
11448
  switch (errorCode) {
11449
+ case "ResourceLimitExceeded":
11450
+ case "com.amazonaws.sagemaker#ResourceLimitExceeded":
11451
+ throw await de_ResourceLimitExceededRes(parsedOutput, context);
11354
11452
  case "ResourceNotFound":
11355
11453
  case "com.amazonaws.sagemaker#ResourceNotFound":
11356
11454
  throw await de_ResourceNotFoundRes(parsedOutput, context);
@@ -17276,6 +17374,7 @@ const de_JsonContentTypes = (output, context) => {
17276
17374
  const de_JupyterLabAppImageConfig = (output, context) => {
17277
17375
  return take(output, {
17278
17376
  ContainerConfig: (_) => de_ContainerConfig(_, context),
17377
+ FileSystemConfig: (_) => de_FileSystemConfig(_, context),
17279
17378
  });
17280
17379
  };
17281
17380
  const de_JupyterLabAppSettings = (output, context) => {
@@ -20395,6 +20494,7 @@ const de_TextGenerationJobConfig = (output, context) => {
20395
20494
  return take(output, {
20396
20495
  BaseModelName: __expectString,
20397
20496
  CompletionCriteria: (_) => de_AutoMLJobCompletionCriteria(_, context),
20497
+ ModelAccessConfig: (_) => de_ModelAccessConfig(_, context),
20398
20498
  TextGenerationHyperParameters: (_) => de_TextGenerationHyperParameters(_, context),
20399
20499
  });
20400
20500
  };
@@ -67,6 +67,7 @@ import { DeleteArtifactCommandInput, DeleteArtifactCommandOutput } from "./comma
67
67
  import { DeleteAssociationCommandInput, DeleteAssociationCommandOutput } from "./commands/DeleteAssociationCommand";
68
68
  import { DeleteClusterCommandInput, DeleteClusterCommandOutput } from "./commands/DeleteClusterCommand";
69
69
  import { DeleteCodeRepositoryCommandInput, DeleteCodeRepositoryCommandOutput } from "./commands/DeleteCodeRepositoryCommand";
70
+ import { DeleteCompilationJobCommandInput, DeleteCompilationJobCommandOutput } from "./commands/DeleteCompilationJobCommand";
70
71
  import { DeleteContextCommandInput, DeleteContextCommandOutput } from "./commands/DeleteContextCommand";
71
72
  import { DeleteDataQualityJobDefinitionCommandInput, DeleteDataQualityJobDefinitionCommandOutput } from "./commands/DeleteDataQualityJobDefinitionCommand";
72
73
  import { DeleteDeviceFleetCommandInput, DeleteDeviceFleetCommandOutput } from "./commands/DeleteDeviceFleetCommand";
@@ -726,6 +727,12 @@ export interface SageMaker {
726
727
  deleteCodeRepository(args: DeleteCodeRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCodeRepositoryCommandOutput>;
727
728
  deleteCodeRepository(args: DeleteCodeRepositoryCommandInput, cb: (err: any, data?: DeleteCodeRepositoryCommandOutput) => void): void;
728
729
  deleteCodeRepository(args: DeleteCodeRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCodeRepositoryCommandOutput) => void): void;
730
+ /**
731
+ * @see {@link DeleteCompilationJobCommand}
732
+ */
733
+ deleteCompilationJob(args: DeleteCompilationJobCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCompilationJobCommandOutput>;
734
+ deleteCompilationJob(args: DeleteCompilationJobCommandInput, cb: (err: any, data?: DeleteCompilationJobCommandOutput) => void): void;
735
+ deleteCompilationJob(args: DeleteCompilationJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCompilationJobCommandOutput) => void): void;
729
736
  /**
730
737
  * @see {@link DeleteContextCommand}
731
738
  */