@aws-sdk/client-sagemaker 3.338.0 → 3.339.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/dist-cjs/models/models_2.js +8 -5
- package/dist-cjs/models/models_3.js +5 -2
- package/dist-cjs/protocols/Aws_json1_1.js +2 -0
- package/dist-es/models/models_2.js +6 -3
- package/dist-es/models/models_3.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +2 -0
- package/dist-types/commands/DescribeModelCommand.d.ts +10 -0
- package/dist-types/commands/SearchCommand.d.ts +10 -0
- 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/models/models_2.d.ts +51 -70
- package/dist-types/models/models_3.d.ts +75 -28
- package/dist-types/models/models_4.d.ts +27 -0
- 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/models/models_2.d.ts +18 -20
- package/dist-types/ts3.4/models/models_3.d.ts +26 -11
- package/dist-types/ts3.4/models/models_4.d.ts +9 -0
- package/package.json +1 -1
|
@@ -1,8 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.DescribeModelCardResponseFilterSensitiveLog = exports.
|
|
3
|
+
exports.HubContentSortBy = exports.ResourceType = exports.SagemakerServicecatalogStatus = exports.Operator = exports.FeatureGroupSortOrder = exports.FeatureGroupSortBy = exports.EndpointSortKey = exports.EndpointConfigSortKey = exports.Direction = exports.DeviceDeploymentStatus = exports.WorkforceStatus = exports.UserProfileStatus = exports.TransformJobStatus = exports.WarmPoolResourceStatus = exports.SecondaryStatus = exports.ProfilingStatus = exports.SpaceStatus = exports.ProjectStatus = exports.ProcessingJobStatus = exports.PipelineExecutionStatus = exports.PipelineStatus = exports.NotebookInstanceStatus = exports.ScheduleStatus = exports.ExecutionStatus = exports.ModelPackageGroupStatus = exports.DetailedModelPackageStatus = exports.ModelCardExportJobStatus = exports.ModelCardProcessingStatus = exports.LabelingJobStatus = exports.RecommendationJobStatus = exports.InferenceExperimentStatus = exports.ModelVariantStatus = exports.ImageVersionStatus = exports.ImageStatus = exports.HyperParameterTuningJobStatus = exports.TrainingJobStatus = exports.HumanTaskUiStatus = exports.HubContentStatus = exports.HubStatus = exports.FlowDefinitionStatus = exports.OfflineStoreStatusValue = exports.LastUpdateStatusValue = exports.FeatureGroupStatus = exports.VariantStatus = exports.EndpointStatus = exports.EdgePresetDeploymentStatus = exports.EdgePackagingJobStatus = exports.DomainStatus = exports.StageStatus = exports.RecommendationStatus = void 0;
|
|
4
|
+
exports.DescribeModelCardResponseFilterSensitiveLog = exports.InferenceExperimentStopDesiredState = exports.ImageVersionSortOrder = exports.ImageVersionSortBy = exports.ImageSortOrder = exports.ImageSortBy = exports.HyperParameterTuningJobSortByOptions = exports.HubSortBy = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
exports.RecommendationStatus = {
|
|
7
|
+
COMPLETED: "COMPLETED",
|
|
8
|
+
FAILED: "FAILED",
|
|
9
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
10
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
11
|
+
};
|
|
6
12
|
exports.StageStatus = {
|
|
7
13
|
Creating: "CREATING",
|
|
8
14
|
Deployed: "DEPLOYED",
|
|
@@ -400,9 +406,6 @@ exports.InferenceExperimentStopDesiredState = {
|
|
|
400
406
|
CANCELLED: "Cancelled",
|
|
401
407
|
COMPLETED: "Completed",
|
|
402
408
|
};
|
|
403
|
-
exports.RecommendationStepType = {
|
|
404
|
-
BENCHMARK: "BENCHMARK",
|
|
405
|
-
};
|
|
406
409
|
const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
407
410
|
...obj,
|
|
408
411
|
...(obj.Content && { Content: smithy_client_1.SENSITIVE_STRING }),
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.SearchResponseFilterSensitiveLog = exports.SearchRecordFilterSensitiveLog = exports.ModelCardFilterSensitiveLog = exports.SearchSortOrder = void 0;
|
|
3
|
+
exports.ListWorkteamsSortByOptions = exports.ListWorkforcesSortByOptions = exports.UserProfileSortKey = exports.SortTrialsBy = exports.SortTrialComponentsBy = exports.TrainingJobSortByOptions = exports.StudioLifecycleConfigSortKey = exports.SpaceSortKey = exports.ProjectSortOrder = exports.ProjectSortBy = exports.SortPipelinesBy = exports.StepStatus = exports.SortPipelineExecutionsBy = exports.NotebookInstanceSortOrder = exports.NotebookInstanceSortKey = exports.NotebookInstanceLifecycleConfigSortOrder = exports.NotebookInstanceLifecycleConfigSortKey = exports.MonitoringScheduleSortKey = exports.MonitoringExecutionSortKey = exports.MonitoringAlertStatus = exports.MonitoringAlertHistorySortKey = exports.ModelSortKey = exports.ModelPackageSortBy = exports.ModelPackageType = exports.ModelPackageGroupSortBy = exports.ModelMetadataFilterType = exports.ModelCardVersionSortBy = exports.ModelCardSortOrder = exports.ModelCardSortBy = exports.ModelCardExportJobSortOrder = exports.ModelCardExportJobSortBy = exports.SortLineageGroupsBy = exports.ListLabelingJobsForWorkteamSortByOptions = exports.SortBy = exports.ListInferenceRecommendationsJobsSortBy = exports.SortInferenceExperimentsBy = exports.SortExperimentsBy = exports.OrderKey = exports.ListEdgePackagingJobsSortBy = exports.ListEdgeDeploymentPlansSortBy = exports.ListDeviceFleetsSortBy = exports.MonitoringJobDefinitionSortKey = exports.SortContextsBy = exports.ListCompilationJobsSortBy = exports.SortAssociationsBy = exports.SortArtifactsBy = exports.SortOrder = exports.SortActionsBy = exports.LineageType = exports.RecommendationStepType = void 0;
|
|
4
|
+
exports.SearchResponseFilterSensitiveLog = exports.SearchRecordFilterSensitiveLog = exports.ModelCardFilterSensitiveLog = exports.SearchSortOrder = exports.ModelVariantAction = void 0;
|
|
5
5
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
exports.RecommendationStepType = {
|
|
7
|
+
BENCHMARK: "BENCHMARK",
|
|
8
|
+
};
|
|
6
9
|
exports.LineageType = {
|
|
7
10
|
ACTION: "Action",
|
|
8
11
|
ARTIFACT: "Artifact",
|
|
@@ -13770,6 +13770,7 @@ const de_DescribeModelOutput = (output, context) => {
|
|
|
13770
13770
|
return (0, smithy_client_1.take)(output, {
|
|
13771
13771
|
Containers: smithy_client_1._json,
|
|
13772
13772
|
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
13773
|
+
DeploymentRecommendation: smithy_client_1._json,
|
|
13773
13774
|
EnableNetworkIsolation: smithy_client_1.expectBoolean,
|
|
13774
13775
|
ExecutionRoleArn: smithy_client_1.expectString,
|
|
13775
13776
|
InferenceExecutionConfig: smithy_client_1._json,
|
|
@@ -15217,6 +15218,7 @@ const de_Model = (output, context) => {
|
|
|
15217
15218
|
return (0, smithy_client_1.take)(output, {
|
|
15218
15219
|
Containers: smithy_client_1._json,
|
|
15219
15220
|
CreationTime: (_) => (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(_))),
|
|
15221
|
+
DeploymentRecommendation: smithy_client_1._json,
|
|
15220
15222
|
EnableNetworkIsolation: smithy_client_1.expectBoolean,
|
|
15221
15223
|
ExecutionRoleArn: smithy_client_1.expectString,
|
|
15222
15224
|
InferenceExecutionConfig: smithy_client_1._json,
|
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
|
|
2
|
+
export const RecommendationStatus = {
|
|
3
|
+
COMPLETED: "COMPLETED",
|
|
4
|
+
FAILED: "FAILED",
|
|
5
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
6
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
7
|
+
};
|
|
2
8
|
export const StageStatus = {
|
|
3
9
|
Creating: "CREATING",
|
|
4
10
|
Deployed: "DEPLOYED",
|
|
@@ -396,9 +402,6 @@ export const InferenceExperimentStopDesiredState = {
|
|
|
396
402
|
CANCELLED: "Cancelled",
|
|
397
403
|
COMPLETED: "Completed",
|
|
398
404
|
};
|
|
399
|
-
export const RecommendationStepType = {
|
|
400
|
-
BENCHMARK: "BENCHMARK",
|
|
401
|
-
};
|
|
402
405
|
export const DescribeModelCardResponseFilterSensitiveLog = (obj) => ({
|
|
403
406
|
...obj,
|
|
404
407
|
...(obj.Content && { Content: SENSITIVE_STRING }),
|
|
@@ -13151,6 +13151,7 @@ const de_DescribeModelOutput = (output, context) => {
|
|
|
13151
13151
|
return take(output, {
|
|
13152
13152
|
Containers: _json,
|
|
13153
13153
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
13154
|
+
DeploymentRecommendation: _json,
|
|
13154
13155
|
EnableNetworkIsolation: __expectBoolean,
|
|
13155
13156
|
ExecutionRoleArn: __expectString,
|
|
13156
13157
|
InferenceExecutionConfig: _json,
|
|
@@ -14598,6 +14599,7 @@ const de_Model = (output, context) => {
|
|
|
14598
14599
|
return take(output, {
|
|
14599
14600
|
Containers: _json,
|
|
14600
14601
|
CreationTime: (_) => __expectNonNull(__parseEpochTimestamp(__expectNumber(_))),
|
|
14602
|
+
DeploymentRecommendation: _json,
|
|
14601
14603
|
EnableNetworkIsolation: __expectBoolean,
|
|
14602
14604
|
ExecutionRoleArn: __expectString,
|
|
14603
14605
|
InferenceExecutionConfig: _json,
|
|
@@ -95,6 +95,16 @@ export interface DescribeModelCommandOutput extends DescribeModelOutput, __Metad
|
|
|
95
95
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
96
96
|
* // ModelArn: "STRING_VALUE", // required
|
|
97
97
|
* // EnableNetworkIsolation: true || false,
|
|
98
|
+
* // DeploymentRecommendation: { // DeploymentRecommendation
|
|
99
|
+
* // RecommendationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED" || "NOT_APPLICABLE", // required
|
|
100
|
+
* // RealTimeInferenceRecommendations: [ // RealTimeInferenceRecommendations
|
|
101
|
+
* // { // RealTimeInferenceRecommendation
|
|
102
|
+
* // RecommendationId: "STRING_VALUE", // required
|
|
103
|
+
* // InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.12xlarge" || "ml.m5d.24xlarge" || "ml.c4.large" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.large" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.12xlarge" || "ml.r5.24xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.12xlarge" || "ml.r5d.24xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.p4d.24xlarge" || "ml.c7g.large" || "ml.c7g.xlarge" || "ml.c7g.2xlarge" || "ml.c7g.4xlarge" || "ml.c7g.8xlarge" || "ml.c7g.12xlarge" || "ml.c7g.16xlarge" || "ml.m6g.large" || "ml.m6g.xlarge" || "ml.m6g.2xlarge" || "ml.m6g.4xlarge" || "ml.m6g.8xlarge" || "ml.m6g.12xlarge" || "ml.m6g.16xlarge" || "ml.m6gd.large" || "ml.m6gd.xlarge" || "ml.m6gd.2xlarge" || "ml.m6gd.4xlarge" || "ml.m6gd.8xlarge" || "ml.m6gd.12xlarge" || "ml.m6gd.16xlarge" || "ml.c6g.large" || "ml.c6g.xlarge" || "ml.c6g.2xlarge" || "ml.c6g.4xlarge" || "ml.c6g.8xlarge" || "ml.c6g.12xlarge" || "ml.c6g.16xlarge" || "ml.c6gd.large" || "ml.c6gd.xlarge" || "ml.c6gd.2xlarge" || "ml.c6gd.4xlarge" || "ml.c6gd.8xlarge" || "ml.c6gd.12xlarge" || "ml.c6gd.16xlarge" || "ml.c6gn.large" || "ml.c6gn.xlarge" || "ml.c6gn.2xlarge" || "ml.c6gn.4xlarge" || "ml.c6gn.8xlarge" || "ml.c6gn.12xlarge" || "ml.c6gn.16xlarge" || "ml.r6g.large" || "ml.r6g.xlarge" || "ml.r6g.2xlarge" || "ml.r6g.4xlarge" || "ml.r6g.8xlarge" || "ml.r6g.12xlarge" || "ml.r6g.16xlarge" || "ml.r6gd.large" || "ml.r6gd.xlarge" || "ml.r6gd.2xlarge" || "ml.r6gd.4xlarge" || "ml.r6gd.8xlarge" || "ml.r6gd.12xlarge" || "ml.r6gd.16xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge", // required
|
|
104
|
+
* // Environment: "<EnvironmentMap>",
|
|
105
|
+
* // },
|
|
106
|
+
* // ],
|
|
107
|
+
* // },
|
|
98
108
|
* // };
|
|
99
109
|
*
|
|
100
110
|
* ```
|
|
@@ -1697,6 +1697,16 @@ export interface SearchCommandOutput extends SearchResponse, __MetadataBearer {
|
|
|
1697
1697
|
* // ModelArn: "STRING_VALUE",
|
|
1698
1698
|
* // EnableNetworkIsolation: true || false,
|
|
1699
1699
|
* // Tags: "<TagList>",
|
|
1700
|
+
* // DeploymentRecommendation: { // DeploymentRecommendation
|
|
1701
|
+
* // RecommendationStatus: "IN_PROGRESS" || "COMPLETED" || "FAILED" || "NOT_APPLICABLE", // required
|
|
1702
|
+
* // RealTimeInferenceRecommendations: [ // RealTimeInferenceRecommendations
|
|
1703
|
+
* // { // RealTimeInferenceRecommendation
|
|
1704
|
+
* // RecommendationId: "STRING_VALUE", // required
|
|
1705
|
+
* // InstanceType: "ml.t2.medium" || "ml.t2.large" || "ml.t2.xlarge" || "ml.t2.2xlarge" || "ml.m4.xlarge" || "ml.m4.2xlarge" || "ml.m4.4xlarge" || "ml.m4.10xlarge" || "ml.m4.16xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.12xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.12xlarge" || "ml.m5d.24xlarge" || "ml.c4.large" || "ml.c4.xlarge" || "ml.c4.2xlarge" || "ml.c4.4xlarge" || "ml.c4.8xlarge" || "ml.p2.xlarge" || "ml.p2.8xlarge" || "ml.p2.16xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.18xlarge" || "ml.c5d.large" || "ml.c5d.xlarge" || "ml.c5d.2xlarge" || "ml.c5d.4xlarge" || "ml.c5d.9xlarge" || "ml.c5d.18xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.r5.large" || "ml.r5.xlarge" || "ml.r5.2xlarge" || "ml.r5.4xlarge" || "ml.r5.12xlarge" || "ml.r5.24xlarge" || "ml.r5d.large" || "ml.r5d.xlarge" || "ml.r5d.2xlarge" || "ml.r5d.4xlarge" || "ml.r5d.12xlarge" || "ml.r5d.24xlarge" || "ml.inf1.xlarge" || "ml.inf1.2xlarge" || "ml.inf1.6xlarge" || "ml.inf1.24xlarge" || "ml.c6i.large" || "ml.c6i.xlarge" || "ml.c6i.2xlarge" || "ml.c6i.4xlarge" || "ml.c6i.8xlarge" || "ml.c6i.12xlarge" || "ml.c6i.16xlarge" || "ml.c6i.24xlarge" || "ml.c6i.32xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.12xlarge" || "ml.g5.16xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.p4d.24xlarge" || "ml.c7g.large" || "ml.c7g.xlarge" || "ml.c7g.2xlarge" || "ml.c7g.4xlarge" || "ml.c7g.8xlarge" || "ml.c7g.12xlarge" || "ml.c7g.16xlarge" || "ml.m6g.large" || "ml.m6g.xlarge" || "ml.m6g.2xlarge" || "ml.m6g.4xlarge" || "ml.m6g.8xlarge" || "ml.m6g.12xlarge" || "ml.m6g.16xlarge" || "ml.m6gd.large" || "ml.m6gd.xlarge" || "ml.m6gd.2xlarge" || "ml.m6gd.4xlarge" || "ml.m6gd.8xlarge" || "ml.m6gd.12xlarge" || "ml.m6gd.16xlarge" || "ml.c6g.large" || "ml.c6g.xlarge" || "ml.c6g.2xlarge" || "ml.c6g.4xlarge" || "ml.c6g.8xlarge" || "ml.c6g.12xlarge" || "ml.c6g.16xlarge" || "ml.c6gd.large" || "ml.c6gd.xlarge" || "ml.c6gd.2xlarge" || "ml.c6gd.4xlarge" || "ml.c6gd.8xlarge" || "ml.c6gd.12xlarge" || "ml.c6gd.16xlarge" || "ml.c6gn.large" || "ml.c6gn.xlarge" || "ml.c6gn.2xlarge" || "ml.c6gn.4xlarge" || "ml.c6gn.8xlarge" || "ml.c6gn.12xlarge" || "ml.c6gn.16xlarge" || "ml.r6g.large" || "ml.r6g.xlarge" || "ml.r6g.2xlarge" || "ml.r6g.4xlarge" || "ml.r6g.8xlarge" || "ml.r6g.12xlarge" || "ml.r6g.16xlarge" || "ml.r6gd.large" || "ml.r6gd.xlarge" || "ml.r6gd.2xlarge" || "ml.r6gd.4xlarge" || "ml.r6gd.8xlarge" || "ml.r6gd.12xlarge" || "ml.r6gd.16xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge", // required
|
|
1706
|
+
* // Environment: "<EnvironmentMap>",
|
|
1707
|
+
* // },
|
|
1708
|
+
* // ],
|
|
1709
|
+
* // },
|
|
1700
1710
|
* // },
|
|
1701
1711
|
* // Endpoints: [ // ModelDashboardEndpoints
|
|
1702
1712
|
* // { // ModelDashboardEndpoint
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { StopProcessingJobRequest } from "../models/
|
|
4
|
+
import { StopProcessingJobRequest } from "../models/models_4";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { StopTrainingJobRequest } from "../models/
|
|
4
|
+
import { StopTrainingJobRequest } from "../models/models_4";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
-
import { StopTransformJobRequest } from "../models/
|
|
4
|
+
import { StopTransformJobRequest } from "../models/models_4";
|
|
5
5
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
@@ -127,6 +127,53 @@ export interface DeployedImage {
|
|
|
127
127
|
*/
|
|
128
128
|
ResolutionTime?: Date;
|
|
129
129
|
}
|
|
130
|
+
/**
|
|
131
|
+
* @public
|
|
132
|
+
* <p>The recommended configuration to use for Real-Time Inference.</p>
|
|
133
|
+
*/
|
|
134
|
+
export interface RealTimeInferenceRecommendation {
|
|
135
|
+
/**
|
|
136
|
+
* <p>The recommendation ID which uniquely identifies each recommendation.</p>
|
|
137
|
+
*/
|
|
138
|
+
RecommendationId: string | undefined;
|
|
139
|
+
/**
|
|
140
|
+
* <p>The recommended instance type for Real-Time Inference.</p>
|
|
141
|
+
*/
|
|
142
|
+
InstanceType: ProductionVariantInstanceType | string | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* <p>The recommended environment variables to set in the model container for Real-Time Inference.</p>
|
|
145
|
+
*/
|
|
146
|
+
Environment?: Record<string, string>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* @public
|
|
150
|
+
* @enum
|
|
151
|
+
*/
|
|
152
|
+
export declare const RecommendationStatus: {
|
|
153
|
+
readonly COMPLETED: "COMPLETED";
|
|
154
|
+
readonly FAILED: "FAILED";
|
|
155
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
156
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
157
|
+
};
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
*/
|
|
161
|
+
export type RecommendationStatus = (typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
162
|
+
/**
|
|
163
|
+
* @public
|
|
164
|
+
* <p>A set of recommended deployment configurations for the model.</p>
|
|
165
|
+
*/
|
|
166
|
+
export interface DeploymentRecommendation {
|
|
167
|
+
/**
|
|
168
|
+
* <p>Status of the deployment recommendation. <code>NOT_APPLICABLE</code> means that SageMaker
|
|
169
|
+
* is unable to provide a default recommendation for the model using the information provided.</p>
|
|
170
|
+
*/
|
|
171
|
+
RecommendationStatus: RecommendationStatus | string | undefined;
|
|
172
|
+
/**
|
|
173
|
+
* <p>A list of <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_RealTimeInferenceRecommendation.html">RealTimeInferenceRecommendation</a> items.</p>
|
|
174
|
+
*/
|
|
175
|
+
RealTimeInferenceRecommendations?: RealTimeInferenceRecommendation[];
|
|
176
|
+
}
|
|
130
177
|
/**
|
|
131
178
|
* @public
|
|
132
179
|
* @enum
|
|
@@ -3883,6 +3930,10 @@ export interface DescribeModelOutput {
|
|
|
3883
3930
|
* model container.</p>
|
|
3884
3931
|
*/
|
|
3885
3932
|
EnableNetworkIsolation?: boolean;
|
|
3933
|
+
/**
|
|
3934
|
+
* <p>A set of recommended deployment configurations for the model.</p>
|
|
3935
|
+
*/
|
|
3936
|
+
DeploymentRecommendation?: DeploymentRecommendation;
|
|
3886
3937
|
}
|
|
3887
3938
|
/**
|
|
3888
3939
|
* @public
|
|
@@ -8954,76 +9005,6 @@ export interface InferenceRecommendationsJob {
|
|
|
8954
9005
|
*/
|
|
8955
9006
|
ModelPackageVersionArn?: string;
|
|
8956
9007
|
}
|
|
8957
|
-
/**
|
|
8958
|
-
* @public
|
|
8959
|
-
* <p>The details for a specific benchmark from an Inference Recommender job.</p>
|
|
8960
|
-
*/
|
|
8961
|
-
export interface RecommendationJobInferenceBenchmark {
|
|
8962
|
-
/**
|
|
8963
|
-
* <p>The metrics of recommendations.</p>
|
|
8964
|
-
*/
|
|
8965
|
-
Metrics?: RecommendationMetrics;
|
|
8966
|
-
/**
|
|
8967
|
-
* <p>The endpoint configuration made by Inference Recommender during a recommendation job.</p>
|
|
8968
|
-
*/
|
|
8969
|
-
EndpointConfiguration?: EndpointOutputConfiguration;
|
|
8970
|
-
/**
|
|
8971
|
-
* <p>Defines the model configuration. Includes the specification name and environment parameters.</p>
|
|
8972
|
-
*/
|
|
8973
|
-
ModelConfiguration: ModelConfiguration | undefined;
|
|
8974
|
-
/**
|
|
8975
|
-
* <p>The reason why a benchmark failed.</p>
|
|
8976
|
-
*/
|
|
8977
|
-
FailureReason?: string;
|
|
8978
|
-
/**
|
|
8979
|
-
* <p>The metrics for an existing endpoint compared in an Inference Recommender job.</p>
|
|
8980
|
-
*/
|
|
8981
|
-
EndpointMetrics?: InferenceMetrics;
|
|
8982
|
-
/**
|
|
8983
|
-
* <p>A timestamp that shows when the benchmark completed.</p>
|
|
8984
|
-
*/
|
|
8985
|
-
InvocationEndTime?: Date;
|
|
8986
|
-
/**
|
|
8987
|
-
* <p>A timestamp that shows when the benchmark started.</p>
|
|
8988
|
-
*/
|
|
8989
|
-
InvocationStartTime?: Date;
|
|
8990
|
-
}
|
|
8991
|
-
/**
|
|
8992
|
-
* @public
|
|
8993
|
-
* @enum
|
|
8994
|
-
*/
|
|
8995
|
-
export declare const RecommendationStepType: {
|
|
8996
|
-
readonly BENCHMARK: "BENCHMARK";
|
|
8997
|
-
};
|
|
8998
|
-
/**
|
|
8999
|
-
* @public
|
|
9000
|
-
*/
|
|
9001
|
-
export type RecommendationStepType = (typeof RecommendationStepType)[keyof typeof RecommendationStepType];
|
|
9002
|
-
/**
|
|
9003
|
-
* @public
|
|
9004
|
-
* <p>A returned array object for the <code>Steps</code> response field in the
|
|
9005
|
-
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListInferenceRecommendationsJobSteps.html">ListInferenceRecommendationsJobSteps</a> API command.</p>
|
|
9006
|
-
*/
|
|
9007
|
-
export interface InferenceRecommendationsJobStep {
|
|
9008
|
-
/**
|
|
9009
|
-
* <p>The type of the subtask.</p>
|
|
9010
|
-
* <p>
|
|
9011
|
-
* <code>BENCHMARK</code>: Evaluate the performance of your model on different instance types.</p>
|
|
9012
|
-
*/
|
|
9013
|
-
StepType: RecommendationStepType | string | undefined;
|
|
9014
|
-
/**
|
|
9015
|
-
* <p>The name of the Inference Recommender job.</p>
|
|
9016
|
-
*/
|
|
9017
|
-
JobName: string | undefined;
|
|
9018
|
-
/**
|
|
9019
|
-
* <p>The current status of the benchmark.</p>
|
|
9020
|
-
*/
|
|
9021
|
-
Status: RecommendationJobStatus | string | undefined;
|
|
9022
|
-
/**
|
|
9023
|
-
* <p>The details for a specific benchmark.</p>
|
|
9024
|
-
*/
|
|
9025
|
-
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
9026
|
-
}
|
|
9027
9008
|
/**
|
|
9028
9009
|
* @internal
|
|
9029
9010
|
*/
|
|
@@ -1,6 +1,76 @@
|
|
|
1
1
|
import { ActionSummary, AdditionalInferenceSpecificationDefinition, AlgorithmSortBy, AlgorithmSpecification, AlgorithmSummary, AppDetails, AppImageConfigDetails, AppImageConfigSortKey, AppSortKey, AppSpecification, ArtifactSummary, AssociationEdgeType, AssociationSummary, AutoMLCandidate, AutoMLJobStatus, AutoMLJobStepMetadata, AutoMLJobSummary, AutoMLSortBy, AutoMLSortOrder, BatchStrategy, CacheHitResult, CallbackStepMetadata, CandidateSortBy, CandidateStatus, Channel, CheckpointConfig, ClarifyCheckStepMetadata, CodeRepositorySortBy, CodeRepositorySortOrder, CodeRepositorySummary, CompilationJobStatus, CompilationJobSummary, ConditionStepMetadata, ContainerDefinition, ContextSummary, InferenceSpecification, MetadataProperties, ModelApprovalStatus, ModelPackageStatus, OutputDataConfig, OutputParameter, ResourceConfig, StoppingCondition, Tag, TransformInput, TransformOutput, TransformResources, UserContext, VpcConfig } from "./models_0";
|
|
2
2
|
import { _InstanceType, DataProcessing, DebugHookConfig, DebugRuleConfiguration, DebugRuleEvaluationStatus, DriftCheckBaselines, ExperimentConfig, HubContentType, InferenceExecutionConfig, InferenceExperimentType, LabelingJobInputConfig, ModelCardSecurityConfig, ModelCardStatus, ModelClientConfig, ModelMetrics, ModelPackageValidationSpecification, ModelVariantConfig, MonitoringScheduleConfig, MonitoringType, NetworkConfig, ParallelismConfiguration, ProcessingInput, ProcessingOutputConfig, ProcessingResources, ProcessingStoppingCondition, RetryStrategy, ServiceCatalogProvisioningDetails, SourceAlgorithmSpecification, StudioLifecycleConfigAppType, TensorBoardOutputConfig, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, UiTemplate } from "./models_1";
|
|
3
|
-
import { Device, DeviceDeploymentSummary, DeviceFleetSummary, DeviceSummary, Direction, DomainDetails, Edge, EdgeDeploymentPlanSummary, EdgePackagingJobStatus, EdgePackagingJobSummary, EMRStepMetadata, Endpoint, EndpointConfigSortKey, EndpointConfigSummary, EndpointSortKey, EndpointStatus, EndpointSummary, ExecutionStatus, Experiment, ExperimentSummary, FailStepMetadata, FeatureGroup, FeatureGroupSortBy, FeatureGroupSortOrder, FeatureGroupStatus, FeatureGroupSummary, FeatureMetadata, Filter, FlowDefinitionSummary, HubContentInfo, HubContentSortBy, HubInfo, HubSortBy, HumanTaskUiSummary, HyperParameterTrainingJobSummary, HyperParameterTuningJobSearchEntity, HyperParameterTuningJobSortByOptions, HyperParameterTuningJobStatus, HyperParameterTuningJobSummary, Image, ImageSortBy, ImageSortOrder, ImageVersion, ImageVersionSortBy, ImageVersionSortOrder, InferenceExperimentStatus, InferenceExperimentStopDesiredState, InferenceExperimentSummary,
|
|
3
|
+
import { DeploymentRecommendation, Device, DeviceDeploymentSummary, DeviceFleetSummary, DeviceSummary, Direction, DomainDetails, Edge, EdgeDeploymentPlanSummary, EdgePackagingJobStatus, EdgePackagingJobSummary, EMRStepMetadata, Endpoint, EndpointConfigSortKey, EndpointConfigSummary, EndpointOutputConfiguration, EndpointSortKey, EndpointStatus, EndpointSummary, ExecutionStatus, Experiment, ExperimentSummary, FailStepMetadata, FeatureGroup, FeatureGroupSortBy, FeatureGroupSortOrder, FeatureGroupStatus, FeatureGroupSummary, FeatureMetadata, Filter, FlowDefinitionSummary, HubContentInfo, HubContentSortBy, HubInfo, HubSortBy, HumanTaskUiSummary, HyperParameterTrainingJobSummary, HyperParameterTuningJobSearchEntity, HyperParameterTuningJobSortByOptions, HyperParameterTuningJobStatus, HyperParameterTuningJobSummary, Image, ImageSortBy, ImageSortOrder, ImageVersion, ImageVersionSortBy, ImageVersionSortOrder, InferenceExperimentStatus, InferenceExperimentStopDesiredState, InferenceExperimentSummary, InferenceMetrics, InferenceRecommendationsJob, LabelCounters, LabelingJobOutput, LabelingJobStatus, MetricData, ModelArtifacts, ModelCardExportJobStatus, ModelConfiguration, ModelPackageGroupStatus, ModelPackageStatusDetails, MonitoringExecutionSummary, NotebookInstanceStatus, OfflineStoreStatusValue, PipelineExecutionStatus, PipelineExperimentConfig, PipelineStatus, ProcessingJobStatus, ProjectStatus, RecommendationJobStatus, RecommendationMetrics, ScheduleStatus, SecondaryStatus, SecondaryStatusTransition, ServiceCatalogProvisionedProductDetails, SpaceStatus, SubscribedWorkteam, TrainingJobStatus, TransformJobStatus, TrialComponentMetricSummary, TrialComponentSource, TrialSource, UserProfileStatus, WarmPoolResourceStatus, WarmPoolStatus, Workforce, Workteam } from "./models_2";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
* <p>The details for a specific benchmark from an Inference Recommender job.</p>
|
|
7
|
+
*/
|
|
8
|
+
export interface RecommendationJobInferenceBenchmark {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The metrics of recommendations.</p>
|
|
11
|
+
*/
|
|
12
|
+
Metrics?: RecommendationMetrics;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The endpoint configuration made by Inference Recommender during a recommendation job.</p>
|
|
15
|
+
*/
|
|
16
|
+
EndpointConfiguration?: EndpointOutputConfiguration;
|
|
17
|
+
/**
|
|
18
|
+
* <p>Defines the model configuration. Includes the specification name and environment parameters.</p>
|
|
19
|
+
*/
|
|
20
|
+
ModelConfiguration: ModelConfiguration | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* <p>The reason why a benchmark failed.</p>
|
|
23
|
+
*/
|
|
24
|
+
FailureReason?: string;
|
|
25
|
+
/**
|
|
26
|
+
* <p>The metrics for an existing endpoint compared in an Inference Recommender job.</p>
|
|
27
|
+
*/
|
|
28
|
+
EndpointMetrics?: InferenceMetrics;
|
|
29
|
+
/**
|
|
30
|
+
* <p>A timestamp that shows when the benchmark completed.</p>
|
|
31
|
+
*/
|
|
32
|
+
InvocationEndTime?: Date;
|
|
33
|
+
/**
|
|
34
|
+
* <p>A timestamp that shows when the benchmark started.</p>
|
|
35
|
+
*/
|
|
36
|
+
InvocationStartTime?: Date;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @public
|
|
40
|
+
* @enum
|
|
41
|
+
*/
|
|
42
|
+
export declare const RecommendationStepType: {
|
|
43
|
+
readonly BENCHMARK: "BENCHMARK";
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export type RecommendationStepType = (typeof RecommendationStepType)[keyof typeof RecommendationStepType];
|
|
49
|
+
/**
|
|
50
|
+
* @public
|
|
51
|
+
* <p>A returned array object for the <code>Steps</code> response field in the
|
|
52
|
+
* <a href="https://docs.aws.amazon.com/sagemaker/latest/APIReference/API_ListInferenceRecommendationsJobSteps.html">ListInferenceRecommendationsJobSteps</a> API command.</p>
|
|
53
|
+
*/
|
|
54
|
+
export interface InferenceRecommendationsJobStep {
|
|
55
|
+
/**
|
|
56
|
+
* <p>The type of the subtask.</p>
|
|
57
|
+
* <p>
|
|
58
|
+
* <code>BENCHMARK</code>: Evaluate the performance of your model on different instance types.</p>
|
|
59
|
+
*/
|
|
60
|
+
StepType: RecommendationStepType | string | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* <p>The name of the Inference Recommender job.</p>
|
|
63
|
+
*/
|
|
64
|
+
JobName: string | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* <p>The current status of the benchmark.</p>
|
|
67
|
+
*/
|
|
68
|
+
Status: RecommendationJobStatus | string | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The details for a specific benchmark.</p>
|
|
71
|
+
*/
|
|
72
|
+
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
73
|
+
}
|
|
4
74
|
/**
|
|
5
75
|
* @public
|
|
6
76
|
* <p>Provides counts for human-labeled tasks in the labeling job.</p>
|
|
@@ -5866,6 +5936,10 @@ export interface Model {
|
|
|
5866
5936
|
* resources</a> in the <i>Amazon Web Services General Reference Guide</i>.</p>
|
|
5867
5937
|
*/
|
|
5868
5938
|
Tags?: Tag[];
|
|
5939
|
+
/**
|
|
5940
|
+
* <p>A set of recommended deployment configurations for the model.</p>
|
|
5941
|
+
*/
|
|
5942
|
+
DeploymentRecommendation?: DeploymentRecommendation;
|
|
5869
5943
|
}
|
|
5870
5944
|
/**
|
|
5871
5945
|
* @public
|
|
@@ -8101,33 +8175,6 @@ export interface StopPipelineExecutionResponse {
|
|
|
8101
8175
|
*/
|
|
8102
8176
|
PipelineExecutionArn?: string;
|
|
8103
8177
|
}
|
|
8104
|
-
/**
|
|
8105
|
-
* @public
|
|
8106
|
-
*/
|
|
8107
|
-
export interface StopProcessingJobRequest {
|
|
8108
|
-
/**
|
|
8109
|
-
* <p>The name of the processing job to stop.</p>
|
|
8110
|
-
*/
|
|
8111
|
-
ProcessingJobName: string | undefined;
|
|
8112
|
-
}
|
|
8113
|
-
/**
|
|
8114
|
-
* @public
|
|
8115
|
-
*/
|
|
8116
|
-
export interface StopTrainingJobRequest {
|
|
8117
|
-
/**
|
|
8118
|
-
* <p>The name of the training job to stop.</p>
|
|
8119
|
-
*/
|
|
8120
|
-
TrainingJobName: string | undefined;
|
|
8121
|
-
}
|
|
8122
|
-
/**
|
|
8123
|
-
* @public
|
|
8124
|
-
*/
|
|
8125
|
-
export interface StopTransformJobRequest {
|
|
8126
|
-
/**
|
|
8127
|
-
* <p>The name of the batch transform job to stop.</p>
|
|
8128
|
-
*/
|
|
8129
|
-
TransformJobName: string | undefined;
|
|
8130
|
-
}
|
|
8131
8178
|
/**
|
|
8132
8179
|
* @internal
|
|
8133
8180
|
*/
|
|
@@ -2,6 +2,33 @@ import { ActionStatus, AdditionalInferenceSpecificationDefinition, AppSecurityGr
|
|
|
2
2
|
import { _InstanceType, DeploymentConfig, FeatureDefinition, InferenceExperimentDataStorageConfig, InferenceExperimentSchedule, InstanceMetadataServiceConfiguration, JobType, MemberDefinition, ModelCardStatus, ModelVariantConfig, MonitoringScheduleConfig, NotebookInstanceAcceleratorType, NotebookInstanceLifecycleHook, NotificationConfiguration, OidcConfig, ParallelismConfiguration, PipelineDefinitionS3Location, Processor, ProfilerRuleConfiguration, ProvisioningParameter, RootAccess, ShadowModeConfig, SourceIpConfig, SpaceSettings, TrialComponentArtifact, TrialComponentParameterValue, TrialComponentStatus, VendorGuidance, WorkforceVpcConfigRequest } from "./models_1";
|
|
3
3
|
import { DesiredWeightAndCapacity, Device, DomainSettingsForUpdate, FeatureParameter, Filter, GitConfigForUpdate, ResourceType, Workforce, Workteam } from "./models_2";
|
|
4
4
|
import { NestedFilters, ProfilerConfigForUpdate, ResourceConfigForUpdate, SearchSortOrder } from "./models_3";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export interface StopProcessingJobRequest {
|
|
9
|
+
/**
|
|
10
|
+
* <p>The name of the processing job to stop.</p>
|
|
11
|
+
*/
|
|
12
|
+
ProcessingJobName: string | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
export interface StopTrainingJobRequest {
|
|
18
|
+
/**
|
|
19
|
+
* <p>The name of the training job to stop.</p>
|
|
20
|
+
*/
|
|
21
|
+
TrainingJobName: string | undefined;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export interface StopTransformJobRequest {
|
|
27
|
+
/**
|
|
28
|
+
* <p>The name of the batch transform job to stop.</p>
|
|
29
|
+
*/
|
|
30
|
+
TransformJobName: string | undefined;
|
|
31
|
+
}
|
|
5
32
|
/**
|
|
6
33
|
* @public
|
|
7
34
|
*/
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import { StopProcessingJobRequest } from "../models/
|
|
9
|
+
import { StopProcessingJobRequest } from "../models/models_4";
|
|
10
10
|
import {
|
|
11
11
|
SageMakerClientResolvedConfig,
|
|
12
12
|
ServiceInputTypes,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import { StopTrainingJobRequest } from "../models/
|
|
9
|
+
import { StopTrainingJobRequest } from "../models/models_4";
|
|
10
10
|
import {
|
|
11
11
|
SageMakerClientResolvedConfig,
|
|
12
12
|
ServiceInputTypes,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
MetadataBearer as __MetadataBearer,
|
|
7
7
|
MiddlewareStack,
|
|
8
8
|
} from "@aws-sdk/types";
|
|
9
|
-
import { StopTransformJobRequest } from "../models/
|
|
9
|
+
import { StopTransformJobRequest } from "../models/models_4";
|
|
10
10
|
import {
|
|
11
11
|
SageMakerClientResolvedConfig,
|
|
12
12
|
ServiceInputTypes,
|
|
@@ -208,6 +208,23 @@ export interface DeployedImage {
|
|
|
208
208
|
ResolvedImage?: string;
|
|
209
209
|
ResolutionTime?: Date;
|
|
210
210
|
}
|
|
211
|
+
export interface RealTimeInferenceRecommendation {
|
|
212
|
+
RecommendationId: string | undefined;
|
|
213
|
+
InstanceType: ProductionVariantInstanceType | string | undefined;
|
|
214
|
+
Environment?: Record<string, string>;
|
|
215
|
+
}
|
|
216
|
+
export declare const RecommendationStatus: {
|
|
217
|
+
readonly COMPLETED: "COMPLETED";
|
|
218
|
+
readonly FAILED: "FAILED";
|
|
219
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
220
|
+
readonly NOT_APPLICABLE: "NOT_APPLICABLE";
|
|
221
|
+
};
|
|
222
|
+
export type RecommendationStatus =
|
|
223
|
+
(typeof RecommendationStatus)[keyof typeof RecommendationStatus];
|
|
224
|
+
export interface DeploymentRecommendation {
|
|
225
|
+
RecommendationStatus: RecommendationStatus | string | undefined;
|
|
226
|
+
RealTimeInferenceRecommendations?: RealTimeInferenceRecommendation[];
|
|
227
|
+
}
|
|
211
228
|
export declare const StageStatus: {
|
|
212
229
|
readonly Creating: "CREATING";
|
|
213
230
|
readonly Deployed: "DEPLOYED";
|
|
@@ -1192,6 +1209,7 @@ export interface DescribeModelOutput {
|
|
|
1192
1209
|
CreationTime: Date | undefined;
|
|
1193
1210
|
ModelArn: string | undefined;
|
|
1194
1211
|
EnableNetworkIsolation?: boolean;
|
|
1212
|
+
DeploymentRecommendation?: DeploymentRecommendation;
|
|
1195
1213
|
}
|
|
1196
1214
|
export interface DescribeModelBiasJobDefinitionRequest {
|
|
1197
1215
|
JobDefinitionName: string | undefined;
|
|
@@ -2460,26 +2478,6 @@ export interface InferenceRecommendationsJob {
|
|
|
2460
2478
|
SamplePayloadUrl?: string;
|
|
2461
2479
|
ModelPackageVersionArn?: string;
|
|
2462
2480
|
}
|
|
2463
|
-
export interface RecommendationJobInferenceBenchmark {
|
|
2464
|
-
Metrics?: RecommendationMetrics;
|
|
2465
|
-
EndpointConfiguration?: EndpointOutputConfiguration;
|
|
2466
|
-
ModelConfiguration: ModelConfiguration | undefined;
|
|
2467
|
-
FailureReason?: string;
|
|
2468
|
-
EndpointMetrics?: InferenceMetrics;
|
|
2469
|
-
InvocationEndTime?: Date;
|
|
2470
|
-
InvocationStartTime?: Date;
|
|
2471
|
-
}
|
|
2472
|
-
export declare const RecommendationStepType: {
|
|
2473
|
-
readonly BENCHMARK: "BENCHMARK";
|
|
2474
|
-
};
|
|
2475
|
-
export type RecommendationStepType =
|
|
2476
|
-
(typeof RecommendationStepType)[keyof typeof RecommendationStepType];
|
|
2477
|
-
export interface InferenceRecommendationsJobStep {
|
|
2478
|
-
StepType: RecommendationStepType | string | undefined;
|
|
2479
|
-
JobName: string | undefined;
|
|
2480
|
-
Status: RecommendationJobStatus | string | undefined;
|
|
2481
|
-
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
2482
|
-
}
|
|
2483
2481
|
export declare const DescribeModelCardResponseFilterSensitiveLog: (
|
|
2484
2482
|
obj: DescribeModelCardResponse
|
|
2485
2483
|
) => any;
|
|
@@ -86,6 +86,7 @@ import {
|
|
|
86
86
|
UiTemplate,
|
|
87
87
|
} from "./models_1";
|
|
88
88
|
import {
|
|
89
|
+
DeploymentRecommendation,
|
|
89
90
|
Device,
|
|
90
91
|
DeviceDeploymentSummary,
|
|
91
92
|
DeviceFleetSummary,
|
|
@@ -100,6 +101,7 @@ import {
|
|
|
100
101
|
Endpoint,
|
|
101
102
|
EndpointConfigSortKey,
|
|
102
103
|
EndpointConfigSummary,
|
|
104
|
+
EndpointOutputConfiguration,
|
|
103
105
|
EndpointSortKey,
|
|
104
106
|
EndpointStatus,
|
|
105
107
|
EndpointSummary,
|
|
@@ -134,14 +136,15 @@ import {
|
|
|
134
136
|
InferenceExperimentStatus,
|
|
135
137
|
InferenceExperimentStopDesiredState,
|
|
136
138
|
InferenceExperimentSummary,
|
|
139
|
+
InferenceMetrics,
|
|
137
140
|
InferenceRecommendationsJob,
|
|
138
|
-
InferenceRecommendationsJobStep,
|
|
139
141
|
LabelCounters,
|
|
140
142
|
LabelingJobOutput,
|
|
141
143
|
LabelingJobStatus,
|
|
142
144
|
MetricData,
|
|
143
145
|
ModelArtifacts,
|
|
144
146
|
ModelCardExportJobStatus,
|
|
147
|
+
ModelConfiguration,
|
|
145
148
|
ModelPackageGroupStatus,
|
|
146
149
|
ModelPackageStatusDetails,
|
|
147
150
|
MonitoringExecutionSummary,
|
|
@@ -153,7 +156,7 @@ import {
|
|
|
153
156
|
ProcessingJobStatus,
|
|
154
157
|
ProjectStatus,
|
|
155
158
|
RecommendationJobStatus,
|
|
156
|
-
|
|
159
|
+
RecommendationMetrics,
|
|
157
160
|
ScheduleStatus,
|
|
158
161
|
SecondaryStatus,
|
|
159
162
|
SecondaryStatusTransition,
|
|
@@ -171,6 +174,26 @@ import {
|
|
|
171
174
|
Workforce,
|
|
172
175
|
Workteam,
|
|
173
176
|
} from "./models_2";
|
|
177
|
+
export interface RecommendationJobInferenceBenchmark {
|
|
178
|
+
Metrics?: RecommendationMetrics;
|
|
179
|
+
EndpointConfiguration?: EndpointOutputConfiguration;
|
|
180
|
+
ModelConfiguration: ModelConfiguration | undefined;
|
|
181
|
+
FailureReason?: string;
|
|
182
|
+
EndpointMetrics?: InferenceMetrics;
|
|
183
|
+
InvocationEndTime?: Date;
|
|
184
|
+
InvocationStartTime?: Date;
|
|
185
|
+
}
|
|
186
|
+
export declare const RecommendationStepType: {
|
|
187
|
+
readonly BENCHMARK: "BENCHMARK";
|
|
188
|
+
};
|
|
189
|
+
export type RecommendationStepType =
|
|
190
|
+
(typeof RecommendationStepType)[keyof typeof RecommendationStepType];
|
|
191
|
+
export interface InferenceRecommendationsJobStep {
|
|
192
|
+
StepType: RecommendationStepType | string | undefined;
|
|
193
|
+
JobName: string | undefined;
|
|
194
|
+
Status: RecommendationJobStatus | string | undefined;
|
|
195
|
+
InferenceBenchmark?: RecommendationJobInferenceBenchmark;
|
|
196
|
+
}
|
|
174
197
|
export interface LabelCountersForWorkteam {
|
|
175
198
|
HumanLabeled?: number;
|
|
176
199
|
PendingHuman?: number;
|
|
@@ -1792,6 +1815,7 @@ export interface Model {
|
|
|
1792
1815
|
ModelArn?: string;
|
|
1793
1816
|
EnableNetworkIsolation?: boolean;
|
|
1794
1817
|
Tags?: Tag[];
|
|
1818
|
+
DeploymentRecommendation?: DeploymentRecommendation;
|
|
1795
1819
|
}
|
|
1796
1820
|
export interface ModelCard {
|
|
1797
1821
|
ModelCardArn?: string;
|
|
@@ -2270,15 +2294,6 @@ export interface StopPipelineExecutionRequest {
|
|
|
2270
2294
|
export interface StopPipelineExecutionResponse {
|
|
2271
2295
|
PipelineExecutionArn?: string;
|
|
2272
2296
|
}
|
|
2273
|
-
export interface StopProcessingJobRequest {
|
|
2274
|
-
ProcessingJobName: string | undefined;
|
|
2275
|
-
}
|
|
2276
|
-
export interface StopTrainingJobRequest {
|
|
2277
|
-
TrainingJobName: string | undefined;
|
|
2278
|
-
}
|
|
2279
|
-
export interface StopTransformJobRequest {
|
|
2280
|
-
TransformJobName: string | undefined;
|
|
2281
|
-
}
|
|
2282
2297
|
export declare const ModelCardFilterSensitiveLog: (obj: ModelCard) => any;
|
|
2283
2298
|
export declare const SearchRecordFilterSensitiveLog: (obj: SearchRecord) => any;
|
|
2284
2299
|
export declare const SearchResponseFilterSensitiveLog: (
|
|
@@ -58,6 +58,15 @@ import {
|
|
|
58
58
|
ResourceConfigForUpdate,
|
|
59
59
|
SearchSortOrder,
|
|
60
60
|
} from "./models_3";
|
|
61
|
+
export interface StopProcessingJobRequest {
|
|
62
|
+
ProcessingJobName: string | undefined;
|
|
63
|
+
}
|
|
64
|
+
export interface StopTrainingJobRequest {
|
|
65
|
+
TrainingJobName: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface StopTransformJobRequest {
|
|
68
|
+
TransformJobName: string | undefined;
|
|
69
|
+
}
|
|
61
70
|
export interface UpdateActionRequest {
|
|
62
71
|
ActionName: string | undefined;
|
|
63
72
|
Description?: string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-sagemaker",
|
|
3
3
|
"description": "AWS SDK for JavaScript Sagemaker Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.339.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|