@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,150 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListQueuesRequest, ListQueuesResponse } 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 ListQueuesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListQueuesCommandInput extends ListQueuesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListQueuesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListQueuesCommandOutput extends ListQueuesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListQueuesCommand_base: {
|
|
25
|
+
new (input: ListQueuesCommandInput): import("@smithy/smithy-client").CommandImpl<ListQueuesCommandInput, ListQueuesCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListQueuesCommandInput): import("@smithy/smithy-client").CommandImpl<ListQueuesCommandInput, ListQueuesCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of all queues 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, ListQueuesCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
35
|
+
* // const { PCSClient, ListQueuesCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
36
|
+
* const client = new PCSClient(config);
|
|
37
|
+
* const input = { // ListQueuesRequest
|
|
38
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* nextToken: "STRING_VALUE",
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* };
|
|
42
|
+
* const command = new ListQueuesCommand(input);
|
|
43
|
+
* const response = await client.send(command);
|
|
44
|
+
* // { // ListQueuesResponse
|
|
45
|
+
* // queues: [ // QueueList // required
|
|
46
|
+
* // { // QueueSummary
|
|
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", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // ],
|
|
56
|
+
* // nextToken: "STRING_VALUE",
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param ListQueuesCommandInput - {@link ListQueuesCommandInput}
|
|
62
|
+
* @returns {@link ListQueuesCommandOutput}
|
|
63
|
+
* @see {@link ListQueuesCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link ListQueuesCommandOutput} 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 ListQueuesCommand extends ListQueuesCommand_base {
|
|
150
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { ListTagsForResourceRequest, ListTagsForResourceResponse } 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 ListTagsForResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListTagsForResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListTagsForResourceCommand_base: {
|
|
25
|
+
new (input: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: ListTagsForResourceCommandInput): import("@smithy/smithy-client").CommandImpl<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Returns a list of all tags on an Amazon Web Services PCS resource.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { PCSClient, ListTagsForResourceCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
35
|
+
* // const { PCSClient, ListTagsForResourceCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
36
|
+
* const client = new PCSClient(config);
|
|
37
|
+
* const input = { // ListTagsForResourceRequest
|
|
38
|
+
* resourceArn: "STRING_VALUE", // required
|
|
39
|
+
* };
|
|
40
|
+
* const command = new ListTagsForResourceCommand(input);
|
|
41
|
+
* const response = await client.send(command);
|
|
42
|
+
* // { // ListTagsForResourceResponse
|
|
43
|
+
* // tags: { // ResponseTagMap
|
|
44
|
+
* // "<keys>": "STRING_VALUE",
|
|
45
|
+
* // },
|
|
46
|
+
* // };
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param ListTagsForResourceCommandInput - {@link ListTagsForResourceCommandInput}
|
|
51
|
+
* @returns {@link ListTagsForResourceCommandOutput}
|
|
52
|
+
* @see {@link ListTagsForResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
58
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
59
|
+
* <p>
|
|
60
|
+
* <u>Examples</u>
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link PCSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
69
|
+
}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { RegisterComputeNodeGroupInstanceRequest, RegisterComputeNodeGroupInstanceResponse } 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 RegisterComputeNodeGroupInstanceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface RegisterComputeNodeGroupInstanceCommandInput extends RegisterComputeNodeGroupInstanceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link RegisterComputeNodeGroupInstanceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface RegisterComputeNodeGroupInstanceCommandOutput extends RegisterComputeNodeGroupInstanceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const RegisterComputeNodeGroupInstanceCommand_base: {
|
|
25
|
+
new (input: RegisterComputeNodeGroupInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterComputeNodeGroupInstanceCommandInput, RegisterComputeNodeGroupInstanceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: RegisterComputeNodeGroupInstanceCommandInput): import("@smithy/smithy-client").CommandImpl<RegisterComputeNodeGroupInstanceCommandInput, RegisterComputeNodeGroupInstanceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <important>
|
|
31
|
+
* <p>This API action isn't intended for you to use.</p>
|
|
32
|
+
* </important>
|
|
33
|
+
* <p>Amazon Web Services PCS uses this API action to register the compute nodes it launches in your account.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { PCSClient, RegisterComputeNodeGroupInstanceCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
38
|
+
* // const { PCSClient, RegisterComputeNodeGroupInstanceCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
39
|
+
* const client = new PCSClient(config);
|
|
40
|
+
* const input = { // RegisterComputeNodeGroupInstanceRequest
|
|
41
|
+
* clusterIdentifier: "STRING_VALUE", // required
|
|
42
|
+
* bootstrapId: "STRING_VALUE", // required
|
|
43
|
+
* };
|
|
44
|
+
* const command = new RegisterComputeNodeGroupInstanceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // RegisterComputeNodeGroupInstanceResponse
|
|
47
|
+
* // nodeID: "STRING_VALUE", // required
|
|
48
|
+
* // sharedSecret: "STRING_VALUE", // required
|
|
49
|
+
* // endpoints: [ // Endpoints // required
|
|
50
|
+
* // { // Endpoint
|
|
51
|
+
* // type: "SLURMCTLD" || "SLURMDBD", // required
|
|
52
|
+
* // privateIpAddress: "STRING_VALUE", // required
|
|
53
|
+
* // publicIpAddress: "STRING_VALUE",
|
|
54
|
+
* // port: "STRING_VALUE", // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // };
|
|
58
|
+
*
|
|
59
|
+
* ```
|
|
60
|
+
*
|
|
61
|
+
* @param RegisterComputeNodeGroupInstanceCommandInput - {@link RegisterComputeNodeGroupInstanceCommandInput}
|
|
62
|
+
* @returns {@link RegisterComputeNodeGroupInstanceCommandOutput}
|
|
63
|
+
* @see {@link RegisterComputeNodeGroupInstanceCommandInput} for command's `input` shape.
|
|
64
|
+
* @see {@link RegisterComputeNodeGroupInstanceCommandOutput} 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 InternalServerException} (server fault)
|
|
89
|
+
* <p>Amazon Web Services PCS can't process your request right now. Try again later.</p>
|
|
90
|
+
*
|
|
91
|
+
* @throws {@link PCSServiceException}
|
|
92
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
93
|
+
*
|
|
94
|
+
* @public
|
|
95
|
+
*/
|
|
96
|
+
export declare class RegisterComputeNodeGroupInstanceCommand extends RegisterComputeNodeGroupInstanceCommand_base {
|
|
97
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { TagResourceRequest } 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 TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Adds or edits tags on an Amazon Web Services PCS resource. Each tag consists of a tag key and a tag
|
|
31
|
+
* value. The tag key and tag value are case-sensitive strings. The tag value can be an empty
|
|
32
|
+
* (null) string. To add a tag, specify a new tag key and a tag value. To edit a tag, specify
|
|
33
|
+
* an existing tag key and a new tag value.</p>
|
|
34
|
+
* @example
|
|
35
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
36
|
+
* ```javascript
|
|
37
|
+
* import { PCSClient, TagResourceCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
38
|
+
* // const { PCSClient, TagResourceCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
39
|
+
* const client = new PCSClient(config);
|
|
40
|
+
* const input = { // TagResourceRequest
|
|
41
|
+
* resourceArn: "STRING_VALUE", // required
|
|
42
|
+
* tags: { // RequestTagMap // required
|
|
43
|
+
* "<keys>": "STRING_VALUE",
|
|
44
|
+
* },
|
|
45
|
+
* };
|
|
46
|
+
* const command = new TagResourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
53
|
+
* @returns {@link TagResourceCommandOutput}
|
|
54
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
59
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
60
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
61
|
+
* <p>
|
|
62
|
+
* <u>Examples</u>
|
|
63
|
+
* </p>
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link PCSServiceException}
|
|
66
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
67
|
+
*
|
|
68
|
+
* @public
|
|
69
|
+
*/
|
|
70
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
71
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { UntagResourceRequest } 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 UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, PCSClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Deletes tags from an Amazon Web Services PCS resource. To delete a tag, specify the tag key and the
|
|
31
|
+
* Amazon Resource Name (ARN) of the Amazon Web Services PCS resource.</p>
|
|
32
|
+
* @example
|
|
33
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
34
|
+
* ```javascript
|
|
35
|
+
* import { PCSClient, UntagResourceCommand } from "@aws-sdk/client-pcs"; // ES Modules import
|
|
36
|
+
* // const { PCSClient, UntagResourceCommand } = require("@aws-sdk/client-pcs"); // CommonJS import
|
|
37
|
+
* const client = new PCSClient(config);
|
|
38
|
+
* const input = { // UntagResourceRequest
|
|
39
|
+
* resourceArn: "STRING_VALUE", // required
|
|
40
|
+
* tagKeys: [ // TagKeys // required
|
|
41
|
+
* "STRING_VALUE",
|
|
42
|
+
* ],
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UntagResourceCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // {};
|
|
47
|
+
*
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
51
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
52
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
53
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
54
|
+
* @see {@link PCSClientResolvedConfig | config} for PCSClient's `config` shape.
|
|
55
|
+
*
|
|
56
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
57
|
+
* <p>The requested resource can't be found. The cluster, node group, or queue you're
|
|
58
|
+
* attempting to get, update, list, or delete doesn't exist.</p>
|
|
59
|
+
* <p>
|
|
60
|
+
* <u>Examples</u>
|
|
61
|
+
* </p>
|
|
62
|
+
*
|
|
63
|
+
* @throws {@link PCSServiceException}
|
|
64
|
+
* <p>Base exception class for all service exceptions from PCS service.</p>
|
|
65
|
+
*
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
69
|
+
}
|