@aws-sdk/client-sagemaker 3.600.0 → 3.602.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 (64) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +121 -23
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/CreateHubContentReferenceCommand.js +24 -0
  5. package/dist-es/commands/DeleteHubContentReferenceCommand.js +24 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_2.js +5 -15
  8. package/dist-es/models/models_3.js +15 -4
  9. package/dist-es/models/models_4.js +4 -0
  10. package/dist-es/protocols/Aws_json1_1.js +53 -0
  11. package/dist-types/SageMaker.d.ts +14 -0
  12. package/dist-types/SageMakerClient.d.ts +4 -2
  13. package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +3 -0
  14. package/dist-types/commands/CreateAlgorithmCommand.d.ts +3 -0
  15. package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -1
  16. package/dist-types/commands/CreateHubCommand.d.ts +0 -3
  17. package/dist-types/commands/CreateHubContentReferenceCommand.d.ts +80 -0
  18. package/dist-types/commands/CreateModelCommand.d.ts +6 -0
  19. package/dist-types/commands/CreateModelPackageCommand.d.ts +9 -0
  20. package/dist-types/commands/DeleteHubCommand.d.ts +0 -3
  21. package/dist-types/commands/DeleteHubContentCommand.d.ts +1 -4
  22. package/dist-types/commands/DeleteHubContentReferenceCommand.d.ts +63 -0
  23. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -0
  24. package/dist-types/commands/DescribeHubCommand.d.ts +1 -4
  25. package/dist-types/commands/DescribeHubContentCommand.d.ts +5 -5
  26. package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +4 -4
  27. package/dist-types/commands/DescribeModelCommand.d.ts +6 -0
  28. package/dist-types/commands/DescribeModelPackageCommand.d.ts +9 -0
  29. package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +2 -1
  30. package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  31. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -4
  32. package/dist-types/commands/ListHubContentVersionsCommand.d.ts +5 -5
  33. package/dist-types/commands/ListHubContentsCommand.d.ts +5 -5
  34. package/dist-types/commands/ListHubsCommand.d.ts +0 -3
  35. package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +4 -4
  36. package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
  37. package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +1 -2
  38. package/dist-types/commands/SearchCommand.d.ts +9 -0
  39. package/dist-types/commands/UpdateHubCommand.d.ts +0 -3
  40. package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
  41. package/dist-types/commands/index.d.ts +2 -0
  42. package/dist-types/models/models_0.d.ts +16 -10
  43. package/dist-types/models/models_1.d.ts +55 -36
  44. package/dist-types/models/models_2.d.ts +90 -272
  45. package/dist-types/models/models_3.d.ts +283 -133
  46. package/dist-types/models/models_4.d.ts +133 -2
  47. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  48. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  49. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/CreateCodeRepositoryCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/CreateHubContentReferenceCommand.d.ts +40 -0
  52. package/dist-types/ts3.4/commands/DeleteHubContentReferenceCommand.d.ts +36 -0
  53. package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +4 -2
  57. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  58. package/dist-types/ts3.4/models/models_0.d.ts +4 -3
  59. package/dist-types/ts3.4/models/models_1.d.ts +14 -9
  60. package/dist-types/ts3.4/models/models_2.d.ts +29 -72
  61. package/dist-types/ts3.4/models/models_3.d.ts +68 -34
  62. package/dist-types/ts3.4/models/models_4.d.ts +35 -3
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  64. package/package.json +1 -1
package/README.md CHANGED
@@ -433,6 +433,14 @@ CreateHub
433
433
 
434
434
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/CreateHubCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubCommandOutput/)
435
435
 
436
+ </details>
437
+ <details>
438
+ <summary>
439
+ CreateHubContentReference
440
+ </summary>
441
+
442
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/CreateHubContentReferenceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubContentReferenceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubContentReferenceCommandOutput/)
443
+
436
444
  </details>
437
445
  <details>
438
446
  <summary>
@@ -889,6 +897,14 @@ DeleteHubContent
889
897
 
890
898
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/DeleteHubContentCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DeleteHubContentCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DeleteHubContentCommandOutput/)
891
899
 
900
+ </details>
901
+ <details>
902
+ <summary>
903
+ DeleteHubContentReference
904
+ </summary>
905
+
906
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/DeleteHubContentReferenceCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DeleteHubContentReferenceCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/DeleteHubContentReferenceCommandOutput/)
907
+
892
908
  </details>
893
909
  <details>
894
910
  <summary>
package/dist-cjs/index.js CHANGED
@@ -111,6 +111,7 @@ __export(src_exports, {
111
111
  CreateFeatureGroupCommand: () => CreateFeatureGroupCommand,
112
112
  CreateFlowDefinitionCommand: () => CreateFlowDefinitionCommand,
113
113
  CreateHubCommand: () => CreateHubCommand,
114
+ CreateHubContentReferenceCommand: () => CreateHubContentReferenceCommand,
114
115
  CreateHumanTaskUiCommand: () => CreateHumanTaskUiCommand,
115
116
  CreateHyperParameterTuningJobCommand: () => CreateHyperParameterTuningJobCommand,
116
117
  CreateImageCommand: () => CreateImageCommand,
@@ -176,6 +177,7 @@ __export(src_exports, {
176
177
  DeleteFlowDefinitionCommand: () => DeleteFlowDefinitionCommand,
177
178
  DeleteHubCommand: () => DeleteHubCommand,
178
179
  DeleteHubContentCommand: () => DeleteHubContentCommand,
180
+ DeleteHubContentReferenceCommand: () => DeleteHubContentReferenceCommand,
179
181
  DeleteHumanTaskUiCommand: () => DeleteHumanTaskUiCommand,
180
182
  DeleteHyperParameterTuningJobCommand: () => DeleteHyperParameterTuningJobCommand,
181
183
  DeleteImageCommand: () => DeleteImageCommand,
@@ -308,6 +310,7 @@ __export(src_exports, {
308
310
  GetSearchSuggestionsCommand: () => GetSearchSuggestionsCommand,
309
311
  HubContentSortBy: () => HubContentSortBy,
310
312
  HubContentStatus: () => HubContentStatus,
313
+ HubContentSupportStatus: () => HubContentSupportStatus,
311
314
  HubContentType: () => HubContentType,
312
315
  HubSortBy: () => HubSortBy,
313
316
  HubStatus: () => HubStatus,
@@ -2715,6 +2718,7 @@ var RetentionType = {
2715
2718
  };
2716
2719
  var HubContentType = {
2717
2720
  MODEL: "Model",
2721
+ MODEL_REFERENCE: "ModelReference",
2718
2722
  NOTEBOOK: "Notebook"
2719
2723
  };
2720
2724
  var RecommendationStatus = {
@@ -2811,6 +2815,10 @@ var HubContentStatus = {
2811
2815
  IMPORTING: "Importing",
2812
2816
  IMPORT_FAILED: "ImportFailed"
2813
2817
  };
2818
+ var HubContentSupportStatus = {
2819
+ DEPRECATED: "Deprecated",
2820
+ SUPPORTED: "Supported"
2821
+ };
2814
2822
  var HumanTaskUiStatus = {
2815
2823
  ACTIVE: "Active",
2816
2824
  DELETING: "Deleting"
@@ -2948,21 +2956,6 @@ var ExecutionStatus = {
2948
2956
  STOPPED: "Stopped",
2949
2957
  STOPPING: "Stopping"
2950
2958
  };
2951
- var ScheduleStatus = {
2952
- FAILED: "Failed",
2953
- PENDING: "Pending",
2954
- SCHEDULED: "Scheduled",
2955
- STOPPED: "Stopped"
2956
- };
2957
- var NotebookInstanceStatus = {
2958
- Deleting: "Deleting",
2959
- Failed: "Failed",
2960
- InService: "InService",
2961
- Pending: "Pending",
2962
- Stopped: "Stopped",
2963
- Stopping: "Stopping",
2964
- Updating: "Updating"
2965
- };
2966
2959
  var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2967
2960
  ...obj,
2968
2961
  ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
@@ -3143,6 +3136,12 @@ var se_CreateHubCommand = /* @__PURE__ */ __name(async (input, context) => {
3143
3136
  body = JSON.stringify((0, import_smithy_client._json)(input));
3144
3137
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3145
3138
  }, "se_CreateHubCommand");
3139
+ var se_CreateHubContentReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {
3140
+ const headers = sharedHeaders("CreateHubContentReference");
3141
+ let body;
3142
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3143
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3144
+ }, "se_CreateHubContentReferenceCommand");
3146
3145
  var se_CreateHumanTaskUiCommand = /* @__PURE__ */ __name(async (input, context) => {
3147
3146
  const headers = sharedHeaders("CreateHumanTaskUi");
3148
3147
  let body;
@@ -3485,6 +3484,12 @@ var se_DeleteHubContentCommand = /* @__PURE__ */ __name(async (input, context) =
3485
3484
  body = JSON.stringify((0, import_smithy_client._json)(input));
3486
3485
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3487
3486
  }, "se_DeleteHubContentCommand");
3487
+ var se_DeleteHubContentReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {
3488
+ const headers = sharedHeaders("DeleteHubContentReference");
3489
+ let body;
3490
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3491
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3492
+ }, "se_DeleteHubContentReferenceCommand");
3488
3493
  var se_DeleteHumanTaskUiCommand = /* @__PURE__ */ __name(async (input, context) => {
3489
3494
  const headers = sharedHeaders("DeleteHumanTaskUi");
3490
3495
  let body;
@@ -5291,6 +5296,19 @@ var de_CreateHubCommand = /* @__PURE__ */ __name(async (output, context) => {
5291
5296
  };
5292
5297
  return response;
5293
5298
  }, "de_CreateHubCommand");
5299
+ var de_CreateHubContentReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
5300
+ if (output.statusCode >= 300) {
5301
+ return de_CommandError(output, context);
5302
+ }
5303
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5304
+ let contents = {};
5305
+ contents = de_CreateHubContentReferenceResponse(data, context);
5306
+ const response = {
5307
+ $metadata: deserializeMetadata(output),
5308
+ ...contents
5309
+ };
5310
+ return response;
5311
+ }, "de_CreateHubContentReferenceCommand");
5294
5312
  var de_CreateHumanTaskUiCommand = /* @__PURE__ */ __name(async (output, context) => {
5295
5313
  if (output.statusCode >= 300) {
5296
5314
  return de_CommandError(output, context);
@@ -5987,6 +6005,16 @@ var de_DeleteHubContentCommand = /* @__PURE__ */ __name(async (output, context)
5987
6005
  };
5988
6006
  return response;
5989
6007
  }, "de_DeleteHubContentCommand");
6008
+ var de_DeleteHubContentReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
6009
+ if (output.statusCode >= 300) {
6010
+ return de_CommandError(output, context);
6011
+ }
6012
+ await (0, import_smithy_client.collectBody)(output.body, context);
6013
+ const response = {
6014
+ $metadata: deserializeMetadata(output)
6015
+ };
6016
+ return response;
6017
+ }, "de_DeleteHubContentReferenceCommand");
5990
6018
  var de_DeleteHumanTaskUiCommand = /* @__PURE__ */ __name(async (output, context) => {
5991
6019
  if (output.statusCode >= 300) {
5992
6020
  return de_CommandError(output, context);
@@ -11740,6 +11768,12 @@ var de_CreateFlowDefinitionResponse = /* @__PURE__ */ __name((output, context) =
11740
11768
  FlowDefinitionArn: import_smithy_client.expectString
11741
11769
  });
11742
11770
  }, "de_CreateFlowDefinitionResponse");
11771
+ var de_CreateHubContentReferenceResponse = /* @__PURE__ */ __name((output, context) => {
11772
+ return (0, import_smithy_client.take)(output, {
11773
+ HubArn: import_smithy_client.expectString,
11774
+ HubContentArn: import_smithy_client.expectString
11775
+ });
11776
+ }, "de_CreateHubContentReferenceResponse");
11743
11777
  var de_CreateHubResponse = /* @__PURE__ */ __name((output, context) => {
11744
11778
  return (0, import_smithy_client.take)(output, {
11745
11779
  HubArn: import_smithy_client.expectString
@@ -12670,7 +12704,10 @@ var de_DescribeHubContentResponse = /* @__PURE__ */ __name((output, context) =>
12670
12704
  HubContentStatus: import_smithy_client.expectString,
12671
12705
  HubContentType: import_smithy_client.expectString,
12672
12706
  HubContentVersion: import_smithy_client.expectString,
12673
- HubName: import_smithy_client.expectString
12707
+ HubName: import_smithy_client.expectString,
12708
+ ReferenceMinVersion: import_smithy_client.expectString,
12709
+ SageMakerPublicHubContentArn: import_smithy_client.expectString,
12710
+ SupportStatus: import_smithy_client.expectString
12674
12711
  });
12675
12712
  }, "de_DescribeHubContentResponse");
12676
12713
  var de_DescribeHubResponse = /* @__PURE__ */ __name((output, context) => {
@@ -14091,7 +14128,10 @@ var de_HubContentInfo = /* @__PURE__ */ __name((output, context) => {
14091
14128
  HubContentSearchKeywords: (_) => de_HubContentSearchKeywordList(_, context),
14092
14129
  HubContentStatus: import_smithy_client.expectString,
14093
14130
  HubContentType: import_smithy_client.expectString,
14094
- HubContentVersion: import_smithy_client.expectString
14131
+ HubContentVersion: import_smithy_client.expectString,
14132
+ OriginalCreationTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
14133
+ SageMakerPublicHubContentArn: import_smithy_client.expectString,
14134
+ SupportStatus: import_smithy_client.expectString
14095
14135
  });
14096
14136
  }, "de_HubContentInfo");
14097
14137
  var de_HubContentInfoList = /* @__PURE__ */ __name((output, context) => {
@@ -14571,6 +14611,11 @@ var de_InferenceExperimentSummary = /* @__PURE__ */ __name((output, context) =>
14571
14611
  Type: import_smithy_client.expectString
14572
14612
  });
14573
14613
  }, "de_InferenceExperimentSummary");
14614
+ var de_InferenceHubAccessConfig = /* @__PURE__ */ __name((output, context) => {
14615
+ return (0, import_smithy_client.take)(output, {
14616
+ HubContentArn: import_smithy_client.expectString
14617
+ });
14618
+ }, "de_InferenceHubAccessConfig");
14574
14619
  var de_InferenceMetrics = /* @__PURE__ */ __name((output, context) => {
14575
14620
  return (0, import_smithy_client.take)(output, {
14576
14621
  MaxInvocations: import_smithy_client.expectInt32,
@@ -17277,6 +17322,7 @@ var de_S3DataSource = /* @__PURE__ */ __name((output, context) => {
17277
17322
  var de_S3ModelDataSource = /* @__PURE__ */ __name((output, context) => {
17278
17323
  return (0, import_smithy_client.take)(output, {
17279
17324
  CompressionType: import_smithy_client.expectString,
17325
+ HubAccessConfig: (_) => de_InferenceHubAccessConfig(_, context),
17280
17326
  ModelAccessConfig: (_) => de_ModelAccessConfig(_, context),
17281
17327
  S3DataType: import_smithy_client.expectString,
17282
17328
  S3Uri: import_smithy_client.expectString
@@ -19037,6 +19083,22 @@ var _CreateHubCommand = class _CreateHubCommand extends import_smithy_client.Com
19037
19083
  __name(_CreateHubCommand, "CreateHubCommand");
19038
19084
  var CreateHubCommand = _CreateHubCommand;
19039
19085
 
19086
+ // src/commands/CreateHubContentReferenceCommand.ts
19087
+
19088
+
19089
+
19090
+ var _CreateHubContentReferenceCommand = class _CreateHubContentReferenceCommand extends import_smithy_client.Command.classBuilder().ep({
19091
+ ...commonParams
19092
+ }).m(function(Command, cs, config, o) {
19093
+ return [
19094
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
19095
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
19096
+ ];
19097
+ }).s("SageMaker", "CreateHubContentReference", {}).n("SageMakerClient", "CreateHubContentReferenceCommand").f(void 0, void 0).ser(se_CreateHubContentReferenceCommand).de(de_CreateHubContentReferenceCommand).build() {
19098
+ };
19099
+ __name(_CreateHubContentReferenceCommand, "CreateHubContentReferenceCommand");
19100
+ var CreateHubContentReferenceCommand = _CreateHubContentReferenceCommand;
19101
+
19040
19102
  // src/commands/CreateHumanTaskUiCommand.ts
19041
19103
 
19042
19104
 
@@ -19949,6 +20011,22 @@ var _DeleteHubContentCommand = class _DeleteHubContentCommand extends import_smi
19949
20011
  __name(_DeleteHubContentCommand, "DeleteHubContentCommand");
19950
20012
  var DeleteHubContentCommand = _DeleteHubContentCommand;
19951
20013
 
20014
+ // src/commands/DeleteHubContentReferenceCommand.ts
20015
+
20016
+
20017
+
20018
+ var _DeleteHubContentReferenceCommand = class _DeleteHubContentReferenceCommand extends import_smithy_client.Command.classBuilder().ep({
20019
+ ...commonParams
20020
+ }).m(function(Command, cs, config, o) {
20021
+ return [
20022
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
20023
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
20024
+ ];
20025
+ }).s("SageMaker", "DeleteHubContentReference", {}).n("SageMakerClient", "DeleteHubContentReferenceCommand").f(void 0, void 0).ser(se_DeleteHubContentReferenceCommand).de(de_DeleteHubContentReferenceCommand).build() {
20026
+ };
20027
+ __name(_DeleteHubContentReferenceCommand, "DeleteHubContentReferenceCommand");
20028
+ var DeleteHubContentReferenceCommand = _DeleteHubContentReferenceCommand;
20029
+
19952
20030
  // src/commands/DeleteHumanTaskUiCommand.ts
19953
20031
 
19954
20032
 
@@ -22868,6 +22946,10 @@ var RetryPipelineExecutionCommand = _RetryPipelineExecutionCommand;
22868
22946
 
22869
22947
  // src/models/models_4.ts
22870
22948
 
22949
+ var MonitoringAlertStatus = {
22950
+ IN_ALERT: "InAlert",
22951
+ OK: "OK"
22952
+ };
22871
22953
  var MonitoringExecutionSortKey = {
22872
22954
  CREATION_TIME: "CreationTime",
22873
22955
  SCHEDULED_TIME: "ScheduledTime",
@@ -24026,6 +24108,7 @@ var commands = {
24026
24108
  CreateFeatureGroupCommand,
24027
24109
  CreateFlowDefinitionCommand,
24028
24110
  CreateHubCommand,
24111
+ CreateHubContentReferenceCommand,
24029
24112
  CreateHumanTaskUiCommand,
24030
24113
  CreateHyperParameterTuningJobCommand,
24031
24114
  CreateImageCommand,
@@ -24083,6 +24166,7 @@ var commands = {
24083
24166
  DeleteFlowDefinitionCommand,
24084
24167
  DeleteHubCommand,
24085
24168
  DeleteHubContentCommand,
24169
+ DeleteHubContentReferenceCommand,
24086
24170
  DeleteHumanTaskUiCommand,
24087
24171
  DeleteHyperParameterTuningJobCommand,
24088
24172
  DeleteImageCommand,
@@ -25177,6 +25261,21 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
25177
25261
  }, "waitUntilTransformJobCompletedOrStopped");
25178
25262
 
25179
25263
  // src/models/models_3.ts
25264
+ var ScheduleStatus = {
25265
+ FAILED: "Failed",
25266
+ PENDING: "Pending",
25267
+ SCHEDULED: "Scheduled",
25268
+ STOPPED: "Stopped"
25269
+ };
25270
+ var NotebookInstanceStatus = {
25271
+ Deleting: "Deleting",
25272
+ Failed: "Failed",
25273
+ InService: "InService",
25274
+ Pending: "Pending",
25275
+ Stopped: "Stopped",
25276
+ Stopping: "Stopping",
25277
+ Updating: "Updating"
25278
+ };
25180
25279
  var PipelineStatus = {
25181
25280
  ACTIVE: "Active",
25182
25281
  DELETING: "Deleting"
@@ -25536,10 +25635,6 @@ var MonitoringAlertHistorySortKey = {
25536
25635
  CreationTime: "CreationTime",
25537
25636
  Status: "Status"
25538
25637
  };
25539
- var MonitoringAlertStatus = {
25540
- IN_ALERT: "InAlert",
25541
- OK: "OK"
25542
- };
25543
25638
  // Annotate the CommonJS export names for ESM import in node:
25544
25639
 
25545
25640
  0 && (module.exports = {
@@ -25575,6 +25670,7 @@ var MonitoringAlertStatus = {
25575
25670
  CreateFeatureGroupCommand,
25576
25671
  CreateFlowDefinitionCommand,
25577
25672
  CreateHubCommand,
25673
+ CreateHubContentReferenceCommand,
25578
25674
  CreateHumanTaskUiCommand,
25579
25675
  CreateHyperParameterTuningJobCommand,
25580
25676
  CreateImageCommand,
@@ -25632,6 +25728,7 @@ var MonitoringAlertStatus = {
25632
25728
  DeleteFlowDefinitionCommand,
25633
25729
  DeleteHubCommand,
25634
25730
  DeleteHubContentCommand,
25731
+ DeleteHubContentReferenceCommand,
25635
25732
  DeleteHumanTaskUiCommand,
25636
25733
  DeleteHyperParameterTuningJobCommand,
25637
25734
  DeleteImageCommand,
@@ -26154,6 +26251,7 @@ var MonitoringAlertStatus = {
26154
26251
  FlowDefinitionStatus,
26155
26252
  HubStatus,
26156
26253
  HubContentStatus,
26254
+ HubContentSupportStatus,
26157
26255
  HumanTaskUiStatus,
26158
26256
  TrainingJobStatus,
26159
26257
  HyperParameterTuningJobStatus,
@@ -26171,12 +26269,12 @@ var MonitoringAlertStatus = {
26171
26269
  DetailedModelPackageStatus,
26172
26270
  ModelPackageGroupStatus,
26173
26271
  ExecutionStatus,
26174
- ScheduleStatus,
26175
- NotebookInstanceStatus,
26176
26272
  OidcConfigFilterSensitiveLog,
26177
26273
  CreateWorkforceRequestFilterSensitiveLog,
26178
26274
  DescribeModelCardResponseFilterSensitiveLog,
26179
26275
  DescribeModelPackageOutputFilterSensitiveLog,
26276
+ ScheduleStatus,
26277
+ NotebookInstanceStatus,
26180
26278
  PipelineStatus,
26181
26279
  PipelineExecutionStatus,
26182
26280
  ProcessingJobStatus,
@@ -26,6 +26,7 @@ import { CreateExperimentCommand, } from "./commands/CreateExperimentCommand";
26
26
  import { CreateFeatureGroupCommand, } from "./commands/CreateFeatureGroupCommand";
27
27
  import { CreateFlowDefinitionCommand, } from "./commands/CreateFlowDefinitionCommand";
28
28
  import { CreateHubCommand } from "./commands/CreateHubCommand";
29
+ import { CreateHubContentReferenceCommand, } from "./commands/CreateHubContentReferenceCommand";
29
30
  import { CreateHumanTaskUiCommand, } from "./commands/CreateHumanTaskUiCommand";
30
31
  import { CreateHyperParameterTuningJobCommand, } from "./commands/CreateHyperParameterTuningJobCommand";
31
32
  import { CreateImageCommand } from "./commands/CreateImageCommand";
@@ -83,6 +84,7 @@ import { DeleteFeatureGroupCommand, } from "./commands/DeleteFeatureGroupCommand
83
84
  import { DeleteFlowDefinitionCommand, } from "./commands/DeleteFlowDefinitionCommand";
84
85
  import { DeleteHubCommand } from "./commands/DeleteHubCommand";
85
86
  import { DeleteHubContentCommand, } from "./commands/DeleteHubContentCommand";
87
+ import { DeleteHubContentReferenceCommand, } from "./commands/DeleteHubContentReferenceCommand";
86
88
  import { DeleteHumanTaskUiCommand, } from "./commands/DeleteHumanTaskUiCommand";
87
89
  import { DeleteHyperParameterTuningJobCommand, } from "./commands/DeleteHyperParameterTuningJobCommand";
88
90
  import { DeleteImageCommand } from "./commands/DeleteImageCommand";
@@ -356,6 +358,7 @@ const commands = {
356
358
  CreateFeatureGroupCommand,
357
359
  CreateFlowDefinitionCommand,
358
360
  CreateHubCommand,
361
+ CreateHubContentReferenceCommand,
359
362
  CreateHumanTaskUiCommand,
360
363
  CreateHyperParameterTuningJobCommand,
361
364
  CreateImageCommand,
@@ -413,6 +416,7 @@ const commands = {
413
416
  DeleteFlowDefinitionCommand,
414
417
  DeleteHubCommand,
415
418
  DeleteHubContentCommand,
419
+ DeleteHubContentReferenceCommand,
416
420
  DeleteHumanTaskUiCommand,
417
421
  DeleteHyperParameterTuningJobCommand,
418
422
  DeleteImageCommand,
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateHubContentReferenceCommand, se_CreateHubContentReferenceCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateHubContentReferenceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SageMaker", "CreateHubContentReference", {})
19
+ .n("SageMakerClient", "CreateHubContentReferenceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateHubContentReferenceCommand)
22
+ .de(de_CreateHubContentReferenceCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteHubContentReferenceCommand, se_DeleteHubContentReferenceCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class DeleteHubContentReferenceCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("SageMaker", "DeleteHubContentReference", {})
19
+ .n("SageMakerClient", "DeleteHubContentReferenceCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteHubContentReferenceCommand)
22
+ .de(de_DeleteHubContentReferenceCommand)
23
+ .build() {
24
+ }
@@ -25,6 +25,7 @@ export * from "./CreateExperimentCommand";
25
25
  export * from "./CreateFeatureGroupCommand";
26
26
  export * from "./CreateFlowDefinitionCommand";
27
27
  export * from "./CreateHubCommand";
28
+ export * from "./CreateHubContentReferenceCommand";
28
29
  export * from "./CreateHumanTaskUiCommand";
29
30
  export * from "./CreateHyperParameterTuningJobCommand";
30
31
  export * from "./CreateImageCommand";
@@ -82,6 +83,7 @@ export * from "./DeleteFeatureGroupCommand";
82
83
  export * from "./DeleteFlowDefinitionCommand";
83
84
  export * from "./DeleteHubCommand";
84
85
  export * from "./DeleteHubContentCommand";
86
+ export * from "./DeleteHubContentReferenceCommand";
85
87
  export * from "./DeleteHumanTaskUiCommand";
86
88
  export * from "./DeleteHyperParameterTuningJobCommand";
87
89
  export * from "./DeleteImageCommand";
@@ -68,6 +68,7 @@ export const RetentionType = {
68
68
  };
69
69
  export const HubContentType = {
70
70
  MODEL: "Model",
71
+ MODEL_REFERENCE: "ModelReference",
71
72
  NOTEBOOK: "Notebook",
72
73
  };
73
74
  export const RecommendationStatus = {
@@ -164,6 +165,10 @@ export const HubContentStatus = {
164
165
  IMPORTING: "Importing",
165
166
  IMPORT_FAILED: "ImportFailed",
166
167
  };
168
+ export const HubContentSupportStatus = {
169
+ DEPRECATED: "Deprecated",
170
+ SUPPORTED: "Supported",
171
+ };
167
172
  export const HumanTaskUiStatus = {
168
173
  ACTIVE: "Active",
169
174
  DELETING: "Deleting",
@@ -301,21 +306,6 @@ export const ExecutionStatus = {
301
306
  STOPPED: "Stopped",
302
307
  STOPPING: "Stopping",
303
308
  };
304
- export const ScheduleStatus = {
305
- FAILED: "Failed",
306
- PENDING: "Pending",
307
- SCHEDULED: "Scheduled",
308
- STOPPED: "Stopped",
309
- };
310
- export const NotebookInstanceStatus = {
311
- Deleting: "Deleting",
312
- Failed: "Failed",
313
- InService: "InService",
314
- Pending: "Pending",
315
- Stopped: "Stopped",
316
- Stopping: "Stopping",
317
- Updating: "Updating",
318
- };
319
309
  export const OidcConfigFilterSensitiveLog = (obj) => ({
320
310
  ...obj,
321
311
  ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
@@ -1,3 +1,18 @@
1
+ export const ScheduleStatus = {
2
+ FAILED: "Failed",
3
+ PENDING: "Pending",
4
+ SCHEDULED: "Scheduled",
5
+ STOPPED: "Stopped",
6
+ };
7
+ export const NotebookInstanceStatus = {
8
+ Deleting: "Deleting",
9
+ Failed: "Failed",
10
+ InService: "InService",
11
+ Pending: "Pending",
12
+ Stopped: "Stopped",
13
+ Stopping: "Stopping",
14
+ Updating: "Updating",
15
+ };
1
16
  export const PipelineStatus = {
2
17
  ACTIVE: "Active",
3
18
  DELETING: "Deleting",
@@ -357,7 +372,3 @@ export const MonitoringAlertHistorySortKey = {
357
372
  CreationTime: "CreationTime",
358
373
  Status: "Status",
359
374
  };
360
- export const MonitoringAlertStatus = {
361
- IN_ALERT: "InAlert",
362
- OK: "OK",
363
- };
@@ -1,6 +1,10 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
3
  import { OidcConfigFilterSensitiveLog, } from "./models_2";
4
+ export const MonitoringAlertStatus = {
5
+ IN_ALERT: "InAlert",
6
+ OK: "OK",
7
+ };
4
8
  export const MonitoringExecutionSortKey = {
5
9
  CREATION_TIME: "CreationTime",
6
10
  SCHEDULED_TIME: "ScheduledTime",
@@ -167,6 +167,12 @@ export const se_CreateHubCommand = async (input, context) => {
167
167
  body = JSON.stringify(_json(input));
168
168
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
169
169
  };
170
+ export const se_CreateHubContentReferenceCommand = async (input, context) => {
171
+ const headers = sharedHeaders("CreateHubContentReference");
172
+ let body;
173
+ body = JSON.stringify(_json(input));
174
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
175
+ };
170
176
  export const se_CreateHumanTaskUiCommand = async (input, context) => {
171
177
  const headers = sharedHeaders("CreateHumanTaskUi");
172
178
  let body;
@@ -509,6 +515,12 @@ export const se_DeleteHubContentCommand = async (input, context) => {
509
515
  body = JSON.stringify(_json(input));
510
516
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
511
517
  };
518
+ export const se_DeleteHubContentReferenceCommand = async (input, context) => {
519
+ const headers = sharedHeaders("DeleteHubContentReference");
520
+ let body;
521
+ body = JSON.stringify(_json(input));
522
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
523
+ };
512
524
  export const se_DeleteHumanTaskUiCommand = async (input, context) => {
513
525
  const headers = sharedHeaders("DeleteHumanTaskUi");
514
526
  let body;
@@ -2315,6 +2327,19 @@ export const de_CreateHubCommand = async (output, context) => {
2315
2327
  };
2316
2328
  return response;
2317
2329
  };
2330
+ export const de_CreateHubContentReferenceCommand = async (output, context) => {
2331
+ if (output.statusCode >= 300) {
2332
+ return de_CommandError(output, context);
2333
+ }
2334
+ const data = await parseBody(output.body, context);
2335
+ let contents = {};
2336
+ contents = de_CreateHubContentReferenceResponse(data, context);
2337
+ const response = {
2338
+ $metadata: deserializeMetadata(output),
2339
+ ...contents,
2340
+ };
2341
+ return response;
2342
+ };
2318
2343
  export const de_CreateHumanTaskUiCommand = async (output, context) => {
2319
2344
  if (output.statusCode >= 300) {
2320
2345
  return de_CommandError(output, context);
@@ -3011,6 +3036,16 @@ export const de_DeleteHubContentCommand = async (output, context) => {
3011
3036
  };
3012
3037
  return response;
3013
3038
  };
3039
+ export const de_DeleteHubContentReferenceCommand = async (output, context) => {
3040
+ if (output.statusCode >= 300) {
3041
+ return de_CommandError(output, context);
3042
+ }
3043
+ await collectBody(output.body, context);
3044
+ const response = {
3045
+ $metadata: deserializeMetadata(output),
3046
+ };
3047
+ return response;
3048
+ };
3014
3049
  export const de_DeleteHumanTaskUiCommand = async (output, context) => {
3015
3050
  if (output.statusCode >= 300) {
3016
3051
  return de_CommandError(output, context);
@@ -8865,6 +8900,12 @@ const de_CreateFlowDefinitionResponse = (output, context) => {
8865
8900
  FlowDefinitionArn: __expectString,
8866
8901
  });
8867
8902
  };
8903
+ const de_CreateHubContentReferenceResponse = (output, context) => {
8904
+ return take(output, {
8905
+ HubArn: __expectString,
8906
+ HubContentArn: __expectString,
8907
+ });
8908
+ };
8868
8909
  const de_CreateHubResponse = (output, context) => {
8869
8910
  return take(output, {
8870
8911
  HubArn: __expectString,
@@ -9816,6 +9857,9 @@ const de_DescribeHubContentResponse = (output, context) => {
9816
9857
  HubContentType: __expectString,
9817
9858
  HubContentVersion: __expectString,
9818
9859
  HubName: __expectString,
9860
+ ReferenceMinVersion: __expectString,
9861
+ SageMakerPublicHubContentArn: __expectString,
9862
+ SupportStatus: __expectString,
9819
9863
  });
9820
9864
  };
9821
9865
  const de_DescribeHubResponse = (output, context) => {
@@ -11296,6 +11340,9 @@ const de_HubContentInfo = (output, context) => {
11296
11340
  HubContentStatus: __expectString,
11297
11341
  HubContentType: __expectString,
11298
11342
  HubContentVersion: __expectString,
11343
+ OriginalCreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
11344
+ SageMakerPublicHubContentArn: __expectString,
11345
+ SupportStatus: __expectString,
11299
11346
  });
11300
11347
  };
11301
11348
  const de_HubContentInfoList = (output, context) => {
@@ -11807,6 +11854,11 @@ const de_InferenceExperimentSummary = (output, context) => {
11807
11854
  Type: __expectString,
11808
11855
  });
11809
11856
  };
11857
+ const de_InferenceHubAccessConfig = (output, context) => {
11858
+ return take(output, {
11859
+ HubContentArn: __expectString,
11860
+ });
11861
+ };
11810
11862
  const de_InferenceMetrics = (output, context) => {
11811
11863
  return take(output, {
11812
11864
  MaxInvocations: __expectInt32,
@@ -14681,6 +14733,7 @@ const de_S3DataSource = (output, context) => {
14681
14733
  const de_S3ModelDataSource = (output, context) => {
14682
14734
  return take(output, {
14683
14735
  CompressionType: __expectString,
14736
+ HubAccessConfig: (_) => de_InferenceHubAccessConfig(_, context),
14684
14737
  ModelAccessConfig: (_) => de_ModelAccessConfig(_, context),
14685
14738
  S3DataType: __expectString,
14686
14739
  S3Uri: __expectString,