@aws-sdk/client-sagemaker 3.460.0 → 3.462.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 +104 -0
- package/dist-cjs/SageMaker.js +26 -0
- package/dist-cjs/commands/CreateClusterCommand.js +51 -0
- package/dist-cjs/commands/CreateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/CreateWorkforceCommand.js +2 -2
- package/dist-cjs/commands/DeleteClusterCommand.js +51 -0
- package/dist-cjs/commands/DeleteInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterCommand.js +51 -0
- package/dist-cjs/commands/DescribeClusterNodeCommand.js +51 -0
- package/dist-cjs/commands/DescribeInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/ListClusterNodesCommand.js +51 -0
- package/dist-cjs/commands/ListClustersCommand.js +51 -0
- package/dist-cjs/commands/ListInferenceComponentsCommand.js +51 -0
- package/dist-cjs/commands/UpdateClusterCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentCommand.js +51 -0
- package/dist-cjs/commands/UpdateInferenceComponentRuntimeConfigCommand.js +51 -0
- package/dist-cjs/commands/index.js +13 -0
- package/dist-cjs/models/models_0.js +62 -51
- package/dist-cjs/models/models_1.js +63 -30
- package/dist-cjs/models/models_2.js +37 -39
- package/dist-cjs/models/models_3.js +45 -44
- package/dist-cjs/models/models_4.js +45 -3
- package/dist-cjs/pagination/ListInferenceComponentsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +845 -13
- package/dist-es/SageMaker.js +26 -0
- package/dist-es/commands/CreateClusterCommand.js +47 -0
- package/dist-es/commands/CreateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/CreateWorkforceCommand.js +1 -1
- package/dist-es/commands/DeleteClusterCommand.js +47 -0
- package/dist-es/commands/DeleteInferenceComponentCommand.js +47 -0
- package/dist-es/commands/DescribeClusterCommand.js +47 -0
- package/dist-es/commands/DescribeClusterNodeCommand.js +47 -0
- package/dist-es/commands/DescribeInferenceComponentCommand.js +47 -0
- package/dist-es/commands/ListClusterNodesCommand.js +47 -0
- package/dist-es/commands/ListClustersCommand.js +47 -0
- package/dist-es/commands/ListInferenceComponentsCommand.js +47 -0
- package/dist-es/commands/UpdateClusterCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentCommand.js +47 -0
- package/dist-es/commands/UpdateInferenceComponentRuntimeConfigCommand.js +47 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/models_0.js +60 -50
- package/dist-es/models/models_1.js +62 -27
- package/dist-es/models/models_2.js +34 -38
- package/dist-es/models/models_3.js +43 -42
- package/dist-es/models/models_4.js +43 -1
- package/dist-es/pagination/ListInferenceComponentsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +807 -1
- package/dist-types/SageMaker.d.ts +91 -0
- package/dist-types/SageMakerClient.d.ts +15 -2
- package/dist-types/commands/AddTagsCommand.d.ts +1 -1
- package/dist-types/commands/CreateAppCommand.d.ts +2 -1
- package/dist-types/commands/CreateAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +109 -0
- package/dist-types/commands/CreateDomainCommand.d.ts +15 -8
- package/dist-types/commands/CreateEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/CreateInferenceComponentCommand.d.ts +115 -0
- package/dist-types/commands/CreateModelCommand.d.ts +1 -1
- package/dist-types/commands/CreatePresignedDomainUrlCommand.d.ts +3 -2
- package/dist-types/commands/CreateSpaceCommand.d.ts +2 -0
- package/dist-types/commands/CreateStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/CreateTrainingJobCommand.d.ts +3 -0
- package/dist-types/commands/CreateUserProfileCommand.d.ts +9 -2
- package/dist-types/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/commands/DeleteClusterCommand.d.ts +80 -0
- package/dist-types/commands/DeleteInferenceComponentCommand.d.ts +71 -0
- package/dist-types/commands/DeleteStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DeleteTagsCommand.d.ts +2 -2
- package/dist-types/commands/DescribeAppCommand.d.ts +1 -0
- package/dist-types/commands/DescribeAutoMLJobV2Command.d.ts +3 -0
- package/dist-types/commands/DescribeClusterCommand.d.ts +102 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +92 -0
- package/dist-types/commands/DescribeDomainCommand.d.ts +7 -0
- package/dist-types/commands/DescribeEndpointCommand.d.ts +32 -0
- package/dist-types/commands/DescribeEndpointConfigCommand.d.ts +28 -2
- package/dist-types/commands/DescribeInferenceComponentCommand.d.ts +109 -0
- package/dist-types/commands/DescribeModelCommand.d.ts +1 -1
- package/dist-types/commands/DescribeSpaceCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStudioLifecycleConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeTrainingJobCommand.d.ts +3 -0
- package/dist-types/commands/DescribeUserProfileCommand.d.ts +8 -1
- package/dist-types/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +96 -0
- package/dist-types/commands/ListClustersCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceComponentsCommand.d.ts +96 -0
- package/dist-types/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/commands/ListStudioLifecycleConfigsCommand.d.ts +2 -2
- package/dist-types/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/commands/SearchCommand.d.ts +16 -0
- package/dist-types/commands/UpdateClusterCommand.d.ts +97 -0
- package/dist-types/commands/UpdateDomainCommand.d.ts +11 -0
- package/dist-types/commands/UpdateInferenceComponentCommand.d.ts +100 -0
- package/dist-types/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +80 -0
- package/dist-types/commands/UpdateSpaceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateUserProfileCommand.d.ts +6 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/models_0.d.ts +409 -345
- package/dist-types/models/models_1.d.ts +708 -551
- package/dist-types/models/models_2.d.ts +5059 -5239
- package/dist-types/models/models_3.d.ts +4732 -4693
- package/dist-types/models/models_4.d.ts +1446 -4
- package/dist-types/pagination/ListInferenceComponentsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +117 -0
- package/dist-types/ts3.4/SageMaker.d.ts +227 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/CreateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateUserProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/CreateWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteActionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAlgorithmCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAppImageConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteArtifactCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteAssociationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DeleteInferenceComponentCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/DescribeClusterNodeCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DescribeInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeUserProfileCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeWorkforceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeWorkteamCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DisassociateTrialComponentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EnableSagemakerServicecatalogPortfolioCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +35 -0
- package/dist-types/ts3.4/commands/ListInferenceComponentsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListResourceCatalogsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSpacesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStageDevicesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListStudioLifecycleConfigsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSubscribedWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrainingJobsForHyperParameterTuningJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTransformJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialComponentsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTrialsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUserProfilesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkforcesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListWorkteamsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateClusterCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateInferenceComponentRuntimeConfigCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/models_0.d.ts +124 -111
- package/dist-types/ts3.4/models/models_1.d.ts +188 -151
- package/dist-types/ts3.4/models/models_2.d.ts +227 -288
- package/dist-types/ts3.4/models/models_3.d.ts +349 -344
- package/dist-types/ts3.4/models/models_4.d.ts +372 -15
- package/dist-types/ts3.4/pagination/ListInferenceComponentsPaginator.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 +156 -0
- package/package.json +3 -3
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DeleteInferenceComponentInput } from "../models/models_2";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DeleteInferenceComponentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DeleteInferenceComponentCommandInput extends DeleteInferenceComponentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DeleteInferenceComponentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DeleteInferenceComponentCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Deletes an inference component.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SageMakerClient, DeleteInferenceComponentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
31
|
+
* // const { SageMakerClient, DeleteInferenceComponentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
32
|
+
* const client = new SageMakerClient(config);
|
|
33
|
+
* const input = { // DeleteInferenceComponentInput
|
|
34
|
+
* InferenceComponentName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DeleteInferenceComponentCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // {};
|
|
39
|
+
*
|
|
40
|
+
* ```
|
|
41
|
+
*
|
|
42
|
+
* @param DeleteInferenceComponentCommandInput - {@link DeleteInferenceComponentCommandInput}
|
|
43
|
+
* @returns {@link DeleteInferenceComponentCommandOutput}
|
|
44
|
+
* @see {@link DeleteInferenceComponentCommandInput} for command's `input` shape.
|
|
45
|
+
* @see {@link DeleteInferenceComponentCommandOutput} for command's `response` shape.
|
|
46
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
47
|
+
*
|
|
48
|
+
* @throws {@link SageMakerServiceException}
|
|
49
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class DeleteInferenceComponentCommand extends $Command<DeleteInferenceComponentCommandInput, DeleteInferenceComponentCommandOutput, SageMakerClientResolvedConfig> {
|
|
53
|
+
readonly input: DeleteInferenceComponentCommandInput;
|
|
54
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
constructor(input: DeleteInferenceComponentCommandInput);
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteInferenceComponentCommandInput, DeleteInferenceComponentCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private deserialize;
|
|
71
|
+
}
|
|
@@ -23,7 +23,7 @@ export interface DeleteStudioLifecycleConfigCommandOutput extends __MetadataBear
|
|
|
23
23
|
}
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
|
-
* <p>Deletes the Studio Lifecycle Configuration. In order to delete the Lifecycle Configuration, there must be no running apps using the Lifecycle Configuration. You must also remove the Lifecycle Configuration from UserSettings in all Domains and UserProfiles.</p>
|
|
26
|
+
* <p>Deletes the Amazon SageMaker Studio Lifecycle Configuration. In order to delete the Lifecycle Configuration, there must be no running apps using the Lifecycle Configuration. You must also remove the Lifecycle Configuration from UserSettings in all Domains and UserProfiles.</p>
|
|
27
27
|
* @example
|
|
28
28
|
* Use a bare-bones client and the command you need to make an API call.
|
|
29
29
|
* ```javascript
|
|
@@ -31,8 +31,8 @@ export interface DeleteTagsCommandOutput extends DeleteTagsOutput, __MetadataBea
|
|
|
31
31
|
* launched before you called this API.</p>
|
|
32
32
|
* </note>
|
|
33
33
|
* <note>
|
|
34
|
-
* <p>When you call this API to delete tags from a SageMaker
|
|
35
|
-
* Profile, the deleted tags are not removed from Apps that the SageMaker
|
|
34
|
+
* <p>When you call this API to delete tags from a SageMaker Domain or User
|
|
35
|
+
* Profile, the deleted tags are not removed from Apps that the SageMaker Domain
|
|
36
36
|
* or User Profile launched before you called this API.</p>
|
|
37
37
|
* </note>
|
|
38
38
|
* @example
|
|
@@ -53,6 +53,7 @@ export interface DescribeAppCommandOutput extends DescribeAppResponse, __Metadat
|
|
|
53
53
|
* // ResourceSpec: { // ResourceSpec
|
|
54
54
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
55
55
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
56
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
56
57
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
57
58
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
58
59
|
* // },
|
|
@@ -142,6 +142,9 @@ export interface DescribeAutoMLJobV2CommandOutput extends DescribeAutoMLJobV2Res
|
|
|
142
142
|
* // MaxAutoMLJobRuntimeInSeconds: Number("int"),
|
|
143
143
|
* // },
|
|
144
144
|
* // BaseModelName: "STRING_VALUE",
|
|
145
|
+
* // TextGenerationHyperParameters: { // TextGenerationHyperParameters
|
|
146
|
+
* // "<keys>": "STRING_VALUE",
|
|
147
|
+
* // },
|
|
145
148
|
* // },
|
|
146
149
|
* // },
|
|
147
150
|
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeClusterRequest, DescribeClusterResponse } from "../models/models_2";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeClusterCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeClusterCommandInput extends DescribeClusterRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeClusterCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeClusterCommandOutput extends DescribeClusterResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves information of a SageMaker HyperPod cluster.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SageMakerClient, DescribeClusterCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
31
|
+
* // const { SageMakerClient, DescribeClusterCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
32
|
+
* const client = new SageMakerClient(config);
|
|
33
|
+
* const input = { // DescribeClusterRequest
|
|
34
|
+
* ClusterName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeClusterCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeClusterResponse
|
|
39
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
40
|
+
* // ClusterName: "STRING_VALUE",
|
|
41
|
+
* // ClusterStatus: "Creating" || "Deleting" || "Failed" || "InService" || "RollingBack" || "SystemUpdating" || "Updating", // required
|
|
42
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
43
|
+
* // FailureMessage: "STRING_VALUE",
|
|
44
|
+
* // InstanceGroups: [ // ClusterInstanceGroupDetailsList // required
|
|
45
|
+
* // { // ClusterInstanceGroupDetails
|
|
46
|
+
* // CurrentCount: Number("int"),
|
|
47
|
+
* // TargetCount: Number("int"),
|
|
48
|
+
* // InstanceGroupName: "STRING_VALUE",
|
|
49
|
+
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.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.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge",
|
|
50
|
+
* // LifeCycleConfig: { // ClusterLifeCycleConfig
|
|
51
|
+
* // SourceS3Uri: "STRING_VALUE", // required
|
|
52
|
+
* // OnCreate: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ExecutionRole: "STRING_VALUE",
|
|
55
|
+
* // ThreadsPerCore: Number("int"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // VpcConfig: { // VpcConfig
|
|
59
|
+
* // SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
60
|
+
* // "STRING_VALUE",
|
|
61
|
+
* // ],
|
|
62
|
+
* // Subnets: [ // Subnets // required
|
|
63
|
+
* // "STRING_VALUE",
|
|
64
|
+
* // ],
|
|
65
|
+
* // },
|
|
66
|
+
* // };
|
|
67
|
+
*
|
|
68
|
+
* ```
|
|
69
|
+
*
|
|
70
|
+
* @param DescribeClusterCommandInput - {@link DescribeClusterCommandInput}
|
|
71
|
+
* @returns {@link DescribeClusterCommandOutput}
|
|
72
|
+
* @see {@link DescribeClusterCommandInput} for command's `input` shape.
|
|
73
|
+
* @see {@link DescribeClusterCommandOutput} for command's `response` shape.
|
|
74
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
77
|
+
* <p>Resource being access is not found.</p>
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link SageMakerServiceException}
|
|
80
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
81
|
+
*
|
|
82
|
+
*/
|
|
83
|
+
export declare class DescribeClusterCommand extends $Command<DescribeClusterCommandInput, DescribeClusterCommandOutput, SageMakerClientResolvedConfig> {
|
|
84
|
+
readonly input: DescribeClusterCommandInput;
|
|
85
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
86
|
+
/**
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
constructor(input: DescribeClusterCommandInput);
|
|
90
|
+
/**
|
|
91
|
+
* @internal
|
|
92
|
+
*/
|
|
93
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeClusterCommandInput, DescribeClusterCommandOutput>;
|
|
94
|
+
/**
|
|
95
|
+
* @internal
|
|
96
|
+
*/
|
|
97
|
+
private serialize;
|
|
98
|
+
/**
|
|
99
|
+
* @internal
|
|
100
|
+
*/
|
|
101
|
+
private deserialize;
|
|
102
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeClusterNodeRequest, DescribeClusterNodeResponse } from "../models/models_2";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeClusterNodeCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeClusterNodeCommandInput extends DescribeClusterNodeRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeClusterNodeCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeClusterNodeCommandOutput extends DescribeClusterNodeResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Retrieves information of an instance (also called a <i>node</i>
|
|
27
|
+
* interchangeably) of a SageMaker HyperPod cluster.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, DescribeClusterNodeCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, DescribeClusterNodeCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* const client = new SageMakerClient(config);
|
|
34
|
+
* const input = { // DescribeClusterNodeRequest
|
|
35
|
+
* ClusterName: "STRING_VALUE", // required
|
|
36
|
+
* NodeId: "STRING_VALUE", // required
|
|
37
|
+
* };
|
|
38
|
+
* const command = new DescribeClusterNodeCommand(input);
|
|
39
|
+
* const response = await client.send(command);
|
|
40
|
+
* // { // DescribeClusterNodeResponse
|
|
41
|
+
* // NodeDetails: { // ClusterNodeDetails
|
|
42
|
+
* // InstanceGroupName: "STRING_VALUE",
|
|
43
|
+
* // InstanceId: "STRING_VALUE",
|
|
44
|
+
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
45
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating", // required
|
|
46
|
+
* // Message: "STRING_VALUE",
|
|
47
|
+
* // },
|
|
48
|
+
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.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.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.c5n.large" || "ml.c5n.2xlarge" || "ml.c5n.4xlarge" || "ml.c5n.9xlarge" || "ml.c5n.18xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge",
|
|
49
|
+
* // LaunchTime: new Date("TIMESTAMP"),
|
|
50
|
+
* // LifeCycleConfig: { // ClusterLifeCycleConfig
|
|
51
|
+
* // SourceS3Uri: "STRING_VALUE", // required
|
|
52
|
+
* // OnCreate: "STRING_VALUE", // required
|
|
53
|
+
* // },
|
|
54
|
+
* // ThreadsPerCore: Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // };
|
|
57
|
+
*
|
|
58
|
+
* ```
|
|
59
|
+
*
|
|
60
|
+
* @param DescribeClusterNodeCommandInput - {@link DescribeClusterNodeCommandInput}
|
|
61
|
+
* @returns {@link DescribeClusterNodeCommandOutput}
|
|
62
|
+
* @see {@link DescribeClusterNodeCommandInput} for command's `input` shape.
|
|
63
|
+
* @see {@link DescribeClusterNodeCommandOutput} for command's `response` shape.
|
|
64
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
65
|
+
*
|
|
66
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
67
|
+
* <p>Resource being access is not found.</p>
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link SageMakerServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare class DescribeClusterNodeCommand extends $Command<DescribeClusterNodeCommandInput, DescribeClusterNodeCommandOutput, SageMakerClientResolvedConfig> {
|
|
74
|
+
readonly input: DescribeClusterNodeCommandInput;
|
|
75
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
76
|
+
/**
|
|
77
|
+
* @public
|
|
78
|
+
*/
|
|
79
|
+
constructor(input: DescribeClusterNodeCommandInput);
|
|
80
|
+
/**
|
|
81
|
+
* @internal
|
|
82
|
+
*/
|
|
83
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeClusterNodeCommandInput, DescribeClusterNodeCommandOutput>;
|
|
84
|
+
/**
|
|
85
|
+
* @internal
|
|
86
|
+
*/
|
|
87
|
+
private serialize;
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
private deserialize;
|
|
92
|
+
}
|
|
@@ -61,6 +61,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
61
61
|
* // DefaultResourceSpec: { // ResourceSpec
|
|
62
62
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
63
63
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
64
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
64
65
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
65
66
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
66
67
|
* // },
|
|
@@ -77,6 +78,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
77
78
|
* // DefaultResourceSpec: {
|
|
78
79
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
79
80
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
81
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
80
82
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
81
83
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
82
84
|
* // },
|
|
@@ -95,6 +97,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
95
97
|
* // DefaultResourceSpec: {
|
|
96
98
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
97
99
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
100
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
98
101
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
99
102
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
100
103
|
* // },
|
|
@@ -107,6 +110,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
107
110
|
* // DefaultResourceSpec: {
|
|
108
111
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
109
112
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
113
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
110
114
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
111
115
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
112
116
|
* // },
|
|
@@ -145,6 +149,8 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
145
149
|
* // Status: "ENABLED" || "DISABLED",
|
|
146
150
|
* // },
|
|
147
151
|
* // },
|
|
152
|
+
* // DefaultLandingUri: "STRING_VALUE",
|
|
153
|
+
* // StudioWebPortal: "ENABLED" || "DISABLED",
|
|
148
154
|
* // },
|
|
149
155
|
* // AppNetworkAccessType: "PublicInternetOnly" || "VpcOnly",
|
|
150
156
|
* // HomeEfsFileSystemKmsKeyId: "STRING_VALUE",
|
|
@@ -165,6 +171,7 @@ export interface DescribeDomainCommandOutput extends DescribeDomainResponse, __M
|
|
|
165
171
|
* // DefaultResourceSpec: {
|
|
166
172
|
* // SageMakerImageArn: "STRING_VALUE",
|
|
167
173
|
* // SageMakerImageVersionArn: "STRING_VALUE",
|
|
174
|
+
* // SageMakerImageVersionAlias: "STRING_VALUE",
|
|
168
175
|
* // InstanceType: "system" || "ml.t3.micro" || "ml.t3.small" || "ml.t3.medium" || "ml.t3.large" || "ml.t3.xlarge" || "ml.t3.2xlarge" || "ml.m5.large" || "ml.m5.xlarge" || "ml.m5.2xlarge" || "ml.m5.4xlarge" || "ml.m5.8xlarge" || "ml.m5.12xlarge" || "ml.m5.16xlarge" || "ml.m5.24xlarge" || "ml.m5d.large" || "ml.m5d.xlarge" || "ml.m5d.2xlarge" || "ml.m5d.4xlarge" || "ml.m5d.8xlarge" || "ml.m5d.12xlarge" || "ml.m5d.16xlarge" || "ml.m5d.24xlarge" || "ml.c5.large" || "ml.c5.xlarge" || "ml.c5.2xlarge" || "ml.c5.4xlarge" || "ml.c5.9xlarge" || "ml.c5.12xlarge" || "ml.c5.18xlarge" || "ml.c5.24xlarge" || "ml.p3.2xlarge" || "ml.p3.8xlarge" || "ml.p3.16xlarge" || "ml.p3dn.24xlarge" || "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.8xlarge" || "ml.r5.12xlarge" || "ml.r5.16xlarge" || "ml.r5.24xlarge" || "ml.g5.xlarge" || "ml.g5.2xlarge" || "ml.g5.4xlarge" || "ml.g5.8xlarge" || "ml.g5.16xlarge" || "ml.g5.12xlarge" || "ml.g5.24xlarge" || "ml.g5.48xlarge" || "ml.geospatial.interactive" || "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.trn1.2xlarge" || "ml.trn1.32xlarge" || "ml.trn1n.32xlarge",
|
|
169
176
|
* // LifecycleConfigArn: "STRING_VALUE",
|
|
170
177
|
* // },
|
|
@@ -70,6 +70,14 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
70
70
|
* // MaxConcurrency: Number("int"), // required
|
|
71
71
|
* // ProvisionedConcurrency: Number("int"),
|
|
72
72
|
* // },
|
|
73
|
+
* // ManagedInstanceScaling: { // ProductionVariantManagedInstanceScaling
|
|
74
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
75
|
+
* // MinInstanceCount: Number("int"),
|
|
76
|
+
* // MaxInstanceCount: Number("int"),
|
|
77
|
+
* // },
|
|
78
|
+
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
79
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
80
|
+
* // },
|
|
73
81
|
* // },
|
|
74
82
|
* // ],
|
|
75
83
|
* // DataCaptureConfig: { // DataCaptureConfigSummary
|
|
@@ -172,6 +180,14 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
172
180
|
* // MaxConcurrency: Number("int"), // required
|
|
173
181
|
* // ProvisionedConcurrency: Number("int"),
|
|
174
182
|
* // },
|
|
183
|
+
* // ManagedInstanceScaling: {
|
|
184
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
185
|
+
* // MinInstanceCount: Number("int"),
|
|
186
|
+
* // MaxInstanceCount: Number("int"),
|
|
187
|
+
* // },
|
|
188
|
+
* // RoutingConfig: {
|
|
189
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
190
|
+
* // },
|
|
175
191
|
* // },
|
|
176
192
|
* // ],
|
|
177
193
|
* // StartTime: new Date("TIMESTAMP"),
|
|
@@ -204,6 +220,14 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
204
220
|
* // ProvisionedConcurrency: Number("int"),
|
|
205
221
|
* // },
|
|
206
222
|
* // DesiredServerlessConfig: "<ProductionVariantServerlessConfig>",
|
|
223
|
+
* // ManagedInstanceScaling: {
|
|
224
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
225
|
+
* // MinInstanceCount: Number("int"),
|
|
226
|
+
* // MaxInstanceCount: Number("int"),
|
|
227
|
+
* // },
|
|
228
|
+
* // RoutingConfig: {
|
|
229
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
230
|
+
* // },
|
|
207
231
|
* // },
|
|
208
232
|
* // ],
|
|
209
233
|
* // },
|
|
@@ -268,6 +292,14 @@ export interface DescribeEndpointCommandOutput extends DescribeEndpointOutput, _
|
|
|
268
292
|
* // ],
|
|
269
293
|
* // CurrentServerlessConfig: "<ProductionVariantServerlessConfig>",
|
|
270
294
|
* // DesiredServerlessConfig: "<ProductionVariantServerlessConfig>",
|
|
295
|
+
* // ManagedInstanceScaling: {
|
|
296
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
297
|
+
* // MinInstanceCount: Number("int"),
|
|
298
|
+
* // MaxInstanceCount: Number("int"),
|
|
299
|
+
* // },
|
|
300
|
+
* // RoutingConfig: {
|
|
301
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
302
|
+
* // },
|
|
271
303
|
* // },
|
|
272
304
|
* // ],
|
|
273
305
|
* // };
|
|
@@ -42,7 +42,7 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
42
42
|
* // ProductionVariants: [ // ProductionVariantList // required
|
|
43
43
|
* // { // ProductionVariant
|
|
44
44
|
* // VariantName: "STRING_VALUE", // required
|
|
45
|
-
* // ModelName: "STRING_VALUE",
|
|
45
|
+
* // ModelName: "STRING_VALUE",
|
|
46
46
|
* // InitialInstanceCount: Number("int"),
|
|
47
47
|
* // 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" || "ml.p5.48xlarge",
|
|
48
48
|
* // InitialVariantWeight: Number("float"),
|
|
@@ -60,6 +60,14 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
60
60
|
* // ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
61
61
|
* // ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
62
62
|
* // EnableSSMAccess: true || false,
|
|
63
|
+
* // ManagedInstanceScaling: { // ProductionVariantManagedInstanceScaling
|
|
64
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
65
|
+
* // MinInstanceCount: Number("int"),
|
|
66
|
+
* // MaxInstanceCount: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // RoutingConfig: { // ProductionVariantRoutingConfig
|
|
69
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
70
|
+
* // },
|
|
63
71
|
* // },
|
|
64
72
|
* // ],
|
|
65
73
|
* // DataCaptureConfig: { // DataCaptureConfig
|
|
@@ -141,7 +149,7 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
141
149
|
* // ShadowProductionVariants: [
|
|
142
150
|
* // {
|
|
143
151
|
* // VariantName: "STRING_VALUE", // required
|
|
144
|
-
* // ModelName: "STRING_VALUE",
|
|
152
|
+
* // ModelName: "STRING_VALUE",
|
|
145
153
|
* // InitialInstanceCount: Number("int"),
|
|
146
154
|
* // 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" || "ml.p5.48xlarge",
|
|
147
155
|
* // InitialVariantWeight: Number("float"),
|
|
@@ -159,8 +167,26 @@ export interface DescribeEndpointConfigCommandOutput extends DescribeEndpointCon
|
|
|
159
167
|
* // ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
160
168
|
* // ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
161
169
|
* // EnableSSMAccess: true || false,
|
|
170
|
+
* // ManagedInstanceScaling: {
|
|
171
|
+
* // Status: "ENABLED" || "DISABLED",
|
|
172
|
+
* // MinInstanceCount: Number("int"),
|
|
173
|
+
* // MaxInstanceCount: Number("int"),
|
|
174
|
+
* // },
|
|
175
|
+
* // RoutingConfig: {
|
|
176
|
+
* // RoutingStrategy: "LEAST_OUTSTANDING_REQUESTS" || "RANDOM", // required
|
|
177
|
+
* // },
|
|
162
178
|
* // },
|
|
163
179
|
* // ],
|
|
180
|
+
* // ExecutionRoleArn: "STRING_VALUE",
|
|
181
|
+
* // VpcConfig: { // VpcConfig
|
|
182
|
+
* // SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
183
|
+
* // "STRING_VALUE",
|
|
184
|
+
* // ],
|
|
185
|
+
* // Subnets: [ // Subnets // required
|
|
186
|
+
* // "STRING_VALUE",
|
|
187
|
+
* // ],
|
|
188
|
+
* // },
|
|
189
|
+
* // EnableNetworkIsolation: true || false,
|
|
164
190
|
* // };
|
|
165
191
|
*
|
|
166
192
|
* ```
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
|
|
4
|
+
import { DescribeInferenceComponentInput, DescribeInferenceComponentOutput } from "../models/models_2";
|
|
5
|
+
import { SageMakerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../SageMakerClient";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { __MetadataBearer, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link DescribeInferenceComponentCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface DescribeInferenceComponentCommandInput extends DescribeInferenceComponentInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link DescribeInferenceComponentCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface DescribeInferenceComponentCommandOutput extends DescribeInferenceComponentOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
* <p>Returns information about an inference component.</p>
|
|
27
|
+
* @example
|
|
28
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
29
|
+
* ```javascript
|
|
30
|
+
* import { SageMakerClient, DescribeInferenceComponentCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
31
|
+
* // const { SageMakerClient, DescribeInferenceComponentCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
32
|
+
* const client = new SageMakerClient(config);
|
|
33
|
+
* const input = { // DescribeInferenceComponentInput
|
|
34
|
+
* InferenceComponentName: "STRING_VALUE", // required
|
|
35
|
+
* };
|
|
36
|
+
* const command = new DescribeInferenceComponentCommand(input);
|
|
37
|
+
* const response = await client.send(command);
|
|
38
|
+
* // { // DescribeInferenceComponentOutput
|
|
39
|
+
* // InferenceComponentName: "STRING_VALUE", // required
|
|
40
|
+
* // InferenceComponentArn: "STRING_VALUE", // required
|
|
41
|
+
* // EndpointName: "STRING_VALUE", // required
|
|
42
|
+
* // EndpointArn: "STRING_VALUE", // required
|
|
43
|
+
* // VariantName: "STRING_VALUE",
|
|
44
|
+
* // FailureReason: "STRING_VALUE",
|
|
45
|
+
* // Specification: { // InferenceComponentSpecificationSummary
|
|
46
|
+
* // ModelName: "STRING_VALUE",
|
|
47
|
+
* // Container: { // InferenceComponentContainerSpecificationSummary
|
|
48
|
+
* // DeployedImage: { // DeployedImage
|
|
49
|
+
* // SpecifiedImage: "STRING_VALUE",
|
|
50
|
+
* // ResolvedImage: "STRING_VALUE",
|
|
51
|
+
* // ResolutionTime: new Date("TIMESTAMP"),
|
|
52
|
+
* // },
|
|
53
|
+
* // ArtifactUrl: "STRING_VALUE",
|
|
54
|
+
* // Environment: { // EnvironmentMap
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // StartupParameters: { // InferenceComponentStartupParameters
|
|
59
|
+
* // ModelDataDownloadTimeoutInSeconds: Number("int"),
|
|
60
|
+
* // ContainerStartupHealthCheckTimeoutInSeconds: Number("int"),
|
|
61
|
+
* // },
|
|
62
|
+
* // ComputeResourceRequirements: { // InferenceComponentComputeResourceRequirements
|
|
63
|
+
* // NumberOfCpuCoresRequired: Number("float"),
|
|
64
|
+
* // NumberOfAcceleratorDevicesRequired: Number("float"),
|
|
65
|
+
* // MinMemoryRequiredInMb: Number("int"), // required
|
|
66
|
+
* // MaxMemoryRequiredInMb: Number("int"),
|
|
67
|
+
* // },
|
|
68
|
+
* // },
|
|
69
|
+
* // RuntimeConfig: { // InferenceComponentRuntimeConfigSummary
|
|
70
|
+
* // DesiredCopyCount: Number("int"),
|
|
71
|
+
* // CurrentCopyCount: Number("int"),
|
|
72
|
+
* // },
|
|
73
|
+
* // CreationTime: new Date("TIMESTAMP"), // required
|
|
74
|
+
* // LastModifiedTime: new Date("TIMESTAMP"), // required
|
|
75
|
+
* // InferenceComponentStatus: "InService" || "Creating" || "Updating" || "Failed" || "Deleting",
|
|
76
|
+
* // };
|
|
77
|
+
*
|
|
78
|
+
* ```
|
|
79
|
+
*
|
|
80
|
+
* @param DescribeInferenceComponentCommandInput - {@link DescribeInferenceComponentCommandInput}
|
|
81
|
+
* @returns {@link DescribeInferenceComponentCommandOutput}
|
|
82
|
+
* @see {@link DescribeInferenceComponentCommandInput} for command's `input` shape.
|
|
83
|
+
* @see {@link DescribeInferenceComponentCommandOutput} for command's `response` shape.
|
|
84
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link SageMakerServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
88
|
+
*
|
|
89
|
+
*/
|
|
90
|
+
export declare class DescribeInferenceComponentCommand extends $Command<DescribeInferenceComponentCommandInput, DescribeInferenceComponentCommandOutput, SageMakerClientResolvedConfig> {
|
|
91
|
+
readonly input: DescribeInferenceComponentCommandInput;
|
|
92
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
93
|
+
/**
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
constructor(input: DescribeInferenceComponentCommandInput);
|
|
97
|
+
/**
|
|
98
|
+
* @internal
|
|
99
|
+
*/
|
|
100
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: SageMakerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeInferenceComponentCommandInput, DescribeInferenceComponentCommandOutput>;
|
|
101
|
+
/**
|
|
102
|
+
* @internal
|
|
103
|
+
*/
|
|
104
|
+
private serialize;
|
|
105
|
+
/**
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
private deserialize;
|
|
109
|
+
}
|
|
@@ -103,7 +103,7 @@ export interface DescribeModelCommandOutput extends DescribeModelOutput, __Metad
|
|
|
103
103
|
* // InferenceExecutionConfig: { // InferenceExecutionConfig
|
|
104
104
|
* // Mode: "Serial" || "Direct", // required
|
|
105
105
|
* // },
|
|
106
|
-
* // ExecutionRoleArn: "STRING_VALUE",
|
|
106
|
+
* // ExecutionRoleArn: "STRING_VALUE",
|
|
107
107
|
* // VpcConfig: { // VpcConfig
|
|
108
108
|
* // SecurityGroupIds: [ // VpcSecurityGroupIds // required
|
|
109
109
|
* // "STRING_VALUE",
|