@aws-sdk/client-sagemaker 3.609.0 → 3.613.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 +40 -0
- package/dist-cjs/index.js +4869 -4441
- package/dist-es/SageMaker.js +10 -0
- package/dist-es/commands/CreateOptimizationJobCommand.js +24 -0
- package/dist-es/commands/DeleteOptimizationJobCommand.js +24 -0
- package/dist-es/commands/DescribeModelPackageCommand.js +1 -1
- package/dist-es/commands/DescribeOptimizationJobCommand.js +24 -0
- package/dist-es/commands/ListOptimizationJobsCommand.js +24 -0
- package/dist-es/commands/StopOptimizationJobCommand.js +24 -0
- package/dist-es/commands/index.js +5 -0
- package/dist-es/models/models_0.js +4 -4
- package/dist-es/models/models_1.js +38 -0
- package/dist-es/models/models_2.js +0 -19
- package/dist-es/models/models_3.js +27 -17
- package/dist-es/models/models_4.js +22 -0
- package/dist-es/pagination/ListOptimizationJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +278 -0
- package/dist-types/SageMaker.d.ts +36 -0
- package/dist-types/SageMakerClient.d.ts +7 -2
- package/dist-types/commands/CreateAppCommand.d.ts +3 -2
- package/dist-types/commands/CreateClusterCommand.d.ts +2 -1
- package/dist-types/commands/CreateCodeRepositoryCommand.d.ts +1 -2
- package/dist-types/commands/CreateDomainCommand.d.ts +22 -18
- package/dist-types/commands/CreateModelCommand.d.ts +22 -0
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +124 -0
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +15 -15
- package/dist-types/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateUserProfileCommand.d.ts +6 -6
- package/dist-types/commands/DeleteOptimizationJobCommand.d.ts +61 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +4 -1
- package/dist-types/commands/DeleteUserProfileCommand.d.ts +1 -1
- package/dist-types/commands/DescribeDomainCommand.d.ts +4 -0
- package/dist-types/commands/DescribeModelCardExportJobCommand.d.ts +2 -1
- package/dist-types/commands/DescribeModelCommand.d.ts +22 -0
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMonitoringScheduleCommand.d.ts +1 -2
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +119 -0
- package/dist-types/commands/ListModelMetadataCommand.d.ts +1 -1
- package/dist-types/commands/ListModelPackageGroupsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelPackagesCommand.d.ts +1 -1
- package/dist-types/commands/ListModelQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/commands/ListModelsCommand.d.ts +1 -2
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +85 -0
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -1
- package/dist-types/commands/SearchCommand.d.ts +32 -0
- package/dist-types/commands/StopOptimizationJobCommand.d.ts +61 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +4 -0
- package/dist-types/commands/index.d.ts +5 -0
- package/dist-types/models/models_0.d.ts +69 -61
- package/dist-types/models/models_1.d.ts +421 -442
- package/dist-types/models/models_2.d.ts +436 -556
- package/dist-types/models/models_3.d.ts +5535 -5371
- package/dist-types/models/models_4.d.ts +740 -38
- package/dist-types/pagination/ListOptimizationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +45 -0
- package/dist-types/ts3.4/SageMaker.d.ts +86 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +30 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateCodeRepositoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreateOptimizationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteOptimizationJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/DescribeModelCardExportJobCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelPackageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelQualityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMonitoringScheduleCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeOptimizationJobCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListModelMetadataCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelPackageGroupsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelPackagesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelQualityJobDefinitionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListModelsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/ListOptimizationJobsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/StopOptimizationJobCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/index.d.ts +5 -0
- package/dist-types/ts3.4/models/models_0.d.ts +14 -13
- package/dist-types/ts3.4/models/models_1.d.ts +109 -71
- package/dist-types/ts3.4/models/models_2.d.ts +81 -142
- package/dist-types/ts3.4/models/models_3.d.ts +192 -125
- package/dist-types/ts3.4/models/models_4.d.ts +170 -9
- package/dist-types/ts3.4/pagination/ListOptimizationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +60 -0
- package/package.json +4 -4
|
@@ -66,6 +66,22 @@ declare const DescribeModelCommand_base: {
|
|
|
66
66
|
* // },
|
|
67
67
|
* // },
|
|
68
68
|
* // },
|
|
69
|
+
* // AdditionalModelDataSources: [ // AdditionalModelDataSources
|
|
70
|
+
* // { // AdditionalModelDataSource
|
|
71
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
72
|
+
* // S3DataSource: {
|
|
73
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
74
|
+
* // S3DataType: "S3Prefix" || "S3Object", // required
|
|
75
|
+
* // CompressionType: "None" || "Gzip", // required
|
|
76
|
+
* // ModelAccessConfig: {
|
|
77
|
+
* // AcceptEula: true || false, // required
|
|
78
|
+
* // },
|
|
79
|
+
* // HubAccessConfig: {
|
|
80
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // },
|
|
83
|
+
* // },
|
|
84
|
+
* // ],
|
|
69
85
|
* // Environment: { // EnvironmentMap
|
|
70
86
|
* // "<keys>": "STRING_VALUE",
|
|
71
87
|
* // },
|
|
@@ -100,6 +116,12 @@ declare const DescribeModelCommand_base: {
|
|
|
100
116
|
* // },
|
|
101
117
|
* // },
|
|
102
118
|
* // },
|
|
119
|
+
* // AdditionalModelDataSources: [
|
|
120
|
+
* // {
|
|
121
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
122
|
+
* // S3DataSource: "<S3ModelDataSource>", // required
|
|
123
|
+
* // },
|
|
124
|
+
* // ],
|
|
103
125
|
* // Environment: {
|
|
104
126
|
* // "<keys>": "STRING_VALUE",
|
|
105
127
|
* // },
|
|
@@ -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 { DescribeModelExplainabilityJobDefinitionRequest, DescribeModelExplainabilityJobDefinitionResponse } from "../models/
|
|
3
|
+
import { DescribeModelExplainabilityJobDefinitionRequest, DescribeModelExplainabilityJobDefinitionResponse } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { DescribeModelPackageInput, DescribeModelPackageOutput } from "../models/
|
|
3
|
+
import { DescribeModelPackageInput, DescribeModelPackageOutput } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { DescribeModelPackageGroupInput, DescribeModelPackageGroupOutput } from "../models/
|
|
3
|
+
import { DescribeModelPackageGroupInput, DescribeModelPackageGroupOutput } from "../models/models_3";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { DescribeModelQualityJobDefinitionRequest, DescribeModelQualityJobDefinitionResponse } from "../models/
|
|
3
|
+
import { DescribeModelQualityJobDefinitionRequest, DescribeModelQualityJobDefinitionResponse } from "../models/models_3";
|
|
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 { DescribeMonitoringScheduleRequest } from "../models/
|
|
4
|
-
import { DescribeMonitoringScheduleResponse } from "../models/models_3";
|
|
3
|
+
import { DescribeMonitoringScheduleRequest, DescribeMonitoringScheduleResponse } from "../models/models_3";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { DescribeOptimizationJobRequest, DescribeOptimizationJobResponse } from "../models/models_3";
|
|
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 DescribeOptimizationJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeOptimizationJobCommandInput extends DescribeOptimizationJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeOptimizationJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeOptimizationJobCommandOutput extends DescribeOptimizationJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeOptimizationJobCommand_base: {
|
|
25
|
+
new (input: DescribeOptimizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeOptimizationJobCommandInput, DescribeOptimizationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: DescribeOptimizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeOptimizationJobCommandInput, DescribeOptimizationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Provides the properties of the specified optimization job.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DescribeOptimizationJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DescribeOptimizationJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // DescribeOptimizationJobRequest
|
|
38
|
+
* OptimizationJobName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new DescribeOptimizationJobCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // DescribeOptimizationJobResponse
|
|
43
|
+
* // OptimizationJobArn: "STRING_VALUE", // required
|
|
44
|
+
* // OptimizationJobStatus: "INPROGRESS" || "COMPLETED" || "FAILED" || "STARTING" || "STOPPING" || "STOPPED", // required
|
|
45
|
+
* // OptimizationStartTime: new Date("TIMESTAMP"),
|
|
46
|
+
* // OptimizationEndTime: new Date("TIMESTAMP"),
|
|
47
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
48
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // FailureReason: "STRING_VALUE",
|
|
50
|
+
* // OptimizationJobName: "STRING_VALUE", // required
|
|
51
|
+
* // ModelSource: { // OptimizationJobModelSource
|
|
52
|
+
* // S3: { // OptimizationJobModelSourceS3
|
|
53
|
+
* // S3Uri: "STRING_VALUE",
|
|
54
|
+
* // ModelAccessConfig: { // OptimizationModelAccessConfig
|
|
55
|
+
* // AcceptEula: true || false, // required
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // },
|
|
59
|
+
* // OptimizationEnvironment: { // OptimizationJobEnvironmentVariables
|
|
60
|
+
* // "<keys>": "STRING_VALUE",
|
|
61
|
+
* // },
|
|
62
|
+
* // DeploymentInstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "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.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge", // required
|
|
63
|
+
* // OptimizationConfigs: [ // OptimizationConfigs // required
|
|
64
|
+
* // { // OptimizationConfig Union: only one key present
|
|
65
|
+
* // ModelQuantizationConfig: { // ModelQuantizationConfig
|
|
66
|
+
* // Image: "STRING_VALUE",
|
|
67
|
+
* // OverrideEnvironment: {
|
|
68
|
+
* // "<keys>": "STRING_VALUE",
|
|
69
|
+
* // },
|
|
70
|
+
* // },
|
|
71
|
+
* // ModelCompilationConfig: { // ModelCompilationConfig
|
|
72
|
+
* // Image: "STRING_VALUE",
|
|
73
|
+
* // OverrideEnvironment: {
|
|
74
|
+
* // "<keys>": "STRING_VALUE",
|
|
75
|
+
* // },
|
|
76
|
+
* // },
|
|
77
|
+
* // },
|
|
78
|
+
* // ],
|
|
79
|
+
* // OutputConfig: { // OptimizationJobOutputConfig
|
|
80
|
+
* // KmsKeyId: "STRING_VALUE",
|
|
81
|
+
* // S3OutputLocation: "STRING_VALUE", // required
|
|
82
|
+
* // },
|
|
83
|
+
* // OptimizationOutput: { // OptimizationOutput
|
|
84
|
+
* // RecommendedInferenceImage: "STRING_VALUE",
|
|
85
|
+
* // },
|
|
86
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
87
|
+
* // StoppingCondition: { // StoppingCondition
|
|
88
|
+
* // MaxRuntimeInSeconds: Number("int"),
|
|
89
|
+
* // MaxWaitTimeInSeconds: Number("int"),
|
|
90
|
+
* // MaxPendingTimeInSeconds: Number("int"),
|
|
91
|
+
* // },
|
|
92
|
+
* // VpcConfig: { // OptimizationVpcConfig
|
|
93
|
+
* // SecurityGroupIds: [ // OptimizationVpcSecurityGroupIds // required
|
|
94
|
+
* // "STRING_VALUE",
|
|
95
|
+
* // ],
|
|
96
|
+
* // Subnets: [ // OptimizationVpcSubnets // required
|
|
97
|
+
* // "STRING_VALUE",
|
|
98
|
+
* // ],
|
|
99
|
+
* // },
|
|
100
|
+
* // };
|
|
101
|
+
*
|
|
102
|
+
* ```
|
|
103
|
+
*
|
|
104
|
+
* @param DescribeOptimizationJobCommandInput - {@link DescribeOptimizationJobCommandInput}
|
|
105
|
+
* @returns {@link DescribeOptimizationJobCommandOutput}
|
|
106
|
+
* @see {@link DescribeOptimizationJobCommandInput} for command's `input` shape.
|
|
107
|
+
* @see {@link DescribeOptimizationJobCommandOutput} for command's `response` shape.
|
|
108
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
111
|
+
* <p>Resource being access is not found.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link SageMakerServiceException}
|
|
114
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
115
|
+
*
|
|
116
|
+
* @public
|
|
117
|
+
*/
|
|
118
|
+
export declare class DescribeOptimizationJobCommand extends DescribeOptimizationJobCommand_base {
|
|
119
|
+
}
|
|
@@ -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 { ListModelMetadataRequest, ListModelMetadataResponse } from "../models/
|
|
3
|
+
import { ListModelMetadataRequest, ListModelMetadataResponse } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { ListModelPackageGroupsInput, ListModelPackageGroupsOutput } from "../models/
|
|
3
|
+
import { ListModelPackageGroupsInput, ListModelPackageGroupsOutput } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { ListModelPackagesInput, ListModelPackagesOutput } from "../models/
|
|
3
|
+
import { ListModelPackagesInput, ListModelPackagesOutput } from "../models/models_4";
|
|
4
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @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 { ListModelQualityJobDefinitionsRequest, ListModelQualityJobDefinitionsResponse } from "../models/
|
|
3
|
+
import { ListModelQualityJobDefinitionsRequest, ListModelQualityJobDefinitionsResponse } 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 { ListModelsInput } from "../models/
|
|
4
|
-
import { ListModelsOutput } from "../models/models_4";
|
|
3
|
+
import { ListModelsInput, ListModelsOutput } from "../models/models_4";
|
|
5
4
|
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
5
|
/**
|
|
7
6
|
* @public
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListOptimizationJobsRequest, ListOptimizationJobsResponse } from "../models/models_4";
|
|
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 ListOptimizationJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListOptimizationJobsCommandInput extends ListOptimizationJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListOptimizationJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListOptimizationJobsCommandOutput extends ListOptimizationJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListOptimizationJobsCommand_base: {
|
|
25
|
+
new (input: ListOptimizationJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListOptimizationJobsCommandInput, ListOptimizationJobsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListOptimizationJobsCommandInput]): import("@smithy/smithy-client").CommandImpl<ListOptimizationJobsCommandInput, ListOptimizationJobsCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Lists the optimization jobs in your account and their properties.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, ListOptimizationJobsCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, ListOptimizationJobsCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // ListOptimizationJobsRequest
|
|
38
|
+
* NextToken: "STRING_VALUE",
|
|
39
|
+
* MaxResults: Number("int"),
|
|
40
|
+
* CreationTimeAfter: new Date("TIMESTAMP"),
|
|
41
|
+
* CreationTimeBefore: new Date("TIMESTAMP"),
|
|
42
|
+
* LastModifiedTimeAfter: new Date("TIMESTAMP"),
|
|
43
|
+
* LastModifiedTimeBefore: new Date("TIMESTAMP"),
|
|
44
|
+
* OptimizationContains: "STRING_VALUE",
|
|
45
|
+
* NameContains: "STRING_VALUE",
|
|
46
|
+
* StatusEquals: "INPROGRESS" || "COMPLETED" || "FAILED" || "STARTING" || "STOPPING" || "STOPPED",
|
|
47
|
+
* SortBy: "Name" || "CreationTime" || "Status",
|
|
48
|
+
* SortOrder: "Ascending" || "Descending",
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListOptimizationJobsCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListOptimizationJobsResponse
|
|
53
|
+
* // OptimizationJobSummaries: [ // OptimizationJobSummaries // required
|
|
54
|
+
* // { // OptimizationJobSummary
|
|
55
|
+
* // OptimizationJobName: "STRING_VALUE", // required
|
|
56
|
+
* // OptimizationJobArn: "STRING_VALUE", // required
|
|
57
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // OptimizationJobStatus: "INPROGRESS" || "COMPLETED" || "FAILED" || "STARTING" || "STOPPING" || "STOPPED", // required
|
|
59
|
+
* // OptimizationStartTime: new Date("TIMESTAMP"),
|
|
60
|
+
* // OptimizationEndTime: new Date("TIMESTAMP"),
|
|
61
|
+
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
62
|
+
* // DeploymentInstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "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.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.12xlarge" || "ml.g6.16xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.inf2.xlarge" || "ml.inf2.8xlarge" || "ml.inf2.24xlarge" || "ml.inf2.48xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge", // required
|
|
63
|
+
* // OptimizationTypes: [ // OptimizationTypes // required
|
|
64
|
+
* // "STRING_VALUE",
|
|
65
|
+
* // ],
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // NextToken: "STRING_VALUE",
|
|
69
|
+
* // };
|
|
70
|
+
*
|
|
71
|
+
* ```
|
|
72
|
+
*
|
|
73
|
+
* @param ListOptimizationJobsCommandInput - {@link ListOptimizationJobsCommandInput}
|
|
74
|
+
* @returns {@link ListOptimizationJobsCommandOutput}
|
|
75
|
+
* @see {@link ListOptimizationJobsCommandInput} for command's `input` shape.
|
|
76
|
+
* @see {@link ListOptimizationJobsCommandOutput} for command's `response` shape.
|
|
77
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SageMakerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
81
|
+
*
|
|
82
|
+
* @public
|
|
83
|
+
*/
|
|
84
|
+
export declare class ListOptimizationJobsCommand extends ListOptimizationJobsCommand_base {
|
|
85
|
+
}
|
|
@@ -27,7 +27,8 @@ declare const ListStudioLifecycleConfigsCommand_base: {
|
|
|
27
27
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
28
|
};
|
|
29
29
|
/**
|
|
30
|
-
* <p>Lists the Amazon SageMaker Studio Lifecycle Configurations in your Amazon Web Services
|
|
30
|
+
* <p>Lists the Amazon SageMaker Studio Lifecycle Configurations in your Amazon Web Services
|
|
31
|
+
* Account.</p>
|
|
31
32
|
* @example
|
|
32
33
|
* Use a bare-bones client and the command you need to make an API call.
|
|
33
34
|
* ```javascript
|
|
@@ -1830,6 +1830,22 @@ declare const SearchCommand_base: {
|
|
|
1830
1830
|
* // Mode: "SingleModel" || "MultiModel",
|
|
1831
1831
|
* // ModelDataUrl: "STRING_VALUE",
|
|
1832
1832
|
* // ModelDataSource: "<ModelDataSource>",
|
|
1833
|
+
* // AdditionalModelDataSources: [ // AdditionalModelDataSources
|
|
1834
|
+
* // { // AdditionalModelDataSource
|
|
1835
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
1836
|
+
* // S3DataSource: {
|
|
1837
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
1838
|
+
* // S3DataType: "S3Prefix" || "S3Object", // required
|
|
1839
|
+
* // CompressionType: "None" || "Gzip", // required
|
|
1840
|
+
* // ModelAccessConfig: {
|
|
1841
|
+
* // AcceptEula: true || false, // required
|
|
1842
|
+
* // },
|
|
1843
|
+
* // HubAccessConfig: {
|
|
1844
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
1845
|
+
* // },
|
|
1846
|
+
* // },
|
|
1847
|
+
* // },
|
|
1848
|
+
* // ],
|
|
1833
1849
|
* // Environment: "<EnvironmentMap>",
|
|
1834
1850
|
* // ModelPackageName: "STRING_VALUE",
|
|
1835
1851
|
* // InferenceSpecificationName: "STRING_VALUE",
|
|
@@ -1850,6 +1866,22 @@ declare const SearchCommand_base: {
|
|
|
1850
1866
|
* // Mode: "SingleModel" || "MultiModel",
|
|
1851
1867
|
* // ModelDataUrl: "STRING_VALUE",
|
|
1852
1868
|
* // ModelDataSource: "<ModelDataSource>",
|
|
1869
|
+
* // AdditionalModelDataSources: [
|
|
1870
|
+
* // {
|
|
1871
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
1872
|
+
* // S3DataSource: {
|
|
1873
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
1874
|
+
* // S3DataType: "S3Prefix" || "S3Object", // required
|
|
1875
|
+
* // CompressionType: "None" || "Gzip", // required
|
|
1876
|
+
* // ModelAccessConfig: {
|
|
1877
|
+
* // AcceptEula: true || false, // required
|
|
1878
|
+
* // },
|
|
1879
|
+
* // HubAccessConfig: {
|
|
1880
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
1881
|
+
* // },
|
|
1882
|
+
* // },
|
|
1883
|
+
* // },
|
|
1884
|
+
* // ],
|
|
1853
1885
|
* // Environment: "<EnvironmentMap>",
|
|
1854
1886
|
* // ModelPackageName: "STRING_VALUE",
|
|
1855
1887
|
* // InferenceSpecificationName: "STRING_VALUE",
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { StopOptimizationJobRequest } from "../models/models_4";
|
|
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 StopOptimizationJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface StopOptimizationJobCommandInput extends StopOptimizationJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link StopOptimizationJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface StopOptimizationJobCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const StopOptimizationJobCommand_base: {
|
|
25
|
+
new (input: StopOptimizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopOptimizationJobCommandInput, StopOptimizationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: StopOptimizationJobCommandInput): import("@smithy/smithy-client").CommandImpl<StopOptimizationJobCommandInput, StopOptimizationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Ends a running inference optimization job.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, StopOptimizationJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, StopOptimizationJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* const client = new SageMakerClient(config);
|
|
37
|
+
* const input = { // StopOptimizationJobRequest
|
|
38
|
+
* OptimizationJobName: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new StopOptimizationJobCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // {};
|
|
43
|
+
*
|
|
44
|
+
* ```
|
|
45
|
+
*
|
|
46
|
+
* @param StopOptimizationJobCommandInput - {@link StopOptimizationJobCommandInput}
|
|
47
|
+
* @returns {@link StopOptimizationJobCommandOutput}
|
|
48
|
+
* @see {@link StopOptimizationJobCommandInput} for command's `input` shape.
|
|
49
|
+
* @see {@link StopOptimizationJobCommandOutput} for command's `response` shape.
|
|
50
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
51
|
+
*
|
|
52
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
53
|
+
* <p>Resource being access is not found.</p>
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link SageMakerServiceException}
|
|
56
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
57
|
+
*
|
|
58
|
+
* @public
|
|
59
|
+
*/
|
|
60
|
+
export declare class StopOptimizationJobCommand extends StopOptimizationJobCommand_base {
|
|
61
|
+
}
|
|
@@ -224,6 +224,10 @@ declare const UpdateDomainCommand_base: {
|
|
|
224
224
|
* "STRING_VALUE",
|
|
225
225
|
* ],
|
|
226
226
|
* },
|
|
227
|
+
* AmazonQSettings: { // AmazonQSettings
|
|
228
|
+
* Status: "ENABLED" || "DISABLED",
|
|
229
|
+
* QProfileArn: "STRING_VALUE",
|
|
230
|
+
* },
|
|
227
231
|
* },
|
|
228
232
|
* AppSecurityGroupManagement: "Service" || "Customer",
|
|
229
233
|
* DefaultSpaceSettings: { // DefaultSpaceSettings
|
|
@@ -46,6 +46,7 @@ export * from "./CreateModelQualityJobDefinitionCommand";
|
|
|
46
46
|
export * from "./CreateMonitoringScheduleCommand";
|
|
47
47
|
export * from "./CreateNotebookInstanceCommand";
|
|
48
48
|
export * from "./CreateNotebookInstanceLifecycleConfigCommand";
|
|
49
|
+
export * from "./CreateOptimizationJobCommand";
|
|
49
50
|
export * from "./CreatePipelineCommand";
|
|
50
51
|
export * from "./CreatePresignedDomainUrlCommand";
|
|
51
52
|
export * from "./CreatePresignedMlflowTrackingServerUrlCommand";
|
|
@@ -102,6 +103,7 @@ export * from "./DeleteModelQualityJobDefinitionCommand";
|
|
|
102
103
|
export * from "./DeleteMonitoringScheduleCommand";
|
|
103
104
|
export * from "./DeleteNotebookInstanceCommand";
|
|
104
105
|
export * from "./DeleteNotebookInstanceLifecycleConfigCommand";
|
|
106
|
+
export * from "./DeleteOptimizationJobCommand";
|
|
105
107
|
export * from "./DeletePipelineCommand";
|
|
106
108
|
export * from "./DeleteProjectCommand";
|
|
107
109
|
export * from "./DeleteSpaceCommand";
|
|
@@ -160,6 +162,7 @@ export * from "./DescribeModelQualityJobDefinitionCommand";
|
|
|
160
162
|
export * from "./DescribeMonitoringScheduleCommand";
|
|
161
163
|
export * from "./DescribeNotebookInstanceCommand";
|
|
162
164
|
export * from "./DescribeNotebookInstanceLifecycleConfigCommand";
|
|
165
|
+
export * from "./DescribeOptimizationJobCommand";
|
|
163
166
|
export * from "./DescribePipelineCommand";
|
|
164
167
|
export * from "./DescribePipelineDefinitionForExecutionCommand";
|
|
165
168
|
export * from "./DescribePipelineExecutionCommand";
|
|
@@ -241,6 +244,7 @@ export * from "./ListMonitoringExecutionsCommand";
|
|
|
241
244
|
export * from "./ListMonitoringSchedulesCommand";
|
|
242
245
|
export * from "./ListNotebookInstanceLifecycleConfigsCommand";
|
|
243
246
|
export * from "./ListNotebookInstancesCommand";
|
|
247
|
+
export * from "./ListOptimizationJobsCommand";
|
|
244
248
|
export * from "./ListPipelineExecutionStepsCommand";
|
|
245
249
|
export * from "./ListPipelineExecutionsCommand";
|
|
246
250
|
export * from "./ListPipelineParametersForExecutionCommand";
|
|
@@ -286,6 +290,7 @@ export * from "./StopLabelingJobCommand";
|
|
|
286
290
|
export * from "./StopMlflowTrackingServerCommand";
|
|
287
291
|
export * from "./StopMonitoringScheduleCommand";
|
|
288
292
|
export * from "./StopNotebookInstanceCommand";
|
|
293
|
+
export * from "./StopOptimizationJobCommand";
|
|
289
294
|
export * from "./StopPipelineExecutionCommand";
|
|
290
295
|
export * from "./StopProcessingJobCommand";
|
|
291
296
|
export * from "./StopTrainingJobCommand";
|