@aws-sdk/client-sagemaker 3.600.0 → 3.606.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +171 -37
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/CreateHubContentReferenceCommand.js +24 -0
- package/dist-es/commands/DeleteHubContentReferenceCommand.js +24 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_1.js +15 -0
- package/dist-es/models/models_2.js +5 -24
- package/dist-es/models/models_3.js +24 -8
- package/dist-es/models/models_4.js +8 -0
- package/dist-es/protocols/Aws_json1_1.js +76 -0
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +3 -0
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +3 -0
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +2 -1
- package/dist-types/commands/CreateDomainCommand.d.ts +8 -0
- package/dist-types/commands/CreateHubCommand.d.ts +0 -3
- package/dist-types/commands/CreateHubContentReferenceCommand.d.ts +80 -0
- package/dist-types/commands/CreateModelCommand.d.ts +6 -0
- package/dist-types/commands/CreateModelPackageCommand.d.ts +9 -0
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +8 -0
- package/dist-types/commands/DeleteHubCommand.d.ts +0 -3
- package/dist-types/commands/DeleteHubContentCommand.d.ts +1 -4
- package/dist-types/commands/DeleteHubContentReferenceCommand.d.ts +63 -0
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +3 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +8 -0
- package/dist-types/commands/DescribeHubCommand.d.ts +1 -4
- package/dist-types/commands/DescribeHubContentCommand.d.ts +5 -5
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +4 -4
- package/dist-types/commands/DescribeModelCommand.d.ts +6 -0
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +9 -0
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +2 -1
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +8 -0
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -4
- package/dist-types/commands/ListHubContentVersionsCommand.d.ts +5 -5
- package/dist-types/commands/ListHubContentsCommand.d.ts +5 -5
- package/dist-types/commands/ListHubsCommand.d.ts +0 -3
- package/dist-types/commands/ListInferenceRecommendationsJobStepsCommand.d.ts +4 -4
- package/dist-types/commands/ListModelsCommand.d.ts +2 -1
- package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +1 -2
- package/dist-types/commands/SearchCommand.d.ts +9 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +8 -0
- package/dist-types/commands/UpdateHubCommand.d.ts +0 -3
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +6 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +8 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +18 -12
- package/dist-types/models/models_1.d.ts +100 -81
- package/dist-types/models/models_2.d.ts +134 -345
- package/dist-types/models/models_3.d.ts +356 -162
- package/dist-types/models/models_4.d.ts +162 -2
- package/dist-types/protocols/Aws_json1_1.d.ts +18 -0
- package/dist-types/ts3.4/SageMaker.d.ts +34 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CreateCodeRepositoryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateHubContentReferenceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteHubContentReferenceCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +4 -3
- package/dist-types/ts3.4/models/models_1.d.ts +36 -21
- package/dist-types/ts3.4/models/models_2.d.ts +42 -96
- package/dist-types/ts3.4/models/models_3.d.ts +91 -45
- package/dist-types/ts3.4/models/models_4.d.ts +47 -5
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +3 -3
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DeleteHubContentReferenceRequest } from "../models/models_2";
|
|
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 DeleteHubContentReferenceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteHubContentReferenceCommandInput extends DeleteHubContentReferenceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteHubContentReferenceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteHubContentReferenceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteHubContentReferenceCommand_base: {
|
|
25
|
+
new (input: DeleteHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHubContentReferenceCommandInput, DeleteHubContentReferenceCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DeleteHubContentReferenceCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteHubContentReferenceCommandInput, DeleteHubContentReferenceCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Delete a hub content reference in order to remove a model from a private hub.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DeleteHubContentReferenceCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DeleteHubContentReferenceCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // DeleteHubContentReferenceRequest
|
|
38
|
+
* HubName: "STRING_VALUE", // required
|
|
39
|
+
* HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
40
|
+
* HubContentName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteHubContentReferenceCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // {};
|
|
45
|
+
*
|
|
46
|
+
* ```
|
|
47
|
+
*
|
|
48
|
+
* @param DeleteHubContentReferenceCommandInput - {@link DeleteHubContentReferenceCommandInput}
|
|
49
|
+
* @returns {@link DeleteHubContentReferenceCommandOutput}
|
|
50
|
+
* @see {@link DeleteHubContentReferenceCommandInput} for command's `input` shape.
|
|
51
|
+
* @see {@link DeleteHubContentReferenceCommandOutput} for command's `response` shape.
|
|
52
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
53
|
+
*
|
|
54
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
55
|
+
* <p>Resource being access is not found.</p>
|
|
56
|
+
*
|
|
57
|
+
* @throws {@link SageMakerServiceException}
|
|
58
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
59
|
+
*
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
export declare class DeleteHubContentReferenceCommand extends DeleteHubContentReferenceCommand_base {
|
|
63
|
+
}
|
|
@@ -125,6 +125,9 @@ declare const DescribeAlgorithmCommand_base: {
|
|
|
125
125
|
* // ModelAccessConfig: { // ModelAccessConfig
|
|
126
126
|
* // AcceptEula: true || false, // required
|
|
127
127
|
* // },
|
|
128
|
+
* // HubAccessConfig: { // InferenceHubAccessConfig
|
|
129
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
130
|
+
* // },
|
|
128
131
|
* // },
|
|
129
132
|
* // },
|
|
130
133
|
* // ProductId: "STRING_VALUE",
|
|
@@ -214,6 +214,14 @@ declare const DescribeDomainCommand_base: {
|
|
|
214
214
|
* // },
|
|
215
215
|
* // },
|
|
216
216
|
* // ],
|
|
217
|
+
* // StudioWebPortalSettings: { // StudioWebPortalSettings
|
|
218
|
+
* // HiddenMlTools: [ // HiddenMlToolsList
|
|
219
|
+
* // "DataWrangler" || "FeatureStore" || "EmrClusters" || "AutoMl" || "Experiments" || "Training" || "ModelEvaluation" || "Pipelines" || "Models" || "JumpStart" || "InferenceRecommender" || "Endpoints" || "Projects",
|
|
220
|
+
* // ],
|
|
221
|
+
* // HiddenAppTypes: [ // HiddenAppTypesList
|
|
222
|
+
* // "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
|
|
223
|
+
* // ],
|
|
224
|
+
* // },
|
|
217
225
|
* // },
|
|
218
226
|
* // DomainSettings: { // DomainSettings
|
|
219
227
|
* // SecurityGroupIds: [ // DomainSecurityGroupIds
|
|
@@ -27,10 +27,7 @@ declare const DescribeHubCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
30
|
+
* <p>Describes a hub.</p>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -28,9 +28,6 @@ declare const DescribeHubContentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Describe the content of a hub.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -39,7 +36,7 @@ declare const DescribeHubContentCommand_base: {
|
|
|
39
36
|
* const client = new SageMakerClient(config);
|
|
40
37
|
* const input = { // DescribeHubContentRequest
|
|
41
38
|
* HubName: "STRING_VALUE", // required
|
|
42
|
-
* HubContentType: "Model" || "Notebook", // required
|
|
39
|
+
* HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
43
40
|
* HubContentName: "STRING_VALUE", // required
|
|
44
41
|
* HubContentVersion: "STRING_VALUE",
|
|
45
42
|
* };
|
|
@@ -49,7 +46,7 @@ declare const DescribeHubContentCommand_base: {
|
|
|
49
46
|
* // HubContentName: "STRING_VALUE", // required
|
|
50
47
|
* // HubContentArn: "STRING_VALUE", // required
|
|
51
48
|
* // HubContentVersion: "STRING_VALUE", // required
|
|
52
|
-
* // HubContentType: "Model" || "Notebook", // required
|
|
49
|
+
* // HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
53
50
|
* // DocumentSchemaVersion: "STRING_VALUE", // required
|
|
54
51
|
* // HubName: "STRING_VALUE", // required
|
|
55
52
|
* // HubArn: "STRING_VALUE", // required
|
|
@@ -57,6 +54,9 @@ declare const DescribeHubContentCommand_base: {
|
|
|
57
54
|
* // HubContentDescription: "STRING_VALUE",
|
|
58
55
|
* // HubContentMarkdown: "STRING_VALUE",
|
|
59
56
|
* // HubContentDocument: "STRING_VALUE", // required
|
|
57
|
+
* // SageMakerPublicHubContentArn: "STRING_VALUE",
|
|
58
|
+
* // ReferenceMinVersion: "STRING_VALUE",
|
|
59
|
+
* // SupportStatus: "Supported" || "Deprecated",
|
|
60
60
|
* // HubContentSearchKeywords: [ // HubContentSearchKeywordList
|
|
61
61
|
* // "STRING_VALUE",
|
|
62
62
|
* // ],
|
|
@@ -145,10 +145,10 @@ declare const DescribeInferenceRecommendationsJobCommand_base: {
|
|
|
145
145
|
* // { // InferenceRecommendation
|
|
146
146
|
* // RecommendationId: "STRING_VALUE",
|
|
147
147
|
* // Metrics: { // RecommendationMetrics
|
|
148
|
-
* // CostPerHour: Number("float"),
|
|
149
|
-
* // CostPerInference: Number("float"),
|
|
150
|
-
* // MaxInvocations: Number("int"),
|
|
151
|
-
* // ModelLatency: Number("int"),
|
|
148
|
+
* // CostPerHour: Number("float"),
|
|
149
|
+
* // CostPerInference: Number("float"),
|
|
150
|
+
* // MaxInvocations: Number("int"),
|
|
151
|
+
* // ModelLatency: Number("int"),
|
|
152
152
|
* // CpuUtilization: Number("float"),
|
|
153
153
|
* // MemoryUtilization: Number("float"),
|
|
154
154
|
* // ModelSetupTime: Number("int"),
|
|
@@ -61,6 +61,9 @@ declare const DescribeModelCommand_base: {
|
|
|
61
61
|
* // ModelAccessConfig: { // ModelAccessConfig
|
|
62
62
|
* // AcceptEula: true || false, // required
|
|
63
63
|
* // },
|
|
64
|
+
* // HubAccessConfig: { // InferenceHubAccessConfig
|
|
65
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
66
|
+
* // },
|
|
64
67
|
* // },
|
|
65
68
|
* // },
|
|
66
69
|
* // Environment: { // EnvironmentMap
|
|
@@ -92,6 +95,9 @@ declare const DescribeModelCommand_base: {
|
|
|
92
95
|
* // ModelAccessConfig: {
|
|
93
96
|
* // AcceptEula: true || false, // required
|
|
94
97
|
* // },
|
|
98
|
+
* // HubAccessConfig: {
|
|
99
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
100
|
+
* // },
|
|
95
101
|
* // },
|
|
96
102
|
* // },
|
|
97
103
|
* // Environment: {
|
|
@@ -69,6 +69,9 @@ declare const DescribeModelPackageCommand_base: {
|
|
|
69
69
|
* // ModelAccessConfig: { // ModelAccessConfig
|
|
70
70
|
* // AcceptEula: true || false, // required
|
|
71
71
|
* // },
|
|
72
|
+
* // HubAccessConfig: { // InferenceHubAccessConfig
|
|
73
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
74
|
+
* // },
|
|
72
75
|
* // },
|
|
73
76
|
* // },
|
|
74
77
|
* // ProductId: "STRING_VALUE",
|
|
@@ -113,6 +116,9 @@ declare const DescribeModelPackageCommand_base: {
|
|
|
113
116
|
* // ModelAccessConfig: {
|
|
114
117
|
* // AcceptEula: true || false, // required
|
|
115
118
|
* // },
|
|
119
|
+
* // HubAccessConfig: {
|
|
120
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
121
|
+
* // },
|
|
116
122
|
* // },
|
|
117
123
|
* // },
|
|
118
124
|
* // AlgorithmName: "STRING_VALUE", // required
|
|
@@ -293,6 +299,9 @@ declare const DescribeModelPackageCommand_base: {
|
|
|
293
299
|
* // ModelAccessConfig: {
|
|
294
300
|
* // AcceptEula: true || false, // required
|
|
295
301
|
* // },
|
|
302
|
+
* // HubAccessConfig: {
|
|
303
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
304
|
+
* // },
|
|
296
305
|
* // },
|
|
297
306
|
* // },
|
|
298
307
|
* // ProductId: "STRING_VALUE",
|
|
@@ -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 { DescribeMonitoringScheduleRequest
|
|
3
|
+
import { DescribeMonitoringScheduleRequest } from "../models/models_2";
|
|
4
|
+
import { DescribeMonitoringScheduleResponse } from "../models/models_3";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { DescribeNotebookInstanceInput, DescribeNotebookInstanceOutput } from "../models/
|
|
3
|
+
import { DescribeNotebookInstanceInput, DescribeNotebookInstanceOutput } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -213,6 +213,14 @@ declare const DescribeUserProfileCommand_base: {
|
|
|
213
213
|
* // },
|
|
214
214
|
* // },
|
|
215
215
|
* // ],
|
|
216
|
+
* // StudioWebPortalSettings: { // StudioWebPortalSettings
|
|
217
|
+
* // HiddenMlTools: [ // HiddenMlToolsList
|
|
218
|
+
* // "DataWrangler" || "FeatureStore" || "EmrClusters" || "AutoMl" || "Experiments" || "Training" || "ModelEvaluation" || "Pipelines" || "Models" || "JumpStart" || "InferenceRecommender" || "Endpoints" || "Projects",
|
|
219
|
+
* // ],
|
|
220
|
+
* // HiddenAppTypes: [ // HiddenAppTypesList
|
|
221
|
+
* // "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
|
|
222
|
+
* // ],
|
|
223
|
+
* // },
|
|
216
224
|
* // },
|
|
217
225
|
* // };
|
|
218
226
|
*
|
|
@@ -28,9 +28,6 @@ declare const ImportHubContentCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Import hub content.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -40,7 +37,7 @@ declare const ImportHubContentCommand_base: {
|
|
|
40
37
|
* const input = { // ImportHubContentRequest
|
|
41
38
|
* HubContentName: "STRING_VALUE", // required
|
|
42
39
|
* HubContentVersion: "STRING_VALUE",
|
|
43
|
-
* HubContentType: "Model" || "Notebook", // required
|
|
40
|
+
* HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
44
41
|
* DocumentSchemaVersion: "STRING_VALUE", // required
|
|
45
42
|
* HubName: "STRING_VALUE", // required
|
|
46
43
|
* HubContentDisplayName: "STRING_VALUE",
|
|
@@ -28,9 +28,6 @@ declare const ListHubContentVersionsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>List hub content versions.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -39,7 +36,7 @@ declare const ListHubContentVersionsCommand_base: {
|
|
|
39
36
|
* const client = new SageMakerClient(config);
|
|
40
37
|
* const input = { // ListHubContentVersionsRequest
|
|
41
38
|
* HubName: "STRING_VALUE", // required
|
|
42
|
-
* HubContentType: "Model" || "Notebook", // required
|
|
39
|
+
* HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
43
40
|
* HubContentName: "STRING_VALUE", // required
|
|
44
41
|
* MinVersion: "STRING_VALUE",
|
|
45
42
|
* MaxSchemaVersion: "STRING_VALUE",
|
|
@@ -57,16 +54,19 @@ declare const ListHubContentVersionsCommand_base: {
|
|
|
57
54
|
* // { // HubContentInfo
|
|
58
55
|
* // HubContentName: "STRING_VALUE", // required
|
|
59
56
|
* // HubContentArn: "STRING_VALUE", // required
|
|
57
|
+
* // SageMakerPublicHubContentArn: "STRING_VALUE",
|
|
60
58
|
* // HubContentVersion: "STRING_VALUE", // required
|
|
61
|
-
* // HubContentType: "Model" || "Notebook", // required
|
|
59
|
+
* // HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
62
60
|
* // DocumentSchemaVersion: "STRING_VALUE", // required
|
|
63
61
|
* // HubContentDisplayName: "STRING_VALUE",
|
|
64
62
|
* // HubContentDescription: "STRING_VALUE",
|
|
63
|
+
* // SupportStatus: "Supported" || "Deprecated",
|
|
65
64
|
* // HubContentSearchKeywords: [ // HubContentSearchKeywordList
|
|
66
65
|
* // "STRING_VALUE",
|
|
67
66
|
* // ],
|
|
68
67
|
* // HubContentStatus: "Available" || "Importing" || "Deleting" || "ImportFailed" || "DeleteFailed", // required
|
|
69
68
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
69
|
+
* // OriginalCreationTime: new Date("TIMESTAMP"),
|
|
70
70
|
* // },
|
|
71
71
|
* // ],
|
|
72
72
|
* // NextToken: "STRING_VALUE",
|
|
@@ -28,9 +28,6 @@ declare const ListHubContentsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>List the contents of a hub.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -39,7 +36,7 @@ declare const ListHubContentsCommand_base: {
|
|
|
39
36
|
* const client = new SageMakerClient(config);
|
|
40
37
|
* const input = { // ListHubContentsRequest
|
|
41
38
|
* HubName: "STRING_VALUE", // required
|
|
42
|
-
* HubContentType: "Model" || "Notebook", // required
|
|
39
|
+
* HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
43
40
|
* NameContains: "STRING_VALUE",
|
|
44
41
|
* MaxSchemaVersion: "STRING_VALUE",
|
|
45
42
|
* CreationTimeBefore: new Date("TIMESTAMP"),
|
|
@@ -56,16 +53,19 @@ declare const ListHubContentsCommand_base: {
|
|
|
56
53
|
* // { // HubContentInfo
|
|
57
54
|
* // HubContentName: "STRING_VALUE", // required
|
|
58
55
|
* // HubContentArn: "STRING_VALUE", // required
|
|
56
|
+
* // SageMakerPublicHubContentArn: "STRING_VALUE",
|
|
59
57
|
* // HubContentVersion: "STRING_VALUE", // required
|
|
60
|
-
* // HubContentType: "Model" || "Notebook", // required
|
|
58
|
+
* // HubContentType: "Model" || "Notebook" || "ModelReference", // required
|
|
61
59
|
* // DocumentSchemaVersion: "STRING_VALUE", // required
|
|
62
60
|
* // HubContentDisplayName: "STRING_VALUE",
|
|
63
61
|
* // HubContentDescription: "STRING_VALUE",
|
|
62
|
+
* // SupportStatus: "Supported" || "Deprecated",
|
|
64
63
|
* // HubContentSearchKeywords: [ // HubContentSearchKeywordList
|
|
65
64
|
* // "STRING_VALUE",
|
|
66
65
|
* // ],
|
|
67
66
|
* // HubContentStatus: "Available" || "Importing" || "Deleting" || "ImportFailed" || "DeleteFailed", // required
|
|
68
67
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
68
|
+
* // OriginalCreationTime: new Date("TIMESTAMP"),
|
|
69
69
|
* // },
|
|
70
70
|
* // ],
|
|
71
71
|
* // NextToken: "STRING_VALUE",
|
|
@@ -28,9 +28,6 @@ declare const ListHubsCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>List all existing hubs.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -52,10 +52,10 @@ declare const ListInferenceRecommendationsJobStepsCommand_base: {
|
|
|
52
52
|
* // Status: "PENDING" || "IN_PROGRESS" || "COMPLETED" || "FAILED" || "STOPPING" || "STOPPED" || "DELETING" || "DELETED", // required
|
|
53
53
|
* // InferenceBenchmark: { // RecommendationJobInferenceBenchmark
|
|
54
54
|
* // Metrics: { // RecommendationMetrics
|
|
55
|
-
* // CostPerHour: Number("float"),
|
|
56
|
-
* // CostPerInference: Number("float"),
|
|
57
|
-
* // MaxInvocations: Number("int"),
|
|
58
|
-
* // ModelLatency: Number("int"),
|
|
55
|
+
* // CostPerHour: Number("float"),
|
|
56
|
+
* // CostPerInference: Number("float"),
|
|
57
|
+
* // MaxInvocations: Number("int"),
|
|
58
|
+
* // ModelLatency: Number("int"),
|
|
59
59
|
* // CpuUtilization: Number("float"),
|
|
60
60
|
* // MemoryUtilization: Number("float"),
|
|
61
61
|
* // ModelSetupTime: Number("int"),
|
|
@@ -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 { ListModelsInput
|
|
3
|
+
import { ListModelsInput } from "../models/models_3";
|
|
4
|
+
import { ListModelsOutput } from "../models/models_4";
|
|
4
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
6
|
/**
|
|
6
7
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import { ListMonitoringAlertHistoryRequest, ListMonitoringAlertHistoryResponse } from "../models/
|
|
3
|
+
import { ListMonitoringAlertHistoryRequest, ListMonitoringAlertHistoryResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
@@ -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 { ListMonitoringAlertsRequest } from "../models/
|
|
4
|
-
import { ListMonitoringAlertsResponse } from "../models/models_4";
|
|
3
|
+
import { ListMonitoringAlertsRequest, ListMonitoringAlertsResponse } from "../models/models_4";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -1095,6 +1095,9 @@ declare const SearchCommand_base: {
|
|
|
1095
1095
|
* // ModelAccessConfig: { // ModelAccessConfig
|
|
1096
1096
|
* // AcceptEula: true || false, // required
|
|
1097
1097
|
* // },
|
|
1098
|
+
* // HubAccessConfig: { // InferenceHubAccessConfig
|
|
1099
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
1100
|
+
* // },
|
|
1098
1101
|
* // },
|
|
1099
1102
|
* // },
|
|
1100
1103
|
* // ProductId: "STRING_VALUE",
|
|
@@ -1139,6 +1142,9 @@ declare const SearchCommand_base: {
|
|
|
1139
1142
|
* // ModelAccessConfig: {
|
|
1140
1143
|
* // AcceptEula: true || false, // required
|
|
1141
1144
|
* // },
|
|
1145
|
+
* // HubAccessConfig: {
|
|
1146
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
1147
|
+
* // },
|
|
1142
1148
|
* // },
|
|
1143
1149
|
* // },
|
|
1144
1150
|
* // AlgorithmName: "STRING_VALUE", // required
|
|
@@ -1271,6 +1277,9 @@ declare const SearchCommand_base: {
|
|
|
1271
1277
|
* // ModelAccessConfig: {
|
|
1272
1278
|
* // AcceptEula: true || false, // required
|
|
1273
1279
|
* // },
|
|
1280
|
+
* // HubAccessConfig: {
|
|
1281
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
1282
|
+
* // },
|
|
1274
1283
|
* // },
|
|
1275
1284
|
* // },
|
|
1276
1285
|
* // ProductId: "STRING_VALUE",
|
|
@@ -198,6 +198,14 @@ declare const UpdateDomainCommand_base: {
|
|
|
198
198
|
* },
|
|
199
199
|
* },
|
|
200
200
|
* ],
|
|
201
|
+
* StudioWebPortalSettings: { // StudioWebPortalSettings
|
|
202
|
+
* HiddenMlTools: [ // HiddenMlToolsList
|
|
203
|
+
* "DataWrangler" || "FeatureStore" || "EmrClusters" || "AutoMl" || "Experiments" || "Training" || "ModelEvaluation" || "Pipelines" || "Models" || "JumpStart" || "InferenceRecommender" || "Endpoints" || "Projects",
|
|
204
|
+
* ],
|
|
205
|
+
* HiddenAppTypes: [ // HiddenAppTypesList
|
|
206
|
+
* "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
|
|
207
|
+
* ],
|
|
208
|
+
* },
|
|
201
209
|
* },
|
|
202
210
|
* DomainSettingsForUpdate: { // DomainSettingsForUpdate
|
|
203
211
|
* RStudioServerProDomainSettingsForUpdate: { // RStudioServerProDomainSettingsForUpdate
|
|
@@ -28,9 +28,6 @@ declare const UpdateHubCommand_base: {
|
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
30
|
* <p>Update a hub.</p>
|
|
31
|
-
* <note>
|
|
32
|
-
* <p>Hub APIs are only callable through SageMaker Studio.</p>
|
|
33
|
-
* </note>
|
|
34
31
|
* @example
|
|
35
32
|
* Use a bare-bones client and the command you need to make an API call.
|
|
36
33
|
* ```javascript
|
|
@@ -62,6 +62,9 @@ declare const UpdateModelPackageCommand_base: {
|
|
|
62
62
|
* ModelAccessConfig: { // ModelAccessConfig
|
|
63
63
|
* AcceptEula: true || false, // required
|
|
64
64
|
* },
|
|
65
|
+
* HubAccessConfig: { // InferenceHubAccessConfig
|
|
66
|
+
* HubContentArn: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
65
68
|
* },
|
|
66
69
|
* },
|
|
67
70
|
* ProductId: "STRING_VALUE",
|
|
@@ -110,6 +113,9 @@ declare const UpdateModelPackageCommand_base: {
|
|
|
110
113
|
* ModelAccessConfig: {
|
|
111
114
|
* AcceptEula: true || false, // required
|
|
112
115
|
* },
|
|
116
|
+
* HubAccessConfig: {
|
|
117
|
+
* HubContentArn: "STRING_VALUE", // required
|
|
118
|
+
* },
|
|
113
119
|
* },
|
|
114
120
|
* },
|
|
115
121
|
* ProductId: "STRING_VALUE",
|
|
@@ -199,6 +199,14 @@ declare const UpdateUserProfileCommand_base: {
|
|
|
199
199
|
* },
|
|
200
200
|
* },
|
|
201
201
|
* ],
|
|
202
|
+
* StudioWebPortalSettings: { // StudioWebPortalSettings
|
|
203
|
+
* HiddenMlTools: [ // HiddenMlToolsList
|
|
204
|
+
* "DataWrangler" || "FeatureStore" || "EmrClusters" || "AutoMl" || "Experiments" || "Training" || "ModelEvaluation" || "Pipelines" || "Models" || "JumpStart" || "InferenceRecommender" || "Endpoints" || "Projects",
|
|
205
|
+
* ],
|
|
206
|
+
* HiddenAppTypes: [ // HiddenAppTypesList
|
|
207
|
+
* "JupyterServer" || "KernelGateway" || "DetailedProfiler" || "TensorBoard" || "CodeEditor" || "JupyterLab" || "RStudioServerPro" || "RSessionGateway" || "Canvas",
|
|
208
|
+
* ],
|
|
209
|
+
* },
|
|
202
210
|
* },
|
|
203
211
|
* };
|
|
204
212
|
* const command = new UpdateUserProfileCommand(input);
|
|
@@ -25,6 +25,7 @@ export * from "./CreateExperimentCommand";
|
|
|
25
25
|
export * from "./CreateFeatureGroupCommand";
|
|
26
26
|
export * from "./CreateFlowDefinitionCommand";
|
|
27
27
|
export * from "./CreateHubCommand";
|
|
28
|
+
export * from "./CreateHubContentReferenceCommand";
|
|
28
29
|
export * from "./CreateHumanTaskUiCommand";
|
|
29
30
|
export * from "./CreateHyperParameterTuningJobCommand";
|
|
30
31
|
export * from "./CreateImageCommand";
|
|
@@ -82,6 +83,7 @@ export * from "./DeleteFeatureGroupCommand";
|
|
|
82
83
|
export * from "./DeleteFlowDefinitionCommand";
|
|
83
84
|
export * from "./DeleteHubCommand";
|
|
84
85
|
export * from "./DeleteHubContentCommand";
|
|
86
|
+
export * from "./DeleteHubContentReferenceCommand";
|
|
85
87
|
export * from "./DeleteHumanTaskUiCommand";
|
|
86
88
|
export * from "./DeleteHyperParameterTuningJobCommand";
|
|
87
89
|
export * from "./DeleteImageCommand";
|
|
@@ -239,6 +239,17 @@ export declare const ModelCompressionType: {
|
|
|
239
239
|
* @public
|
|
240
240
|
*/
|
|
241
241
|
export type ModelCompressionType = (typeof ModelCompressionType)[keyof typeof ModelCompressionType];
|
|
242
|
+
/**
|
|
243
|
+
* <p>Configuration information specifying which hub contents have accessible deployment options.</p>
|
|
244
|
+
* @public
|
|
245
|
+
*/
|
|
246
|
+
export interface InferenceHubAccessConfig {
|
|
247
|
+
/**
|
|
248
|
+
* <p>The ARN of the hub content for which deployment access is allowed.</p>
|
|
249
|
+
* @public
|
|
250
|
+
*/
|
|
251
|
+
HubContentArn: string | undefined;
|
|
252
|
+
}
|
|
242
253
|
/**
|
|
243
254
|
* <p>The access configuration file to control access to the ML model. You can explicitly accept the model
|
|
244
255
|
* end-user license agreement (EULA) within the <code>ModelAccessConfig</code>.</p>
|
|
@@ -378,6 +389,11 @@ export interface S3ModelDataSource {
|
|
|
378
389
|
* @public
|
|
379
390
|
*/
|
|
380
391
|
ModelAccessConfig?: ModelAccessConfig;
|
|
392
|
+
/**
|
|
393
|
+
* <p>Configuration information for hub access.</p>
|
|
394
|
+
* @public
|
|
395
|
+
*/
|
|
396
|
+
HubAccessConfig?: InferenceHubAccessConfig;
|
|
381
397
|
}
|
|
382
398
|
/**
|
|
383
399
|
* <p>Specifies the location of ML model data to deploy. If specified, you must specify one
|
|
@@ -8232,7 +8248,7 @@ export interface ClarifyExplainerConfig {
|
|
|
8232
8248
|
}
|
|
8233
8249
|
/**
|
|
8234
8250
|
* <p>Defines the configuration for attaching an additional Amazon Elastic Block Store (EBS)
|
|
8235
|
-
* volume to each instance of the SageMaker HyperPod cluster instance group
|
|
8251
|
+
* volume to each instance of the SageMaker HyperPod cluster instance group. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620">SageMaker HyperPod release notes: June 20, 2024</a>.</p>
|
|
8236
8252
|
* @public
|
|
8237
8253
|
*/
|
|
8238
8254
|
export interface ClusterEbsVolumeConfig {
|
|
@@ -8247,7 +8263,7 @@ export interface ClusterEbsVolumeConfig {
|
|
|
8247
8263
|
}
|
|
8248
8264
|
/**
|
|
8249
8265
|
* <p>Defines the configuration for attaching additional storage to the instances in the
|
|
8250
|
-
* SageMaker HyperPod cluster instance group
|
|
8266
|
+
* SageMaker HyperPod cluster instance group. To learn more, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/sagemaker-hyperpod-release-notes.html#sagemaker-hyperpod-release-notes-20240620">SageMaker HyperPod release notes: June 20, 2024</a>.</p>
|
|
8251
8267
|
* @public
|
|
8252
8268
|
*/
|
|
8253
8269
|
export type ClusterInstanceStorageConfig = ClusterInstanceStorageConfig.EbsVolumeConfigMember | ClusterInstanceStorageConfig.$UnknownMember;
|
|
@@ -10357,13 +10373,3 @@ export interface CreateCodeRepositoryInput {
|
|
|
10357
10373
|
*/
|
|
10358
10374
|
Tags?: Tag[];
|
|
10359
10375
|
}
|
|
10360
|
-
/**
|
|
10361
|
-
* @public
|
|
10362
|
-
*/
|
|
10363
|
-
export interface CreateCodeRepositoryOutput {
|
|
10364
|
-
/**
|
|
10365
|
-
* <p>The Amazon Resource Name (ARN) of the new repository.</p>
|
|
10366
|
-
* @public
|
|
10367
|
-
*/
|
|
10368
|
-
CodeRepositoryArn: string | undefined;
|
|
10369
|
-
}
|