@aws-sdk/client-sagemaker 3.753.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.
- package/README.md +16 -0
- package/dist-cjs/index.js +134 -11
- package/dist-es/SageMaker.js +4 -0
- package/dist-es/commands/UpdateHubContentCommand.js +22 -0
- package/dist-es/commands/UpdateHubContentReferenceCommand.js +22 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_2.js +1 -4
- package/dist-es/models/models_3.js +8 -5
- package/dist-es/models/models_4.js +5 -0
- package/dist-es/protocols/Aws_json1_1.js +80 -0
- package/dist-types/SageMaker.d.ts +14 -0
- package/dist-types/SageMakerClient.d.ts +4 -2
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +6 -0
- package/dist-types/commands/CreateHyperParameterTuningJobCommand.d.ts +12 -0
- package/dist-types/commands/CreateModelPackageCommand.d.ts +5 -5
- package/dist-types/commands/CreateMonitoringScheduleCommand.d.ts +2 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +6 -0
- package/dist-types/commands/DeleteModelPackageCommand.d.ts +3 -2
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +6 -0
- package/dist-types/commands/DescribeHubContentCommand.d.ts +2 -1
- package/dist-types/commands/DescribeHyperParameterTuningJobCommand.d.ts +12 -0
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +21 -0
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +3 -4
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +6 -0
- package/dist-types/commands/GetModelPackageGroupPolicyCommand.d.ts +2 -2
- package/dist-types/commands/ImportHubContentCommand.d.ts +1 -0
- package/dist-types/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListDeviceFleetsCommand.d.ts +1 -2
- package/dist-types/commands/ListHubContentVersionsCommand.d.ts +1 -1
- package/dist-types/commands/ListHubContentsCommand.d.ts +1 -1
- package/dist-types/commands/PutModelPackageGroupPolicyCommand.d.ts +2 -1
- package/dist-types/commands/SearchCommand.d.ts +17 -15
- package/dist-types/commands/StopPipelineExecutionCommand.d.ts +2 -1
- package/dist-types/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateHubContentCommand.d.ts +123 -0
- package/dist-types/commands/UpdateHubContentReferenceCommand.d.ts +94 -0
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +21 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +79 -51
- package/dist-types/models/models_1.d.ts +112 -112
- package/dist-types/models/models_2.d.ts +18 -14
- package/dist-types/models/models_3.d.ts +165 -193
- package/dist-types/models/models_4.d.ts +252 -122
- package/dist-types/models/models_5.d.ts +207 -21
- 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/CreateMonitoringScheduleCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListDataQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDeviceFleetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/StopPipelineExecutionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/StopProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTrainingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StopTransformJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateActionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateHubContentCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateHubContentReferenceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +5 -4
- package/dist-types/ts3.4/models/models_1.d.ts +4 -4
- package/dist-types/ts3.4/models/models_2.d.ts +5 -6
- package/dist-types/ts3.4/models/models_3.d.ts +29 -39
- package/dist-types/ts3.4/models/models_4.d.ts +38 -21
- package/dist-types/ts3.4/models/models_5.d.ts +49 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +24 -0
- package/package.json +12 -12
|
@@ -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
|
+
}
|
|
@@ -60,6 +60,27 @@ declare const UpdateInferenceComponentCommand_base: {
|
|
|
60
60
|
* RuntimeConfig: { // InferenceComponentRuntimeConfig
|
|
61
61
|
* CopyCount: Number("int"), // required
|
|
62
62
|
* },
|
|
63
|
+
* DeploymentConfig: { // InferenceComponentDeploymentConfig
|
|
64
|
+
* RollingUpdatePolicy: { // InferenceComponentRollingUpdatePolicy
|
|
65
|
+
* MaximumBatchSize: { // InferenceComponentCapacitySize
|
|
66
|
+
* Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
67
|
+
* Value: Number("int"), // required
|
|
68
|
+
* },
|
|
69
|
+
* WaitIntervalInSeconds: Number("int"), // required
|
|
70
|
+
* MaximumExecutionTimeoutInSeconds: Number("int"),
|
|
71
|
+
* RollbackMaximumBatchSize: {
|
|
72
|
+
* Type: "COPY_COUNT" || "CAPACITY_PERCENT", // required
|
|
73
|
+
* Value: Number("int"), // required
|
|
74
|
+
* },
|
|
75
|
+
* },
|
|
76
|
+
* AutoRollbackConfiguration: { // AutoRollbackConfig
|
|
77
|
+
* Alarms: [ // AlarmList
|
|
78
|
+
* { // Alarm
|
|
79
|
+
* AlarmName: "STRING_VALUE",
|
|
80
|
+
* },
|
|
81
|
+
* ],
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
63
84
|
* };
|
|
64
85
|
* const command = new UpdateInferenceComponentCommand(input);
|
|
65
86
|
* const response = await client.send(command);
|
|
@@ -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";
|
|
@@ -465,7 +465,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
465
465
|
* <p>The Amazon Elastic Container Registry (Amazon ECR) path where inference code is stored.</p>
|
|
466
466
|
* <p>If you are using your own custom algorithm instead of an algorithm provided by SageMaker,
|
|
467
467
|
* the inference code must meet SageMaker requirements. SageMaker supports both
|
|
468
|
-
*
|
|
468
|
+
* <code>registry/repository[:tag]</code> and <code>registry/repository[@digest]</code>
|
|
469
469
|
* image path formats. For more information, see <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/your-algorithms.html">Using Your Own Algorithms with Amazon
|
|
470
470
|
* SageMaker</a>.</p>
|
|
471
471
|
* @public
|
|
@@ -480,7 +480,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
480
480
|
/**
|
|
481
481
|
* <p>The Amazon S3 path where the model artifacts, which result from model training, are stored.
|
|
482
482
|
* This path must point to a single <code>gzip</code> compressed tar archive
|
|
483
|
-
*
|
|
483
|
+
* (<code>.tar.gz</code> suffix).</p>
|
|
484
484
|
* <note>
|
|
485
485
|
* <p>The model artifacts must be in an S3 bucket that is in the same region as the
|
|
486
486
|
* model package.</p>
|
|
@@ -500,7 +500,7 @@ export interface ModelPackageContainerDefinition {
|
|
|
500
500
|
ProductId?: string | undefined;
|
|
501
501
|
/**
|
|
502
502
|
* <p>The environment variables to set in the Docker container. Each key and value in the
|
|
503
|
-
*
|
|
503
|
+
* <code>Environment</code> string to string map can have length of up to 1024. We
|
|
504
504
|
* support up to 16 entries in the map.</p>
|
|
505
505
|
* @public
|
|
506
506
|
*/
|
|
@@ -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>
|
|
@@ -7222,8 +7257,15 @@ export interface BatchDeleteClusterNodesRequest {
|
|
|
7222
7257
|
/**
|
|
7223
7258
|
* <p>A list of node IDs to be deleted from the specified cluster.</p>
|
|
7224
7259
|
* <note>
|
|
7225
|
-
* <
|
|
7226
|
-
*
|
|
7260
|
+
* <ul>
|
|
7261
|
+
* <li>
|
|
7262
|
+
* <p>For SageMaker HyperPod clusters using the Slurm workload manager, you cannot remove
|
|
7263
|
+
* instances that are configured as Slurm controller nodes.</p>
|
|
7264
|
+
* </li>
|
|
7265
|
+
* <li>
|
|
7266
|
+
* <p>If you need to delete more than 99 instances, contact <a href="http://aws.amazon.com/contact-us/">Support</a> for assistance.</p>
|
|
7267
|
+
* </li>
|
|
7268
|
+
* </ul>
|
|
7227
7269
|
* </note>
|
|
7228
7270
|
* @public
|
|
7229
7271
|
*/
|
|
@@ -7427,8 +7469,8 @@ export interface BatchDescribeModelPackageOutput {
|
|
|
7427
7469
|
*/
|
|
7428
7470
|
ModelPackageSummaries?: Record<string, BatchDescribeModelPackageSummary> | undefined;
|
|
7429
7471
|
/**
|
|
7430
|
-
* <p>A map of the resource and BatchDescribeModelPackageError objects
|
|
7431
|
-
*
|
|
7472
|
+
* <p>A map of the resource and BatchDescribeModelPackageError objects reporting the error
|
|
7473
|
+
* associated with describing the model package.</p>
|
|
7432
7474
|
* @public
|
|
7433
7475
|
*/
|
|
7434
7476
|
BatchDescribeModelPackageErrorMap?: Record<string, BatchDescribeModelPackageError> | undefined;
|
|
@@ -7697,8 +7739,8 @@ export declare const TrafficRoutingConfigType: {
|
|
|
7697
7739
|
*/
|
|
7698
7740
|
export type TrafficRoutingConfigType = (typeof TrafficRoutingConfigType)[keyof typeof TrafficRoutingConfigType];
|
|
7699
7741
|
/**
|
|
7700
|
-
* <p>Defines the traffic routing strategy during an endpoint deployment to shift traffic
|
|
7701
|
-
* old fleet to the new fleet.</p>
|
|
7742
|
+
* <p>Defines the traffic routing strategy during an endpoint deployment to shift traffic
|
|
7743
|
+
* from the old fleet to the new fleet.</p>
|
|
7702
7744
|
* @public
|
|
7703
7745
|
*/
|
|
7704
7746
|
export interface TrafficRoutingConfig {
|
|
@@ -7707,42 +7749,40 @@ export interface TrafficRoutingConfig {
|
|
|
7707
7749
|
* <ul>
|
|
7708
7750
|
* <li>
|
|
7709
7751
|
* <p>
|
|
7710
|
-
* <code>ALL_AT_ONCE</code>: Endpoint traffic shifts to the new fleet
|
|
7711
|
-
*
|
|
7712
|
-
* </p>
|
|
7752
|
+
* <code>ALL_AT_ONCE</code>: Endpoint traffic shifts to the new fleet in a single
|
|
7753
|
+
* step. </p>
|
|
7713
7754
|
* </li>
|
|
7714
7755
|
* <li>
|
|
7715
7756
|
* <p>
|
|
7716
|
-
* <code>CANARY</code>: Endpoint traffic shifts to the new fleet
|
|
7717
|
-
*
|
|
7718
|
-
*
|
|
7719
|
-
* </p>
|
|
7757
|
+
* <code>CANARY</code>: Endpoint traffic shifts to the new fleet in two steps.
|
|
7758
|
+
* The first step is the canary, which is a small portion of the traffic. The
|
|
7759
|
+
* second step is the remainder of the traffic. </p>
|
|
7720
7760
|
* </li>
|
|
7721
7761
|
* <li>
|
|
7722
7762
|
* <p>
|
|
7723
|
-
* <code>LINEAR</code>: Endpoint traffic shifts to the new fleet in
|
|
7724
|
-
*
|
|
7725
|
-
* </p>
|
|
7763
|
+
* <code>LINEAR</code>: Endpoint traffic shifts to the new fleet in n steps of a
|
|
7764
|
+
* configurable size. </p>
|
|
7726
7765
|
* </li>
|
|
7727
7766
|
* </ul>
|
|
7728
7767
|
* @public
|
|
7729
7768
|
*/
|
|
7730
7769
|
Type: TrafficRoutingConfigType | undefined;
|
|
7731
7770
|
/**
|
|
7732
|
-
* <p>The waiting time (in seconds) between incremental steps to turn on traffic on the
|
|
7733
|
-
*
|
|
7771
|
+
* <p>The waiting time (in seconds) between incremental steps to turn on traffic on the new
|
|
7772
|
+
* endpoint fleet.</p>
|
|
7734
7773
|
* @public
|
|
7735
7774
|
*/
|
|
7736
7775
|
WaitIntervalInSeconds: number | undefined;
|
|
7737
7776
|
/**
|
|
7738
|
-
* <p>Batch size for the first step to turn on traffic on the new endpoint fleet.
|
|
7739
|
-
*
|
|
7777
|
+
* <p>Batch size for the first step to turn on traffic on the new endpoint fleet.
|
|
7778
|
+
* <code>Value</code> must be less than or equal to 50% of the variant's total instance
|
|
7779
|
+
* count.</p>
|
|
7740
7780
|
* @public
|
|
7741
7781
|
*/
|
|
7742
7782
|
CanarySize?: CapacitySize | undefined;
|
|
7743
7783
|
/**
|
|
7744
|
-
* <p>Batch size for each step to turn on traffic on the new endpoint fleet.
|
|
7745
|
-
*
|
|
7784
|
+
* <p>Batch size for each step to turn on traffic on the new endpoint fleet.
|
|
7785
|
+
* <code>Value</code> must be 10-50% of the variant's total instance count.</p>
|
|
7746
7786
|
* @public
|
|
7747
7787
|
*/
|
|
7748
7788
|
LinearStepSize?: CapacitySize | undefined;
|
|
@@ -8219,9 +8259,9 @@ export interface CheckpointConfig {
|
|
|
8219
8259
|
LocalPath?: string | undefined;
|
|
8220
8260
|
}
|
|
8221
8261
|
/**
|
|
8222
|
-
* <p>The container for the metadata for the ClarifyCheck step. For more information,
|
|
8223
|
-
*
|
|
8224
|
-
*
|
|
8262
|
+
* <p>The container for the metadata for the ClarifyCheck step. For more information, see
|
|
8263
|
+
* the topic on <a href="https://docs.aws.amazon.com/sagemaker/latest/dg/build-and-manage-steps.html#step-type-clarify-check">ClarifyCheck step</a> in the <i>Amazon SageMaker Developer
|
|
8264
|
+
* Guide</i>. </p>
|
|
8225
8265
|
* @public
|
|
8226
8266
|
*/
|
|
8227
8267
|
export interface ClarifyCheckStepMetadata {
|
|
@@ -8251,21 +8291,25 @@ export interface ClarifyCheckStepMetadata {
|
|
|
8251
8291
|
*/
|
|
8252
8292
|
ViolationReport?: string | undefined;
|
|
8253
8293
|
/**
|
|
8254
|
-
* <p>The Amazon Resource Name (ARN) of the check processing job that was run by this step's
|
|
8294
|
+
* <p>The Amazon Resource Name (ARN) of the check processing job that was run by this step's
|
|
8295
|
+
* execution.</p>
|
|
8255
8296
|
* @public
|
|
8256
8297
|
*/
|
|
8257
8298
|
CheckJobArn?: string | undefined;
|
|
8258
8299
|
/**
|
|
8259
|
-
* <p>This flag indicates if the drift check against the previous baseline will be skipped
|
|
8260
|
-
* If it is set to <code>False</code>, the previous baseline of the configured
|
|
8300
|
+
* <p>This flag indicates if the drift check against the previous baseline will be skipped
|
|
8301
|
+
* or not. If it is set to <code>False</code>, the previous baseline of the configured
|
|
8302
|
+
* check type must be available.</p>
|
|
8261
8303
|
* @public
|
|
8262
8304
|
*/
|
|
8263
8305
|
SkipCheck?: boolean | undefined;
|
|
8264
8306
|
/**
|
|
8265
|
-
* <p>This flag indicates if a newly calculated baseline can be accessed through step
|
|
8266
|
-
* <code>BaselineUsedForDriftCheckConstraints</code> and
|
|
8267
|
-
*
|
|
8268
|
-
*
|
|
8307
|
+
* <p>This flag indicates if a newly calculated baseline can be accessed through step
|
|
8308
|
+
* properties <code>BaselineUsedForDriftCheckConstraints</code> and
|
|
8309
|
+
* <code>BaselineUsedForDriftCheckStatistics</code>. If it is set to
|
|
8310
|
+
* <code>False</code>, the previous baseline of the configured check type must also be
|
|
8311
|
+
* available. These can be accessed through the
|
|
8312
|
+
* <code>BaselineUsedForDriftCheckConstraints</code> property. </p>
|
|
8269
8313
|
* @public
|
|
8270
8314
|
*/
|
|
8271
8315
|
RegisterNewBaseline?: boolean | undefined;
|
|
@@ -10434,19 +10478,3 @@ export interface ContinuousParameterRange {
|
|
|
10434
10478
|
*/
|
|
10435
10479
|
ScalingType?: HyperParameterScalingType | undefined;
|
|
10436
10480
|
}
|
|
10437
|
-
/**
|
|
10438
|
-
* <p>Defines the possible values for a continuous hyperparameter.</p>
|
|
10439
|
-
* @public
|
|
10440
|
-
*/
|
|
10441
|
-
export interface ContinuousParameterRangeSpecification {
|
|
10442
|
-
/**
|
|
10443
|
-
* <p>The minimum floating-point value allowed.</p>
|
|
10444
|
-
* @public
|
|
10445
|
-
*/
|
|
10446
|
-
MinValue: string | undefined;
|
|
10447
|
-
/**
|
|
10448
|
-
* <p>The maximum floating-point value allowed.</p>
|
|
10449
|
-
* @public
|
|
10450
|
-
*/
|
|
10451
|
-
MaxValue: string | undefined;
|
|
10452
|
-
}
|