@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.
Files changed (171) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +366 -0
  3. package/dist-cjs/PCS.js +47 -0
  4. package/dist-cjs/PCSClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateClusterCommand.js +28 -0
  8. package/dist-cjs/commands/CreateComputeNodeGroupCommand.js +28 -0
  9. package/dist-cjs/commands/CreateQueueCommand.js +28 -0
  10. package/dist-cjs/commands/DeleteClusterCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteComputeNodeGroupCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteQueueCommand.js +28 -0
  13. package/dist-cjs/commands/GetClusterCommand.js +28 -0
  14. package/dist-cjs/commands/GetComputeNodeGroupCommand.js +28 -0
  15. package/dist-cjs/commands/GetQueueCommand.js +28 -0
  16. package/dist-cjs/commands/ListClustersCommand.js +28 -0
  17. package/dist-cjs/commands/ListComputeNodeGroupsCommand.js +28 -0
  18. package/dist-cjs/commands/ListQueuesCommand.js +28 -0
  19. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  20. package/dist-cjs/commands/RegisterComputeNodeGroupInstanceCommand.js +29 -0
  21. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  22. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  23. package/dist-cjs/commands/UpdateComputeNodeGroupCommand.js +28 -0
  24. package/dist-cjs/commands/UpdateQueueCommand.js +28 -0
  25. package/dist-cjs/commands/index.js +21 -0
  26. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  27. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  28. package/dist-cjs/endpoint/ruleset.js +7 -0
  29. package/dist-cjs/extensionConfiguration.js +2 -0
  30. package/dist-cjs/index.js +11 -0
  31. package/dist-cjs/models/PCSServiceException.js +12 -0
  32. package/dist-cjs/models/index.js +4 -0
  33. package/dist-cjs/models/models_0.js +169 -0
  34. package/dist-cjs/pagination/Interfaces.js +2 -0
  35. package/dist-cjs/pagination/ListClustersPaginator.js +7 -0
  36. package/dist-cjs/pagination/ListComputeNodeGroupsPaginator.js +7 -0
  37. package/dist-cjs/pagination/ListQueuesPaginator.js +7 -0
  38. package/dist-cjs/pagination/index.js +7 -0
  39. package/dist-cjs/protocols/Aws_json1_0.js +757 -0
  40. package/dist-cjs/runtimeConfig.browser.js +39 -0
  41. package/dist-cjs/runtimeConfig.js +49 -0
  42. package/dist-cjs/runtimeConfig.native.js +15 -0
  43. package/dist-cjs/runtimeConfig.shared.js +34 -0
  44. package/dist-cjs/runtimeExtensions.js +25 -0
  45. package/dist-es/PCS.js +43 -0
  46. package/dist-es/PCSClient.js +46 -0
  47. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  48. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  49. package/dist-es/commands/CreateClusterCommand.js +24 -0
  50. package/dist-es/commands/CreateComputeNodeGroupCommand.js +24 -0
  51. package/dist-es/commands/CreateQueueCommand.js +24 -0
  52. package/dist-es/commands/DeleteClusterCommand.js +24 -0
  53. package/dist-es/commands/DeleteComputeNodeGroupCommand.js +24 -0
  54. package/dist-es/commands/DeleteQueueCommand.js +24 -0
  55. package/dist-es/commands/GetClusterCommand.js +24 -0
  56. package/dist-es/commands/GetComputeNodeGroupCommand.js +24 -0
  57. package/dist-es/commands/GetQueueCommand.js +24 -0
  58. package/dist-es/commands/ListClustersCommand.js +24 -0
  59. package/dist-es/commands/ListComputeNodeGroupsCommand.js +24 -0
  60. package/dist-es/commands/ListQueuesCommand.js +24 -0
  61. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  62. package/dist-es/commands/RegisterComputeNodeGroupInstanceCommand.js +25 -0
  63. package/dist-es/commands/TagResourceCommand.js +24 -0
  64. package/dist-es/commands/UntagResourceCommand.js +24 -0
  65. package/dist-es/commands/UpdateComputeNodeGroupCommand.js +24 -0
  66. package/dist-es/commands/UpdateQueueCommand.js +24 -0
  67. package/dist-es/commands/index.js +18 -0
  68. package/dist-es/endpoint/EndpointParameters.js +14 -0
  69. package/dist-es/endpoint/endpointResolver.js +10 -0
  70. package/dist-es/endpoint/ruleset.js +4 -0
  71. package/dist-es/extensionConfiguration.js +1 -0
  72. package/dist-es/index.js +6 -0
  73. package/dist-es/models/PCSServiceException.js +8 -0
  74. package/dist-es/models/index.js +1 -0
  75. package/dist-es/models/models_0.js +158 -0
  76. package/dist-es/pagination/Interfaces.js +1 -0
  77. package/dist-es/pagination/ListClustersPaginator.js +4 -0
  78. package/dist-es/pagination/ListComputeNodeGroupsPaginator.js +4 -0
  79. package/dist-es/pagination/ListQueuesPaginator.js +4 -0
  80. package/dist-es/pagination/index.js +4 -0
  81. package/dist-es/protocols/Aws_json1_0.js +718 -0
  82. package/dist-es/runtimeConfig.browser.js +34 -0
  83. package/dist-es/runtimeConfig.js +44 -0
  84. package/dist-es/runtimeConfig.native.js +11 -0
  85. package/dist-es/runtimeConfig.shared.js +30 -0
  86. package/dist-es/runtimeExtensions.js +21 -0
  87. package/dist-types/PCS.d.ts +154 -0
  88. package/dist-types/PCSClient.d.ts +204 -0
  89. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  90. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  91. package/dist-types/commands/CreateClusterCommand.d.ts +237 -0
  92. package/dist-types/commands/CreateComputeNodeGroupCommand.d.ts +247 -0
  93. package/dist-types/commands/CreateQueueCommand.d.ts +190 -0
  94. package/dist-types/commands/DeleteClusterCommand.d.ts +137 -0
  95. package/dist-types/commands/DeleteComputeNodeGroupCommand.d.ts +138 -0
  96. package/dist-types/commands/DeleteQueueCommand.d.ts +139 -0
  97. package/dist-types/commands/GetClusterCommand.d.ts +186 -0
  98. package/dist-types/commands/GetComputeNodeGroupCommand.d.ts +184 -0
  99. package/dist-types/commands/GetQueueCommand.d.ts +158 -0
  100. package/dist-types/commands/ListClustersCommand.d.ts +148 -0
  101. package/dist-types/commands/ListComputeNodeGroupsCommand.d.ts +150 -0
  102. package/dist-types/commands/ListQueuesCommand.d.ts +150 -0
  103. package/dist-types/commands/ListTagsForResourceCommand.d.ts +69 -0
  104. package/dist-types/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +97 -0
  105. package/dist-types/commands/TagResourceCommand.d.ts +71 -0
  106. package/dist-types/commands/UntagResourceCommand.d.ts +69 -0
  107. package/dist-types/commands/UpdateComputeNodeGroupCommand.d.ts +233 -0
  108. package/dist-types/commands/UpdateQueueCommand.d.ts +187 -0
  109. package/dist-types/commands/index.d.ts +18 -0
  110. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  111. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  112. package/dist-types/endpoint/ruleset.d.ts +2 -0
  113. package/dist-types/extensionConfiguration.d.ts +9 -0
  114. package/dist-types/index.d.ts +31 -0
  115. package/dist-types/models/PCSServiceException.d.ts +14 -0
  116. package/dist-types/models/index.d.ts +1 -0
  117. package/dist-types/models/models_0.d.ts +1871 -0
  118. package/dist-types/pagination/Interfaces.d.ts +8 -0
  119. package/dist-types/pagination/ListClustersPaginator.d.ts +7 -0
  120. package/dist-types/pagination/ListComputeNodeGroupsPaginator.d.ts +7 -0
  121. package/dist-types/pagination/ListQueuesPaginator.d.ts +7 -0
  122. package/dist-types/pagination/index.d.ts +4 -0
  123. package/dist-types/protocols/Aws_json1_0.d.ts +164 -0
  124. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  125. package/dist-types/runtimeConfig.d.ts +45 -0
  126. package/dist-types/runtimeConfig.native.d.ts +44 -0
  127. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  128. package/dist-types/runtimeExtensions.d.ts +17 -0
  129. package/dist-types/ts3.4/PCS.d.ts +312 -0
  130. package/dist-types/ts3.4/PCSClient.d.ts +223 -0
  131. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  132. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +43 -0
  133. package/dist-types/ts3.4/commands/CreateClusterCommand.d.ts +39 -0
  134. package/dist-types/ts3.4/commands/CreateComputeNodeGroupCommand.d.ts +40 -0
  135. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +36 -0
  136. package/dist-types/ts3.4/commands/DeleteClusterCommand.d.ts +39 -0
  137. package/dist-types/ts3.4/commands/DeleteComputeNodeGroupCommand.d.ts +40 -0
  138. package/dist-types/ts3.4/commands/DeleteQueueCommand.d.ts +36 -0
  139. package/dist-types/ts3.4/commands/GetClusterCommand.d.ts +36 -0
  140. package/dist-types/ts3.4/commands/GetComputeNodeGroupCommand.d.ts +40 -0
  141. package/dist-types/ts3.4/commands/GetQueueCommand.d.ts +36 -0
  142. package/dist-types/ts3.4/commands/ListClustersCommand.d.ts +36 -0
  143. package/dist-types/ts3.4/commands/ListComputeNodeGroupsCommand.d.ts +40 -0
  144. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +36 -0
  145. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +40 -0
  146. package/dist-types/ts3.4/commands/RegisterComputeNodeGroupInstanceCommand.d.ts +40 -0
  147. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +34 -0
  148. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +34 -0
  149. package/dist-types/ts3.4/commands/UpdateComputeNodeGroupCommand.d.ts +40 -0
  150. package/dist-types/ts3.4/commands/UpdateQueueCommand.d.ts +36 -0
  151. package/dist-types/ts3.4/commands/index.d.ts +18 -0
  152. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  153. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  154. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  155. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  156. package/dist-types/ts3.4/index.d.ts +9 -0
  157. package/dist-types/ts3.4/models/PCSServiceException.d.ts +9 -0
  158. package/dist-types/ts3.4/models/index.d.ts +1 -0
  159. package/dist-types/ts3.4/models/models_0.d.ts +431 -0
  160. package/dist-types/ts3.4/pagination/Interfaces.d.ts +5 -0
  161. package/dist-types/ts3.4/pagination/ListClustersPaginator.d.ts +11 -0
  162. package/dist-types/ts3.4/pagination/ListComputeNodeGroupsPaginator.d.ts +11 -0
  163. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +11 -0
  164. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  165. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +221 -0
  166. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +85 -0
  167. package/dist-types/ts3.4/runtimeConfig.d.ts +89 -0
  168. package/dist-types/ts3.4/runtimeConfig.native.d.ts +79 -0
  169. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +21 -0
  170. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  171. package/package.json +103 -0
@@ -0,0 +1,312 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ CreateClusterCommandInput,
4
+ CreateClusterCommandOutput,
5
+ } from "./commands/CreateClusterCommand";
6
+ import {
7
+ CreateComputeNodeGroupCommandInput,
8
+ CreateComputeNodeGroupCommandOutput,
9
+ } from "./commands/CreateComputeNodeGroupCommand";
10
+ import {
11
+ CreateQueueCommandInput,
12
+ CreateQueueCommandOutput,
13
+ } from "./commands/CreateQueueCommand";
14
+ import {
15
+ DeleteClusterCommandInput,
16
+ DeleteClusterCommandOutput,
17
+ } from "./commands/DeleteClusterCommand";
18
+ import {
19
+ DeleteComputeNodeGroupCommandInput,
20
+ DeleteComputeNodeGroupCommandOutput,
21
+ } from "./commands/DeleteComputeNodeGroupCommand";
22
+ import {
23
+ DeleteQueueCommandInput,
24
+ DeleteQueueCommandOutput,
25
+ } from "./commands/DeleteQueueCommand";
26
+ import {
27
+ GetClusterCommandInput,
28
+ GetClusterCommandOutput,
29
+ } from "./commands/GetClusterCommand";
30
+ import {
31
+ GetComputeNodeGroupCommandInput,
32
+ GetComputeNodeGroupCommandOutput,
33
+ } from "./commands/GetComputeNodeGroupCommand";
34
+ import {
35
+ GetQueueCommandInput,
36
+ GetQueueCommandOutput,
37
+ } from "./commands/GetQueueCommand";
38
+ import {
39
+ ListClustersCommandInput,
40
+ ListClustersCommandOutput,
41
+ } from "./commands/ListClustersCommand";
42
+ import {
43
+ ListComputeNodeGroupsCommandInput,
44
+ ListComputeNodeGroupsCommandOutput,
45
+ } from "./commands/ListComputeNodeGroupsCommand";
46
+ import {
47
+ ListQueuesCommandInput,
48
+ ListQueuesCommandOutput,
49
+ } from "./commands/ListQueuesCommand";
50
+ import {
51
+ ListTagsForResourceCommandInput,
52
+ ListTagsForResourceCommandOutput,
53
+ } from "./commands/ListTagsForResourceCommand";
54
+ import {
55
+ RegisterComputeNodeGroupInstanceCommandInput,
56
+ RegisterComputeNodeGroupInstanceCommandOutput,
57
+ } from "./commands/RegisterComputeNodeGroupInstanceCommand";
58
+ import {
59
+ TagResourceCommandInput,
60
+ TagResourceCommandOutput,
61
+ } from "./commands/TagResourceCommand";
62
+ import {
63
+ UntagResourceCommandInput,
64
+ UntagResourceCommandOutput,
65
+ } from "./commands/UntagResourceCommand";
66
+ import {
67
+ UpdateComputeNodeGroupCommandInput,
68
+ UpdateComputeNodeGroupCommandOutput,
69
+ } from "./commands/UpdateComputeNodeGroupCommand";
70
+ import {
71
+ UpdateQueueCommandInput,
72
+ UpdateQueueCommandOutput,
73
+ } from "./commands/UpdateQueueCommand";
74
+ import { PCSClient } from "./PCSClient";
75
+ export interface PCS {
76
+ createCluster(
77
+ args: CreateClusterCommandInput,
78
+ options?: __HttpHandlerOptions
79
+ ): Promise<CreateClusterCommandOutput>;
80
+ createCluster(
81
+ args: CreateClusterCommandInput,
82
+ cb: (err: any, data?: CreateClusterCommandOutput) => void
83
+ ): void;
84
+ createCluster(
85
+ args: CreateClusterCommandInput,
86
+ options: __HttpHandlerOptions,
87
+ cb: (err: any, data?: CreateClusterCommandOutput) => void
88
+ ): void;
89
+ createComputeNodeGroup(
90
+ args: CreateComputeNodeGroupCommandInput,
91
+ options?: __HttpHandlerOptions
92
+ ): Promise<CreateComputeNodeGroupCommandOutput>;
93
+ createComputeNodeGroup(
94
+ args: CreateComputeNodeGroupCommandInput,
95
+ cb: (err: any, data?: CreateComputeNodeGroupCommandOutput) => void
96
+ ): void;
97
+ createComputeNodeGroup(
98
+ args: CreateComputeNodeGroupCommandInput,
99
+ options: __HttpHandlerOptions,
100
+ cb: (err: any, data?: CreateComputeNodeGroupCommandOutput) => void
101
+ ): void;
102
+ createQueue(
103
+ args: CreateQueueCommandInput,
104
+ options?: __HttpHandlerOptions
105
+ ): Promise<CreateQueueCommandOutput>;
106
+ createQueue(
107
+ args: CreateQueueCommandInput,
108
+ cb: (err: any, data?: CreateQueueCommandOutput) => void
109
+ ): void;
110
+ createQueue(
111
+ args: CreateQueueCommandInput,
112
+ options: __HttpHandlerOptions,
113
+ cb: (err: any, data?: CreateQueueCommandOutput) => void
114
+ ): void;
115
+ deleteCluster(
116
+ args: DeleteClusterCommandInput,
117
+ options?: __HttpHandlerOptions
118
+ ): Promise<DeleteClusterCommandOutput>;
119
+ deleteCluster(
120
+ args: DeleteClusterCommandInput,
121
+ cb: (err: any, data?: DeleteClusterCommandOutput) => void
122
+ ): void;
123
+ deleteCluster(
124
+ args: DeleteClusterCommandInput,
125
+ options: __HttpHandlerOptions,
126
+ cb: (err: any, data?: DeleteClusterCommandOutput) => void
127
+ ): void;
128
+ deleteComputeNodeGroup(
129
+ args: DeleteComputeNodeGroupCommandInput,
130
+ options?: __HttpHandlerOptions
131
+ ): Promise<DeleteComputeNodeGroupCommandOutput>;
132
+ deleteComputeNodeGroup(
133
+ args: DeleteComputeNodeGroupCommandInput,
134
+ cb: (err: any, data?: DeleteComputeNodeGroupCommandOutput) => void
135
+ ): void;
136
+ deleteComputeNodeGroup(
137
+ args: DeleteComputeNodeGroupCommandInput,
138
+ options: __HttpHandlerOptions,
139
+ cb: (err: any, data?: DeleteComputeNodeGroupCommandOutput) => void
140
+ ): void;
141
+ deleteQueue(
142
+ args: DeleteQueueCommandInput,
143
+ options?: __HttpHandlerOptions
144
+ ): Promise<DeleteQueueCommandOutput>;
145
+ deleteQueue(
146
+ args: DeleteQueueCommandInput,
147
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void
148
+ ): void;
149
+ deleteQueue(
150
+ args: DeleteQueueCommandInput,
151
+ options: __HttpHandlerOptions,
152
+ cb: (err: any, data?: DeleteQueueCommandOutput) => void
153
+ ): void;
154
+ getCluster(
155
+ args: GetClusterCommandInput,
156
+ options?: __HttpHandlerOptions
157
+ ): Promise<GetClusterCommandOutput>;
158
+ getCluster(
159
+ args: GetClusterCommandInput,
160
+ cb: (err: any, data?: GetClusterCommandOutput) => void
161
+ ): void;
162
+ getCluster(
163
+ args: GetClusterCommandInput,
164
+ options: __HttpHandlerOptions,
165
+ cb: (err: any, data?: GetClusterCommandOutput) => void
166
+ ): void;
167
+ getComputeNodeGroup(
168
+ args: GetComputeNodeGroupCommandInput,
169
+ options?: __HttpHandlerOptions
170
+ ): Promise<GetComputeNodeGroupCommandOutput>;
171
+ getComputeNodeGroup(
172
+ args: GetComputeNodeGroupCommandInput,
173
+ cb: (err: any, data?: GetComputeNodeGroupCommandOutput) => void
174
+ ): void;
175
+ getComputeNodeGroup(
176
+ args: GetComputeNodeGroupCommandInput,
177
+ options: __HttpHandlerOptions,
178
+ cb: (err: any, data?: GetComputeNodeGroupCommandOutput) => void
179
+ ): void;
180
+ getQueue(
181
+ args: GetQueueCommandInput,
182
+ options?: __HttpHandlerOptions
183
+ ): Promise<GetQueueCommandOutput>;
184
+ getQueue(
185
+ args: GetQueueCommandInput,
186
+ cb: (err: any, data?: GetQueueCommandOutput) => void
187
+ ): void;
188
+ getQueue(
189
+ args: GetQueueCommandInput,
190
+ options: __HttpHandlerOptions,
191
+ cb: (err: any, data?: GetQueueCommandOutput) => void
192
+ ): void;
193
+ listClusters(): Promise<ListClustersCommandOutput>;
194
+ listClusters(
195
+ args: ListClustersCommandInput,
196
+ options?: __HttpHandlerOptions
197
+ ): Promise<ListClustersCommandOutput>;
198
+ listClusters(
199
+ args: ListClustersCommandInput,
200
+ cb: (err: any, data?: ListClustersCommandOutput) => void
201
+ ): void;
202
+ listClusters(
203
+ args: ListClustersCommandInput,
204
+ options: __HttpHandlerOptions,
205
+ cb: (err: any, data?: ListClustersCommandOutput) => void
206
+ ): void;
207
+ listComputeNodeGroups(
208
+ args: ListComputeNodeGroupsCommandInput,
209
+ options?: __HttpHandlerOptions
210
+ ): Promise<ListComputeNodeGroupsCommandOutput>;
211
+ listComputeNodeGroups(
212
+ args: ListComputeNodeGroupsCommandInput,
213
+ cb: (err: any, data?: ListComputeNodeGroupsCommandOutput) => void
214
+ ): void;
215
+ listComputeNodeGroups(
216
+ args: ListComputeNodeGroupsCommandInput,
217
+ options: __HttpHandlerOptions,
218
+ cb: (err: any, data?: ListComputeNodeGroupsCommandOutput) => void
219
+ ): void;
220
+ listQueues(
221
+ args: ListQueuesCommandInput,
222
+ options?: __HttpHandlerOptions
223
+ ): Promise<ListQueuesCommandOutput>;
224
+ listQueues(
225
+ args: ListQueuesCommandInput,
226
+ cb: (err: any, data?: ListQueuesCommandOutput) => void
227
+ ): void;
228
+ listQueues(
229
+ args: ListQueuesCommandInput,
230
+ options: __HttpHandlerOptions,
231
+ cb: (err: any, data?: ListQueuesCommandOutput) => void
232
+ ): void;
233
+ listTagsForResource(
234
+ args: ListTagsForResourceCommandInput,
235
+ options?: __HttpHandlerOptions
236
+ ): Promise<ListTagsForResourceCommandOutput>;
237
+ listTagsForResource(
238
+ args: ListTagsForResourceCommandInput,
239
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
240
+ ): void;
241
+ listTagsForResource(
242
+ args: ListTagsForResourceCommandInput,
243
+ options: __HttpHandlerOptions,
244
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
245
+ ): void;
246
+ registerComputeNodeGroupInstance(
247
+ args: RegisterComputeNodeGroupInstanceCommandInput,
248
+ options?: __HttpHandlerOptions
249
+ ): Promise<RegisterComputeNodeGroupInstanceCommandOutput>;
250
+ registerComputeNodeGroupInstance(
251
+ args: RegisterComputeNodeGroupInstanceCommandInput,
252
+ cb: (err: any, data?: RegisterComputeNodeGroupInstanceCommandOutput) => void
253
+ ): void;
254
+ registerComputeNodeGroupInstance(
255
+ args: RegisterComputeNodeGroupInstanceCommandInput,
256
+ options: __HttpHandlerOptions,
257
+ cb: (err: any, data?: RegisterComputeNodeGroupInstanceCommandOutput) => void
258
+ ): void;
259
+ tagResource(
260
+ args: TagResourceCommandInput,
261
+ options?: __HttpHandlerOptions
262
+ ): Promise<TagResourceCommandOutput>;
263
+ tagResource(
264
+ args: TagResourceCommandInput,
265
+ cb: (err: any, data?: TagResourceCommandOutput) => void
266
+ ): void;
267
+ tagResource(
268
+ args: TagResourceCommandInput,
269
+ options: __HttpHandlerOptions,
270
+ cb: (err: any, data?: TagResourceCommandOutput) => void
271
+ ): void;
272
+ untagResource(
273
+ args: UntagResourceCommandInput,
274
+ options?: __HttpHandlerOptions
275
+ ): Promise<UntagResourceCommandOutput>;
276
+ untagResource(
277
+ args: UntagResourceCommandInput,
278
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
279
+ ): void;
280
+ untagResource(
281
+ args: UntagResourceCommandInput,
282
+ options: __HttpHandlerOptions,
283
+ cb: (err: any, data?: UntagResourceCommandOutput) => void
284
+ ): void;
285
+ updateComputeNodeGroup(
286
+ args: UpdateComputeNodeGroupCommandInput,
287
+ options?: __HttpHandlerOptions
288
+ ): Promise<UpdateComputeNodeGroupCommandOutput>;
289
+ updateComputeNodeGroup(
290
+ args: UpdateComputeNodeGroupCommandInput,
291
+ cb: (err: any, data?: UpdateComputeNodeGroupCommandOutput) => void
292
+ ): void;
293
+ updateComputeNodeGroup(
294
+ args: UpdateComputeNodeGroupCommandInput,
295
+ options: __HttpHandlerOptions,
296
+ cb: (err: any, data?: UpdateComputeNodeGroupCommandOutput) => void
297
+ ): void;
298
+ updateQueue(
299
+ args: UpdateQueueCommandInput,
300
+ options?: __HttpHandlerOptions
301
+ ): Promise<UpdateQueueCommandOutput>;
302
+ updateQueue(
303
+ args: UpdateQueueCommandInput,
304
+ cb: (err: any, data?: UpdateQueueCommandOutput) => void
305
+ ): void;
306
+ updateQueue(
307
+ args: UpdateQueueCommandInput,
308
+ options: __HttpHandlerOptions,
309
+ cb: (err: any, data?: UpdateQueueCommandOutput) => void
310
+ ): void;
311
+ }
312
+ export declare class PCS extends PCSClient implements PCS {}
@@ -0,0 +1,223 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ CreateClusterCommandInput,
50
+ CreateClusterCommandOutput,
51
+ } from "./commands/CreateClusterCommand";
52
+ import {
53
+ CreateComputeNodeGroupCommandInput,
54
+ CreateComputeNodeGroupCommandOutput,
55
+ } from "./commands/CreateComputeNodeGroupCommand";
56
+ import {
57
+ CreateQueueCommandInput,
58
+ CreateQueueCommandOutput,
59
+ } from "./commands/CreateQueueCommand";
60
+ import {
61
+ DeleteClusterCommandInput,
62
+ DeleteClusterCommandOutput,
63
+ } from "./commands/DeleteClusterCommand";
64
+ import {
65
+ DeleteComputeNodeGroupCommandInput,
66
+ DeleteComputeNodeGroupCommandOutput,
67
+ } from "./commands/DeleteComputeNodeGroupCommand";
68
+ import {
69
+ DeleteQueueCommandInput,
70
+ DeleteQueueCommandOutput,
71
+ } from "./commands/DeleteQueueCommand";
72
+ import {
73
+ GetClusterCommandInput,
74
+ GetClusterCommandOutput,
75
+ } from "./commands/GetClusterCommand";
76
+ import {
77
+ GetComputeNodeGroupCommandInput,
78
+ GetComputeNodeGroupCommandOutput,
79
+ } from "./commands/GetComputeNodeGroupCommand";
80
+ import {
81
+ GetQueueCommandInput,
82
+ GetQueueCommandOutput,
83
+ } from "./commands/GetQueueCommand";
84
+ import {
85
+ ListClustersCommandInput,
86
+ ListClustersCommandOutput,
87
+ } from "./commands/ListClustersCommand";
88
+ import {
89
+ ListComputeNodeGroupsCommandInput,
90
+ ListComputeNodeGroupsCommandOutput,
91
+ } from "./commands/ListComputeNodeGroupsCommand";
92
+ import {
93
+ ListQueuesCommandInput,
94
+ ListQueuesCommandOutput,
95
+ } from "./commands/ListQueuesCommand";
96
+ import {
97
+ ListTagsForResourceCommandInput,
98
+ ListTagsForResourceCommandOutput,
99
+ } from "./commands/ListTagsForResourceCommand";
100
+ import {
101
+ RegisterComputeNodeGroupInstanceCommandInput,
102
+ RegisterComputeNodeGroupInstanceCommandOutput,
103
+ } from "./commands/RegisterComputeNodeGroupInstanceCommand";
104
+ import {
105
+ TagResourceCommandInput,
106
+ TagResourceCommandOutput,
107
+ } from "./commands/TagResourceCommand";
108
+ import {
109
+ UntagResourceCommandInput,
110
+ UntagResourceCommandOutput,
111
+ } from "./commands/UntagResourceCommand";
112
+ import {
113
+ UpdateComputeNodeGroupCommandInput,
114
+ UpdateComputeNodeGroupCommandOutput,
115
+ } from "./commands/UpdateComputeNodeGroupCommand";
116
+ import {
117
+ UpdateQueueCommandInput,
118
+ UpdateQueueCommandOutput,
119
+ } from "./commands/UpdateQueueCommand";
120
+ import {
121
+ ClientInputEndpointParameters,
122
+ ClientResolvedEndpointParameters,
123
+ EndpointParameters,
124
+ } from "./endpoint/EndpointParameters";
125
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
126
+ export { __Client };
127
+ export type ServiceInputTypes =
128
+ | CreateClusterCommandInput
129
+ | CreateComputeNodeGroupCommandInput
130
+ | CreateQueueCommandInput
131
+ | DeleteClusterCommandInput
132
+ | DeleteComputeNodeGroupCommandInput
133
+ | DeleteQueueCommandInput
134
+ | GetClusterCommandInput
135
+ | GetComputeNodeGroupCommandInput
136
+ | GetQueueCommandInput
137
+ | ListClustersCommandInput
138
+ | ListComputeNodeGroupsCommandInput
139
+ | ListQueuesCommandInput
140
+ | ListTagsForResourceCommandInput
141
+ | RegisterComputeNodeGroupInstanceCommandInput
142
+ | TagResourceCommandInput
143
+ | UntagResourceCommandInput
144
+ | UpdateComputeNodeGroupCommandInput
145
+ | UpdateQueueCommandInput;
146
+ export type ServiceOutputTypes =
147
+ | CreateClusterCommandOutput
148
+ | CreateComputeNodeGroupCommandOutput
149
+ | CreateQueueCommandOutput
150
+ | DeleteClusterCommandOutput
151
+ | DeleteComputeNodeGroupCommandOutput
152
+ | DeleteQueueCommandOutput
153
+ | GetClusterCommandOutput
154
+ | GetComputeNodeGroupCommandOutput
155
+ | GetQueueCommandOutput
156
+ | ListClustersCommandOutput
157
+ | ListComputeNodeGroupsCommandOutput
158
+ | ListQueuesCommandOutput
159
+ | ListTagsForResourceCommandOutput
160
+ | RegisterComputeNodeGroupInstanceCommandOutput
161
+ | TagResourceCommandOutput
162
+ | UntagResourceCommandOutput
163
+ | UpdateComputeNodeGroupCommandOutput
164
+ | UpdateQueueCommandOutput;
165
+ export interface ClientDefaults
166
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
167
+ requestHandler?: __HttpHandlerUserInput;
168
+ sha256?: __ChecksumConstructor | __HashConstructor;
169
+ urlParser?: __UrlParser;
170
+ bodyLengthChecker?: __BodyLengthCalculator;
171
+ streamCollector?: __StreamCollector;
172
+ base64Decoder?: __Decoder;
173
+ base64Encoder?: __Encoder;
174
+ utf8Decoder?: __Decoder;
175
+ utf8Encoder?: __Encoder;
176
+ runtime?: string;
177
+ disableHostPrefix?: boolean;
178
+ serviceId?: string;
179
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
180
+ useFipsEndpoint?: boolean | __Provider<boolean>;
181
+ region?: string | __Provider<string>;
182
+ defaultUserAgentProvider?: Provider<__UserAgent>;
183
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
184
+ maxAttempts?: number | __Provider<number>;
185
+ retryMode?: string | __Provider<string>;
186
+ logger?: __Logger;
187
+ extensions?: RuntimeExtension[];
188
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
189
+ }
190
+ export type PCSClientConfigType = Partial<
191
+ __SmithyConfiguration<__HttpHandlerOptions>
192
+ > &
193
+ ClientDefaults &
194
+ UserAgentInputConfig &
195
+ RetryInputConfig &
196
+ RegionInputConfig &
197
+ HostHeaderInputConfig &
198
+ EndpointInputConfig<EndpointParameters> &
199
+ HttpAuthSchemeInputConfig &
200
+ ClientInputEndpointParameters;
201
+ export interface PCSClientConfig extends PCSClientConfigType {}
202
+ export type PCSClientResolvedConfigType =
203
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
204
+ Required<ClientDefaults> &
205
+ RuntimeExtensionsConfig &
206
+ UserAgentResolvedConfig &
207
+ RetryResolvedConfig &
208
+ RegionResolvedConfig &
209
+ HostHeaderResolvedConfig &
210
+ EndpointResolvedConfig<EndpointParameters> &
211
+ HttpAuthSchemeResolvedConfig &
212
+ ClientResolvedEndpointParameters;
213
+ export interface PCSClientResolvedConfig extends PCSClientResolvedConfigType {}
214
+ export declare class PCSClient extends __Client<
215
+ __HttpHandlerOptions,
216
+ ServiceInputTypes,
217
+ ServiceOutputTypes,
218
+ PCSClientResolvedConfig
219
+ > {
220
+ readonly config: PCSClientResolvedConfig;
221
+ constructor(...[configuration]: __CheckOptionalClientConfig<PCSClientConfig>);
222
+ destroy(): void;
223
+ }
@@ -0,0 +1,32 @@
1
+ import {
2
+ AwsCredentialIdentity,
3
+ AwsCredentialIdentityProvider,
4
+ HttpAuthScheme,
5
+ } from "@smithy/types";
6
+ import { PCSHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: PCSHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): PCSHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: PCSHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,43 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ } from "@smithy/types";
13
+ import { PCSClientResolvedConfig } from "../PCSClient";
14
+ export interface PCSHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
15
+ region?: string;
16
+ }
17
+ export interface PCSHttpAuthSchemeParametersProvider
18
+ extends HttpAuthSchemeParametersProvider<
19
+ PCSClientResolvedConfig,
20
+ HandlerExecutionContext,
21
+ PCSHttpAuthSchemeParameters,
22
+ object
23
+ > {}
24
+ export declare const defaultPCSHttpAuthSchemeParametersProvider: (
25
+ config: PCSClientResolvedConfig,
26
+ context: HandlerExecutionContext,
27
+ input: object
28
+ ) => Promise<PCSHttpAuthSchemeParameters>;
29
+ export interface PCSHttpAuthSchemeProvider
30
+ extends HttpAuthSchemeProvider<PCSHttpAuthSchemeParameters> {}
31
+ export declare const defaultPCSHttpAuthSchemeProvider: PCSHttpAuthSchemeProvider;
32
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
33
+ httpAuthSchemes?: HttpAuthScheme[];
34
+ httpAuthSchemeProvider?: PCSHttpAuthSchemeProvider;
35
+ }
36
+ export interface HttpAuthSchemeResolvedConfig
37
+ extends AwsSdkSigV4AuthResolvedConfig {
38
+ readonly httpAuthSchemes: HttpAuthScheme[];
39
+ readonly httpAuthSchemeProvider: PCSHttpAuthSchemeProvider;
40
+ }
41
+ export declare const resolveHttpAuthSchemeConfig: <T>(
42
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
43
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,39 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateClusterRequest,
5
+ CreateClusterResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PCSClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PCSClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateClusterCommandInput extends CreateClusterRequest {}
15
+ export interface CreateClusterCommandOutput
16
+ extends CreateClusterResponse,
17
+ __MetadataBearer {}
18
+ declare const CreateClusterCommand_base: {
19
+ new (
20
+ input: CreateClusterCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ CreateClusterCommandInput,
23
+ CreateClusterCommandOutput,
24
+ PCSClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ __0_0: CreateClusterCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ CreateClusterCommandInput,
32
+ CreateClusterCommandOutput,
33
+ PCSClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class CreateClusterCommand extends CreateClusterCommand_base {}
@@ -0,0 +1,40 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CreateComputeNodeGroupRequest,
5
+ CreateComputeNodeGroupResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ PCSClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../PCSClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CreateComputeNodeGroupCommandInput
15
+ extends CreateComputeNodeGroupRequest {}
16
+ export interface CreateComputeNodeGroupCommandOutput
17
+ extends CreateComputeNodeGroupResponse,
18
+ __MetadataBearer {}
19
+ declare const CreateComputeNodeGroupCommand_base: {
20
+ new (
21
+ input: CreateComputeNodeGroupCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CreateComputeNodeGroupCommandInput,
24
+ CreateComputeNodeGroupCommandOutput,
25
+ PCSClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ __0_0: CreateComputeNodeGroupCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CreateComputeNodeGroupCommandInput,
33
+ CreateComputeNodeGroupCommandOutput,
34
+ PCSClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CreateComputeNodeGroupCommand extends CreateComputeNodeGroupCommand_base {}