@aws-sdk/client-pcs 3.641.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/LICENSE +201 -0
- package/README.md +366 -0
- package/dist-cjs/PCS.js +47 -0
- package/dist-cjs/PCSClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateClusterCommand.js +28 -0
- package/dist-cjs/commands/CreateComputeNodeGroupCommand.js +28 -0
- package/dist-cjs/commands/CreateQueueCommand.js +28 -0
- package/dist-cjs/commands/DeleteClusterCommand.js +28 -0
- package/dist-cjs/commands/DeleteComputeNodeGroupCommand.js +28 -0
- package/dist-cjs/commands/DeleteQueueCommand.js +28 -0
- package/dist-cjs/commands/GetClusterCommand.js +28 -0
- package/dist-cjs/commands/GetComputeNodeGroupCommand.js +28 -0
- package/dist-cjs/commands/GetQueueCommand.js +28 -0
- package/dist-cjs/commands/ListClustersCommand.js +28 -0
- package/dist-cjs/commands/ListComputeNodeGroupsCommand.js +28 -0
- package/dist-cjs/commands/ListQueuesCommand.js +28 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
- package/dist-cjs/commands/RegisterComputeNodeGroupInstanceCommand.js +29 -0
- package/dist-cjs/commands/TagResourceCommand.js +28 -0
- package/dist-cjs/commands/UntagResourceCommand.js +28 -0
- package/dist-cjs/commands/UpdateComputeNodeGroupCommand.js +28 -0
- package/dist-cjs/commands/UpdateQueueCommand.js +28 -0
- package/dist-cjs/commands/index.js +21 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +14 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/PCSServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +169 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
- package/dist-cjs/pagination/ListComputeNodeGroupsPaginator.js +7 -0
- package/dist-cjs/pagination/ListQueuesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +7 -0
- package/dist-cjs/protocols/Aws_json1_0.js +757 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +49 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/PCS.js +43 -0
- package/dist-es/PCSClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateClusterCommand.js +24 -0
- package/dist-es/commands/CreateComputeNodeGroupCommand.js +24 -0
- package/dist-es/commands/CreateQueueCommand.js +24 -0
- package/dist-es/commands/DeleteClusterCommand.js +24 -0
- package/dist-es/commands/DeleteComputeNodeGroupCommand.js +24 -0
- package/dist-es/commands/DeleteQueueCommand.js +24 -0
- package/dist-es/commands/GetClusterCommand.js +24 -0
- package/dist-es/commands/GetComputeNodeGroupCommand.js +24 -0
- package/dist-es/commands/GetQueueCommand.js +24 -0
- package/dist-es/commands/ListClustersCommand.js +24 -0
- package/dist-es/commands/ListComputeNodeGroupsCommand.js +24 -0
- package/dist-es/commands/ListQueuesCommand.js +24 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
- package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +25 -0
- package/dist-es/commands/TagResourceCommand.js +24 -0
- package/dist-es/commands/UntagResourceCommand.js +24 -0
- package/dist-es/commands/UpdateComputeNodeGroupCommand.js +24 -0
- package/dist-es/commands/UpdateQueueCommand.js +24 -0
- package/dist-es/commands/index.js +18 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +10 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/PCSServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +158 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListClustersPaginator.js +4 -0
- package/dist-es/pagination/ListComputeNodeGroupsPaginator.js +4 -0
- package/dist-es/pagination/ListQueuesPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/protocols/Aws_json1_0.js +718 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +44 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/PCS.d.ts +154 -0
- package/dist-types/PCSClient.d.ts +204 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateClusterCommand.d.ts +237 -0
- package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +247 -0
- package/dist-types/commands/CreateQueueCommand.d.ts +190 -0
- package/dist-types/commands/DeleteClusterCommand.d.ts +137 -0
- package/dist-types/commands/DeleteComputeNodeGroupCommand.d.ts +138 -0
- package/dist-types/commands/DeleteQueueCommand.d.ts +139 -0
- package/dist-types/commands/GetClusterCommand.d.ts +186 -0
- package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +184 -0
- package/dist-types/commands/GetQueueCommand.d.ts +158 -0
- package/dist-types/commands/ListClustersCommand.d.ts +148 -0
- package/dist-types/commands/ListComputeNodeGroupsCommand.d.ts +150 -0
- package/dist-types/commands/ListQueuesCommand.d.ts +150 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +69 -0
- package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +97 -0
- package/dist-types/commands/TagResourceCommand.d.ts +71 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
- package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +233 -0
- package/dist-types/commands/UpdateQueueCommand.d.ts +187 -0
- package/dist-types/commands/index.d.ts +18 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +31 -0
- package/dist-types/models/PCSServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1871 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListComputeNodeGroupsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListQueuesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/protocols/Aws_json1_0.d.ts +164 -0
- package/dist-types/runtimeConfig.browser.d.ts +45 -0
- package/dist-types/runtimeConfig.d.ts +45 -0
- package/dist-types/runtimeConfig.native.d.ts +44 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/PCS.d.ts +312 -0
- package/dist-types/ts3.4/PCSClient.d.ts +223 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
- package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/CreateComputeNodeGroupCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/DeleteComputeNodeGroupCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/GetComputeNodeGroupCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/GetQueueCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListComputeNodeGroupsCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
- package/dist-types/ts3.4/commands/UpdateComputeNodeGroupCommand.d.ts +40 -0
- package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +36 -0
- package/dist-types/ts3.4/commands/index.d.ts +18 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/PCSServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +431 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
- package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListComputeNodeGroupsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +221 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/package.json +103 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetComputeNodeGroupRequest, GetComputeNodeGroupResponse } from "../models/models_0";
|
|
4
|
+
import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetComputeNodeGroupCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetComputeNodeGroupCommandInput extends GetComputeNodeGroupRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetComputeNodeGroupCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetComputeNodeGroupCommandOutput extends GetComputeNodeGroupResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetComputeNodeGroupCommand_base: {
|
|
25
|
+
new (input: GetComputeNodeGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetComputeNodeGroupCommandInput, GetComputeNodeGroupCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetComputeNodeGroupCommandInput): import("@smithy/smithy-client").CommandImpl<GetComputeNodeGroupCommandInput, GetComputeNodeGroupCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns detailed information about a compute node group. This API action provides
|
|
31
|
+
* networking information, EC2 instance type, compute node group status, and scheduler (such
|
|
32
|
+
* as Slurm) configuration.</p>
|
|
33
|
+
* @example
|
|
34
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
35
|
+
* ```javascript
|
|
36
|
+
* import { PCSClient, GetComputeNodeGroupCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
37
|
+
* // const { PCSClient, GetComputeNodeGroupCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
38
|
+
* const client = new PCSClient(config);
|
|
39
|
+
* const input = { // GetComputeNodeGroupRequest
|
|
40
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* computeNodeGroupIdentifier: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetComputeNodeGroupCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetComputeNodeGroupResponse
|
|
46
|
+
* // computeNodeGroup: { // ComputeNodeGroup
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // clusterId: "STRING_VALUE", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED" || "DELETED", // required
|
|
54
|
+
* // amiId: "STRING_VALUE",
|
|
55
|
+
* // subnetIds: [ // SubnetIdList // required
|
|
56
|
+
* // "STRING_VALUE",
|
|
57
|
+
* // ],
|
|
58
|
+
* // purchaseOption: "ONDEMAND" || "SPOT",
|
|
59
|
+
* // customLaunchTemplate: { // CustomLaunchTemplate
|
|
60
|
+
* // id: "STRING_VALUE", // required
|
|
61
|
+
* // version: "STRING_VALUE", // required
|
|
62
|
+
* // },
|
|
63
|
+
* // iamInstanceProfileArn: "STRING_VALUE", // required
|
|
64
|
+
* // scalingConfiguration: { // ScalingConfiguration
|
|
65
|
+
* // minInstanceCount: Number("int"), // required
|
|
66
|
+
* // maxInstanceCount: Number("int"), // required
|
|
67
|
+
* // },
|
|
68
|
+
* // instanceConfigs: [ // InstanceList // required
|
|
69
|
+
* // { // InstanceConfig
|
|
70
|
+
* // instanceType: "STRING_VALUE",
|
|
71
|
+
* // },
|
|
72
|
+
* // ],
|
|
73
|
+
* // spotOptions: { // SpotOptions
|
|
74
|
+
* // allocationStrategy: "lowest-price" || "capacity-optimized" || "price-capacity-optimized",
|
|
75
|
+
* // },
|
|
76
|
+
* // slurmConfiguration: { // ComputeNodeGroupSlurmConfiguration
|
|
77
|
+
* // slurmCustomSettings: [ // SlurmCustomSettings
|
|
78
|
+
* // { // SlurmCustomSetting
|
|
79
|
+
* // parameterName: "STRING_VALUE", // required
|
|
80
|
+
* // parameterValue: "STRING_VALUE", // required
|
|
81
|
+
* // },
|
|
82
|
+
* // ],
|
|
83
|
+
* // },
|
|
84
|
+
* // errorInfo: [ // ErrorInfoList
|
|
85
|
+
* // { // ErrorInfo
|
|
86
|
+
* // code: "STRING_VALUE",
|
|
87
|
+
* // message: "STRING_VALUE",
|
|
88
|
+
* // },
|
|
89
|
+
* // ],
|
|
90
|
+
* // },
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param GetComputeNodeGroupCommandInput - {@link GetComputeNodeGroupCommandInput}
|
|
96
|
+
* @returns {@link GetComputeNodeGroupCommandOutput}
|
|
97
|
+
* @see {@link GetComputeNodeGroupCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link GetComputeNodeGroupCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* <p>You don't have permission to perform the action.</p>
|
|
103
|
+
* <p>
|
|
104
|
+
* <u>Examples</u>
|
|
105
|
+
* </p>
|
|
106
|
+
* <ul>
|
|
107
|
+
* <li>
|
|
108
|
+
* <p>The launch template instance profile doesn't pass <code>iam:PassRole</code>
|
|
109
|
+
* verification.</p>
|
|
110
|
+
* </li>
|
|
111
|
+
* <li>
|
|
112
|
+
* <p>There is a mismatch between the account ID and cluster ID.</p>
|
|
113
|
+
* </li>
|
|
114
|
+
* <li>
|
|
115
|
+
* <p>The cluster ID doesn't exist.</p>
|
|
116
|
+
* </li>
|
|
117
|
+
* <li>
|
|
118
|
+
* <p>The EC2 instance isn't present.</p>
|
|
119
|
+
* </li>
|
|
120
|
+
* </ul>
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link ConflictException} (client fault)
|
|
123
|
+
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
124
|
+
* than 1 operation on the same resource at the same time.</p>
|
|
125
|
+
* <p>
|
|
126
|
+
* <u>Examples</u>
|
|
127
|
+
* </p>
|
|
128
|
+
* <ul>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>A cluster with the same name already exists.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>A cluster isn't in <code>ACTIVE</code> status.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>A cluster to delete is in an unstable state. For example, because it still has
|
|
137
|
+
* <code>ACTIVE</code> node groups or queues.</p>
|
|
138
|
+
* </li>
|
|
139
|
+
* <li>
|
|
140
|
+
* <p>A queue already exists in a cluster.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* </ul>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link InternalServerException} (server fault)
|
|
145
|
+
* <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
|
|
146
|
+
*
|
|
147
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
148
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
149
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
150
|
+
* <p>
|
|
151
|
+
* <u>Examples</u>
|
|
152
|
+
* </p>
|
|
153
|
+
*
|
|
154
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
155
|
+
* <p>Your request exceeded a request rate quota. Check the resource's request rate quota and try again.</p>
|
|
156
|
+
*
|
|
157
|
+
* @throws {@link ValidationException} (client fault)
|
|
158
|
+
* <p>The request isn't valid.</p>
|
|
159
|
+
* <p>
|
|
160
|
+
* <u>Examples</u>
|
|
161
|
+
* </p>
|
|
162
|
+
* <ul>
|
|
163
|
+
* <li>
|
|
164
|
+
* <p>Your request contains malformed JSON or unsupported characters.</p>
|
|
165
|
+
* </li>
|
|
166
|
+
* <li>
|
|
167
|
+
* <p>The scheduler version isn't supported.</p>
|
|
168
|
+
* </li>
|
|
169
|
+
* <li>
|
|
170
|
+
* <p>There are networking related errors, such as network validation failure.</p>
|
|
171
|
+
* </li>
|
|
172
|
+
* <li>
|
|
173
|
+
* <p>AMI type is <code>CUSTOM</code> and the launch template doesn't define the AMI ID,
|
|
174
|
+
* or the AMI type is AL2 and the launch template defines the AMI.</p>
|
|
175
|
+
* </li>
|
|
176
|
+
* </ul>
|
|
177
|
+
*
|
|
178
|
+
* @throws {@link PCSServiceException}
|
|
179
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
180
|
+
*
|
|
181
|
+
* @public
|
|
182
|
+
*/
|
|
183
|
+
export declare class GetComputeNodeGroupCommand extends GetComputeNodeGroupCommand_base {
|
|
184
|
+
}
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { GetQueueRequest, GetQueueResponse } from "../models/models_0";
|
|
4
|
+
import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetQueueCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetQueueCommandInput extends GetQueueRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetQueueCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetQueueCommandOutput extends GetQueueResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetQueueCommand_base: {
|
|
25
|
+
new (input: GetQueueCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueCommandInput, GetQueueCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: GetQueueCommandInput): import("@smithy/smithy-client").CommandImpl<GetQueueCommandInput, GetQueueCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns detailed information about a queue. The information includes the compute node
|
|
31
|
+
* groups that the queue uses to schedule jobs.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { PCSClient, GetQueueCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
36
|
+
* // const { PCSClient, GetQueueCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
37
|
+
* const client = new PCSClient(config);
|
|
38
|
+
* const input = { // GetQueueRequest
|
|
39
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
40
|
+
* queueIdentifier: "STRING_VALUE", // required
|
|
41
|
+
* };
|
|
42
|
+
* const command = new GetQueueCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // GetQueueResponse
|
|
45
|
+
* // queue: { // Queue
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // clusterId: "STRING_VALUE", // required
|
|
50
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED", // required
|
|
53
|
+
* // computeNodeGroupConfigurations: [ // ComputeNodeGroupConfigurationList // required
|
|
54
|
+
* // { // ComputeNodeGroupConfiguration
|
|
55
|
+
* // computeNodeGroupId: "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // ],
|
|
58
|
+
* // errorInfo: [ // ErrorInfoList
|
|
59
|
+
* // { // ErrorInfo
|
|
60
|
+
* // code: "STRING_VALUE",
|
|
61
|
+
* // message: "STRING_VALUE",
|
|
62
|
+
* // },
|
|
63
|
+
* // ],
|
|
64
|
+
* // },
|
|
65
|
+
* // };
|
|
66
|
+
*
|
|
67
|
+
* ```
|
|
68
|
+
*
|
|
69
|
+
* @param GetQueueCommandInput - {@link GetQueueCommandInput}
|
|
70
|
+
* @returns {@link GetQueueCommandOutput}
|
|
71
|
+
* @see {@link GetQueueCommandInput} for command's `input` shape.
|
|
72
|
+
* @see {@link GetQueueCommandOutput} for command's `response` shape.
|
|
73
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
76
|
+
* <p>You don't have permission to perform the action.</p>
|
|
77
|
+
* <p>
|
|
78
|
+
* <u>Examples</u>
|
|
79
|
+
* </p>
|
|
80
|
+
* <ul>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>The launch template instance profile doesn't pass <code>iam:PassRole</code>
|
|
83
|
+
* verification.</p>
|
|
84
|
+
* </li>
|
|
85
|
+
* <li>
|
|
86
|
+
* <p>There is a mismatch between the account ID and cluster ID.</p>
|
|
87
|
+
* </li>
|
|
88
|
+
* <li>
|
|
89
|
+
* <p>The cluster ID doesn't exist.</p>
|
|
90
|
+
* </li>
|
|
91
|
+
* <li>
|
|
92
|
+
* <p>The EC2 instance isn't present.</p>
|
|
93
|
+
* </li>
|
|
94
|
+
* </ul>
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link ConflictException} (client fault)
|
|
97
|
+
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
98
|
+
* than 1 operation on the same resource at the same time.</p>
|
|
99
|
+
* <p>
|
|
100
|
+
* <u>Examples</u>
|
|
101
|
+
* </p>
|
|
102
|
+
* <ul>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>A cluster with the same name already exists.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* <li>
|
|
107
|
+
* <p>A cluster isn't in <code>ACTIVE</code> status.</p>
|
|
108
|
+
* </li>
|
|
109
|
+
* <li>
|
|
110
|
+
* <p>A cluster to delete is in an unstable state. For example, because it still has
|
|
111
|
+
* <code>ACTIVE</code> node groups or queues.</p>
|
|
112
|
+
* </li>
|
|
113
|
+
* <li>
|
|
114
|
+
* <p>A queue already exists in a cluster.</p>
|
|
115
|
+
* </li>
|
|
116
|
+
* </ul>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link InternalServerException} (server fault)
|
|
119
|
+
* <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
122
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
123
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
124
|
+
* <p>
|
|
125
|
+
* <u>Examples</u>
|
|
126
|
+
* </p>
|
|
127
|
+
*
|
|
128
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
129
|
+
* <p>Your request exceeded a request rate quota. Check the resource's request rate quota and try again.</p>
|
|
130
|
+
*
|
|
131
|
+
* @throws {@link ValidationException} (client fault)
|
|
132
|
+
* <p>The request isn't valid.</p>
|
|
133
|
+
* <p>
|
|
134
|
+
* <u>Examples</u>
|
|
135
|
+
* </p>
|
|
136
|
+
* <ul>
|
|
137
|
+
* <li>
|
|
138
|
+
* <p>Your request contains malformed JSON or unsupported characters.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* <li>
|
|
141
|
+
* <p>The scheduler version isn't supported.</p>
|
|
142
|
+
* </li>
|
|
143
|
+
* <li>
|
|
144
|
+
* <p>There are networking related errors, such as network validation failure.</p>
|
|
145
|
+
* </li>
|
|
146
|
+
* <li>
|
|
147
|
+
* <p>AMI type is <code>CUSTOM</code> and the launch template doesn't define the AMI ID,
|
|
148
|
+
* or the AMI type is AL2 and the launch template defines the AMI.</p>
|
|
149
|
+
* </li>
|
|
150
|
+
* </ul>
|
|
151
|
+
*
|
|
152
|
+
* @throws {@link PCSServiceException}
|
|
153
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
154
|
+
*
|
|
155
|
+
* @public
|
|
156
|
+
*/
|
|
157
|
+
export declare class GetQueueCommand extends GetQueueCommand_base {
|
|
158
|
+
}
|
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListClustersRequest, ListClustersResponse } from "../models/models_0";
|
|
4
|
+
import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListClustersCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListClustersCommandInput extends ListClustersRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListClustersCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListClustersCommandOutput extends ListClustersResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListClustersCommand_base: {
|
|
25
|
+
new (input: ListClustersCommandInput): import("@smithy/smithy-client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListClustersCommandInput]): import("@smithy/smithy-client").CommandImpl<ListClustersCommandInput, ListClustersCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of running clusters in your account.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PCSClient, ListClustersCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
35
|
+
* // const { PCSClient, ListClustersCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
36
|
+
* const client = new PCSClient(config);
|
|
37
|
+
* const input = { // ListClustersRequest
|
|
38
|
+
* nextToken: "STRING_VALUE",
|
|
39
|
+
* maxResults: Number("int"),
|
|
40
|
+
* };
|
|
41
|
+
* const command = new ListClustersCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // ListClustersResponse
|
|
44
|
+
* // clusters: [ // ClusterList // required
|
|
45
|
+
* // { // ClusterSummary
|
|
46
|
+
* // name: "STRING_VALUE", // required
|
|
47
|
+
* // id: "STRING_VALUE", // required
|
|
48
|
+
* // arn: "STRING_VALUE", // required
|
|
49
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
51
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED", // required
|
|
52
|
+
* // },
|
|
53
|
+
* // ],
|
|
54
|
+
* // nextToken: "STRING_VALUE",
|
|
55
|
+
* // };
|
|
56
|
+
*
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @param ListClustersCommandInput - {@link ListClustersCommandInput}
|
|
60
|
+
* @returns {@link ListClustersCommandOutput}
|
|
61
|
+
* @see {@link ListClustersCommandInput} for command's `input` shape.
|
|
62
|
+
* @see {@link ListClustersCommandOutput} for command's `response` shape.
|
|
63
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
66
|
+
* <p>You don't have permission to perform the action.</p>
|
|
67
|
+
* <p>
|
|
68
|
+
* <u>Examples</u>
|
|
69
|
+
* </p>
|
|
70
|
+
* <ul>
|
|
71
|
+
* <li>
|
|
72
|
+
* <p>The launch template instance profile doesn't pass <code>iam:PassRole</code>
|
|
73
|
+
* verification.</p>
|
|
74
|
+
* </li>
|
|
75
|
+
* <li>
|
|
76
|
+
* <p>There is a mismatch between the account ID and cluster ID.</p>
|
|
77
|
+
* </li>
|
|
78
|
+
* <li>
|
|
79
|
+
* <p>The cluster ID doesn't exist.</p>
|
|
80
|
+
* </li>
|
|
81
|
+
* <li>
|
|
82
|
+
* <p>The EC2 instance isn't present.</p>
|
|
83
|
+
* </li>
|
|
84
|
+
* </ul>
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ConflictException} (client fault)
|
|
87
|
+
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
88
|
+
* than 1 operation on the same resource at the same time.</p>
|
|
89
|
+
* <p>
|
|
90
|
+
* <u>Examples</u>
|
|
91
|
+
* </p>
|
|
92
|
+
* <ul>
|
|
93
|
+
* <li>
|
|
94
|
+
* <p>A cluster with the same name already exists.</p>
|
|
95
|
+
* </li>
|
|
96
|
+
* <li>
|
|
97
|
+
* <p>A cluster isn't in <code>ACTIVE</code> status.</p>
|
|
98
|
+
* </li>
|
|
99
|
+
* <li>
|
|
100
|
+
* <p>A cluster to delete is in an unstable state. For example, because it still has
|
|
101
|
+
* <code>ACTIVE</code> node groups or queues.</p>
|
|
102
|
+
* </li>
|
|
103
|
+
* <li>
|
|
104
|
+
* <p>A queue already exists in a cluster.</p>
|
|
105
|
+
* </li>
|
|
106
|
+
* </ul>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InternalServerException} (server fault)
|
|
109
|
+
* <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
112
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
113
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
114
|
+
* <p>
|
|
115
|
+
* <u>Examples</u>
|
|
116
|
+
* </p>
|
|
117
|
+
*
|
|
118
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
119
|
+
* <p>Your request exceeded a request rate quota. Check the resource's request rate quota and try again.</p>
|
|
120
|
+
*
|
|
121
|
+
* @throws {@link ValidationException} (client fault)
|
|
122
|
+
* <p>The request isn't valid.</p>
|
|
123
|
+
* <p>
|
|
124
|
+
* <u>Examples</u>
|
|
125
|
+
* </p>
|
|
126
|
+
* <ul>
|
|
127
|
+
* <li>
|
|
128
|
+
* <p>Your request contains malformed JSON or unsupported characters.</p>
|
|
129
|
+
* </li>
|
|
130
|
+
* <li>
|
|
131
|
+
* <p>The scheduler version isn't supported.</p>
|
|
132
|
+
* </li>
|
|
133
|
+
* <li>
|
|
134
|
+
* <p>There are networking related errors, such as network validation failure.</p>
|
|
135
|
+
* </li>
|
|
136
|
+
* <li>
|
|
137
|
+
* <p>AMI type is <code>CUSTOM</code> and the launch template doesn't define the AMI ID,
|
|
138
|
+
* or the AMI type is AL2 and the launch template defines the AMI.</p>
|
|
139
|
+
* </li>
|
|
140
|
+
* </ul>
|
|
141
|
+
*
|
|
142
|
+
* @throws {@link PCSServiceException}
|
|
143
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
144
|
+
*
|
|
145
|
+
* @public
|
|
146
|
+
*/
|
|
147
|
+
export declare class ListClustersCommand extends ListClustersCommand_base {
|
|
148
|
+
}
|
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListComputeNodeGroupsRequest, ListComputeNodeGroupsResponse } from "../models/models_0";
|
|
4
|
+
import { PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../PCSClient";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListComputeNodeGroupsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListComputeNodeGroupsCommandInput extends ListComputeNodeGroupsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListComputeNodeGroupsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListComputeNodeGroupsCommandOutput extends ListComputeNodeGroupsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListComputeNodeGroupsCommand_base: {
|
|
25
|
+
new (input: ListComputeNodeGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListComputeNodeGroupsCommandInput, ListComputeNodeGroupsCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListComputeNodeGroupsCommandInput): import("@smithy/smithy-client").CommandImpl<ListComputeNodeGroupsCommandInput, ListComputeNodeGroupsCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of all compute node groups associated with a cluster.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PCSClient, ListComputeNodeGroupsCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
35
|
+
* // const { PCSClient, ListComputeNodeGroupsCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
36
|
+
* const client = new PCSClient(config);
|
|
37
|
+
* const input = { // ListComputeNodeGroupsRequest
|
|
38
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListComputeNodeGroupsCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListComputeNodeGroupsResponse
|
|
45
|
+
* // computeNodeGroups: [ // ComputeNodeGroupList // required
|
|
46
|
+
* // { // ComputeNodeGroupSummary
|
|
47
|
+
* // name: "STRING_VALUE", // required
|
|
48
|
+
* // id: "STRING_VALUE", // required
|
|
49
|
+
* // arn: "STRING_VALUE", // required
|
|
50
|
+
* // clusterId: "STRING_VALUE", // required
|
|
51
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
52
|
+
* // modifiedAt: new Date("TIMESTAMP"), // required
|
|
53
|
+
* // status: "CREATING" || "ACTIVE" || "UPDATING" || "DELETING" || "CREATE_FAILED" || "DELETE_FAILED" || "UPDATE_FAILED" || "DELETED", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListComputeNodeGroupsCommandInput - {@link ListComputeNodeGroupsCommandInput}
|
|
62
|
+
* @returns {@link ListComputeNodeGroupsCommandOutput}
|
|
63
|
+
* @see {@link ListComputeNodeGroupsCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListComputeNodeGroupsCommandOutput} for command's `response` shape.
|
|
65
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
68
|
+
* <p>You don't have permission to perform the action.</p>
|
|
69
|
+
* <p>
|
|
70
|
+
* <u>Examples</u>
|
|
71
|
+
* </p>
|
|
72
|
+
* <ul>
|
|
73
|
+
* <li>
|
|
74
|
+
* <p>The launch template instance profile doesn't pass <code>iam:PassRole</code>
|
|
75
|
+
* verification.</p>
|
|
76
|
+
* </li>
|
|
77
|
+
* <li>
|
|
78
|
+
* <p>There is a mismatch between the account ID and cluster ID.</p>
|
|
79
|
+
* </li>
|
|
80
|
+
* <li>
|
|
81
|
+
* <p>The cluster ID doesn't exist.</p>
|
|
82
|
+
* </li>
|
|
83
|
+
* <li>
|
|
84
|
+
* <p>The EC2 instance isn't present.</p>
|
|
85
|
+
* </li>
|
|
86
|
+
* </ul>
|
|
87
|
+
*
|
|
88
|
+
* @throws {@link ConflictException} (client fault)
|
|
89
|
+
* <p>Your request has conflicting operations. This can occur if you're trying to perform more
|
|
90
|
+
* than 1 operation on the same resource at the same time.</p>
|
|
91
|
+
* <p>
|
|
92
|
+
* <u>Examples</u>
|
|
93
|
+
* </p>
|
|
94
|
+
* <ul>
|
|
95
|
+
* <li>
|
|
96
|
+
* <p>A cluster with the same name already exists.</p>
|
|
97
|
+
* </li>
|
|
98
|
+
* <li>
|
|
99
|
+
* <p>A cluster isn't in <code>ACTIVE</code> status.</p>
|
|
100
|
+
* </li>
|
|
101
|
+
* <li>
|
|
102
|
+
* <p>A cluster to delete is in an unstable state. For example, because it still has
|
|
103
|
+
* <code>ACTIVE</code> node groups or queues.</p>
|
|
104
|
+
* </li>
|
|
105
|
+
* <li>
|
|
106
|
+
* <p>A queue already exists in a cluster.</p>
|
|
107
|
+
* </li>
|
|
108
|
+
* </ul>
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link InternalServerException} (server fault)
|
|
111
|
+
* <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
114
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
115
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
116
|
+
* <p>
|
|
117
|
+
* <u>Examples</u>
|
|
118
|
+
* </p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>Your request exceeded a request rate quota. Check the resource's request rate quota and try again.</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link ValidationException} (client fault)
|
|
124
|
+
* <p>The request isn't valid.</p>
|
|
125
|
+
* <p>
|
|
126
|
+
* <u>Examples</u>
|
|
127
|
+
* </p>
|
|
128
|
+
* <ul>
|
|
129
|
+
* <li>
|
|
130
|
+
* <p>Your request contains malformed JSON or unsupported characters.</p>
|
|
131
|
+
* </li>
|
|
132
|
+
* <li>
|
|
133
|
+
* <p>The scheduler version isn't supported.</p>
|
|
134
|
+
* </li>
|
|
135
|
+
* <li>
|
|
136
|
+
* <p>There are networking related errors, such as network validation failure.</p>
|
|
137
|
+
* </li>
|
|
138
|
+
* <li>
|
|
139
|
+
* <p>AMI type is <code>CUSTOM</code> and the launch template doesn't define the AMI ID,
|
|
140
|
+
* or the AMI type is AL2 and the launch template defines the AMI.</p>
|
|
141
|
+
* </li>
|
|
142
|
+
* </ul>
|
|
143
|
+
*
|
|
144
|
+
* @throws {@link PCSServiceException}
|
|
145
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
146
|
+
*
|
|
147
|
+
* @public
|
|
148
|
+
*/
|
|
149
|
+
export declare class ListComputeNodeGroupsCommand extends ListComputeNodeGroupsCommand_base {
|
|
150
|
+
}
|