@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
@@ -16,6 +16,7 @@ import {
16
16
  JupyterLabAppImageConfig,
17
17
  KernelGatewayImageConfig,
18
18
  ModelApprovalStatus,
19
+ OutputParameter,
19
20
  Tag,
20
21
  } from "./models_0";
21
22
  import {
@@ -24,6 +25,7 @@ import {
24
25
  DeploymentConfig,
25
26
  EdgeOutputConfig,
26
27
  FeatureDefinition,
28
+ HubContentType,
27
29
  InferenceComponentRuntimeConfig,
28
30
  InferenceComponentSpecification,
29
31
  InferenceExperimentDataStorageConfig,
@@ -44,7 +46,6 @@ import {
44
46
  } from "./models_1";
45
47
  import {
46
48
  CrossAccountFilterOption,
47
- HubContentType,
48
49
  InstanceMetadataServiceConfiguration,
49
50
  MemberDefinition,
50
51
  MonitoringScheduleConfig,
@@ -93,6 +94,21 @@ import {
93
94
  SearchSortOrder,
94
95
  VisibilityConditions,
95
96
  } from "./models_4";
97
+ export interface SendPipelineExecutionStepFailureResponse {
98
+ PipelineExecutionArn?: string | undefined;
99
+ }
100
+ export interface SendPipelineExecutionStepSuccessRequest {
101
+ CallbackToken: string | undefined;
102
+ OutputParameters?: OutputParameter[] | undefined;
103
+ ClientRequestToken?: string | undefined;
104
+ }
105
+ export interface SendPipelineExecutionStepSuccessResponse {
106
+ PipelineExecutionArn?: string | undefined;
107
+ }
108
+ export interface StartEdgeDeploymentStageRequest {
109
+ EdgeDeploymentPlanName: string | undefined;
110
+ StageName: string | undefined;
111
+ }
96
112
  export interface StartInferenceExperimentRequest {
97
113
  Name: string | undefined;
98
114
  }
@@ -123,6 +139,14 @@ export interface StartPipelineExecutionRequest {
123
139
  export interface StartPipelineExecutionResponse {
124
140
  PipelineExecutionArn?: string | undefined;
125
141
  }
142
+ export interface StartSessionRequest {
143
+ ResourceIdentifier: string | undefined;
144
+ }
145
+ export interface StartSessionResponse {
146
+ SessionId?: string | undefined;
147
+ StreamUrl?: string | undefined;
148
+ TokenValue?: string | undefined;
149
+ }
126
150
  export interface StopAutoMLJobRequest {
127
151
  AutoMLJobName: string | undefined;
128
152
  }
@@ -216,7 +240,7 @@ export interface UpdateArtifactResponse {
216
240
  }
217
241
  export interface UpdateClusterRequest {
218
242
  ClusterName: string | undefined;
219
- InstanceGroups: ClusterInstanceGroupSpecification[] | undefined;
243
+ InstanceGroups?: ClusterInstanceGroupSpecification[] | undefined;
220
244
  NodeRecovery?: ClusterNodeRecovery | undefined;
221
245
  InstanceGroupsToDelete?: string[] | undefined;
222
246
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ CreateHubContentPresignedUrlsCommandInput,
4
+ CreateHubContentPresignedUrlsCommandOutput,
5
+ } from "../commands/CreateHubContentPresignedUrlsCommand";
6
+ import { SageMakerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateCreateHubContentPresignedUrls: (
8
+ config: SageMakerPaginationConfiguration,
9
+ input: CreateHubContentPresignedUrlsCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<CreateHubContentPresignedUrlsCommandOutput>;
@@ -1,3 +1,4 @@
1
+ export * from "./CreateHubContentPresignedUrlsPaginator";
1
2
  export * from "./Interfaces";
2
3
  export * from "./ListActionsPaginator";
3
4
  export * from "./ListAlgorithmsPaginator";
@@ -123,6 +123,10 @@ import {
123
123
  CreateHubCommandInput,
124
124
  CreateHubCommandOutput,
125
125
  } from "../commands/CreateHubCommand";
126
+ import {
127
+ CreateHubContentPresignedUrlsCommandInput,
128
+ CreateHubContentPresignedUrlsCommandOutput,
129
+ } from "../commands/CreateHubContentPresignedUrlsCommand";
126
130
  import {
127
131
  CreateHubContentReferenceCommandInput,
128
132
  CreateHubContentReferenceCommandOutput,
@@ -1199,6 +1203,10 @@ import {
1199
1203
  StartPipelineExecutionCommandInput,
1200
1204
  StartPipelineExecutionCommandOutput,
1201
1205
  } from "../commands/StartPipelineExecutionCommand";
1206
+ import {
1207
+ StartSessionCommandInput,
1208
+ StartSessionCommandOutput,
1209
+ } from "../commands/StartSessionCommand";
1202
1210
  import {
1203
1211
  StopAutoMLJobCommandInput,
1204
1212
  StopAutoMLJobCommandOutput,
@@ -1555,6 +1563,10 @@ export declare const se_CreateHubCommand: (
1555
1563
  input: CreateHubCommandInput,
1556
1564
  context: __SerdeContext
1557
1565
  ) => Promise<__HttpRequest>;
1566
+ export declare const se_CreateHubContentPresignedUrlsCommand: (
1567
+ input: CreateHubContentPresignedUrlsCommandInput,
1568
+ context: __SerdeContext
1569
+ ) => Promise<__HttpRequest>;
1558
1570
  export declare const se_CreateHubContentReferenceCommand: (
1559
1571
  input: CreateHubContentReferenceCommandInput,
1560
1572
  context: __SerdeContext
@@ -2631,6 +2643,10 @@ export declare const se_StartPipelineExecutionCommand: (
2631
2643
  input: StartPipelineExecutionCommandInput,
2632
2644
  context: __SerdeContext
2633
2645
  ) => Promise<__HttpRequest>;
2646
+ export declare const se_StartSessionCommand: (
2647
+ input: StartSessionCommandInput,
2648
+ context: __SerdeContext
2649
+ ) => Promise<__HttpRequest>;
2634
2650
  export declare const se_StopAutoMLJobCommand: (
2635
2651
  input: StopAutoMLJobCommandInput,
2636
2652
  context: __SerdeContext
@@ -2987,6 +3003,10 @@ export declare const de_CreateHubCommand: (
2987
3003
  output: __HttpResponse,
2988
3004
  context: __SerdeContext
2989
3005
  ) => Promise<CreateHubCommandOutput>;
3006
+ export declare const de_CreateHubContentPresignedUrlsCommand: (
3007
+ output: __HttpResponse,
3008
+ context: __SerdeContext
3009
+ ) => Promise<CreateHubContentPresignedUrlsCommandOutput>;
2990
3010
  export declare const de_CreateHubContentReferenceCommand: (
2991
3011
  output: __HttpResponse,
2992
3012
  context: __SerdeContext
@@ -4063,6 +4083,10 @@ export declare const de_StartPipelineExecutionCommand: (
4063
4083
  output: __HttpResponse,
4064
4084
  context: __SerdeContext
4065
4085
  ) => Promise<StartPipelineExecutionCommandOutput>;
4086
+ export declare const de_StartSessionCommand: (
4087
+ output: __HttpResponse,
4088
+ context: __SerdeContext
4089
+ ) => Promise<StartSessionCommandOutput>;
4066
4090
  export declare const de_StopAutoMLJobCommand: (
4067
4091
  output: __HttpResponse,
4068
4092
  context: __SerdeContext
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-sagemaker",
3
3
  "description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
4
- "version": "3.840.0",
4
+ "version": "3.843.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-sagemaker",