@aws-sdk/client-sagemaker 3.840.0 → 3.843.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 (66) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +135 -28
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/CreateHubContentPresignedUrlsCommand.js +22 -0
  5. package/dist-es/commands/CreateModelPackageCommand.js +1 -1
  6. package/dist-es/commands/StartSessionCommand.js +22 -0
  7. package/dist-es/commands/index.js +2 -0
  8. package/dist-es/models/models_0.js +0 -4
  9. package/dist-es/models/models_1.js +9 -4
  10. package/dist-es/models/models_2.js +5 -17
  11. package/dist-es/models/models_3.js +12 -0
  12. package/dist-es/pagination/CreateHubContentPresignedUrlsPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +1 -0
  14. package/dist-es/protocols/Aws_json1_1.js +67 -0
  15. package/dist-types/SageMaker.d.ts +14 -0
  16. package/dist-types/SageMakerClient.d.ts +4 -2
  17. package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
  18. package/dist-types/commands/CreateDomainCommand.d.ts +2 -2
  19. package/dist-types/commands/CreateHubContentPresignedUrlsCommand.d.ts +87 -0
  20. package/dist-types/commands/CreateModelPackageCommand.d.ts +1 -1
  21. package/dist-types/commands/CreateModelPackageGroupCommand.d.ts +1 -2
  22. package/dist-types/commands/CreateSpaceCommand.d.ts +1 -0
  23. package/dist-types/commands/DescribeFeatureGroupCommand.d.ts +1 -2
  24. package/dist-types/commands/DescribeSpaceCommand.d.ts +1 -0
  25. package/dist-types/commands/ListAssociationsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListAutoMLJobsCommand.d.ts +1 -1
  27. package/dist-types/commands/ListSpacesCommand.d.ts +1 -0
  28. package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -1
  29. package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  30. package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  31. package/dist-types/commands/StartSessionCommand.d.ts +80 -0
  32. package/dist-types/commands/UpdateClusterCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateSpaceCommand.d.ts +1 -0
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/models_0.d.ts +16 -12
  36. package/dist-types/models/models_1.d.ts +100 -190
  37. package/dist-types/models/models_2.d.ts +191 -72
  38. package/dist-types/models/models_3.d.ts +62 -148
  39. package/dist-types/models/models_4.d.ts +155 -60
  40. package/dist-types/models/models_5.d.ts +89 -4
  41. package/dist-types/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +7 -0
  42. package/dist-types/pagination/index.d.ts +1 -0
  43. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  44. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  45. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  46. package/dist-types/ts3.4/commands/CreateHubContentPresignedUrlsCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/CreateModelPackageCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/CreateModelPackageGroupCommand.d.ts +4 -2
  49. package/dist-types/ts3.4/commands/DescribeFeatureGroupCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/ListAssociationsCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/ListAutoMLJobsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/StartSessionCommand.d.ts +47 -0
  56. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  57. package/dist-types/ts3.4/models/models_0.d.ts +4 -6
  58. package/dist-types/ts3.4/models/models_1.d.ts +34 -53
  59. package/dist-types/ts3.4/models/models_2.d.ts +58 -31
  60. package/dist-types/ts3.4/models/models_3.d.ts +26 -42
  61. package/dist-types/ts3.4/models/models_4.d.ts +44 -19
  62. package/dist-types/ts3.4/models/models_5.d.ts +26 -2
  63. package/dist-types/ts3.4/pagination/CreateHubContentPresignedUrlsPaginator.d.ts +11 -0
  64. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  65. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  66. package/package.json +1 -1
package/README.md CHANGED
@@ -442,6 +442,14 @@ CreateHub
442
442
 
443
443
  [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/)
444
444
 
445
+ </details>
446
+ <details>
447
+ <summary>
448
+ CreateHubContentPresignedUrls
449
+ </summary>
450
+
451
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/CreateHubContentPresignedUrlsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubContentPresignedUrlsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/CreateHubContentPresignedUrlsCommandOutput/)
452
+
445
453
  </details>
446
454
  <details>
447
455
  <summary>
@@ -2594,6 +2602,14 @@ StartPipelineExecution
2594
2602
 
2595
2603
  [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/StartPipelineExecutionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/StartPipelineExecutionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/StartPipelineExecutionCommandOutput/)
2596
2604
 
2605
+ </details>
2606
+ <details>
2607
+ <summary>
2608
+ StartSession
2609
+ </summary>
2610
+
2611
+ [Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/sagemaker/command/StartSessionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/StartSessionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-sagemaker/Interface/StartSessionCommandOutput/)
2612
+
2597
2613
  </details>
2598
2614
  <details>
2599
2615
  <summary>
package/dist-cjs/index.js CHANGED
@@ -119,6 +119,7 @@ __export(index_exports, {
119
119
  CreateFeatureGroupCommand: () => CreateFeatureGroupCommand,
120
120
  CreateFlowDefinitionCommand: () => CreateFlowDefinitionCommand,
121
121
  CreateHubCommand: () => CreateHubCommand,
122
+ CreateHubContentPresignedUrlsCommand: () => CreateHubContentPresignedUrlsCommand,
122
123
  CreateHubContentReferenceCommand: () => CreateHubContentReferenceCommand,
123
124
  CreateHumanTaskUiCommand: () => CreateHumanTaskUiCommand,
124
125
  CreateHyperParameterTuningJobCommand: () => CreateHyperParameterTuningJobCommand,
@@ -611,6 +612,7 @@ __export(index_exports, {
611
612
  StartMonitoringScheduleCommand: () => StartMonitoringScheduleCommand,
612
613
  StartNotebookInstanceCommand: () => StartNotebookInstanceCommand,
613
614
  StartPipelineExecutionCommand: () => StartPipelineExecutionCommand,
615
+ StartSessionCommand: () => StartSessionCommand,
614
616
  Statistic: () => Statistic,
615
617
  StepStatus: () => StepStatus,
616
618
  StopAutoMLJobCommand: () => StopAutoMLJobCommand,
@@ -715,6 +717,7 @@ __export(index_exports, {
715
717
  WorkforceStatus: () => WorkforceStatus,
716
718
  _InstanceType: () => _InstanceType,
717
719
  __Client: () => import_smithy_client.Client,
720
+ paginateCreateHubContentPresignedUrls: () => paginateCreateHubContentPresignedUrls,
718
721
  paginateListActions: () => paginateListActions,
719
722
  paginateListAlgorithms: () => paginateListAlgorithms,
720
723
  paginateListAliases: () => paginateListAliases,
@@ -2490,13 +2493,13 @@ var ResourceSharingStrategy = {
2490
2493
  LEND: "Lend",
2491
2494
  LENDANDBORROW: "LendAndBorrow"
2492
2495
  };
2496
+
2497
+ // src/models/models_1.ts
2498
+
2493
2499
  var ConditionOutcome = {
2494
2500
  FALSE: "False",
2495
2501
  TRUE: "True"
2496
2502
  };
2497
-
2498
- // src/models/models_1.ts
2499
-
2500
2503
  var ConflictException = class _ConflictException extends SageMakerServiceException {
2501
2504
  static {
2502
2505
  __name(this, "ConflictException");
@@ -2827,6 +2830,11 @@ var ThroughputMode = {
2827
2830
  ON_DEMAND: "OnDemand",
2828
2831
  PROVISIONED: "Provisioned"
2829
2832
  };
2833
+ var HubContentType = {
2834
+ MODEL: "Model",
2835
+ MODEL_REFERENCE: "ModelReference",
2836
+ NOTEBOOK: "Notebook"
2837
+ };
2830
2838
  var HyperParameterTuningJobStrategyType = {
2831
2839
  BAYESIAN: "Bayesian",
2832
2840
  GRID: "Grid",
@@ -3082,10 +3090,6 @@ var ModelPackageModelCardFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3082
3090
  ...obj,
3083
3091
  ...obj.ModelCardContent && { ModelCardContent: import_smithy_client.SENSITIVE_STRING }
3084
3092
  }), "ModelPackageModelCardFilterSensitiveLog");
3085
- var CreateModelPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3086
- ...obj,
3087
- ...obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }
3088
- }), "CreateModelPackageInputFilterSensitiveLog");
3089
3093
 
3090
3094
  // src/models/models_2.ts
3091
3095
 
@@ -3262,11 +3266,6 @@ var RetentionType = {
3262
3266
  Delete: "Delete",
3263
3267
  Retain: "Retain"
3264
3268
  };
3265
- var HubContentType = {
3266
- MODEL: "Model",
3267
- MODEL_REFERENCE: "ModelReference",
3268
- NOTEBOOK: "Notebook"
3269
- };
3270
3269
  var RecommendationStatus = {
3271
3270
  COMPLETED: "COMPLETED",
3272
3271
  FAILED: "FAILED",
@@ -3322,18 +3321,10 @@ var VariantStatus = {
3322
3321
  DELETING: "Deleting",
3323
3322
  UPDATING: "Updating"
3324
3323
  };
3325
- var FeatureGroupStatus = {
3326
- CREATED: "Created",
3327
- CREATE_FAILED: "CreateFailed",
3328
- CREATING: "Creating",
3329
- DELETE_FAILED: "DeleteFailed",
3330
- DELETING: "Deleting"
3331
- };
3332
- var LastUpdateStatusValue = {
3333
- FAILED: "Failed",
3334
- IN_PROGRESS: "InProgress",
3335
- SUCCESSFUL: "Successful"
3336
- };
3324
+ var CreateModelPackageInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3325
+ ...obj,
3326
+ ...obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }
3327
+ }), "CreateModelPackageInputFilterSensitiveLog");
3337
3328
  var OidcConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
3338
3329
  ...obj,
3339
3330
  ...obj.ClientSecret && { ClientSecret: import_smithy_client.SENSITIVE_STRING }
@@ -3524,6 +3515,12 @@ var se_CreateHubCommand = /* @__PURE__ */ __name(async (input, context) => {
3524
3515
  body = JSON.stringify((0, import_smithy_client._json)(input));
3525
3516
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
3526
3517
  }, "se_CreateHubCommand");
3518
+ var se_CreateHubContentPresignedUrlsCommand = /* @__PURE__ */ __name(async (input, context) => {
3519
+ const headers = sharedHeaders("CreateHubContentPresignedUrls");
3520
+ let body;
3521
+ body = JSON.stringify((0, import_smithy_client._json)(input));
3522
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
3523
+ }, "se_CreateHubContentPresignedUrlsCommand");
3527
3524
  var se_CreateHubContentReferenceCommand = /* @__PURE__ */ __name(async (input, context) => {
3528
3525
  const headers = sharedHeaders("CreateHubContentReference");
3529
3526
  let body;
@@ -5138,6 +5135,12 @@ var se_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (input, cont
5138
5135
  body = JSON.stringify(se_StartPipelineExecutionRequest(input, context));
5139
5136
  return buildHttpRpcRequest(context, headers, "/", void 0, body);
5140
5137
  }, "se_StartPipelineExecutionCommand");
5138
+ var se_StartSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
5139
+ const headers = sharedHeaders("StartSession");
5140
+ let body;
5141
+ body = JSON.stringify((0, import_smithy_client._json)(input));
5142
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
5143
+ }, "se_StartSessionCommand");
5141
5144
  var se_StopAutoMLJobCommand = /* @__PURE__ */ __name(async (input, context) => {
5142
5145
  const headers = sharedHeaders("StopAutoMLJob");
5143
5146
  let body;
@@ -5873,6 +5876,19 @@ var de_CreateHubCommand = /* @__PURE__ */ __name(async (output, context) => {
5873
5876
  };
5874
5877
  return response;
5875
5878
  }, "de_CreateHubCommand");
5879
+ var de_CreateHubContentPresignedUrlsCommand = /* @__PURE__ */ __name(async (output, context) => {
5880
+ if (output.statusCode >= 300) {
5881
+ return de_CommandError(output, context);
5882
+ }
5883
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
5884
+ let contents = {};
5885
+ contents = de_CreateHubContentPresignedUrlsResponse(data, context);
5886
+ const response = {
5887
+ $metadata: deserializeMetadata(output),
5888
+ ...contents
5889
+ };
5890
+ return response;
5891
+ }, "de_CreateHubContentPresignedUrlsCommand");
5876
5892
  var de_CreateHubContentReferenceCommand = /* @__PURE__ */ __name(async (output, context) => {
5877
5893
  if (output.statusCode >= 300) {
5878
5894
  return de_CommandError(output, context);
@@ -9247,6 +9263,19 @@ var de_StartPipelineExecutionCommand = /* @__PURE__ */ __name(async (output, con
9247
9263
  };
9248
9264
  return response;
9249
9265
  }, "de_StartPipelineExecutionCommand");
9266
+ var de_StartSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
9267
+ if (output.statusCode >= 300) {
9268
+ return de_CommandError(output, context);
9269
+ }
9270
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
9271
+ let contents = {};
9272
+ contents = de_StartSessionResponse(data, context);
9273
+ const response = {
9274
+ $metadata: deserializeMetadata(output),
9275
+ ...contents
9276
+ };
9277
+ return response;
9278
+ }, "de_StartSessionCommand");
9250
9279
  var de_StopAutoMLJobCommand = /* @__PURE__ */ __name(async (output, context) => {
9251
9280
  if (output.statusCode >= 300) {
9252
9281
  return de_CommandError(output, context);
@@ -11820,6 +11849,18 @@ var de_AuthenticationRequestExtraParams = /* @__PURE__ */ __name((output, contex
11820
11849
  return acc;
11821
11850
  }, {});
11822
11851
  }, "de_AuthenticationRequestExtraParams");
11852
+ var de_AuthorizedUrl = /* @__PURE__ */ __name((output, context) => {
11853
+ return (0, import_smithy_client.take)(output, {
11854
+ LocalPath: import_smithy_client.expectString,
11855
+ Url: import_smithy_client.expectString
11856
+ });
11857
+ }, "de_AuthorizedUrl");
11858
+ var de_AuthorizedUrlConfigs = /* @__PURE__ */ __name((output, context) => {
11859
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
11860
+ return de_AuthorizedUrl(entry, context);
11861
+ });
11862
+ return retVal;
11863
+ }, "de_AuthorizedUrlConfigs");
11823
11864
  var de_AutoMLAlgorithmConfig = /* @__PURE__ */ __name((output, context) => {
11824
11865
  return (0, import_smithy_client.take)(output, {
11825
11866
  AutoMLAlgorithms: /* @__PURE__ */ __name((_) => de_AutoMLAlgorithms(_, context), "AutoMLAlgorithms")
@@ -12966,6 +13007,12 @@ var de_CreateFlowDefinitionResponse = /* @__PURE__ */ __name((output, context) =
12966
13007
  FlowDefinitionArn: import_smithy_client.expectString
12967
13008
  });
12968
13009
  }, "de_CreateFlowDefinitionResponse");
13010
+ var de_CreateHubContentPresignedUrlsResponse = /* @__PURE__ */ __name((output, context) => {
13011
+ return (0, import_smithy_client.take)(output, {
13012
+ AuthorizedUrlConfigs: /* @__PURE__ */ __name((_) => de_AuthorizedUrlConfigs(_, context), "AuthorizedUrlConfigs"),
13013
+ NextToken: import_smithy_client.expectString
13014
+ });
13015
+ }, "de_CreateHubContentPresignedUrlsResponse");
12969
13016
  var de_CreateHubContentReferenceResponse = /* @__PURE__ */ __name((output, context) => {
12970
13017
  return (0, import_smithy_client.take)(output, {
12971
13018
  HubArn: import_smithy_client.expectString,
@@ -19379,6 +19426,7 @@ var de_SpaceSettings = /* @__PURE__ */ __name((output, context) => {
19379
19426
  JupyterLabAppSettings: /* @__PURE__ */ __name((_) => de_SpaceJupyterLabAppSettings(_, context), "JupyterLabAppSettings"),
19380
19427
  JupyterServerAppSettings: /* @__PURE__ */ __name((_) => de_JupyterServerAppSettings(_, context), "JupyterServerAppSettings"),
19381
19428
  KernelGatewayAppSettings: /* @__PURE__ */ __name((_) => de_KernelGatewayAppSettings(_, context), "KernelGatewayAppSettings"),
19429
+ RemoteAccess: import_smithy_client.expectString,
19382
19430
  SpaceManagedResources: import_smithy_client.expectString,
19383
19431
  SpaceStorageSettings: /* @__PURE__ */ __name((_) => de_SpaceStorageSettings(_, context), "SpaceStorageSettings")
19384
19432
  });
@@ -19386,6 +19434,7 @@ var de_SpaceSettings = /* @__PURE__ */ __name((output, context) => {
19386
19434
  var de_SpaceSettingsSummary = /* @__PURE__ */ __name((output, context) => {
19387
19435
  return (0, import_smithy_client.take)(output, {
19388
19436
  AppType: import_smithy_client.expectString,
19437
+ RemoteAccess: import_smithy_client.expectString,
19389
19438
  SpaceStorageSettings: /* @__PURE__ */ __name((_) => de_SpaceStorageSettings(_, context), "SpaceStorageSettings")
19390
19439
  });
19391
19440
  }, "de_SpaceSettingsSummary");
@@ -19426,6 +19475,13 @@ var de_StartPipelineExecutionResponse = /* @__PURE__ */ __name((output, context)
19426
19475
  PipelineExecutionArn: import_smithy_client.expectString
19427
19476
  });
19428
19477
  }, "de_StartPipelineExecutionResponse");
19478
+ var de_StartSessionResponse = /* @__PURE__ */ __name((output, context) => {
19479
+ return (0, import_smithy_client.take)(output, {
19480
+ SessionId: import_smithy_client.expectString,
19481
+ StreamUrl: import_smithy_client.expectString,
19482
+ TokenValue: import_smithy_client.expectString
19483
+ });
19484
+ }, "de_StartSessionResponse");
19429
19485
  var de_StopInferenceExperimentResponse = /* @__PURE__ */ __name((output, context) => {
19430
19486
  return (0, import_smithy_client.take)(output, {
19431
19487
  InferenceExperimentArn: import_smithy_client.expectString
@@ -21041,6 +21097,21 @@ var CreateHubCommand = class extends import_smithy_client.Command.classBuilder()
21041
21097
  }
21042
21098
  };
21043
21099
 
21100
+ // src/commands/CreateHubContentPresignedUrlsCommand.ts
21101
+
21102
+
21103
+
21104
+ var CreateHubContentPresignedUrlsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
21105
+ return [
21106
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
21107
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
21108
+ ];
21109
+ }).s("SageMaker", "CreateHubContentPresignedUrls", {}).n("SageMakerClient", "CreateHubContentPresignedUrlsCommand").f(void 0, void 0).ser(se_CreateHubContentPresignedUrlsCommand).de(de_CreateHubContentPresignedUrlsCommand).build() {
21110
+ static {
21111
+ __name(this, "CreateHubContentPresignedUrlsCommand");
21112
+ }
21113
+ };
21114
+
21044
21115
  // src/commands/CreateHubContentReferenceCommand.ts
21045
21116
 
21046
21117
 
@@ -23073,6 +23144,18 @@ var DescribeModelBiasJobDefinitionCommand = class extends import_smithy_client.C
23073
23144
 
23074
23145
  // src/models/models_3.ts
23075
23146
 
23147
+ var FeatureGroupStatus = {
23148
+ CREATED: "Created",
23149
+ CREATE_FAILED: "CreateFailed",
23150
+ CREATING: "Creating",
23151
+ DELETE_FAILED: "DeleteFailed",
23152
+ DELETING: "Deleting"
23153
+ };
23154
+ var LastUpdateStatusValue = {
23155
+ FAILED: "Failed",
23156
+ IN_PROGRESS: "InProgress",
23157
+ SUCCESSFUL: "Successful"
23158
+ };
23076
23159
  var OfflineStoreStatusValue = {
23077
23160
  ACTIVE: "Active",
23078
23161
  BLOCKED: "Blocked",
@@ -25845,6 +25928,21 @@ var StartPipelineExecutionCommand = class extends import_smithy_client.Command.c
25845
25928
  }
25846
25929
  };
25847
25930
 
25931
+ // src/commands/StartSessionCommand.ts
25932
+
25933
+
25934
+
25935
+ var StartSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
25936
+ return [
25937
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
25938
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
25939
+ ];
25940
+ }).s("SageMaker", "StartSession", {}).n("SageMakerClient", "StartSessionCommand").f(void 0, void 0).ser(se_StartSessionCommand).de(de_StartSessionCommand).build() {
25941
+ static {
25942
+ __name(this, "StartSessionCommand");
25943
+ }
25944
+ };
25945
+
25848
25946
  // src/commands/StopAutoMLJobCommand.ts
25849
25947
 
25850
25948
 
@@ -26784,6 +26882,7 @@ var commands = {
26784
26882
  CreateFeatureGroupCommand,
26785
26883
  CreateFlowDefinitionCommand,
26786
26884
  CreateHubCommand,
26885
+ CreateHubContentPresignedUrlsCommand,
26787
26886
  CreateHubContentReferenceCommand,
26788
26887
  CreateHumanTaskUiCommand,
26789
26888
  CreateHyperParameterTuningJobCommand,
@@ -27053,6 +27152,7 @@ var commands = {
27053
27152
  StartMonitoringScheduleCommand,
27054
27153
  StartNotebookInstanceCommand,
27055
27154
  StartPipelineExecutionCommand,
27155
+ StartSessionCommand,
27056
27156
  StopAutoMLJobCommand,
27057
27157
  StopCompilationJobCommand,
27058
27158
  StopEdgeDeploymentStageCommand,
@@ -27120,6 +27220,10 @@ var SageMaker = class extends SageMakerClient {
27120
27220
  };
27121
27221
  (0, import_smithy_client.createAggregatedClient)(commands, SageMaker);
27122
27222
 
27223
+ // src/pagination/CreateHubContentPresignedUrlsPaginator.ts
27224
+
27225
+ var paginateCreateHubContentPresignedUrls = (0, import_core.createPaginator)(SageMakerClient, CreateHubContentPresignedUrlsCommand, "NextToken", "NextToken", "MaxResults");
27226
+
27123
27227
  // src/pagination/ListActionsPaginator.ts
27124
27228
 
27125
27229
  var paginateListActions = (0, import_core.createPaginator)(SageMakerClient, ListActionsCommand, "NextToken", "NextToken", "MaxResults");
@@ -28027,6 +28131,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28027
28131
  CreateFeatureGroupCommand,
28028
28132
  CreateFlowDefinitionCommand,
28029
28133
  CreateHubCommand,
28134
+ CreateHubContentPresignedUrlsCommand,
28030
28135
  CreateHubContentReferenceCommand,
28031
28136
  CreateHumanTaskUiCommand,
28032
28137
  CreateHyperParameterTuningJobCommand,
@@ -28296,6 +28401,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28296
28401
  StartMonitoringScheduleCommand,
28297
28402
  StartNotebookInstanceCommand,
28298
28403
  StartPipelineExecutionCommand,
28404
+ StartSessionCommand,
28299
28405
  StopAutoMLJobCommand,
28300
28406
  StopCompilationJobCommand,
28301
28407
  StopEdgeDeploymentStageCommand,
@@ -28355,6 +28461,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28355
28461
  UpdateUserProfileCommand,
28356
28462
  UpdateWorkforceCommand,
28357
28463
  UpdateWorkteamCommand,
28464
+ paginateCreateHubContentPresignedUrls,
28358
28465
  paginateListActions,
28359
28466
  paginateListAlgorithms,
28360
28467
  paginateListAliases,
@@ -28599,6 +28706,7 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28599
28706
  StorageType,
28600
28707
  TtlDurationUnit,
28601
28708
  ThroughputMode,
28709
+ HubContentType,
28602
28710
  HyperParameterTuningJobStrategyType,
28603
28711
  TrainingJobEarlyStoppingType,
28604
28712
  HyperParameterTuningAllocationStrategy,
@@ -28619,7 +28727,6 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28619
28727
  SkipModelValidation,
28620
28728
  CreateModelCardRequestFilterSensitiveLog,
28621
28729
  ModelPackageModelCardFilterSensitiveLog,
28622
- CreateModelPackageInputFilterSensitiveLog,
28623
28730
  MonitoringProblemType,
28624
28731
  MonitoringType,
28625
28732
  NotebookInstanceAcceleratorType,
@@ -28646,7 +28753,6 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28646
28753
  Statistic,
28647
28754
  RuleEvaluationStatus,
28648
28755
  RetentionType,
28649
- HubContentType,
28650
28756
  RecommendationStatus,
28651
28757
  StageStatus,
28652
28758
  DomainStatus,
@@ -28654,10 +28760,11 @@ var waitUntilTransformJobCompletedOrStopped = /* @__PURE__ */ __name(async (para
28654
28760
  EdgePresetDeploymentStatus,
28655
28761
  EndpointStatus,
28656
28762
  VariantStatus,
28657
- FeatureGroupStatus,
28658
- LastUpdateStatusValue,
28763
+ CreateModelPackageInputFilterSensitiveLog,
28659
28764
  OidcConfigFilterSensitiveLog,
28660
28765
  CreateWorkforceRequestFilterSensitiveLog,
28766
+ FeatureGroupStatus,
28767
+ LastUpdateStatusValue,
28661
28768
  OfflineStoreStatusValue,
28662
28769
  FlowDefinitionStatus,
28663
28770
  HubStatus,
@@ -29,6 +29,7 @@ import { CreateExperimentCommand, } from "./commands/CreateExperimentCommand";
29
29
  import { CreateFeatureGroupCommand, } from "./commands/CreateFeatureGroupCommand";
30
30
  import { CreateFlowDefinitionCommand, } from "./commands/CreateFlowDefinitionCommand";
31
31
  import { CreateHubCommand } from "./commands/CreateHubCommand";
32
+ import { CreateHubContentPresignedUrlsCommand, } from "./commands/CreateHubContentPresignedUrlsCommand";
32
33
  import { CreateHubContentReferenceCommand, } from "./commands/CreateHubContentReferenceCommand";
33
34
  import { CreateHumanTaskUiCommand, } from "./commands/CreateHumanTaskUiCommand";
34
35
  import { CreateHyperParameterTuningJobCommand, } from "./commands/CreateHyperParameterTuningJobCommand";
@@ -298,6 +299,7 @@ import { StartMlflowTrackingServerCommand, } from "./commands/StartMlflowTrackin
298
299
  import { StartMonitoringScheduleCommand, } from "./commands/StartMonitoringScheduleCommand";
299
300
  import { StartNotebookInstanceCommand, } from "./commands/StartNotebookInstanceCommand";
300
301
  import { StartPipelineExecutionCommand, } from "./commands/StartPipelineExecutionCommand";
302
+ import { StartSessionCommand, } from "./commands/StartSessionCommand";
301
303
  import { StopAutoMLJobCommand, } from "./commands/StopAutoMLJobCommand";
302
304
  import { StopCompilationJobCommand, } from "./commands/StopCompilationJobCommand";
303
305
  import { StopEdgeDeploymentStageCommand, } from "./commands/StopEdgeDeploymentStageCommand";
@@ -389,6 +391,7 @@ const commands = {
389
391
  CreateFeatureGroupCommand,
390
392
  CreateFlowDefinitionCommand,
391
393
  CreateHubCommand,
394
+ CreateHubContentPresignedUrlsCommand,
392
395
  CreateHubContentReferenceCommand,
393
396
  CreateHumanTaskUiCommand,
394
397
  CreateHyperParameterTuningJobCommand,
@@ -658,6 +661,7 @@ const commands = {
658
661
  StartMonitoringScheduleCommand,
659
662
  StartNotebookInstanceCommand,
660
663
  StartPipelineExecutionCommand,
664
+ StartSessionCommand,
661
665
  StopAutoMLJobCommand,
662
666
  StopCompilationJobCommand,
663
667
  StopEdgeDeploymentStageCommand,
@@ -0,0 +1,22 @@
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_CreateHubContentPresignedUrlsCommand, se_CreateHubContentPresignedUrlsCommand, } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class CreateHubContentPresignedUrlsCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SageMaker", "CreateHubContentPresignedUrls", {})
17
+ .n("SageMakerClient", "CreateHubContentPresignedUrlsCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_CreateHubContentPresignedUrlsCommand)
20
+ .de(de_CreateHubContentPresignedUrlsCommand)
21
+ .build() {
22
+ }
@@ -2,7 +2,7 @@ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
4
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateModelPackageInputFilterSensitiveLog, } from "../models/models_1";
5
+ import { CreateModelPackageInputFilterSensitiveLog, } from "../models/models_2";
6
6
  import { de_CreateModelPackageCommand, se_CreateModelPackageCommand } from "../protocols/Aws_json1_1";
7
7
  export { $Command };
8
8
  export class CreateModelPackageCommand extends $Command
@@ -0,0 +1,22 @@
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_StartSessionCommand, se_StartSessionCommand } from "../protocols/Aws_json1_1";
6
+ export { $Command };
7
+ export class StartSessionCommand extends $Command
8
+ .classBuilder()
9
+ .ep(commonParams)
10
+ .m(function (Command, cs, config, o) {
11
+ return [
12
+ getSerdePlugin(config, this.serialize, this.deserialize),
13
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
+ ];
15
+ })
16
+ .s("SageMaker", "StartSession", {})
17
+ .n("SageMakerClient", "StartSessionCommand")
18
+ .f(void 0, void 0)
19
+ .ser(se_StartSessionCommand)
20
+ .de(de_StartSessionCommand)
21
+ .build() {
22
+ }
@@ -28,6 +28,7 @@ export * from "./CreateExperimentCommand";
28
28
  export * from "./CreateFeatureGroupCommand";
29
29
  export * from "./CreateFlowDefinitionCommand";
30
30
  export * from "./CreateHubCommand";
31
+ export * from "./CreateHubContentPresignedUrlsCommand";
31
32
  export * from "./CreateHubContentReferenceCommand";
32
33
  export * from "./CreateHumanTaskUiCommand";
33
34
  export * from "./CreateHyperParameterTuningJobCommand";
@@ -297,6 +298,7 @@ export * from "./StartMlflowTrackingServerCommand";
297
298
  export * from "./StartMonitoringScheduleCommand";
298
299
  export * from "./StartNotebookInstanceCommand";
299
300
  export * from "./StartPipelineExecutionCommand";
301
+ export * from "./StartSessionCommand";
300
302
  export * from "./StopAutoMLJobCommand";
301
303
  export * from "./StopCompilationJobCommand";
302
304
  export * from "./StopEdgeDeploymentStageCommand";
@@ -1485,7 +1485,3 @@ export const ResourceSharingStrategy = {
1485
1485
  LEND: "Lend",
1486
1486
  LENDANDBORROW: "LendAndBorrow",
1487
1487
  };
1488
- export const ConditionOutcome = {
1489
- FALSE: "False",
1490
- TRUE: "True",
1491
- };
@@ -1,5 +1,9 @@
1
1
  import { SENSITIVE_STRING, } from "@smithy/smithy-client";
2
2
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
3
+ export const ConditionOutcome = {
4
+ FALSE: "False",
5
+ TRUE: "True",
6
+ };
3
7
  export class ConflictException extends __BaseException {
4
8
  name = "ConflictException";
5
9
  $fault = "client";
@@ -319,6 +323,11 @@ export const ThroughputMode = {
319
323
  ON_DEMAND: "OnDemand",
320
324
  PROVISIONED: "Provisioned",
321
325
  };
326
+ export const HubContentType = {
327
+ MODEL: "Model",
328
+ MODEL_REFERENCE: "ModelReference",
329
+ NOTEBOOK: "Notebook",
330
+ };
322
331
  export const HyperParameterTuningJobStrategyType = {
323
332
  BAYESIAN: "Bayesian",
324
333
  GRID: "Grid",
@@ -574,7 +583,3 @@ export const ModelPackageModelCardFilterSensitiveLog = (obj) => ({
574
583
  ...obj,
575
584
  ...(obj.ModelCardContent && { ModelCardContent: SENSITIVE_STRING }),
576
585
  });
577
- export const CreateModelPackageInputFilterSensitiveLog = (obj) => ({
578
- ...obj,
579
- ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
580
- });
@@ -1,4 +1,5 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
+ import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
2
3
  export const MonitoringProblemType = {
3
4
  BINARY_CLASSIFICATION: "BinaryClassification",
4
5
  MULTICLASS_CLASSIFICATION: "MulticlassClassification",
@@ -178,11 +179,6 @@ export const RetentionType = {
178
179
  Delete: "Delete",
179
180
  Retain: "Retain",
180
181
  };
181
- export const HubContentType = {
182
- MODEL: "Model",
183
- MODEL_REFERENCE: "ModelReference",
184
- NOTEBOOK: "Notebook",
185
- };
186
182
  export const RecommendationStatus = {
187
183
  COMPLETED: "COMPLETED",
188
184
  FAILED: "FAILED",
@@ -238,18 +234,10 @@ export const VariantStatus = {
238
234
  DELETING: "Deleting",
239
235
  UPDATING: "Updating",
240
236
  };
241
- export const FeatureGroupStatus = {
242
- CREATED: "Created",
243
- CREATE_FAILED: "CreateFailed",
244
- CREATING: "Creating",
245
- DELETE_FAILED: "DeleteFailed",
246
- DELETING: "Deleting",
247
- };
248
- export const LastUpdateStatusValue = {
249
- FAILED: "Failed",
250
- IN_PROGRESS: "InProgress",
251
- SUCCESSFUL: "Successful",
252
- };
237
+ export const CreateModelPackageInputFilterSensitiveLog = (obj) => ({
238
+ ...obj,
239
+ ...(obj.ModelCard && { ModelCard: ModelPackageModelCardFilterSensitiveLog(obj.ModelCard) }),
240
+ });
253
241
  export const OidcConfigFilterSensitiveLog = (obj) => ({
254
242
  ...obj,
255
243
  ...(obj.ClientSecret && { ClientSecret: SENSITIVE_STRING }),
@@ -1,5 +1,17 @@
1
1
  import { SENSITIVE_STRING } from "@smithy/smithy-client";
2
2
  import { ModelPackageModelCardFilterSensitiveLog, } from "./models_1";
3
+ export const FeatureGroupStatus = {
4
+ CREATED: "Created",
5
+ CREATE_FAILED: "CreateFailed",
6
+ CREATING: "Creating",
7
+ DELETE_FAILED: "DeleteFailed",
8
+ DELETING: "Deleting",
9
+ };
10
+ export const LastUpdateStatusValue = {
11
+ FAILED: "Failed",
12
+ IN_PROGRESS: "InProgress",
13
+ SUCCESSFUL: "Successful",
14
+ };
3
15
  export const OfflineStoreStatusValue = {
4
16
  ACTIVE: "Active",
5
17
  BLOCKED: "Blocked",
@@ -0,0 +1,4 @@
1
+ import { createPaginator } from "@smithy/core";
2
+ import { CreateHubContentPresignedUrlsCommand, } from "../commands/CreateHubContentPresignedUrlsCommand";
3
+ import { SageMakerClient } from "../SageMakerClient";
4
+ export const paginateCreateHubContentPresignedUrls = createPaginator(SageMakerClient, CreateHubContentPresignedUrlsCommand, "NextToken", "NextToken", "MaxResults");
@@ -1,3 +1,4 @@
1
+ export * from "./CreateHubContentPresignedUrlsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListActionsPaginator";
3
4
  export * from "./ListAlgorithmsPaginator";