@aws-sdk/client-sagemaker 3.1032.0 → 3.1034.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 +98 -0
- package/dist-cjs/endpoint/bdd.js +54 -0
- package/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +317 -8
- package/dist-cjs/schemas/schemas_0.js +718 -214
- package/dist-es/SageMaker.js +34 -0
- package/dist-es/commands/CreateAIBenchmarkJobCommand.js +16 -0
- package/dist-es/commands/CreateAIRecommendationJobCommand.js +16 -0
- package/dist-es/commands/CreateAIWorkloadConfigCommand.js +16 -0
- package/dist-es/commands/DeleteAIBenchmarkJobCommand.js +16 -0
- package/dist-es/commands/DeleteAIRecommendationJobCommand.js +16 -0
- package/dist-es/commands/DeleteAIWorkloadConfigCommand.js +16 -0
- package/dist-es/commands/DescribeAIBenchmarkJobCommand.js +16 -0
- package/dist-es/commands/DescribeAIRecommendationJobCommand.js +16 -0
- package/dist-es/commands/DescribeAIWorkloadConfigCommand.js +16 -0
- package/dist-es/commands/ListAIBenchmarkJobsCommand.js +16 -0
- package/dist-es/commands/ListAIRecommendationJobsCommand.js +16 -0
- package/dist-es/commands/ListAIWorkloadConfigsCommand.js +16 -0
- package/dist-es/commands/StopAIBenchmarkJobCommand.js +16 -0
- package/dist-es/commands/StopAIRecommendationJobCommand.js +16 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/endpoint/bdd.js +51 -0
- package/dist-es/endpoint/endpointResolver.js +3 -3
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +99 -8
- package/dist-es/models/models_5.js +1 -0
- package/dist-es/pagination/ListAIBenchmarkJobsPaginator.js +4 -0
- package/dist-es/pagination/ListAIRecommendationJobsPaginator.js +4 -0
- package/dist-es/pagination/ListAIWorkloadConfigsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +679 -177
- package/dist-types/SageMaker.d.ts +122 -0
- package/dist-types/SageMakerClient.d.ts +16 -2
- package/dist-types/commands/BatchDescribeModelPackageCommand.d.ts +19 -0
- package/dist-types/commands/CreateAIBenchmarkJobCommand.d.ts +115 -0
- package/dist-types/commands/CreateAIRecommendationJobCommand.d.ts +122 -0
- package/dist-types/commands/CreateAIWorkloadConfigCommand.d.ts +103 -0
- package/dist-types/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/commands/CreateAlgorithmCommand.d.ts +21 -4
- package/dist-types/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateArtifactCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoMLJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +1 -1
- package/dist-types/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/commands/CreateClusterSchedulerConfigCommand.d.ts +1 -2
- package/dist-types/commands/CreateModelPackageCommand.d.ts +25 -0
- package/dist-types/commands/CreateOptimizationJobCommand.d.ts +1 -1
- package/dist-types/commands/CreatePartnerAppCommand.d.ts +1 -1
- package/dist-types/commands/CreatePartnerAppPresignedUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreatePipelineCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedMlflowAppUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAIBenchmarkJobCommand.d.ts +77 -0
- package/dist-types/commands/DeleteAIRecommendationJobCommand.d.ts +77 -0
- package/dist-types/commands/DeleteAIWorkloadConfigCommand.d.ts +80 -0
- package/dist-types/commands/DescribeAIBenchmarkJobCommand.d.ts +121 -0
- package/dist-types/commands/DescribeAIRecommendationJobCommand.d.ts +170 -0
- package/dist-types/commands/DescribeAIWorkloadConfigCommand.d.ts +102 -0
- package/dist-types/commands/DescribeAlgorithmCommand.d.ts +20 -3
- package/dist-types/commands/DescribeInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLabelingJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMlflowAppCommand.d.ts +1 -1
- package/dist-types/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelCardCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelExplainabilityJobDefinitionCommand.d.ts +1 -1
- package/dist-types/commands/DescribeModelPackageCommand.d.ts +26 -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 -1
- package/dist-types/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeOptimizationJobCommand.d.ts +2 -2
- package/dist-types/commands/DescribePartnerAppCommand.d.ts +1 -2
- package/dist-types/commands/ListAIBenchmarkJobsCommand.d.ts +91 -0
- package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +90 -0
- package/dist-types/commands/ListAIWorkloadConfigsCommand.d.ts +87 -0
- package/dist-types/commands/ListModelCardVersionsCommand.d.ts +2 -1
- package/dist-types/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
- 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 -1
- package/dist-types/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringAlertsCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/ListMonitoringSchedulesCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookInstanceLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/commands/ListNotebookInstancesCommand.d.ts +1 -1
- package/dist-types/commands/ListOptimizationJobsCommand.d.ts +2 -2
- package/dist-types/commands/ListPartnerAppsCommand.d.ts +1 -1
- package/dist-types/commands/ListPipelineExecutionStepsCommand.d.ts +1 -2
- package/dist-types/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +27 -35
- package/dist-types/commands/StopAIBenchmarkJobCommand.d.ts +77 -0
- package/dist-types/commands/StopAIRecommendationJobCommand.d.ts +77 -0
- package/dist-types/commands/UpdateModelPackageCommand.d.ts +26 -14
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/endpoint/bdd.d.ts +2 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +187 -16
- package/dist-types/models/models_0.d.ts +3225 -3460
- package/dist-types/models/models_1.d.ts +3498 -3293
- package/dist-types/models/models_2.d.ts +3410 -4095
- package/dist-types/models/models_3.d.ts +4524 -4193
- package/dist-types/models/models_4.d.ts +1679 -76
- package/dist-types/models/models_5.d.ts +74 -0
- package/dist-types/pagination/ListAIBenchmarkJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIRecommendationJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAIWorkloadConfigsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +74 -0
- package/dist-types/ts3.4/SageMaker.d.ts +262 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +84 -0
- package/dist-types/ts3.4/commands/CreateAIBenchmarkJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIRecommendationJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAIWorkloadConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAutoMLJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateAutoMLJobV2Command.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateClusterSchedulerConfigCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/CreatePartnerAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePartnerAppPresignedUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePipelineCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePresignedDomainUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePresignedMlflowAppUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePresignedMlflowTrackingServerUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreatePresignedNotebookInstanceUrlCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProcessingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateProjectCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAIBenchmarkJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIRecommendationJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAIWorkloadConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeAIBenchmarkJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeAIRecommendationJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeAIWorkloadConfigCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeInferenceRecommendationsJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLabelingJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeLineageGroupCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMlflowAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelBiasJobDefinitionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelCardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelCardExportJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeModelCommand.d.ts +1 -1
- 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 +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeNotebookInstanceLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeOptimizationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribePartnerAppCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListAIBenchmarkJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAIWorkloadConfigsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListModelCardVersionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListModelExplainabilityJobDefinitionsCommand.d.ts +1 -1
- 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 -1
- package/dist-types/ts3.4/commands/ListMonitoringAlertHistoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMonitoringAlertsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMonitoringExecutionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMonitoringSchedulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListNotebookInstanceLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListNotebookInstancesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListOptimizationJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPartnerAppsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListPipelineExecutionStepsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPipelineExecutionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/StopAIBenchmarkJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopAIRecommendationJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/endpoint/bdd.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +123 -12
- package/dist-types/ts3.4/models/models_0.d.ts +218 -242
- package/dist-types/ts3.4/models/models_1.d.ts +296 -217
- package/dist-types/ts3.4/models/models_2.d.ts +303 -488
- package/dist-types/ts3.4/models/models_3.d.ts +535 -426
- package/dist-types/ts3.4/models/models_4.d.ts +431 -42
- package/dist-types/ts3.4/models/models_5.d.ts +24 -0
- package/dist-types/ts3.4/pagination/ListAIBenchmarkJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIRecommendationJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAIWorkloadConfigsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +74 -0
- package/package.json +19 -19
- package/dist-cjs/endpoint/ruleset.js +0 -7
- package/dist-es/endpoint/ruleset.js +0 -4
- package/dist-types/endpoint/ruleset.d.ts +0 -2
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +0 -2
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DeleteAIWorkloadConfigRequest, DeleteAIWorkloadConfigResponse } from "../models/models_2";
|
|
4
|
+
import type { 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 DeleteAIWorkloadConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteAIWorkloadConfigCommandInput extends DeleteAIWorkloadConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteAIWorkloadConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteAIWorkloadConfigCommandOutput extends DeleteAIWorkloadConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DeleteAIWorkloadConfigCommand_base: {
|
|
25
|
+
new (input: DeleteAIWorkloadConfigCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIWorkloadConfigCommandInput, DeleteAIWorkloadConfigCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DeleteAIWorkloadConfigCommandInput): import("@smithy/smithy-client").CommandImpl<DeleteAIWorkloadConfigCommandInput, DeleteAIWorkloadConfigCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes the specified AI workload configuration. You cannot delete a configuration that is referenced by an active benchmark 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, DeleteAIWorkloadConfigCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DeleteAIWorkloadConfigCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
37
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
38
|
+
* const client = new SageMakerClient(config);
|
|
39
|
+
* const input = { // DeleteAIWorkloadConfigRequest
|
|
40
|
+
* AIWorkloadConfigName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DeleteAIWorkloadConfigCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DeleteAIWorkloadConfigResponse
|
|
45
|
+
* // AIWorkloadConfigArn: "STRING_VALUE",
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param DeleteAIWorkloadConfigCommandInput - {@link DeleteAIWorkloadConfigCommandInput}
|
|
51
|
+
* @returns {@link DeleteAIWorkloadConfigCommandOutput}
|
|
52
|
+
* @see {@link DeleteAIWorkloadConfigCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link DeleteAIWorkloadConfigCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceInUse} (client fault)
|
|
57
|
+
* <p>Resource being accessed is in use.</p>
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
60
|
+
* <p>Resource being access is not found.</p>
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link SageMakerServiceException}
|
|
63
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
64
|
+
*
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class DeleteAIWorkloadConfigCommand extends DeleteAIWorkloadConfigCommand_base {
|
|
69
|
+
/** @internal type navigation helper, not in runtime. */
|
|
70
|
+
protected static __types: {
|
|
71
|
+
api: {
|
|
72
|
+
input: DeleteAIWorkloadConfigRequest;
|
|
73
|
+
output: DeleteAIWorkloadConfigResponse;
|
|
74
|
+
};
|
|
75
|
+
sdk: {
|
|
76
|
+
input: DeleteAIWorkloadConfigCommandInput;
|
|
77
|
+
output: DeleteAIWorkloadConfigCommandOutput;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribeAIBenchmarkJobRequest, DescribeAIBenchmarkJobResponse } from "../models/models_2";
|
|
4
|
+
import type { 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 DescribeAIBenchmarkJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAIBenchmarkJobCommandInput extends DescribeAIBenchmarkJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAIBenchmarkJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAIBenchmarkJobCommandOutput extends DescribeAIBenchmarkJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeAIBenchmarkJobCommand_base: {
|
|
25
|
+
new (input: DescribeAIBenchmarkJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIBenchmarkJobCommandInput, DescribeAIBenchmarkJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeAIBenchmarkJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIBenchmarkJobCommandInput, DescribeAIBenchmarkJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details of an AI benchmark job, including its status, configuration, target endpoint, and timing information.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DescribeAIBenchmarkJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DescribeAIBenchmarkJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
37
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
38
|
+
* const client = new SageMakerClient(config);
|
|
39
|
+
* const input = { // DescribeAIBenchmarkJobRequest
|
|
40
|
+
* AIBenchmarkJobName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeAIBenchmarkJobCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeAIBenchmarkJobResponse
|
|
45
|
+
* // AIBenchmarkJobName: "STRING_VALUE", // required
|
|
46
|
+
* // AIBenchmarkJobArn: "STRING_VALUE", // required
|
|
47
|
+
* // AIBenchmarkJobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped", // required
|
|
48
|
+
* // FailureReason: "STRING_VALUE",
|
|
49
|
+
* // BenchmarkTarget: { // AIBenchmarkTarget Union: only one key present
|
|
50
|
+
* // Endpoint: { // AIBenchmarkEndpoint
|
|
51
|
+
* // Identifier: "STRING_VALUE", // required
|
|
52
|
+
* // TargetContainerHostname: "STRING_VALUE",
|
|
53
|
+
* // InferenceComponents: [ // AIBenchmarkInferenceComponentList
|
|
54
|
+
* // { // AIBenchmarkInferenceComponent
|
|
55
|
+
* // Identifier: "STRING_VALUE", // required
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // },
|
|
60
|
+
* // OutputConfig: { // AIBenchmarkOutputResult
|
|
61
|
+
* // S3OutputLocation: "STRING_VALUE", // required
|
|
62
|
+
* // CloudWatchLogs: [ // AICloudWatchLogsList
|
|
63
|
+
* // { // AICloudWatchLogs
|
|
64
|
+
* // LogGroupArn: "STRING_VALUE",
|
|
65
|
+
* // LogStreamName: "STRING_VALUE",
|
|
66
|
+
* // },
|
|
67
|
+
* // ],
|
|
68
|
+
* // },
|
|
69
|
+
* // AIWorkloadConfigIdentifier: "STRING_VALUE", // required
|
|
70
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
71
|
+
* // NetworkConfig: { // AIBenchmarkNetworkConfig
|
|
72
|
+
* // VpcConfig: { // VpcConfig
|
|
73
|
+
* // SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
74
|
+
* // "STRING_VALUE",
|
|
75
|
+
* // ],
|
|
76
|
+
* // Subnets: [ // Subnets // required
|
|
77
|
+
* // "STRING_VALUE",
|
|
78
|
+
* // ],
|
|
79
|
+
* // },
|
|
80
|
+
* // },
|
|
81
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
82
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
83
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
84
|
+
* // Tags: [ // TagList
|
|
85
|
+
* // { // Tag
|
|
86
|
+
* // Key: "STRING_VALUE", // required
|
|
87
|
+
* // Value: "STRING_VALUE", // required
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // };
|
|
91
|
+
*
|
|
92
|
+
* ```
|
|
93
|
+
*
|
|
94
|
+
* @param DescribeAIBenchmarkJobCommandInput - {@link DescribeAIBenchmarkJobCommandInput}
|
|
95
|
+
* @returns {@link DescribeAIBenchmarkJobCommandOutput}
|
|
96
|
+
* @see {@link DescribeAIBenchmarkJobCommandInput} for command's `input` shape.
|
|
97
|
+
* @see {@link DescribeAIBenchmarkJobCommandOutput} for command's `response` shape.
|
|
98
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
99
|
+
*
|
|
100
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
101
|
+
* <p>Resource being access is not found.</p>
|
|
102
|
+
*
|
|
103
|
+
* @throws {@link SageMakerServiceException}
|
|
104
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
105
|
+
*
|
|
106
|
+
*
|
|
107
|
+
* @public
|
|
108
|
+
*/
|
|
109
|
+
export declare class DescribeAIBenchmarkJobCommand extends DescribeAIBenchmarkJobCommand_base {
|
|
110
|
+
/** @internal type navigation helper, not in runtime. */
|
|
111
|
+
protected static __types: {
|
|
112
|
+
api: {
|
|
113
|
+
input: DescribeAIBenchmarkJobRequest;
|
|
114
|
+
output: DescribeAIBenchmarkJobResponse;
|
|
115
|
+
};
|
|
116
|
+
sdk: {
|
|
117
|
+
input: DescribeAIBenchmarkJobCommandInput;
|
|
118
|
+
output: DescribeAIBenchmarkJobCommandOutput;
|
|
119
|
+
};
|
|
120
|
+
};
|
|
121
|
+
}
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribeAIRecommendationJobRequest, DescribeAIRecommendationJobResponse } from "../models/models_2";
|
|
4
|
+
import type { 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 DescribeAIRecommendationJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAIRecommendationJobCommandInput extends DescribeAIRecommendationJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAIRecommendationJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAIRecommendationJobCommandOutput extends DescribeAIRecommendationJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeAIRecommendationJobCommand_base: {
|
|
25
|
+
new (input: DescribeAIRecommendationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIRecommendationJobCommandInput, DescribeAIRecommendationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeAIRecommendationJobCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIRecommendationJobCommandInput, DescribeAIRecommendationJobCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details of an AI recommendation job, including its status, model source, performance targets, optimization recommendations, and deployment configurations.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DescribeAIRecommendationJobCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DescribeAIRecommendationJobCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
37
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
38
|
+
* const client = new SageMakerClient(config);
|
|
39
|
+
* const input = { // DescribeAIRecommendationJobRequest
|
|
40
|
+
* AIRecommendationJobName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeAIRecommendationJobCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeAIRecommendationJobResponse
|
|
45
|
+
* // AIRecommendationJobName: "STRING_VALUE", // required
|
|
46
|
+
* // AIRecommendationJobArn: "STRING_VALUE", // required
|
|
47
|
+
* // AIRecommendationJobStatus: "InProgress" || "Completed" || "Failed" || "Stopping" || "Stopped", // required
|
|
48
|
+
* // FailureReason: "STRING_VALUE",
|
|
49
|
+
* // ModelSource: { // AIModelSource Union: only one key present
|
|
50
|
+
* // S3: { // AIModelSourceS3
|
|
51
|
+
* // S3Uri: "STRING_VALUE",
|
|
52
|
+
* // },
|
|
53
|
+
* // },
|
|
54
|
+
* // OutputConfig: { // AIRecommendationOutputResult
|
|
55
|
+
* // S3OutputLocation: "STRING_VALUE", // required
|
|
56
|
+
* // ModelPackageGroupIdentifier: "STRING_VALUE",
|
|
57
|
+
* // },
|
|
58
|
+
* // InferenceSpecification: { // AIRecommendationInferenceSpecification
|
|
59
|
+
* // Framework: "LMI" || "VLLM",
|
|
60
|
+
* // },
|
|
61
|
+
* // AIWorkloadConfigIdentifier: "STRING_VALUE", // required
|
|
62
|
+
* // OptimizeModel: true || false,
|
|
63
|
+
* // PerformanceTarget: { // AIRecommendationPerformanceTarget
|
|
64
|
+
* // Constraints: [ // AIRecommendationConstraintList // required
|
|
65
|
+
* // { // AIRecommendationConstraint
|
|
66
|
+
* // Metric: "ttft-ms" || "throughput" || "cost", // required
|
|
67
|
+
* // },
|
|
68
|
+
* // ],
|
|
69
|
+
* // },
|
|
70
|
+
* // Recommendations: [ // AIRecommendationList
|
|
71
|
+
* // { // AIRecommendation
|
|
72
|
+
* // RecommendationDescription: "STRING_VALUE",
|
|
73
|
+
* // OptimizationDetails: [ // AIRecommendationOptimizationDetailList
|
|
74
|
+
* // { // AIRecommendationOptimizationDetail
|
|
75
|
+
* // OptimizationType: "SpeculativeDecoding" || "KernelTuning", // required
|
|
76
|
+
* // OptimizationConfig: { // AIRecommendationOptimizationConfigMap
|
|
77
|
+
* // "<keys>": "STRING_VALUE",
|
|
78
|
+
* // },
|
|
79
|
+
* // },
|
|
80
|
+
* // ],
|
|
81
|
+
* // ModelDetails: { // AIRecommendationModelDetails
|
|
82
|
+
* // ModelPackageArn: "STRING_VALUE",
|
|
83
|
+
* // InferenceSpecificationName: "STRING_VALUE",
|
|
84
|
+
* // InstanceDetails: [ // AIRecommendationInstanceDetailList
|
|
85
|
+
* // { // AIRecommendationInstanceDetail
|
|
86
|
+
* // InstanceType: "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.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.4xlarge" || "ml.p5.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge",
|
|
87
|
+
* // InstanceCount: Number("int"),
|
|
88
|
+
* // CopyCountPerInstance: Number("int"),
|
|
89
|
+
* // },
|
|
90
|
+
* // ],
|
|
91
|
+
* // },
|
|
92
|
+
* // DeploymentConfiguration: { // AIRecommendationDeploymentConfiguration
|
|
93
|
+
* // S3: [ // AIRecommendationDeploymentS3ChannelList
|
|
94
|
+
* // { // AIRecommendationDeploymentS3Channel
|
|
95
|
+
* // ChannelName: "STRING_VALUE",
|
|
96
|
+
* // Uri: "STRING_VALUE",
|
|
97
|
+
* // },
|
|
98
|
+
* // ],
|
|
99
|
+
* // ImageUri: "STRING_VALUE",
|
|
100
|
+
* // InstanceType: "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.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.4xlarge" || "ml.p5.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge",
|
|
101
|
+
* // InstanceCount: Number("int"),
|
|
102
|
+
* // CopyCountPerInstance: Number("int"),
|
|
103
|
+
* // EnvironmentVariables: { // EnvironmentMap
|
|
104
|
+
* // "<keys>": "STRING_VALUE",
|
|
105
|
+
* // },
|
|
106
|
+
* // },
|
|
107
|
+
* // AIBenchmarkJobArn: "STRING_VALUE",
|
|
108
|
+
* // ExpectedPerformance: [ // ExpectedPerformanceList
|
|
109
|
+
* // { // AIRecommendationPerformanceMetric
|
|
110
|
+
* // Metric: "STRING_VALUE", // required
|
|
111
|
+
* // Stat: "STRING_VALUE",
|
|
112
|
+
* // Value: "STRING_VALUE", // required
|
|
113
|
+
* // Unit: "STRING_VALUE",
|
|
114
|
+
* // },
|
|
115
|
+
* // ],
|
|
116
|
+
* // },
|
|
117
|
+
* // ],
|
|
118
|
+
* // RoleArn: "STRING_VALUE", // required
|
|
119
|
+
* // ComputeSpec: { // AIRecommendationComputeSpec
|
|
120
|
+
* // InstanceTypes: [ // AIRecommendationInstanceTypeList
|
|
121
|
+
* // "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.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.12xlarge" || "ml.g6e.16xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.4xlarge" || "ml.p5.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge",
|
|
122
|
+
* // ],
|
|
123
|
+
* // CapacityReservationConfig: { // AICapacityReservationConfig
|
|
124
|
+
* // CapacityReservationPreference: "capacity-reservations-only",
|
|
125
|
+
* // MlReservationArns: [ // AIMlReservationArnList
|
|
126
|
+
* // "STRING_VALUE",
|
|
127
|
+
* // ],
|
|
128
|
+
* // },
|
|
129
|
+
* // },
|
|
130
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
131
|
+
* // StartTime: new Date("TIMESTAMP"),
|
|
132
|
+
* // EndTime: new Date("TIMESTAMP"),
|
|
133
|
+
* // Tags: [ // TagList
|
|
134
|
+
* // { // Tag
|
|
135
|
+
* // Key: "STRING_VALUE", // required
|
|
136
|
+
* // Value: "STRING_VALUE", // required
|
|
137
|
+
* // },
|
|
138
|
+
* // ],
|
|
139
|
+
* // };
|
|
140
|
+
*
|
|
141
|
+
* ```
|
|
142
|
+
*
|
|
143
|
+
* @param DescribeAIRecommendationJobCommandInput - {@link DescribeAIRecommendationJobCommandInput}
|
|
144
|
+
* @returns {@link DescribeAIRecommendationJobCommandOutput}
|
|
145
|
+
* @see {@link DescribeAIRecommendationJobCommandInput} for command's `input` shape.
|
|
146
|
+
* @see {@link DescribeAIRecommendationJobCommandOutput} for command's `response` shape.
|
|
147
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
148
|
+
*
|
|
149
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
150
|
+
* <p>Resource being access is not found.</p>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link SageMakerServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
154
|
+
*
|
|
155
|
+
*
|
|
156
|
+
* @public
|
|
157
|
+
*/
|
|
158
|
+
export declare class DescribeAIRecommendationJobCommand extends DescribeAIRecommendationJobCommand_base {
|
|
159
|
+
/** @internal type navigation helper, not in runtime. */
|
|
160
|
+
protected static __types: {
|
|
161
|
+
api: {
|
|
162
|
+
input: DescribeAIRecommendationJobRequest;
|
|
163
|
+
output: DescribeAIRecommendationJobResponse;
|
|
164
|
+
};
|
|
165
|
+
sdk: {
|
|
166
|
+
input: DescribeAIRecommendationJobCommandInput;
|
|
167
|
+
output: DescribeAIRecommendationJobCommandOutput;
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { DescribeAIWorkloadConfigRequest, DescribeAIWorkloadConfigResponse } from "../models/models_2";
|
|
4
|
+
import type { 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 DescribeAIWorkloadConfigCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeAIWorkloadConfigCommandInput extends DescribeAIWorkloadConfigRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeAIWorkloadConfigCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeAIWorkloadConfigCommandOutput extends DescribeAIWorkloadConfigResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const DescribeAIWorkloadConfigCommand_base: {
|
|
25
|
+
new (input: DescribeAIWorkloadConfigCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIWorkloadConfigCommandInput, DescribeAIWorkloadConfigCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: DescribeAIWorkloadConfigCommandInput): import("@smithy/smithy-client").CommandImpl<DescribeAIWorkloadConfigCommandInput, DescribeAIWorkloadConfigCommandOutput, SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns details of an AI workload configuration, including the dataset configuration, benchmark tool settings, tags, and creation time.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, DescribeAIWorkloadConfigCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, DescribeAIWorkloadConfigCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
36
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
37
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
38
|
+
* const client = new SageMakerClient(config);
|
|
39
|
+
* const input = { // DescribeAIWorkloadConfigRequest
|
|
40
|
+
* AIWorkloadConfigName: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new DescribeAIWorkloadConfigCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // DescribeAIWorkloadConfigResponse
|
|
45
|
+
* // AIWorkloadConfigName: "STRING_VALUE", // required
|
|
46
|
+
* // AIWorkloadConfigArn: "STRING_VALUE", // required
|
|
47
|
+
* // DatasetConfig: { // AIDatasetConfig Union: only one key present
|
|
48
|
+
* // InputDataConfig: [ // AIWorkloadInputDataConfigList
|
|
49
|
+
* // { // AIWorkloadInputDataConfig
|
|
50
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
51
|
+
* // DataSource: { // AIWorkloadDataSource
|
|
52
|
+
* // S3DataSource: { // AIWorkloadS3DataSource
|
|
53
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // },
|
|
59
|
+
* // AIWorkloadConfigs: { // AIWorkloadConfigs
|
|
60
|
+
* // WorkloadSpec: { // WorkloadSpec Union: only one key present
|
|
61
|
+
* // Inline: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // },
|
|
64
|
+
* // Tags: [ // TagList
|
|
65
|
+
* // { // Tag
|
|
66
|
+
* // Key: "STRING_VALUE", // required
|
|
67
|
+
* // Value: "STRING_VALUE", // required
|
|
68
|
+
* // },
|
|
69
|
+
* // ],
|
|
70
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
71
|
+
* // };
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
74
|
+
*
|
|
75
|
+
* @param DescribeAIWorkloadConfigCommandInput - {@link DescribeAIWorkloadConfigCommandInput}
|
|
76
|
+
* @returns {@link DescribeAIWorkloadConfigCommandOutput}
|
|
77
|
+
* @see {@link DescribeAIWorkloadConfigCommandInput} for command's `input` shape.
|
|
78
|
+
* @see {@link DescribeAIWorkloadConfigCommandOutput} for command's `response` shape.
|
|
79
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
82
|
+
* <p>Resource being access is not found.</p>
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link SageMakerServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class DescribeAIWorkloadConfigCommand extends DescribeAIWorkloadConfigCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: DescribeAIWorkloadConfigRequest;
|
|
95
|
+
output: DescribeAIWorkloadConfigResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: DescribeAIWorkloadConfigCommandInput;
|
|
99
|
+
output: DescribeAIWorkloadConfigCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -146,6 +146,25 @@ declare const DescribeAlgorithmCommand_base: {
|
|
|
146
146
|
* // Framework: "STRING_VALUE",
|
|
147
147
|
* // FrameworkVersion: "STRING_VALUE",
|
|
148
148
|
* // NearestModelName: "STRING_VALUE",
|
|
149
|
+
* // AdditionalModelDataSources: [ // AdditionalModelDataSources
|
|
150
|
+
* // { // AdditionalModelDataSource
|
|
151
|
+
* // ChannelName: "STRING_VALUE", // required
|
|
152
|
+
* // S3DataSource: {
|
|
153
|
+
* // S3Uri: "STRING_VALUE", // required
|
|
154
|
+
* // S3DataType: "S3Prefix" || "S3Object", // required
|
|
155
|
+
* // CompressionType: "None" || "Gzip", // required
|
|
156
|
+
* // ModelAccessConfig: {
|
|
157
|
+
* // AcceptEula: true || false, // required
|
|
158
|
+
* // },
|
|
159
|
+
* // HubAccessConfig: {
|
|
160
|
+
* // HubContentArn: "STRING_VALUE", // required
|
|
161
|
+
* // },
|
|
162
|
+
* // ManifestS3Uri: "STRING_VALUE",
|
|
163
|
+
* // ETag: "STRING_VALUE",
|
|
164
|
+
* // ManifestEtag: "STRING_VALUE",
|
|
165
|
+
* // },
|
|
166
|
+
* // },
|
|
167
|
+
* // ],
|
|
149
168
|
* // AdditionalS3DataSource: {
|
|
150
169
|
* // S3DataType: "S3Object" || "S3Prefix", // required
|
|
151
170
|
* // S3Uri: "STRING_VALUE", // required
|
|
@@ -198,9 +217,7 @@ declare const DescribeAlgorithmCommand_base: {
|
|
|
198
217
|
* // InstanceGroupNames: [ // InstanceGroupNames
|
|
199
218
|
* // "STRING_VALUE",
|
|
200
219
|
* // ],
|
|
201
|
-
* // ModelAccessConfig:
|
|
202
|
-
* // AcceptEula: true || false, // required
|
|
203
|
-
* // },
|
|
220
|
+
* // ModelAccessConfig: "<ModelAccessConfig>",
|
|
204
221
|
* // HubAccessConfig: { // HubAccessConfig
|
|
205
222
|
* // HubContentArn: "STRING_VALUE", // required
|
|
206
223
|
* // },
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeInferenceRecommendationsJobRequest, DescribeInferenceRecommendationsJobResponse } from "../models/
|
|
3
|
+
import type { DescribeInferenceRecommendationsJobRequest, DescribeInferenceRecommendationsJobResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeLabelingJobRequest, DescribeLabelingJobResponse } from "../models/
|
|
3
|
+
import type { DescribeLabelingJobRequest, DescribeLabelingJobResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeLineageGroupRequest, DescribeLineageGroupResponse } from "../models/
|
|
3
|
+
import type { DescribeLineageGroupRequest, DescribeLineageGroupResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeMlflowAppRequest, DescribeMlflowAppResponse } from "../models/
|
|
3
|
+
import type { DescribeMlflowAppRequest, DescribeMlflowAppResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeMlflowTrackingServerRequest, DescribeMlflowTrackingServerResponse } from "../models/
|
|
3
|
+
import type { DescribeMlflowTrackingServerRequest, DescribeMlflowTrackingServerResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/
|
|
3
|
+
import type { DescribeModelBiasJobDefinitionRequest, DescribeModelBiasJobDefinitionResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeModelCardRequest, DescribeModelCardResponse } from "../models/
|
|
3
|
+
import type { DescribeModelCardRequest, DescribeModelCardResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeModelCardExportJobRequest, DescribeModelCardExportJobResponse } from "../models/
|
|
3
|
+
import type { DescribeModelCardExportJobRequest, DescribeModelCardExportJobResponse } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeModelInput, DescribeModelOutput } from "../models/
|
|
3
|
+
import type { DescribeModelInput, DescribeModelOutput } from "../models/models_3";
|
|
4
4
|
import type { 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 type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
-
import type { DescribeModelExplainabilityJobDefinitionRequest, DescribeModelExplainabilityJobDefinitionResponse } from "../models/
|
|
3
|
+
import type { DescribeModelExplainabilityJobDefinitionRequest, DescribeModelExplainabilityJobDefinitionResponse } from "../models/models_3";
|
|
4
4
|
import type { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|