@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
@@ -155,6 +155,12 @@ declare const CreateTrainingJobCommand_base: {
155
155
  * InstanceGroupNames: [ // InstanceGroupNames
156
156
  * "STRING_VALUE",
157
157
  * ],
158
+ * ModelAccessConfig: { // ModelAccessConfig
159
+ * AcceptEula: true || false, // required
160
+ * },
161
+ * HubAccessConfig: { // HubAccessConfig
162
+ * HubContentArn: "STRING_VALUE", // required
163
+ * },
158
164
  * },
159
165
  * FileSystemDataSource: { // FileSystemDataSource
160
166
  * FileSystemId: "STRING_VALUE", // required
@@ -190,6 +190,12 @@ declare const DescribeAlgorithmCommand_base: {
190
190
  * // InstanceGroupNames: [ // InstanceGroupNames
191
191
  * // "STRING_VALUE",
192
192
  * // ],
193
+ * // ModelAccessConfig: {
194
+ * // AcceptEula: true || false, // required
195
+ * // },
196
+ * // HubAccessConfig: { // HubAccessConfig
197
+ * // HubContentArn: "STRING_VALUE", // required
198
+ * // },
193
199
  * // },
194
200
  * // FileSystemDataSource: { // FileSystemDataSource
195
201
  * // FileSystemId: "STRING_VALUE", // required
@@ -56,7 +56,7 @@ declare const DescribeHubContentCommand_base: {
56
56
  * // HubContentDocument: "STRING_VALUE", // required
57
57
  * // SageMakerPublicHubContentArn: "STRING_VALUE",
58
58
  * // ReferenceMinVersion: "STRING_VALUE",
59
- * // SupportStatus: "Supported" || "Deprecated",
59
+ * // SupportStatus: "Supported" || "Deprecated" || "Restricted",
60
60
  * // HubContentSearchKeywords: [ // HubContentSearchKeywordList
61
61
  * // "STRING_VALUE",
62
62
  * // ],
@@ -69,6 +69,7 @@ declare const DescribeHubContentCommand_base: {
69
69
  * // HubContentStatus: "Available" || "Importing" || "Deleting" || "ImportFailed" || "DeleteFailed", // required
70
70
  * // FailureReason: "STRING_VALUE",
71
71
  * // CreationTime: new Date("TIMESTAMP"), // required
72
+ * // LastModifiedTime: new Date("TIMESTAMP"),
72
73
  * // };
73
74
  *
74
75
  * ```
@@ -172,6 +172,12 @@ declare const DescribeHyperParameterTuningJobCommand_base: {
172
172
  * // InstanceGroupNames: [ // InstanceGroupNames
173
173
  * // "STRING_VALUE",
174
174
  * // ],
175
+ * // ModelAccessConfig: { // ModelAccessConfig
176
+ * // AcceptEula: true || false, // required
177
+ * // },
178
+ * // HubAccessConfig: { // HubAccessConfig
179
+ * // HubContentArn: "STRING_VALUE", // required
180
+ * // },
175
181
  * // },
176
182
  * // FileSystemDataSource: { // FileSystemDataSource
177
183
  * // FileSystemId: "STRING_VALUE", // required
@@ -318,6 +324,12 @@ declare const DescribeHyperParameterTuningJobCommand_base: {
318
324
  * // InstanceGroupNames: [
319
325
  * // "STRING_VALUE",
320
326
  * // ],
327
+ * // ModelAccessConfig: {
328
+ * // AcceptEula: true || false, // required
329
+ * // },
330
+ * // HubAccessConfig: {
331
+ * // HubContentArn: "STRING_VALUE", // required
332
+ * // },
321
333
  * // },
322
334
  * // FileSystemDataSource: {
323
335
  * // FileSystemId: "STRING_VALUE", // required
@@ -99,6 +99,12 @@ declare const DescribeTrainingJobCommand_base: {
99
99
  * // InstanceGroupNames: [ // InstanceGroupNames
100
100
  * // "STRING_VALUE",
101
101
  * // ],
102
+ * // ModelAccessConfig: { // ModelAccessConfig
103
+ * // AcceptEula: true || false, // required
104
+ * // },
105
+ * // HubAccessConfig: { // HubAccessConfig
106
+ * // HubContentArn: "STRING_VALUE", // required
107
+ * // },
102
108
  * // },
103
109
  * // FileSystemDataSource: { // FileSystemDataSource
104
110
  * // FileSystemId: "STRING_VALUE", // required
@@ -44,6 +44,7 @@ declare const ImportHubContentCommand_base: {
44
44
  * HubContentDescription: "STRING_VALUE",
45
45
  * HubContentMarkdown: "STRING_VALUE",
46
46
  * HubContentDocument: "STRING_VALUE", // required
47
+ * SupportStatus: "Supported" || "Deprecated" || "Restricted",
47
48
  * HubContentSearchKeywords: [ // HubContentSearchKeywordList
48
49
  * "STRING_VALUE",
49
50
  * ],
@@ -1,7 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListDataQualityJobDefinitionsRequest } from "../models/models_3";
4
- import { ListDataQualityJobDefinitionsResponse } from "../models/models_4";
3
+ import { ListDataQualityJobDefinitionsRequest, ListDataQualityJobDefinitionsResponse } from "../models/models_4";
5
4
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
6
5
  /**
7
6
  * @public
@@ -60,7 +60,7 @@ declare const ListHubContentVersionsCommand_base: {
60
60
  * // DocumentSchemaVersion: "STRING_VALUE", // required
61
61
  * // HubContentDisplayName: "STRING_VALUE",
62
62
  * // HubContentDescription: "STRING_VALUE",
63
- * // SupportStatus: "Supported" || "Deprecated",
63
+ * // SupportStatus: "Supported" || "Deprecated" || "Restricted",
64
64
  * // HubContentSearchKeywords: [ // HubContentSearchKeywordList
65
65
  * // "STRING_VALUE",
66
66
  * // ],
@@ -59,7 +59,7 @@ declare const ListHubContentsCommand_base: {
59
59
  * // DocumentSchemaVersion: "STRING_VALUE", // required
60
60
  * // HubContentDisplayName: "STRING_VALUE",
61
61
  * // HubContentDescription: "STRING_VALUE",
62
- * // SupportStatus: "Supported" || "Deprecated",
62
+ * // SupportStatus: "Supported" || "Deprecated" || "Restricted",
63
63
  * // HubContentSearchKeywords: [ // HubContentSearchKeywordList
64
64
  * // "STRING_VALUE",
65
65
  * // ],
@@ -160,6 +160,12 @@ declare const SearchCommand_base: {
160
160
  * // InstanceGroupNames: [ // InstanceGroupNames
161
161
  * // "STRING_VALUE",
162
162
  * // ],
163
+ * // ModelAccessConfig: { // ModelAccessConfig
164
+ * // AcceptEula: true || false, // required
165
+ * // },
166
+ * // HubAccessConfig: { // HubAccessConfig
167
+ * // HubContentArn: "STRING_VALUE", // required
168
+ * // },
163
169
  * // },
164
170
  * // FileSystemDataSource: { // FileSystemDataSource
165
171
  * // FileSystemId: "STRING_VALUE", // required
@@ -520,6 +526,12 @@ declare const SearchCommand_base: {
520
526
  * // InstanceGroupNames: [
521
527
  * // "STRING_VALUE",
522
528
  * // ],
529
+ * // ModelAccessConfig: {
530
+ * // AcceptEula: true || false, // required
531
+ * // },
532
+ * // HubAccessConfig: {
533
+ * // HubContentArn: "STRING_VALUE", // required
534
+ * // },
523
535
  * // },
524
536
  * // FileSystemDataSource: {
525
537
  * // FileSystemId: "STRING_VALUE", // required
@@ -1095,9 +1107,7 @@ declare const SearchCommand_base: {
1095
1107
  * // S3Uri: "STRING_VALUE", // required
1096
1108
  * // S3DataType: "S3Prefix" || "S3Object", // required
1097
1109
  * // CompressionType: "None" || "Gzip", // required
1098
- * // ModelAccessConfig: { // ModelAccessConfig
1099
- * // AcceptEula: true || false, // required
1100
- * // },
1110
+ * // ModelAccessConfig: "<ModelAccessConfig>",
1101
1111
  * // HubAccessConfig: { // InferenceHubAccessConfig
1102
1112
  * // HubContentArn: "STRING_VALUE", // required
1103
1113
  * // },
@@ -1147,9 +1157,7 @@ declare const SearchCommand_base: {
1147
1157
  * // S3Uri: "STRING_VALUE", // required
1148
1158
  * // S3DataType: "S3Prefix" || "S3Object", // required
1149
1159
  * // CompressionType: "None" || "Gzip", // required
1150
- * // ModelAccessConfig: {
1151
- * // AcceptEula: true || false, // required
1152
- * // },
1160
+ * // ModelAccessConfig: "<ModelAccessConfig>",
1153
1161
  * // HubAccessConfig: {
1154
1162
  * // HubContentArn: "STRING_VALUE", // required
1155
1163
  * // },
@@ -1286,9 +1294,7 @@ declare const SearchCommand_base: {
1286
1294
  * // S3Uri: "STRING_VALUE", // required
1287
1295
  * // S3DataType: "S3Prefix" || "S3Object", // required
1288
1296
  * // CompressionType: "None" || "Gzip", // required
1289
- * // ModelAccessConfig: {
1290
- * // AcceptEula: true || false, // required
1291
- * // },
1297
+ * // ModelAccessConfig: "<ModelAccessConfig>",
1292
1298
  * // HubAccessConfig: {
1293
1299
  * // HubContentArn: "STRING_VALUE", // required
1294
1300
  * // },
@@ -1859,9 +1865,7 @@ declare const SearchCommand_base: {
1859
1865
  * // S3Uri: "STRING_VALUE", // required
1860
1866
  * // S3DataType: "S3Prefix" || "S3Object", // required
1861
1867
  * // CompressionType: "None" || "Gzip", // required
1862
- * // ModelAccessConfig: {
1863
- * // AcceptEula: true || false, // required
1864
- * // },
1868
+ * // ModelAccessConfig: "<ModelAccessConfig>",
1865
1869
  * // HubAccessConfig: {
1866
1870
  * // HubContentArn: "STRING_VALUE", // required
1867
1871
  * // },
@@ -1898,9 +1902,7 @@ declare const SearchCommand_base: {
1898
1902
  * // S3Uri: "STRING_VALUE", // required
1899
1903
  * // S3DataType: "S3Prefix" || "S3Object", // required
1900
1904
  * // CompressionType: "None" || "Gzip", // required
1901
- * // ModelAccessConfig: {
1902
- * // AcceptEula: true || false, // required
1903
- * // },
1905
+ * // ModelAccessConfig: "<ModelAccessConfig>",
1904
1906
  * // HubAccessConfig: {
1905
1907
  * // HubContentArn: "STRING_VALUE", // required
1906
1908
  * // },
@@ -1,6 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { StopPipelineExecutionRequest, StopPipelineExecutionResponse } from "../models/models_4";
3
+ import { StopPipelineExecutionRequest } from "../models/models_4";
4
+ import { StopPipelineExecutionResponse } from "../models/models_5";
4
5
  import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
6
  /**
6
7
  * @public
@@ -0,0 +1,123 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateHubContentRequest, UpdateHubContentResponse } from "../models/models_5";
4
+ import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateHubContentCommand}.
14
+ */
15
+ export interface UpdateHubContentCommandInput extends UpdateHubContentRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateHubContentCommand}.
21
+ */
22
+ export interface UpdateHubContentCommandOutput extends UpdateHubContentResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateHubContentCommand_base: {
25
+ new (input: UpdateHubContentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHubContentCommandInput, UpdateHubContentCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateHubContentCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHubContentCommandInput, UpdateHubContentCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates SageMaker hub content (either a <code>Model</code> or <code>Notebook</code>
31
+ * resource).</p>
32
+ * <p>You can update the metadata that describes the resource. In addition to the required request
33
+ * fields, specify at least one of the following fields to update:</p>
34
+ * <ul>
35
+ * <li>
36
+ * <p>
37
+ * <code>HubContentDescription</code>
38
+ * </p>
39
+ * </li>
40
+ * <li>
41
+ * <p>
42
+ * <code>HubContentDisplayName</code>
43
+ * </p>
44
+ * </li>
45
+ * <li>
46
+ * <p>
47
+ * <code>HubContentMarkdown</code>
48
+ * </p>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>HubContentSearchKeywords</code>
53
+ * </p>
54
+ * </li>
55
+ * <li>
56
+ * <p>
57
+ * <code>SupportStatus</code>
58
+ * </p>
59
+ * </li>
60
+ * </ul>
61
+ * <p>For more information about hubs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html">Private curated hubs for foundation model access control in JumpStart</a>.</p>
62
+ * <note>
63
+ * <p>If you want to update a <code>ModelReference</code> resource in your hub, use the
64
+ * <code>UpdateHubContentResource</code> API instead.</p>
65
+ * </note>
66
+ * @example
67
+ * Use a bare-bones client and the command you need to make an API call.
68
+ * ```javascript
69
+ * import { SageMakerClient, UpdateHubContentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
70
+ * // const { SageMakerClient, UpdateHubContentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
71
+ * const client = new SageMakerClient(config);
72
+ * const input = { // UpdateHubContentRequest
73
+ * HubName: "STRING_VALUE", // required
74
+ * HubContentName: "STRING_VALUE", // required
75
+ * HubContentType: "Model" || "Notebook" || "ModelReference", // required
76
+ * HubContentVersion: "STRING_VALUE", // required
77
+ * HubContentDisplayName: "STRING_VALUE",
78
+ * HubContentDescription: "STRING_VALUE",
79
+ * HubContentMarkdown: "STRING_VALUE",
80
+ * HubContentSearchKeywords: [ // HubContentSearchKeywordList
81
+ * "STRING_VALUE",
82
+ * ],
83
+ * SupportStatus: "Supported" || "Deprecated" || "Restricted",
84
+ * };
85
+ * const command = new UpdateHubContentCommand(input);
86
+ * const response = await client.send(command);
87
+ * // { // UpdateHubContentResponse
88
+ * // HubArn: "STRING_VALUE", // required
89
+ * // HubContentArn: "STRING_VALUE", // required
90
+ * // };
91
+ *
92
+ * ```
93
+ *
94
+ * @param UpdateHubContentCommandInput - {@link UpdateHubContentCommandInput}
95
+ * @returns {@link UpdateHubContentCommandOutput}
96
+ * @see {@link UpdateHubContentCommandInput} for command's `input` shape.
97
+ * @see {@link UpdateHubContentCommandOutput} for command's `response` shape.
98
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
99
+ *
100
+ * @throws {@link ResourceInUse} (client fault)
101
+ * <p>Resource being accessed is in use.</p>
102
+ *
103
+ * @throws {@link ResourceNotFound} (client fault)
104
+ * <p>Resource being access is not found.</p>
105
+ *
106
+ * @throws {@link SageMakerServiceException}
107
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
108
+ *
109
+ * @public
110
+ */
111
+ export declare class UpdateHubContentCommand extends UpdateHubContentCommand_base {
112
+ /** @internal type navigation helper, not in runtime. */
113
+ protected static __types: {
114
+ api: {
115
+ input: UpdateHubContentRequest;
116
+ output: UpdateHubContentResponse;
117
+ };
118
+ sdk: {
119
+ input: UpdateHubContentCommandInput;
120
+ output: UpdateHubContentCommandOutput;
121
+ };
122
+ };
123
+ }
@@ -0,0 +1,94 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { UpdateHubContentReferenceRequest, UpdateHubContentReferenceResponse } from "../models/models_5";
4
+ import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateHubContentReferenceCommand}.
14
+ */
15
+ export interface UpdateHubContentReferenceCommandInput extends UpdateHubContentReferenceRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateHubContentReferenceCommand}.
21
+ */
22
+ export interface UpdateHubContentReferenceCommandOutput extends UpdateHubContentReferenceResponse, __MetadataBearer {
23
+ }
24
+ declare const UpdateHubContentReferenceCommand_base: {
25
+ new (input: UpdateHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHubContentReferenceCommandInput, UpdateHubContentReferenceCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: UpdateHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateHubContentReferenceCommandInput, UpdateHubContentReferenceCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Updates the contents of a SageMaker hub for a <code>ModelReference</code> resource.
31
+ * A <code>ModelReference</code> allows you to access public SageMaker JumpStart
32
+ * models from within your private hub.</p>
33
+ * <p>When using this API, you can update the
34
+ * <code>MinVersion</code> field for additional flexibility in the model version. You shouldn't update
35
+ * any additional fields when using this API, because the metadata in your private hub
36
+ * should match the public JumpStart model's metadata.</p>
37
+ * <note>
38
+ * <p>If you want to update a <code>Model</code> or <code>Notebook</code>
39
+ * resource in your hub, use the <code>UpdateHubContent</code> API instead.</p>
40
+ * </note>
41
+ * <p>For more information about adding model references to your hub, see
42
+ * <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs-admin-guide-add-models.html">
43
+ * Add models to a private hub</a>.</p>
44
+ * @example
45
+ * Use a bare-bones client and the command you need to make an API call.
46
+ * ```javascript
47
+ * import { SageMakerClient, UpdateHubContentReferenceCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
48
+ * // const { SageMakerClient, UpdateHubContentReferenceCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
49
+ * const client = new SageMakerClient(config);
50
+ * const input = { // UpdateHubContentReferenceRequest
51
+ * HubName: "STRING_VALUE", // required
52
+ * HubContentName: "STRING_VALUE", // required
53
+ * HubContentType: "Model" || "Notebook" || "ModelReference", // required
54
+ * MinVersion: "STRING_VALUE",
55
+ * };
56
+ * const command = new UpdateHubContentReferenceCommand(input);
57
+ * const response = await client.send(command);
58
+ * // { // UpdateHubContentReferenceResponse
59
+ * // HubArn: "STRING_VALUE", // required
60
+ * // HubContentArn: "STRING_VALUE", // required
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param UpdateHubContentReferenceCommandInput - {@link UpdateHubContentReferenceCommandInput}
66
+ * @returns {@link UpdateHubContentReferenceCommandOutput}
67
+ * @see {@link UpdateHubContentReferenceCommandInput} for command's `input` shape.
68
+ * @see {@link UpdateHubContentReferenceCommandOutput} for command's `response` shape.
69
+ * @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
70
+ *
71
+ * @throws {@link ResourceInUse} (client fault)
72
+ * <p>Resource being accessed is in use.</p>
73
+ *
74
+ * @throws {@link ResourceNotFound} (client fault)
75
+ * <p>Resource being access is not found.</p>
76
+ *
77
+ * @throws {@link SageMakerServiceException}
78
+ * <p>Base exception class for all service exceptions from SageMaker service.</p>
79
+ *
80
+ * @public
81
+ */
82
+ export declare class UpdateHubContentReferenceCommand extends UpdateHubContentReferenceCommand_base {
83
+ /** @internal type navigation helper, not in runtime. */
84
+ protected static __types: {
85
+ api: {
86
+ input: UpdateHubContentReferenceRequest;
87
+ output: UpdateHubContentReferenceResponse;
88
+ };
89
+ sdk: {
90
+ input: UpdateHubContentReferenceCommandInput;
91
+ output: UpdateHubContentReferenceCommandOutput;
92
+ };
93
+ };
94
+ }
@@ -331,6 +331,8 @@ export * from "./UpdateExperimentCommand";
331
331
  export * from "./UpdateFeatureGroupCommand";
332
332
  export * from "./UpdateFeatureMetadataCommand";
333
333
  export * from "./UpdateHubCommand";
334
+ export * from "./UpdateHubContentCommand";
335
+ export * from "./UpdateHubContentReferenceCommand";
334
336
  export * from "./UpdateImageCommand";
335
337
  export * from "./UpdateImageVersionCommand";
336
338
  export * from "./UpdateInferenceComponentCommand";
@@ -1427,6 +1427,19 @@ export interface FileSystemDataSource {
1427
1427
  */
1428
1428
  DirectoryPath: string | undefined;
1429
1429
  }
1430
+ /**
1431
+ * <p>The configuration for a private hub model reference that points to a public SageMaker JumpStart model.</p>
1432
+ * <p>For more information about private hubs, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-curated-hubs.html">Private curated hubs for foundation model access control in JumpStart</a>.</p>
1433
+ * @public
1434
+ */
1435
+ export interface HubAccessConfig {
1436
+ /**
1437
+ * <p>The ARN of your private model hub content. This should be a <code>ModelReference</code>
1438
+ * resource type that points to a SageMaker JumpStart public hub model.</p>
1439
+ * @public
1440
+ */
1441
+ HubContentArn: string | undefined;
1442
+ }
1430
1443
  /**
1431
1444
  * @public
1432
1445
  * @enum
@@ -1565,6 +1578,28 @@ export interface S3DataSource {
1565
1578
  * @public
1566
1579
  */
1567
1580
  InstanceGroupNames?: string[] | undefined;
1581
+ /**
1582
+ * <p>The access configuration file to control access to the ML model. You can explicitly accept the model
1583
+ * end-user license agreement (EULA) within the <code>ModelAccessConfig</code>.</p>
1584
+ * <ul>
1585
+ * <li>
1586
+ * <p>If you are a Jumpstart user, see the <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/jumpstart-foundation-models-choose.html#jumpstart-foundation-models-choose-eula">End-user license agreements</a> section for more details on accepting the EULA.</p>
1587
+ * </li>
1588
+ * <li>
1589
+ * <p>If you are an AutoML user, see the <i>Optional Parameters</i> section of
1590
+ * <i>Create an AutoML job to fine-tune text generation models using the
1591
+ * API</i> for details on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/autopilot-create-experiment-finetune-llms.html#autopilot-llms-finetuning-api-optional-params">How to set the EULA acceptance when fine-tuning a model using the AutoML
1592
+ * API</a>.</p>
1593
+ * </li>
1594
+ * </ul>
1595
+ * @public
1596
+ */
1597
+ ModelAccessConfig?: ModelAccessConfig | undefined;
1598
+ /**
1599
+ * <p>The configuration for a private hub model reference that points to a SageMaker JumpStart public hub model.</p>
1600
+ * @public
1601
+ */
1602
+ HubAccessConfig?: HubAccessConfig | undefined;
1568
1603
  }
1569
1604
  /**
1570
1605
  * <p>Describes the location of the channel data.</p>
@@ -10443,19 +10478,3 @@ export interface ContinuousParameterRange {
10443
10478
  */
10444
10479
  ScalingType?: HyperParameterScalingType | undefined;
10445
10480
  }
10446
- /**
10447
- * <p>Defines the possible values for a continuous hyperparameter.</p>
10448
- * @public
10449
- */
10450
- export interface ContinuousParameterRangeSpecification {
10451
- /**
10452
- * <p>The minimum floating-point value allowed.</p>
10453
- * @public
10454
- */
10455
- MinValue: string | undefined;
10456
- /**
10457
- * <p>The maximum floating-point value allowed.</p>
10458
- * @public
10459
- */
10460
- MaxValue: string | undefined;
10461
- }
@@ -1,6 +1,22 @@
1
1
  import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion, ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, ContinuousParameterRangeSpecification, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
2
+ import { ActionSource, ActionStatus, ActivationState, AdditionalInferenceSpecificationDefinition, AdditionalS3DataSource, AlgorithmValidationSpecification, AmazonQSettings, AnnotationConsolidationConfig, AppInstanceType, AppLifecycleManagement, AppNetworkAccessType, AppSecurityGroupManagement, AppType, ArtifactSource, AsyncInferenceConfig, AuthMode, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobChannel, AutoMLJobConfig, AutoMLJobObjective, AutoMLOutputDataConfig, AutoMLProblemTypeConfig, AutoMLSecurityConfig, AutoMountHomeEFS, AutoParameter, AutoRollbackConfig, Autotune, AwsManagedHumanLoopRequestSource, BatchTransformInput, BestObjectiveNotImproving, Bias, BlueGreenUpdatePolicy, CanvasAppSettings, CapacitySize, CaptureContentTypeHeader, CaptureOption, CategoricalParameter, CategoricalParameterRange, CategoricalParameterRangeSpecification, Channel, ChannelSpecification, CheckpointConfig, ClarifyExplainerConfig, ClusterInstanceGroupSpecification, ClusterNodeRecovery, ClusterOrchestrator, CodeEditorAppImageConfig, CodeEditorAppSettings, CodeRepository, CollectionConfig, CollectionType, CompleteOnConvergence, ComputeQuotaConfig, ComputeQuotaTarget, ContainerDefinition, ContentClassifier, ContextSource, ContinuousParameterRange, CustomImage, FeatureStatus, GitConfig, HyperParameterScalingType, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, MetricDefinition, MetricsSource, ModelApprovalStatus, ModelDataSource, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, StoppingCondition, Tag, TargetDevice, TargetPlatformAccelerator, TargetPlatformArch, TargetPlatformOs, TrainingInputMode, TrainingInstanceType, TransformJobDefinition, VpcConfig } from "./models_0";
3
3
  import { SageMakerServiceException as __BaseException } from "./SageMakerServiceException";
4
+ /**
5
+ * <p>Defines the possible values for a continuous hyperparameter.</p>
6
+ * @public
7
+ */
8
+ export interface ContinuousParameterRangeSpecification {
9
+ /**
10
+ * <p>The minimum floating-point value allowed.</p>
11
+ * @public
12
+ */
13
+ MinValue: string | undefined;
14
+ /**
15
+ * <p>The maximum floating-point value allowed.</p>
16
+ * @public
17
+ */
18
+ MaxValue: string | undefined;
19
+ }
4
20
  /**
5
21
  * <p>A flag to indicating that automatic model tuning (AMT) has detected model convergence,
6
22
  * defined as a lack of significant improvement (1% or less) against an objective
@@ -11941,16 +11957,6 @@ export interface CreateMonitoringScheduleRequest {
11941
11957
  */
11942
11958
  Tags?: Tag[] | undefined;
11943
11959
  }
11944
- /**
11945
- * @public
11946
- */
11947
- export interface CreateMonitoringScheduleResponse {
11948
- /**
11949
- * <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p>
11950
- * @public
11951
- */
11952
- MonitoringScheduleArn: string | undefined;
11953
- }
11954
11960
  /**
11955
11961
  * @internal
11956
11962
  */
@@ -1,5 +1,15 @@
1
1
  import { ActionSource, ActionStatus, ActivationState, AlgorithmSpecification, AlgorithmStatus, AlgorithmStatusDetails, AlgorithmValidationSpecification, AppNetworkAccessType, AppSecurityGroupManagement, AppSpecification, AppStatus, AppType, ArtifactSource, AsyncInferenceConfig, AthenaDatasetDefinition, AuthMode, AutoMLCandidate, AutoMLChannel, AutoMLComputeConfig, AutoMLDataSplitConfig, AutoMLJobArtifacts, AutoMLJobChannel, AutoMLJobCompletionCriteria, AutoMLJobConfig, AutoMLJobObjective, AutoMLJobSecondaryStatus, AutoMLJobStatus, AutoMLOutputDataConfig, AutoMLPartialFailureReason, AutoMLProblemTypeConfig, AutoMLProblemTypeConfigName, AutoMLResolvedAttributes, AutoMLSecurityConfig, BatchDataCaptureConfig, BatchStrategy, CaptureStatus, Channel, CheckpointConfig, ClusterInstanceGroupDetails, ClusterNodeDetails, ClusterNodeRecovery, ClusterOrchestrator, ClusterStatus, CodeEditorAppImageConfig, CodeRepository, CognitoConfig, CognitoMemberDefinition, CollectionConfiguration, CompilationJobStatus, ComputeQuotaConfig, ComputeQuotaTarget, ContextSource, GitConfig, InferenceSpecification, JupyterLabAppImageConfig, KernelGatewayImageConfig, OutputDataConfig, ProblemType, ProcessingS3DataDistributionType, ProcessingS3InputMode, ProductionVariantInstanceType, ResourceConfig, ResourceSpec, SchedulerResourceStatus, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
2
2
  import { _InstanceType, DataCaptureConfig, DataQualityAppSpecification, DataQualityBaselineConfig, DataQualityJobInput, DefaultSpaceSettings, DeploymentConfig, DeviceSelectionConfig, DomainSettings, EdgeDeploymentConfig, EdgeDeploymentModelConfig, EdgeOutputConfig, EdgePresetDeploymentType, ExplainerConfig, FeatureDefinition, FeatureType, FlowDefinitionOutputConfig, HubS3StorageConfig, HumanLoopActivationConfig, HumanLoopConfig, HumanLoopRequestSource, InputConfig, JupyterServerAppSettings, KernelGatewayAppSettings, MetadataProperties, ModelDeployConfig, MonitoringNetworkConfig, MonitoringOutputConfig, MonitoringResources, MonitoringStoppingCondition, NeoVpcConfig, NetworkConfig, OfflineStoreConfig, OnlineStoreConfig, OutputConfig, ProcessingInstanceType, ProcessingS3UploadMode, ProductionVariant, ProductionVariantAcceleratorType, ProductionVariantManagedInstanceScaling, ProductionVariantRoutingConfig, ProductionVariantServerlessConfig, RetryStrategy, SchedulerConfig, TagPropagation, ThroughputMode, TrainingSpecification, UserSettings } from "./models_1";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface CreateMonitoringScheduleResponse {
7
+ /**
8
+ * <p>The Amazon Resource Name (ARN) of the monitoring schedule.</p>
9
+ * @public
10
+ */
11
+ MonitoringScheduleArn: string | undefined;
12
+ }
3
13
  /**
4
14
  * @public
5
15
  * @enum
@@ -7465,6 +7475,7 @@ export type HubContentStatus = (typeof HubContentStatus)[keyof typeof HubContent
7465
7475
  */
7466
7476
  export declare const HubContentSupportStatus: {
7467
7477
  readonly DEPRECATED: "Deprecated";
7478
+ readonly RESTRICTED: "Restricted";
7468
7479
  readonly SUPPORTED: "Supported";
7469
7480
  };
7470
7481
  /**
@@ -7570,6 +7581,11 @@ export interface DescribeHubContentResponse {
7570
7581
  * @public
7571
7582
  */
7572
7583
  CreationTime: Date | undefined;
7584
+ /**
7585
+ * <p>The last modified time of the hub content.</p>
7586
+ * @public
7587
+ */
7588
+ LastModifiedTime?: Date | undefined;
7573
7589
  }
7574
7590
  /**
7575
7591
  * @public
@@ -7582,18 +7598,6 @@ export interface DescribeHumanTaskUiRequest {
7582
7598
  */
7583
7599
  HumanTaskUiName: string | undefined;
7584
7600
  }
7585
- /**
7586
- * @public
7587
- * @enum
7588
- */
7589
- export declare const HumanTaskUiStatus: {
7590
- readonly ACTIVE: "Active";
7591
- readonly DELETING: "Deleting";
7592
- };
7593
- /**
7594
- * @public
7595
- */
7596
- export type HumanTaskUiStatus = (typeof HumanTaskUiStatus)[keyof typeof HumanTaskUiStatus];
7597
7601
  /**
7598
7602
  * @internal
7599
7603
  */