@aws-sdk/client-sagemaker 3.757.0 → 3.758.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 (51) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +100 -5
  3. package/dist-es/SageMaker.js +4 -0
  4. package/dist-es/commands/UpdateHubContentCommand.js +22 -0
  5. package/dist-es/commands/UpdateHubContentReferenceCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_2.js +1 -4
  8. package/dist-es/models/models_3.js +4 -0
  9. package/dist-es/protocols/Aws_json1_1.js +58 -0
  10. package/dist-types/SageMaker.d.ts +14 -0
  11. package/dist-types/SageMakerClient.d.ts +4 -2
  12. package/dist-types/commands/CreateAlgorithmCommand.d.ts +6 -0
  13. package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +12 -0
  14. package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +2 -1
  15. package/dist-types/commands/CreateTrainingJobCommand.d.ts +6 -0
  16. package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -0
  17. package/dist-types/commands/DescribeHubContentCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +12 -0
  19. package/dist-types/commands/DescribeTrainingJobCommand.d.ts +6 -0
  20. package/dist-types/commands/ImportHubContentCommand.d.ts +1 -0
  21. package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -2
  22. package/dist-types/commands/ListHubContentVersionsCommand.d.ts +1 -1
  23. package/dist-types/commands/ListHubContentsCommand.d.ts +1 -1
  24. package/dist-types/commands/SearchCommand.d.ts +17 -15
  25. package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -1
  26. package/dist-types/commands/UpdateHubContentCommand.d.ts +123 -0
  27. package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +94 -0
  28. package/dist-types/commands/index.d.ts +2 -0
  29. package/dist-types/models/models_0.d.ts +35 -16
  30. package/dist-types/models/models_1.d.ts +17 -11
  31. package/dist-types/models/models_2.d.ts +16 -12
  32. package/dist-types/models/models_3.d.ts +18 -54
  33. package/dist-types/models/models_4.d.ts +53 -10
  34. package/dist-types/models/models_5.d.ts +125 -1
  35. package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
  36. package/dist-types/ts3.4/SageMaker.d.ts +34 -0
  37. package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
  38. package/dist-types/ts3.4/commands/CreateMonitoringScheduleCommand.d.ts +2 -4
  39. package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +4 -2
  40. package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +2 -4
  41. package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +50 -0
  42. package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  44. package/dist-types/ts3.4/models/models_0.d.ts +5 -4
  45. package/dist-types/ts3.4/models/models_1.d.ts +4 -4
  46. package/dist-types/ts3.4/models/models_2.d.ts +5 -6
  47. package/dist-types/ts3.4/models/models_3.d.ts +7 -11
  48. package/dist-types/ts3.4/models/models_4.d.ts +10 -3
  49. package/dist-types/ts3.4/models/models_5.d.ts +30 -0
  50. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
  51. package/package.json +12 -12
@@ -121,6 +121,9 @@ import {
121
121
  TrainingSpecification,
122
122
  UserSettings,
123
123
  } from "./models_1";
124
+ export interface CreateMonitoringScheduleResponse {
125
+ MonitoringScheduleArn: string | undefined;
126
+ }
124
127
  export declare const NotebookInstanceAcceleratorType: {
125
128
  readonly ML_EIA1_LARGE: "ml.eia1.large";
126
129
  readonly ML_EIA1_MEDIUM: "ml.eia1.medium";
@@ -1915,6 +1918,7 @@ export type HubContentStatus =
1915
1918
  (typeof HubContentStatus)[keyof typeof HubContentStatus];
1916
1919
  export declare const HubContentSupportStatus: {
1917
1920
  readonly DEPRECATED: "Deprecated";
1921
+ readonly RESTRICTED: "Restricted";
1918
1922
  readonly SUPPORTED: "Supported";
1919
1923
  };
1920
1924
  export type HubContentSupportStatus =
@@ -1939,16 +1943,11 @@ export interface DescribeHubContentResponse {
1939
1943
  HubContentStatus: HubContentStatus | undefined;
1940
1944
  FailureReason?: string | undefined;
1941
1945
  CreationTime: Date | undefined;
1946
+ LastModifiedTime?: Date | undefined;
1942
1947
  }
1943
1948
  export interface DescribeHumanTaskUiRequest {
1944
1949
  HumanTaskUiName: string | undefined;
1945
1950
  }
1946
- export declare const HumanTaskUiStatus: {
1947
- readonly ACTIVE: "Active";
1948
- readonly DELETING: "Deleting";
1949
- };
1950
- export type HumanTaskUiStatus =
1951
- (typeof HumanTaskUiStatus)[keyof typeof HumanTaskUiStatus];
1952
1951
  export declare const OidcConfigFilterSensitiveLog: (obj: OidcConfig) => any;
1953
1952
  export declare const CreateWorkforceRequestFilterSensitiveLog: (
1954
1953
  obj: CreateWorkforceRequest
@@ -148,7 +148,6 @@ import {
148
148
  HubContentSupportStatus,
149
149
  HubContentType,
150
150
  HubStatus,
151
- HumanTaskUiStatus,
152
151
  InfraCheckConfig,
153
152
  InstanceMetadataServiceConfiguration,
154
153
  LastUpdateStatus,
@@ -191,6 +190,12 @@ import {
191
190
  TrialComponentStatus,
192
191
  WorkerAccessConfiguration,
193
192
  } from "./models_2";
193
+ export declare const HumanTaskUiStatus: {
194
+ readonly ACTIVE: "Active";
195
+ readonly DELETING: "Deleting";
196
+ };
197
+ export type HumanTaskUiStatus =
198
+ (typeof HumanTaskUiStatus)[keyof typeof HumanTaskUiStatus];
194
199
  export interface UiTemplateInfo {
195
200
  Url?: string | undefined;
196
201
  ContentSha256?: string | undefined;
@@ -2143,6 +2148,7 @@ export interface ImportHubContentRequest {
2143
2148
  HubContentDescription?: string | undefined;
2144
2149
  HubContentMarkdown?: string | undefined;
2145
2150
  HubContentDocument: string | undefined;
2151
+ SupportStatus?: HubContentSupportStatus | undefined;
2146
2152
  HubContentSearchKeywords?: string[] | undefined;
2147
2153
  Tags?: Tag[] | undefined;
2148
2154
  }
@@ -2551,16 +2557,6 @@ export declare const MonitoringJobDefinitionSortKey: {
2551
2557
  };
2552
2558
  export type MonitoringJobDefinitionSortKey =
2553
2559
  (typeof MonitoringJobDefinitionSortKey)[keyof typeof MonitoringJobDefinitionSortKey];
2554
- export interface ListDataQualityJobDefinitionsRequest {
2555
- EndpointName?: string | undefined;
2556
- SortBy?: MonitoringJobDefinitionSortKey | undefined;
2557
- SortOrder?: SortOrder | undefined;
2558
- NextToken?: string | undefined;
2559
- MaxResults?: number | undefined;
2560
- NameContains?: string | undefined;
2561
- CreationTimeBefore?: Date | undefined;
2562
- CreationTimeAfter?: Date | undefined;
2563
- }
2564
2560
  export declare const DescribeModelCardResponseFilterSensitiveLog: (
2565
2561
  obj: DescribeModelCardResponse
2566
2562
  ) => any;
@@ -183,6 +183,16 @@ import {
183
183
  Workforce,
184
184
  Workteam,
185
185
  } from "./models_3";
186
+ export interface ListDataQualityJobDefinitionsRequest {
187
+ EndpointName?: string | undefined;
188
+ SortBy?: MonitoringJobDefinitionSortKey | undefined;
189
+ SortOrder?: SortOrder | undefined;
190
+ NextToken?: string | undefined;
191
+ MaxResults?: number | undefined;
192
+ NameContains?: string | undefined;
193
+ CreationTimeBefore?: Date | undefined;
194
+ CreationTimeAfter?: Date | undefined;
195
+ }
186
196
  export interface MonitoringJobDefinitionSummary {
187
197
  MonitoringJobDefinitionName: string | undefined;
188
198
  MonitoringJobDefinitionArn: string | undefined;
@@ -2290,9 +2300,6 @@ export interface StopPipelineExecutionRequest {
2290
2300
  PipelineExecutionArn: string | undefined;
2291
2301
  ClientRequestToken?: string | undefined;
2292
2302
  }
2293
- export interface StopPipelineExecutionResponse {
2294
- PipelineExecutionArn?: string | undefined;
2295
- }
2296
2303
  export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
2297
2304
  export declare const ModelPackageFilterSensitiveLog: (obj: ModelPackage) => any;
2298
2305
  export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
@@ -44,6 +44,8 @@ import {
44
44
  import {
45
45
  CrossAccountFilterOption,
46
46
  FeatureParameter,
47
+ HubContentSupportStatus,
48
+ HubContentType,
47
49
  InstanceMetadataServiceConfiguration,
48
50
  MemberDefinition,
49
51
  NotebookInstanceAcceleratorType,
@@ -85,6 +87,9 @@ import {
85
87
  SearchSortOrder,
86
88
  VisibilityConditions,
87
89
  } from "./models_4";
90
+ export interface StopPipelineExecutionResponse {
91
+ PipelineExecutionArn?: string | undefined;
92
+ }
88
93
  export interface StopProcessingJobRequest {
89
94
  ProcessingJobName: string | undefined;
90
95
  }
@@ -265,6 +270,31 @@ export interface UpdateHubRequest {
265
270
  export interface UpdateHubResponse {
266
271
  HubArn: string | undefined;
267
272
  }
273
+ export interface UpdateHubContentRequest {
274
+ HubName: string | undefined;
275
+ HubContentName: string | undefined;
276
+ HubContentType: HubContentType | undefined;
277
+ HubContentVersion: string | undefined;
278
+ HubContentDisplayName?: string | undefined;
279
+ HubContentDescription?: string | undefined;
280
+ HubContentMarkdown?: string | undefined;
281
+ HubContentSearchKeywords?: string[] | undefined;
282
+ SupportStatus?: HubContentSupportStatus | undefined;
283
+ }
284
+ export interface UpdateHubContentResponse {
285
+ HubArn: string | undefined;
286
+ HubContentArn: string | undefined;
287
+ }
288
+ export interface UpdateHubContentReferenceRequest {
289
+ HubName: string | undefined;
290
+ HubContentName: string | undefined;
291
+ HubContentType: HubContentType | undefined;
292
+ MinVersion?: string | undefined;
293
+ }
294
+ export interface UpdateHubContentReferenceResponse {
295
+ HubArn: string | undefined;
296
+ HubContentArn: string | undefined;
297
+ }
268
298
  export interface UpdateImageRequest {
269
299
  DeleteProperties?: string[] | undefined;
270
300
  Description?: string | undefined;
@@ -1335,6 +1335,14 @@ import {
1335
1335
  UpdateHubCommandInput,
1336
1336
  UpdateHubCommandOutput,
1337
1337
  } from "../commands/UpdateHubCommand";
1338
+ import {
1339
+ UpdateHubContentCommandInput,
1340
+ UpdateHubContentCommandOutput,
1341
+ } from "../commands/UpdateHubContentCommand";
1342
+ import {
1343
+ UpdateHubContentReferenceCommandInput,
1344
+ UpdateHubContentReferenceCommandOutput,
1345
+ } from "../commands/UpdateHubContentReferenceCommand";
1338
1346
  import {
1339
1347
  UpdateImageCommandInput,
1340
1348
  UpdateImageCommandOutput,
@@ -2759,6 +2767,14 @@ export declare const se_UpdateHubCommand: (
2759
2767
  input: UpdateHubCommandInput,
2760
2768
  context: __SerdeContext
2761
2769
  ) => Promise<__HttpRequest>;
2770
+ export declare const se_UpdateHubContentCommand: (
2771
+ input: UpdateHubContentCommandInput,
2772
+ context: __SerdeContext
2773
+ ) => Promise<__HttpRequest>;
2774
+ export declare const se_UpdateHubContentReferenceCommand: (
2775
+ input: UpdateHubContentReferenceCommandInput,
2776
+ context: __SerdeContext
2777
+ ) => Promise<__HttpRequest>;
2762
2778
  export declare const se_UpdateImageCommand: (
2763
2779
  input: UpdateImageCommandInput,
2764
2780
  context: __SerdeContext
@@ -4183,6 +4199,14 @@ export declare const de_UpdateHubCommand: (
4183
4199
  output: __HttpResponse,
4184
4200
  context: __SerdeContext
4185
4201
  ) => Promise<UpdateHubCommandOutput>;
4202
+ export declare const de_UpdateHubContentCommand: (
4203
+ output: __HttpResponse,
4204
+ context: __SerdeContext
4205
+ ) => Promise<UpdateHubContentCommandOutput>;
4206
+ export declare const de_UpdateHubContentReferenceCommand: (
4207
+ output: __HttpResponse,
4208
+ context: __SerdeContext
4209
+ ) => Promise<UpdateHubContentReferenceCommandOutput>;
4186
4210
  export declare const de_UpdateImageCommand: (
4187
4211
  output: __HttpResponse,
4188
4212
  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.757.0",
4
+ "version": "3.758.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",
@@ -20,38 +20,38 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.750.0",
24
- "@aws-sdk/credential-provider-node": "3.750.0",
23
+ "@aws-sdk/core": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.758.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.734.0",
28
- "@aws-sdk/middleware-user-agent": "3.750.0",
28
+ "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",
31
31
  "@aws-sdk/util-endpoints": "3.743.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.734.0",
33
- "@aws-sdk/util-user-agent-node": "3.750.0",
33
+ "@aws-sdk/util-user-agent-node": "3.758.0",
34
34
  "@smithy/config-resolver": "^4.0.1",
35
- "@smithy/core": "^3.1.4",
35
+ "@smithy/core": "^3.1.5",
36
36
  "@smithy/fetch-http-handler": "^5.0.1",
37
37
  "@smithy/hash-node": "^4.0.1",
38
38
  "@smithy/invalid-dependency": "^4.0.1",
39
39
  "@smithy/middleware-content-length": "^4.0.1",
40
- "@smithy/middleware-endpoint": "^4.0.5",
41
- "@smithy/middleware-retry": "^4.0.6",
40
+ "@smithy/middleware-endpoint": "^4.0.6",
41
+ "@smithy/middleware-retry": "^4.0.7",
42
42
  "@smithy/middleware-serde": "^4.0.2",
43
43
  "@smithy/middleware-stack": "^4.0.1",
44
44
  "@smithy/node-config-provider": "^4.0.1",
45
- "@smithy/node-http-handler": "^4.0.2",
45
+ "@smithy/node-http-handler": "^4.0.3",
46
46
  "@smithy/protocol-http": "^5.0.1",
47
- "@smithy/smithy-client": "^4.1.5",
47
+ "@smithy/smithy-client": "^4.1.6",
48
48
  "@smithy/types": "^4.1.0",
49
49
  "@smithy/url-parser": "^4.0.1",
50
50
  "@smithy/util-base64": "^4.0.0",
51
51
  "@smithy/util-body-length-browser": "^4.0.0",
52
52
  "@smithy/util-body-length-node": "^4.0.0",
53
- "@smithy/util-defaults-mode-browser": "^4.0.6",
54
- "@smithy/util-defaults-mode-node": "^4.0.6",
53
+ "@smithy/util-defaults-mode-browser": "^4.0.7",
54
+ "@smithy/util-defaults-mode-node": "^4.0.7",
55
55
  "@smithy/util-endpoints": "^3.0.1",
56
56
  "@smithy/util-middleware": "^4.0.1",
57
57
  "@smithy/util-retry": "^4.0.1",