@aws-sdk/client-sagemaker 3.1173.0 → 3.1174.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 +63 -0
- package/dist-cjs/index.js +496 -133
- package/dist-es/SageMaker.js +22 -0
- package/dist-es/commands/AddInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/CreateGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/DeleteGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/DescribeGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/ListGlobalInferenceGatewaysCommand.js +4 -0
- package/dist-es/commands/ListInferenceGatewaysCommand.js +4 -0
- package/dist-es/commands/MoveClusterNodesCommand.js +4 -0
- package/dist-es/commands/RemoveInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/UpdateGlobalInferenceGatewayCommand.js +4 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/enums.js +28 -0
- package/dist-es/pagination/ListGlobalInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListInferenceGatewaysPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +375 -132
- package/dist-types/SageMaker.d.ts +78 -0
- package/dist-types/SageMakerClient.d.ts +11 -2
- package/dist-types/commands/AddInferenceGatewayCommand.d.ts +102 -0
- package/dist-types/commands/BatchAddClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalInferenceGatewayCommand.d.ts +123 -0
- package/dist-types/commands/DeleteGlobalInferenceGatewayCommand.d.ts +81 -0
- package/dist-types/commands/DescribeClusterNodeCommand.d.ts +1 -1
- package/dist-types/commands/DescribeClusterSchedulerConfigCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/commands/DescribeComputeQuotaCommand.d.ts +1 -2
- package/dist-types/commands/DescribeGlobalInferenceGatewayCommand.d.ts +90 -0
- package/dist-types/commands/ListAIBenchmarkJobsCommand.d.ts +1 -1
- package/dist-types/commands/ListAIRecommendationJobsCommand.d.ts +1 -2
- package/dist-types/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/commands/ListClusterNodesCommand.d.ts +1 -1
- package/dist-types/commands/ListGlobalInferenceGatewaysCommand.d.ts +87 -0
- package/dist-types/commands/ListInferenceGatewaysCommand.d.ts +94 -0
- package/dist-types/commands/MoveClusterNodesCommand.d.ts +104 -0
- package/dist-types/commands/RemoveInferenceGatewayCommand.d.ts +96 -0
- package/dist-types/commands/SearchCommand.d.ts +1 -2
- package/dist-types/commands/SearchTrainingPlanOfferingsCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/commands/StartClusterHealthCheckCommand.d.ts +1 -1
- package/dist-types/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/commands/UpdateGlobalInferenceGatewayCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/enums.d.ts +104 -0
- package/dist-types/models/models_0.d.ts +79 -49
- package/dist-types/models/models_1.d.ts +170 -124
- package/dist-types/models/models_2.d.ts +158 -275
- package/dist-types/models/models_3.d.ts +457 -522
- package/dist-types/models/models_4.d.ts +4133 -4126
- package/dist-types/models/models_5.d.ts +794 -6
- package/dist-types/pagination/ListGlobalInferenceGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInferenceGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +36 -0
- package/dist-types/ts3.4/SageMaker.d.ts +168 -0
- package/dist-types/ts3.4/SageMakerClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/AddInferenceGatewayCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DeleteGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/DescribeClusterSchedulerConfigCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCodeRepositoryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeCompilationJobCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DescribeComputeQuotaCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/DescribeGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListAIBenchmarkJobsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListAIRecommendationJobsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListActionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListGlobalInferenceGatewaysCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/ListInferenceGatewaysCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/MoveClusterNodesCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/RemoveInferenceGatewayCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/SearchCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/SearchTrainingPlanOfferingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepFailureCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendPipelineExecutionStepSuccessCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartClusterHealthCheckCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartEdgeDeploymentStageCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartInferenceExperimentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMlflowTrackingServerCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartMonitoringScheduleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartNotebookInstanceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/StartPipelineExecutionCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/UpdateGlobalInferenceGatewayCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +38 -0
- package/dist-types/ts3.4/models/models_0.d.ts +19 -13
- package/dist-types/ts3.4/models/models_1.d.ts +43 -32
- package/dist-types/ts3.4/models/models_2.d.ts +42 -77
- package/dist-types/ts3.4/models/models_3.d.ts +116 -128
- package/dist-types/ts3.4/models/models_4.d.ts +196 -196
- package/dist-types/ts3.4/models/models_5.d.ts +220 -3
- package/dist-types/ts3.4/pagination/ListGlobalInferenceGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInferenceGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { CreateGlobalInferenceGatewayRequest, CreateGlobalInferenceGatewayResponse } from "../models/models_1";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link CreateGlobalInferenceGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface CreateGlobalInferenceGatewayCommandInput extends CreateGlobalInferenceGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link CreateGlobalInferenceGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface CreateGlobalInferenceGatewayCommandOutput extends CreateGlobalInferenceGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const CreateGlobalInferenceGatewayCommand_base: {
|
|
22
|
+
new (input: CreateGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<CreateGlobalInferenceGatewayCommandInput, CreateGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: CreateGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<CreateGlobalInferenceGatewayCommandInput, CreateGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Creates a global inference gateway. This operation is asynchronous: the global inference gateway
|
|
28
|
+
* starts in the `CREATING` status. To check its status, call `DescribeGlobalInferenceGateway` until
|
|
29
|
+
* the status is `ACTIVE` or `FAILED`. The operation fails with `ResourceInUse` if the name is already
|
|
30
|
+
* in use, or if one of the in-cluster inference gateways in `Gateways` already belongs to another
|
|
31
|
+
* global inference gateway.
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { SageMakerClient, CreateGlobalInferenceGatewayCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
36
|
+
* // const { SageMakerClient, CreateGlobalInferenceGatewayCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
37
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
38
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
39
|
+
* const client = new SageMakerClient(config);
|
|
40
|
+
* const input = { // CreateGlobalInferenceGatewayRequest
|
|
41
|
+
* Name: "STRING_VALUE", // required
|
|
42
|
+
* Routing: { // GlobalInferenceGatewayRouting
|
|
43
|
+
* Weights: { // GlobalInferenceGatewayRoutingWeights
|
|
44
|
+
* KVHeadroom: Number("float"),
|
|
45
|
+
* QueueDepth: Number("float"),
|
|
46
|
+
* RegionProximity: Number("float"),
|
|
47
|
+
* ErrorRate: Number("float"),
|
|
48
|
+
* },
|
|
49
|
+
* },
|
|
50
|
+
* ExecutionRoleArn: "STRING_VALUE", // required
|
|
51
|
+
* Gateways: [ // GlobalInferenceGatewayMembers // required
|
|
52
|
+
* { // GlobalInferenceGatewayMember
|
|
53
|
+
* Name: "STRING_VALUE", // required
|
|
54
|
+
* Namespace: "STRING_VALUE", // required
|
|
55
|
+
* ClusterArn: "STRING_VALUE", // required
|
|
56
|
+
* },
|
|
57
|
+
* ],
|
|
58
|
+
* ClientToken: "STRING_VALUE",
|
|
59
|
+
* Tags: [ // TagList
|
|
60
|
+
* { // Tag
|
|
61
|
+
* Key: "STRING_VALUE", // required
|
|
62
|
+
* Value: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* ],
|
|
65
|
+
* };
|
|
66
|
+
* const command = new CreateGlobalInferenceGatewayCommand(input);
|
|
67
|
+
* const response = await client.send(command);
|
|
68
|
+
* // { // CreateGlobalInferenceGatewayResponse
|
|
69
|
+
* // Arn: "STRING_VALUE", // required
|
|
70
|
+
* // Id: "STRING_VALUE", // required
|
|
71
|
+
* // Name: "STRING_VALUE", // required
|
|
72
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
|
|
73
|
+
* // ExecutionRoleArn: "STRING_VALUE",
|
|
74
|
+
* // Routing: { // GlobalInferenceGatewayRouting
|
|
75
|
+
* // Weights: { // GlobalInferenceGatewayRoutingWeights
|
|
76
|
+
* // KVHeadroom: Number("float"),
|
|
77
|
+
* // QueueDepth: Number("float"),
|
|
78
|
+
* // RegionProximity: Number("float"),
|
|
79
|
+
* // ErrorRate: Number("float"),
|
|
80
|
+
* // },
|
|
81
|
+
* // },
|
|
82
|
+
* // Gateways: [ // GlobalInferenceGatewayMembers
|
|
83
|
+
* // { // GlobalInferenceGatewayMember
|
|
84
|
+
* // Name: "STRING_VALUE", // required
|
|
85
|
+
* // Namespace: "STRING_VALUE", // required
|
|
86
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
87
|
+
* // },
|
|
88
|
+
* // ],
|
|
89
|
+
* // };
|
|
90
|
+
*
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
93
|
+
* @param CreateGlobalInferenceGatewayCommandInput - {@link CreateGlobalInferenceGatewayCommandInput}
|
|
94
|
+
* @returns {@link CreateGlobalInferenceGatewayCommandOutput}
|
|
95
|
+
* @see {@link CreateGlobalInferenceGatewayCommandInput} for command's `input` shape.
|
|
96
|
+
* @see {@link CreateGlobalInferenceGatewayCommandOutput} for command's `response` shape.
|
|
97
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ResourceInUse} (client fault)
|
|
100
|
+
* <p>Resource being accessed is in use.</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link ResourceLimitExceeded} (client fault)
|
|
103
|
+
* <p> You have exceeded an SageMaker resource limit. For example, you might have too many training jobs created. </p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link SageMakerServiceException}
|
|
106
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
107
|
+
*
|
|
108
|
+
*
|
|
109
|
+
* @public
|
|
110
|
+
*/
|
|
111
|
+
export declare class CreateGlobalInferenceGatewayCommand extends CreateGlobalInferenceGatewayCommand_base {
|
|
112
|
+
/** @internal type navigation helper, not in runtime. */
|
|
113
|
+
protected static __types: {
|
|
114
|
+
api: {
|
|
115
|
+
input: CreateGlobalInferenceGatewayRequest;
|
|
116
|
+
output: CreateGlobalInferenceGatewayResponse;
|
|
117
|
+
};
|
|
118
|
+
sdk: {
|
|
119
|
+
input: CreateGlobalInferenceGatewayCommandInput;
|
|
120
|
+
output: CreateGlobalInferenceGatewayCommandOutput;
|
|
121
|
+
};
|
|
122
|
+
};
|
|
123
|
+
}
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DeleteGlobalInferenceGatewayRequest, DeleteGlobalInferenceGatewayResponse } from "../models/models_2";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DeleteGlobalInferenceGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DeleteGlobalInferenceGatewayCommandInput extends DeleteGlobalInferenceGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DeleteGlobalInferenceGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DeleteGlobalInferenceGatewayCommandOutput extends DeleteGlobalInferenceGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DeleteGlobalInferenceGatewayCommand_base: {
|
|
22
|
+
new (input: DeleteGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<DeleteGlobalInferenceGatewayCommandInput, DeleteGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DeleteGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<DeleteGlobalInferenceGatewayCommandInput, DeleteGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Delete a global inference gateway and its member inference gateways, which are then free to join
|
|
28
|
+
* another global inference gateway. Asynchronous: the global inference gateway is DELETING while its
|
|
29
|
+
* managed endpoint resources are torn down; poll DescribeGlobalInferenceGateway until it returns
|
|
30
|
+
* ResourceNotFound. Does not touch the customer's clusters. Idempotent: a Delete whose Identifier
|
|
31
|
+
* matches no global inference gateway succeeds and echoes what the Identifier says (Arn and Id for an
|
|
32
|
+
* ARN or Id, Name for a name).
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { SageMakerClient, DeleteGlobalInferenceGatewayCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
37
|
+
* // const { SageMakerClient, DeleteGlobalInferenceGatewayCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
38
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
39
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
40
|
+
* const client = new SageMakerClient(config);
|
|
41
|
+
* const input = { // DeleteGlobalInferenceGatewayRequest
|
|
42
|
+
* Identifier: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new DeleteGlobalInferenceGatewayCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // DeleteGlobalInferenceGatewayResponse
|
|
47
|
+
* // Arn: "STRING_VALUE",
|
|
48
|
+
* // Id: "STRING_VALUE",
|
|
49
|
+
* // Name: "STRING_VALUE",
|
|
50
|
+
* // };
|
|
51
|
+
*
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* @param DeleteGlobalInferenceGatewayCommandInput - {@link DeleteGlobalInferenceGatewayCommandInput}
|
|
55
|
+
* @returns {@link DeleteGlobalInferenceGatewayCommandOutput}
|
|
56
|
+
* @see {@link DeleteGlobalInferenceGatewayCommandInput} for command's `input` shape.
|
|
57
|
+
* @see {@link DeleteGlobalInferenceGatewayCommandOutput} for command's `response` shape.
|
|
58
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
59
|
+
*
|
|
60
|
+
* @throws {@link ConflictException} (client fault)
|
|
61
|
+
* <p>There was a conflict when you attempted to modify a SageMaker entity such as an <code>Experiment</code> or <code>Artifact</code>.</p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link SageMakerServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
65
|
+
*
|
|
66
|
+
*
|
|
67
|
+
* @public
|
|
68
|
+
*/
|
|
69
|
+
export declare class DeleteGlobalInferenceGatewayCommand extends DeleteGlobalInferenceGatewayCommand_base {
|
|
70
|
+
/** @internal type navigation helper, not in runtime. */
|
|
71
|
+
protected static __types: {
|
|
72
|
+
api: {
|
|
73
|
+
input: DeleteGlobalInferenceGatewayRequest;
|
|
74
|
+
output: DeleteGlobalInferenceGatewayResponse;
|
|
75
|
+
};
|
|
76
|
+
sdk: {
|
|
77
|
+
input: DeleteGlobalInferenceGatewayCommandInput;
|
|
78
|
+
output: DeleteGlobalInferenceGatewayCommandOutput;
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
}
|
|
@@ -46,7 +46,7 @@ declare const DescribeClusterNodeCommand_base: {
|
|
|
46
46
|
* // InstanceId: "STRING_VALUE",
|
|
47
47
|
* // NodeLogicalId: "STRING_VALUE",
|
|
48
48
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
49
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound", // required
|
|
49
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound" || "DetachInProgress" || "AttachInProgress", // required
|
|
50
50
|
* // Message: "STRING_VALUE",
|
|
51
51
|
* // },
|
|
52
52
|
* // InstanceType: "ml.p4d.24xlarge" || "ml.p4de.24xlarge" || "ml.p5.48xlarge" || "ml.p5.4xlarge" || "ml.p6e-gb200.36xlarge" || "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" || "ml.g6.xlarge" || "ml.g6.2xlarge" || "ml.g6.4xlarge" || "ml.g6.8xlarge" || "ml.g6.16xlarge" || "ml.g6.12xlarge" || "ml.g6.24xlarge" || "ml.g6.48xlarge" || "ml.gr6.4xlarge" || "ml.gr6.8xlarge" || "ml.g6e.xlarge" || "ml.g6e.2xlarge" || "ml.g6e.4xlarge" || "ml.g6e.8xlarge" || "ml.g6e.16xlarge" || "ml.g6e.12xlarge" || "ml.g6e.24xlarge" || "ml.g6e.48xlarge" || "ml.p5e.48xlarge" || "ml.p5en.48xlarge" || "ml.p6-b200.48xlarge" || "ml.trn2.3xlarge" || "ml.trn2.48xlarge" || "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.m6i.large" || "ml.m6i.xlarge" || "ml.m6i.2xlarge" || "ml.m6i.4xlarge" || "ml.m6i.8xlarge" || "ml.m6i.12xlarge" || "ml.m6i.16xlarge" || "ml.m6i.24xlarge" || "ml.m6i.32xlarge" || "ml.r6i.large" || "ml.r6i.xlarge" || "ml.r6i.2xlarge" || "ml.r6i.4xlarge" || "ml.r6i.8xlarge" || "ml.r6i.12xlarge" || "ml.r6i.16xlarge" || "ml.r6i.24xlarge" || "ml.r6i.32xlarge" || "ml.i3en.large" || "ml.i3en.xlarge" || "ml.i3en.2xlarge" || "ml.i3en.3xlarge" || "ml.i3en.6xlarge" || "ml.i3en.12xlarge" || "ml.i3en.24xlarge" || "ml.m7i.large" || "ml.m7i.xlarge" || "ml.m7i.2xlarge" || "ml.m7i.4xlarge" || "ml.m7i.8xlarge" || "ml.m7i.12xlarge" || "ml.m7i.16xlarge" || "ml.m7i.24xlarge" || "ml.m7i.48xlarge" || "ml.r7i.large" || "ml.r7i.xlarge" || "ml.r7i.2xlarge" || "ml.r7i.4xlarge" || "ml.r7i.8xlarge" || "ml.r7i.12xlarge" || "ml.r7i.16xlarge" || "ml.r7i.24xlarge" || "ml.r7i.48xlarge" || "ml.r5d.16xlarge" || "ml.g7e.2xlarge" || "ml.g7e.4xlarge" || "ml.g7e.8xlarge" || "ml.g7e.12xlarge" || "ml.g7e.24xlarge" || "ml.g7e.48xlarge" || "ml.p6-b300.48xlarge" || "ml.g4dn.xlarge" || "ml.g4dn.2xlarge" || "ml.g4dn.4xlarge" || "ml.g4dn.8xlarge" || "ml.g4dn.12xlarge" || "ml.g4dn.16xlarge" || "ml.c6g.medium" || "ml.c6g.large" || "ml.c6g.xlarge" || "ml.c6g.2xlarge" || "ml.c6g.4xlarge" || "ml.c6g.8xlarge" || "ml.c6g.12xlarge" || "ml.c6g.16xlarge" || "ml.c7g.medium" || "ml.c7g.large" || "ml.c7g.xlarge" || "ml.c7g.2xlarge" || "ml.c7g.4xlarge" || "ml.c7g.8xlarge" || "ml.c7g.12xlarge" || "ml.c7g.16xlarge" || "ml.c8g.medium" || "ml.c8g.large" || "ml.c8g.xlarge" || "ml.c8g.2xlarge" || "ml.c8g.4xlarge" || "ml.c8g.8xlarge" || "ml.c8g.12xlarge" || "ml.c8g.16xlarge" || "ml.c8g.24xlarge" || "ml.c8g.48xlarge" || "ml.c6a.large" || "ml.c6a.xlarge" || "ml.c6a.2xlarge" || "ml.c6a.4xlarge" || "ml.c6a.8xlarge" || "ml.c6a.12xlarge" || "ml.c6a.16xlarge" || "ml.c6a.24xlarge" || "ml.c6a.32xlarge" || "ml.c6a.48xlarge" || "ml.m6a.large" || "ml.m6a.xlarge" || "ml.m6a.2xlarge" || "ml.m6a.4xlarge" || "ml.m6a.8xlarge" || "ml.m6a.12xlarge" || "ml.m6a.16xlarge" || "ml.m6a.24xlarge" || "ml.m6a.32xlarge" || "ml.m6a.48xlarge" || "ml.m6g.medium" || "ml.m6g.large" || "ml.m6g.xlarge" || "ml.m6g.2xlarge" || "ml.m6g.4xlarge" || "ml.m6g.8xlarge" || "ml.m6g.12xlarge" || "ml.m6g.16xlarge" || "ml.m7g.medium" || "ml.m7g.large" || "ml.m7g.xlarge" || "ml.m7g.2xlarge" || "ml.m7g.4xlarge" || "ml.m7g.8xlarge" || "ml.m7g.12xlarge" || "ml.m7g.16xlarge" || "ml.m8g.medium" || "ml.m8g.large" || "ml.m8g.xlarge" || "ml.m8g.2xlarge" || "ml.m8g.4xlarge" || "ml.m8g.8xlarge" || "ml.m8g.12xlarge" || "ml.m8g.16xlarge" || "ml.m8g.24xlarge" || "ml.m8g.48xlarge" || "ml.g7.2xlarge" || "ml.g7.4xlarge" || "ml.g7.8xlarge" || "ml.g7.12xlarge" || "ml.g7.24xlarge" || "ml.g7.48xlarge" || "ml.c8a.16xlarge" || "ml.m8a.16xlarge",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeClusterSchedulerConfigRequest, DescribeClusterSchedulerConfigResponse } from "../models/
|
|
2
|
+
import type { DescribeClusterSchedulerConfigRequest, DescribeClusterSchedulerConfigResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/
|
|
2
|
+
import type { DescribeCodeRepositoryInput, DescribeCodeRepositoryOutput } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeCompilationJobRequest, DescribeCompilationJobResponse } from "../models/
|
|
2
|
+
import type { DescribeCompilationJobRequest, DescribeCompilationJobResponse } from "../models/models_3";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { DescribeComputeQuotaRequest } from "../models/
|
|
3
|
-
import type { DescribeComputeQuotaResponse } from "../models/models_3";
|
|
2
|
+
import type { DescribeComputeQuotaRequest, DescribeComputeQuotaResponse } from "../models/models_3";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { DescribeGlobalInferenceGatewayRequest, DescribeGlobalInferenceGatewayResponse } from "../models/models_3";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link DescribeGlobalInferenceGatewayCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface DescribeGlobalInferenceGatewayCommandInput extends DescribeGlobalInferenceGatewayRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link DescribeGlobalInferenceGatewayCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface DescribeGlobalInferenceGatewayCommandOutput extends DescribeGlobalInferenceGatewayResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const DescribeGlobalInferenceGatewayCommand_base: {
|
|
22
|
+
new (input: DescribeGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<DescribeGlobalInferenceGatewayCommandInput, DescribeGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: DescribeGlobalInferenceGatewayCommandInput): import("@smithy/core/client").CommandImpl<DescribeGlobalInferenceGatewayCommandInput, DescribeGlobalInferenceGatewayCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Retrieves information about a global inference gateway, including its status, endpoints, and routing configuration. To list the in-cluster inference gateways of the global inference gateway, use <code>ListInferenceGateways</code>. To read the tags of the global inference gateway, use <code>ListTags</code>.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, DescribeGlobalInferenceGatewayCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, DescribeGlobalInferenceGatewayCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // DescribeGlobalInferenceGatewayRequest
|
|
37
|
+
* Identifier: "STRING_VALUE", // required
|
|
38
|
+
* };
|
|
39
|
+
* const command = new DescribeGlobalInferenceGatewayCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* // { // DescribeGlobalInferenceGatewayResponse
|
|
42
|
+
* // Arn: "STRING_VALUE", // required
|
|
43
|
+
* // Id: "STRING_VALUE", // required
|
|
44
|
+
* // Name: "STRING_VALUE", // required
|
|
45
|
+
* // ExecutionRoleArn: "STRING_VALUE", // required
|
|
46
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
|
|
47
|
+
* // EndpointUrl: "STRING_VALUE",
|
|
48
|
+
* // VpcEndpointServiceName: "STRING_VALUE",
|
|
49
|
+
* // Routing: { // GlobalInferenceGatewayRouting
|
|
50
|
+
* // Weights: { // GlobalInferenceGatewayRoutingWeights
|
|
51
|
+
* // KVHeadroom: Number("float"),
|
|
52
|
+
* // QueueDepth: Number("float"),
|
|
53
|
+
* // RegionProximity: Number("float"),
|
|
54
|
+
* // ErrorRate: Number("float"),
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
57
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
58
|
+
* // FailureReason: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param DescribeGlobalInferenceGatewayCommandInput - {@link DescribeGlobalInferenceGatewayCommandInput}
|
|
64
|
+
* @returns {@link DescribeGlobalInferenceGatewayCommandOutput}
|
|
65
|
+
* @see {@link DescribeGlobalInferenceGatewayCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link DescribeGlobalInferenceGatewayCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
70
|
+
* <p>Resource being access is not found.</p>
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link SageMakerServiceException}
|
|
73
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
74
|
+
*
|
|
75
|
+
*
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
export declare class DescribeGlobalInferenceGatewayCommand extends DescribeGlobalInferenceGatewayCommand_base {
|
|
79
|
+
/** @internal type navigation helper, not in runtime. */
|
|
80
|
+
protected static __types: {
|
|
81
|
+
api: {
|
|
82
|
+
input: DescribeGlobalInferenceGatewayRequest;
|
|
83
|
+
output: DescribeGlobalInferenceGatewayResponse;
|
|
84
|
+
};
|
|
85
|
+
sdk: {
|
|
86
|
+
input: DescribeGlobalInferenceGatewayCommandInput;
|
|
87
|
+
output: DescribeGlobalInferenceGatewayCommandOutput;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAIBenchmarkJobsRequest, ListAIBenchmarkJobsResponse } from "../models/
|
|
2
|
+
import type { ListAIBenchmarkJobsRequest, ListAIBenchmarkJobsResponse } from "../models/models_4";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
-
import type { ListAIRecommendationJobsRequest } from "../models/
|
|
3
|
-
import type { ListAIRecommendationJobsResponse } from "../models/models_4";
|
|
2
|
+
import type { ListAIRecommendationJobsRequest, ListAIRecommendationJobsResponse } from "../models/models_4";
|
|
4
3
|
/**
|
|
5
4
|
* @public
|
|
6
5
|
*/
|
|
@@ -57,7 +57,7 @@ declare const ListClusterNodesCommand_base: {
|
|
|
57
57
|
* // LaunchTime: new Date("TIMESTAMP"), // required
|
|
58
58
|
* // LastSoftwareUpdateTime: new Date("TIMESTAMP"),
|
|
59
59
|
* // InstanceStatus: { // ClusterInstanceStatusDetails
|
|
60
|
-
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound", // required
|
|
60
|
+
* // Status: "Running" || "Failure" || "Pending" || "ShuttingDown" || "SystemUpdating" || "DeepHealthCheckInProgress" || "NotFound" || "DetachInProgress" || "AttachInProgress", // required
|
|
61
61
|
* // Message: "STRING_VALUE",
|
|
62
62
|
* // },
|
|
63
63
|
* // UltraServerInfo: { // UltraServerInfo
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListGlobalInferenceGatewaysRequest, ListGlobalInferenceGatewaysResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListGlobalInferenceGatewaysCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListGlobalInferenceGatewaysCommandInput extends ListGlobalInferenceGatewaysRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListGlobalInferenceGatewaysCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListGlobalInferenceGatewaysCommandOutput extends ListGlobalInferenceGatewaysResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListGlobalInferenceGatewaysCommand_base: {
|
|
22
|
+
new (input: ListGlobalInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListGlobalInferenceGatewaysCommandInput, ListGlobalInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (...[input]: [] | [ListGlobalInferenceGatewaysCommandInput]): import("@smithy/core/client").CommandImpl<ListGlobalInferenceGatewaysCommandInput, ListGlobalInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* <p>Lists summaries of the global inference gateways in your account. You can filter the results by status.</p>
|
|
28
|
+
* @example
|
|
29
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
30
|
+
* ```javascript
|
|
31
|
+
* import { SageMakerClient, ListGlobalInferenceGatewaysCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
32
|
+
* // const { SageMakerClient, ListGlobalInferenceGatewaysCommand } = require("@aws-sdk/client-sagemaker"); // CommonJS import
|
|
33
|
+
* // import type { SageMakerClientConfig } from "@aws-sdk/client-sagemaker";
|
|
34
|
+
* const config = {}; // type is SageMakerClientConfig
|
|
35
|
+
* const client = new SageMakerClient(config);
|
|
36
|
+
* const input = { // ListGlobalInferenceGatewaysRequest
|
|
37
|
+
* Filters: [ // GlobalInferenceGatewayFilters
|
|
38
|
+
* { // GlobalInferenceGatewayFilter
|
|
39
|
+
* Name: "Status", // required
|
|
40
|
+
* Value: "STRING_VALUE", // required
|
|
41
|
+
* },
|
|
42
|
+
* ],
|
|
43
|
+
* NextToken: "STRING_VALUE",
|
|
44
|
+
* MaxResults: Number("int"),
|
|
45
|
+
* };
|
|
46
|
+
* const command = new ListGlobalInferenceGatewaysCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // { // ListGlobalInferenceGatewaysResponse
|
|
49
|
+
* // GlobalInferenceGatewaySummaries: [ // GlobalInferenceGatewaySummaries // required
|
|
50
|
+
* // { // GlobalInferenceGatewaySummary
|
|
51
|
+
* // Arn: "STRING_VALUE", // required
|
|
52
|
+
* // Id: "STRING_VALUE", // required
|
|
53
|
+
* // Name: "STRING_VALUE", // required
|
|
54
|
+
* // Status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "FAILED", // required
|
|
55
|
+
* // CreationTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // NextToken: "STRING_VALUE",
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param ListGlobalInferenceGatewaysCommandInput - {@link ListGlobalInferenceGatewaysCommandInput}
|
|
64
|
+
* @returns {@link ListGlobalInferenceGatewaysCommandOutput}
|
|
65
|
+
* @see {@link ListGlobalInferenceGatewaysCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link ListGlobalInferenceGatewaysCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link SageMakerServiceException}
|
|
70
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
71
|
+
*
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class ListGlobalInferenceGatewaysCommand extends ListGlobalInferenceGatewaysCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: ListGlobalInferenceGatewaysRequest;
|
|
80
|
+
output: ListGlobalInferenceGatewaysResponse;
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: ListGlobalInferenceGatewaysCommandInput;
|
|
84
|
+
output: ListGlobalInferenceGatewaysCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
2
|
+
import type { ListInferenceGatewaysRequest, ListInferenceGatewaysResponse } from "../models/models_4";
|
|
3
|
+
/**
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export type { __MetadataBearer };
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*
|
|
10
|
+
* The input for {@link ListInferenceGatewaysCommand}.
|
|
11
|
+
*/
|
|
12
|
+
export interface ListInferenceGatewaysCommandInput extends ListInferenceGatewaysRequest {
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @public
|
|
16
|
+
*
|
|
17
|
+
* The output of {@link ListInferenceGatewaysCommand}.
|
|
18
|
+
*/
|
|
19
|
+
export interface ListInferenceGatewaysCommandOutput extends ListInferenceGatewaysResponse, __MetadataBearer {
|
|
20
|
+
}
|
|
21
|
+
declare const ListInferenceGatewaysCommand_base: {
|
|
22
|
+
new (input: ListInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListInferenceGatewaysCommandInput, ListInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
23
|
+
new (input: ListInferenceGatewaysCommandInput): import("@smithy/core/client").CommandImpl<ListInferenceGatewaysCommandInput, ListInferenceGatewaysCommandOutput, import("..").SageMakerClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
|
|
24
|
+
getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Lists the in-cluster inference gateways in a global inference gateway, in the order that they were
|
|
28
|
+
* added. Each summary includes the status of the in-cluster inference gateway and, if the status is
|
|
29
|
+
* `FAILED`, the reason for the failure. `DescribeGlobalInferenceGateway` doesn't return the in-cluster
|
|
30
|
+
* inference gateways; use this operation to list them.
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { SageMakerClient, ListInferenceGatewaysCommand } from "@aws-sdk/client-sagemaker"; // ES Modules import
|
|
35
|
+
* // const { SageMakerClient, ListInferenceGatewaysCommand } = 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 = { // ListInferenceGatewaysRequest
|
|
40
|
+
* Identifier: "STRING_VALUE", // required
|
|
41
|
+
* Filters: [ // GlobalInferenceGatewayMemberFilters
|
|
42
|
+
* { // GlobalInferenceGatewayMemberFilter
|
|
43
|
+
* Name: "Status" || "ClusterArn", // required
|
|
44
|
+
* Value: "STRING_VALUE", // required
|
|
45
|
+
* },
|
|
46
|
+
* ],
|
|
47
|
+
* NextToken: "STRING_VALUE",
|
|
48
|
+
* MaxResults: Number("int"),
|
|
49
|
+
* };
|
|
50
|
+
* const command = new ListInferenceGatewaysCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // ListInferenceGatewaysResponse
|
|
53
|
+
* // InferenceGatewaySummaries: [ // GlobalInferenceGatewayMemberSummaries // required
|
|
54
|
+
* // { // GlobalInferenceGatewayMemberSummary
|
|
55
|
+
* // Name: "STRING_VALUE", // required
|
|
56
|
+
* // Namespace: "STRING_VALUE", // required
|
|
57
|
+
* // ClusterArn: "STRING_VALUE", // required
|
|
58
|
+
* // Status: "ADDING" || "ACTIVE" || "REMOVING" || "FAILED",
|
|
59
|
+
* // FailureReason: "STRING_VALUE",
|
|
60
|
+
* // },
|
|
61
|
+
* // ],
|
|
62
|
+
* // NextToken: "STRING_VALUE",
|
|
63
|
+
* // };
|
|
64
|
+
*
|
|
65
|
+
* ```
|
|
66
|
+
*
|
|
67
|
+
* @param ListInferenceGatewaysCommandInput - {@link ListInferenceGatewaysCommandInput}
|
|
68
|
+
* @returns {@link ListInferenceGatewaysCommandOutput}
|
|
69
|
+
* @see {@link ListInferenceGatewaysCommandInput} for command's `input` shape.
|
|
70
|
+
* @see {@link ListInferenceGatewaysCommandOutput} for command's `response` shape.
|
|
71
|
+
* @see {@link SageMakerClientResolvedConfig | config} for SageMakerClient's `config` shape.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ResourceNotFound} (client fault)
|
|
74
|
+
* <p>Resource being access is not found.</p>
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link SageMakerServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from SageMaker service.</p>
|
|
78
|
+
*
|
|
79
|
+
*
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
export declare class ListInferenceGatewaysCommand extends ListInferenceGatewaysCommand_base {
|
|
83
|
+
/** @internal type navigation helper, not in runtime. */
|
|
84
|
+
protected static __types: {
|
|
85
|
+
api: {
|
|
86
|
+
input: ListInferenceGatewaysRequest;
|
|
87
|
+
output: ListInferenceGatewaysResponse;
|
|
88
|
+
};
|
|
89
|
+
sdk: {
|
|
90
|
+
input: ListInferenceGatewaysCommandInput;
|
|
91
|
+
output: ListInferenceGatewaysCommandOutput;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
}
|