@aws-sdk/client-athena 3.321.1 → 3.325.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 (59) hide show
  1. package/README.md +56 -0
  2. package/dist-cjs/Athena.js +14 -0
  3. package/dist-cjs/commands/CancelCapacityReservationCommand.js +45 -0
  4. package/dist-cjs/commands/CreateCapacityReservationCommand.js +45 -0
  5. package/dist-cjs/commands/GetCapacityAssignmentConfigurationCommand.js +45 -0
  6. package/dist-cjs/commands/GetCapacityReservationCommand.js +45 -0
  7. package/dist-cjs/commands/ListCapacityReservationsCommand.js +45 -0
  8. package/dist-cjs/commands/PutCapacityAssignmentConfigurationCommand.js +45 -0
  9. package/dist-cjs/commands/UpdateCapacityReservationCommand.js +45 -0
  10. package/dist-cjs/commands/index.js +7 -0
  11. package/dist-cjs/models/models_0.js +14 -1
  12. package/dist-cjs/pagination/ListCapacityReservationsPaginator.js +29 -0
  13. package/dist-cjs/pagination/index.js +1 -0
  14. package/dist-cjs/protocols/Aws_json1_1.js +342 -3
  15. package/dist-es/Athena.js +14 -0
  16. package/dist-es/commands/CancelCapacityReservationCommand.js +41 -0
  17. package/dist-es/commands/CreateCapacityReservationCommand.js +41 -0
  18. package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +41 -0
  19. package/dist-es/commands/GetCapacityReservationCommand.js +41 -0
  20. package/dist-es/commands/ListCapacityReservationsCommand.js +41 -0
  21. package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +41 -0
  22. package/dist-es/commands/UpdateCapacityReservationCommand.js +41 -0
  23. package/dist-es/commands/index.js +7 -0
  24. package/dist-es/models/models_0.js +13 -0
  25. package/dist-es/pagination/ListCapacityReservationsPaginator.js +25 -0
  26. package/dist-es/pagination/index.js +1 -0
  27. package/dist-es/protocols/Aws_json1_1.js +326 -1
  28. package/dist-types/Athena.d.ts +49 -0
  29. package/dist-types/AthenaClient.d.ts +9 -2
  30. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +71 -0
  31. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +78 -0
  32. package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +71 -0
  33. package/dist-types/commands/GetCapacityReservationCommand.d.ts +71 -0
  34. package/dist-types/commands/ListCapacityReservationsCommand.d.ts +72 -0
  35. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
  36. package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +78 -0
  37. package/dist-types/commands/TagResourceCommand.d.ts +3 -5
  38. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +72 -0
  40. package/dist-types/commands/index.d.ts +7 -0
  41. package/dist-types/models/models_0.d.ts +254 -8
  42. package/dist-types/pagination/ListCapacityReservationsPaginator.d.ts +7 -0
  43. package/dist-types/pagination/index.d.ts +1 -0
  44. package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
  45. package/dist-types/ts3.4/Athena.d.ts +131 -0
  46. package/dist-types/ts3.4/AthenaClient.d.ts +42 -0
  47. package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +41 -0
  48. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +41 -0
  49. package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +41 -0
  50. package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +41 -0
  51. package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +41 -0
  52. package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +41 -0
  53. package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +41 -0
  54. package/dist-types/ts3.4/commands/index.d.ts +7 -0
  55. package/dist-types/ts3.4/models/models_0.d.ts +79 -0
  56. package/dist-types/ts3.4/pagination/ListCapacityReservationsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  58. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
  59. package/package.json +16 -16
@@ -3,6 +3,8 @@ import { SerdeContext as __SerdeContext } from "@aws-sdk/types";
3
3
  import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "../commands/BatchGetNamedQueryCommand";
4
4
  import { BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommandOutput } from "../commands/BatchGetPreparedStatementCommand";
5
5
  import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "../commands/BatchGetQueryExecutionCommand";
6
+ import { CancelCapacityReservationCommandInput, CancelCapacityReservationCommandOutput } from "../commands/CancelCapacityReservationCommand";
7
+ import { CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput } from "../commands/CreateCapacityReservationCommand";
6
8
  import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "../commands/CreateDataCatalogCommand";
7
9
  import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "../commands/CreateNamedQueryCommand";
8
10
  import { CreateNotebookCommandInput, CreateNotebookCommandOutput } from "../commands/CreateNotebookCommand";
@@ -18,6 +20,8 @@ import { ExportNotebookCommandInput, ExportNotebookCommandOutput } from "../comm
18
20
  import { GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput } from "../commands/GetCalculationExecutionCodeCommand";
19
21
  import { GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput } from "../commands/GetCalculationExecutionCommand";
20
22
  import { GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput } from "../commands/GetCalculationExecutionStatusCommand";
23
+ import { GetCapacityAssignmentConfigurationCommandInput, GetCapacityAssignmentConfigurationCommandOutput } from "../commands/GetCapacityAssignmentConfigurationCommand";
24
+ import { GetCapacityReservationCommandInput, GetCapacityReservationCommandOutput } from "../commands/GetCapacityReservationCommand";
21
25
  import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "../commands/GetDatabaseCommand";
22
26
  import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "../commands/GetDataCatalogCommand";
23
27
  import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "../commands/GetNamedQueryCommand";
@@ -33,6 +37,7 @@ import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "../commands
33
37
  import { ImportNotebookCommandInput, ImportNotebookCommandOutput } from "../commands/ImportNotebookCommand";
34
38
  import { ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput } from "../commands/ListApplicationDPUSizesCommand";
35
39
  import { ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput } from "../commands/ListCalculationExecutionsCommand";
40
+ import { ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput } from "../commands/ListCapacityReservationsCommand";
36
41
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
37
42
  import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "../commands/ListDataCatalogsCommand";
38
43
  import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "../commands/ListEngineVersionsCommand";
@@ -46,6 +51,7 @@ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "../commands
46
51
  import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "../commands/ListTableMetadataCommand";
47
52
  import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
48
53
  import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "../commands/ListWorkGroupsCommand";
54
+ import { PutCapacityAssignmentConfigurationCommandInput, PutCapacityAssignmentConfigurationCommandOutput } from "../commands/PutCapacityAssignmentConfigurationCommand";
49
55
  import { StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput } from "../commands/StartCalculationExecutionCommand";
50
56
  import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "../commands/StartQueryExecutionCommand";
51
57
  import { StartSessionCommandInput, StartSessionCommandOutput } from "../commands/StartSessionCommand";
@@ -54,6 +60,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
54
60
  import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
55
61
  import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "../commands/TerminateSessionCommand";
56
62
  import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
63
+ import { UpdateCapacityReservationCommandInput, UpdateCapacityReservationCommandOutput } from "../commands/UpdateCapacityReservationCommand";
57
64
  import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "../commands/UpdateDataCatalogCommand";
58
65
  import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "../commands/UpdateNamedQueryCommand";
59
66
  import { UpdateNotebookCommandInput, UpdateNotebookCommandOutput } from "../commands/UpdateNotebookCommand";
@@ -72,6 +79,14 @@ export declare const se_BatchGetPreparedStatementCommand: (input: BatchGetPrepar
72
79
  * serializeAws_json1_1BatchGetQueryExecutionCommand
73
80
  */
74
81
  export declare const se_BatchGetQueryExecutionCommand: (input: BatchGetQueryExecutionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
82
+ /**
83
+ * serializeAws_json1_1CancelCapacityReservationCommand
84
+ */
85
+ export declare const se_CancelCapacityReservationCommand: (input: CancelCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
86
+ /**
87
+ * serializeAws_json1_1CreateCapacityReservationCommand
88
+ */
89
+ export declare const se_CreateCapacityReservationCommand: (input: CreateCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
75
90
  /**
76
91
  * serializeAws_json1_1CreateDataCatalogCommand
77
92
  */
@@ -132,6 +147,14 @@ export declare const se_GetCalculationExecutionCodeCommand: (input: GetCalculati
132
147
  * serializeAws_json1_1GetCalculationExecutionStatusCommand
133
148
  */
134
149
  export declare const se_GetCalculationExecutionStatusCommand: (input: GetCalculationExecutionStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
150
+ /**
151
+ * serializeAws_json1_1GetCapacityAssignmentConfigurationCommand
152
+ */
153
+ export declare const se_GetCapacityAssignmentConfigurationCommand: (input: GetCapacityAssignmentConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
154
+ /**
155
+ * serializeAws_json1_1GetCapacityReservationCommand
156
+ */
157
+ export declare const se_GetCapacityReservationCommand: (input: GetCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
135
158
  /**
136
159
  * serializeAws_json1_1GetDatabaseCommand
137
160
  */
@@ -192,6 +215,10 @@ export declare const se_ListApplicationDPUSizesCommand: (input: ListApplicationD
192
215
  * serializeAws_json1_1ListCalculationExecutionsCommand
193
216
  */
194
217
  export declare const se_ListCalculationExecutionsCommand: (input: ListCalculationExecutionsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
218
+ /**
219
+ * serializeAws_json1_1ListCapacityReservationsCommand
220
+ */
221
+ export declare const se_ListCapacityReservationsCommand: (input: ListCapacityReservationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
195
222
  /**
196
223
  * serializeAws_json1_1ListDatabasesCommand
197
224
  */
@@ -244,6 +271,10 @@ export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceC
244
271
  * serializeAws_json1_1ListWorkGroupsCommand
245
272
  */
246
273
  export declare const se_ListWorkGroupsCommand: (input: ListWorkGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
274
+ /**
275
+ * serializeAws_json1_1PutCapacityAssignmentConfigurationCommand
276
+ */
277
+ export declare const se_PutCapacityAssignmentConfigurationCommand: (input: PutCapacityAssignmentConfigurationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
247
278
  /**
248
279
  * serializeAws_json1_1StartCalculationExecutionCommand
249
280
  */
@@ -276,6 +307,10 @@ export declare const se_TerminateSessionCommand: (input: TerminateSessionCommand
276
307
  * serializeAws_json1_1UntagResourceCommand
277
308
  */
278
309
  export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
310
+ /**
311
+ * serializeAws_json1_1UpdateCapacityReservationCommand
312
+ */
313
+ export declare const se_UpdateCapacityReservationCommand: (input: UpdateCapacityReservationCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
279
314
  /**
280
315
  * serializeAws_json1_1UpdateDataCatalogCommand
281
316
  */
@@ -312,6 +347,14 @@ export declare const de_BatchGetPreparedStatementCommand: (output: __HttpRespons
312
347
  * deserializeAws_json1_1BatchGetQueryExecutionCommand
313
348
  */
314
349
  export declare const de_BatchGetQueryExecutionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<BatchGetQueryExecutionCommandOutput>;
350
+ /**
351
+ * deserializeAws_json1_1CancelCapacityReservationCommand
352
+ */
353
+ export declare const de_CancelCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CancelCapacityReservationCommandOutput>;
354
+ /**
355
+ * deserializeAws_json1_1CreateCapacityReservationCommand
356
+ */
357
+ export declare const de_CreateCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<CreateCapacityReservationCommandOutput>;
315
358
  /**
316
359
  * deserializeAws_json1_1CreateDataCatalogCommand
317
360
  */
@@ -372,6 +415,14 @@ export declare const de_GetCalculationExecutionCodeCommand: (output: __HttpRespo
372
415
  * deserializeAws_json1_1GetCalculationExecutionStatusCommand
373
416
  */
374
417
  export declare const de_GetCalculationExecutionStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCalculationExecutionStatusCommandOutput>;
418
+ /**
419
+ * deserializeAws_json1_1GetCapacityAssignmentConfigurationCommand
420
+ */
421
+ export declare const de_GetCapacityAssignmentConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCapacityAssignmentConfigurationCommandOutput>;
422
+ /**
423
+ * deserializeAws_json1_1GetCapacityReservationCommand
424
+ */
425
+ export declare const de_GetCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetCapacityReservationCommandOutput>;
375
426
  /**
376
427
  * deserializeAws_json1_1GetDatabaseCommand
377
428
  */
@@ -432,6 +483,10 @@ export declare const de_ListApplicationDPUSizesCommand: (output: __HttpResponse,
432
483
  * deserializeAws_json1_1ListCalculationExecutionsCommand
433
484
  */
434
485
  export declare const de_ListCalculationExecutionsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCalculationExecutionsCommandOutput>;
486
+ /**
487
+ * deserializeAws_json1_1ListCapacityReservationsCommand
488
+ */
489
+ export declare const de_ListCapacityReservationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListCapacityReservationsCommandOutput>;
435
490
  /**
436
491
  * deserializeAws_json1_1ListDatabasesCommand
437
492
  */
@@ -484,6 +539,10 @@ export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, con
484
539
  * deserializeAws_json1_1ListWorkGroupsCommand
485
540
  */
486
541
  export declare const de_ListWorkGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListWorkGroupsCommandOutput>;
542
+ /**
543
+ * deserializeAws_json1_1PutCapacityAssignmentConfigurationCommand
544
+ */
545
+ export declare const de_PutCapacityAssignmentConfigurationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PutCapacityAssignmentConfigurationCommandOutput>;
487
546
  /**
488
547
  * deserializeAws_json1_1StartCalculationExecutionCommand
489
548
  */
@@ -516,6 +575,10 @@ export declare const de_TerminateSessionCommand: (output: __HttpResponse, contex
516
575
  * deserializeAws_json1_1UntagResourceCommand
517
576
  */
518
577
  export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
578
+ /**
579
+ * deserializeAws_json1_1UpdateCapacityReservationCommand
580
+ */
581
+ export declare const de_UpdateCapacityReservationCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UpdateCapacityReservationCommandOutput>;
519
582
  /**
520
583
  * deserializeAws_json1_1UpdateDataCatalogCommand
521
584
  */
@@ -12,6 +12,14 @@ import {
12
12
  BatchGetQueryExecutionCommandInput,
13
13
  BatchGetQueryExecutionCommandOutput,
14
14
  } from "./commands/BatchGetQueryExecutionCommand";
15
+ import {
16
+ CancelCapacityReservationCommandInput,
17
+ CancelCapacityReservationCommandOutput,
18
+ } from "./commands/CancelCapacityReservationCommand";
19
+ import {
20
+ CreateCapacityReservationCommandInput,
21
+ CreateCapacityReservationCommandOutput,
22
+ } from "./commands/CreateCapacityReservationCommand";
15
23
  import {
16
24
  CreateDataCatalogCommandInput,
17
25
  CreateDataCatalogCommandOutput,
@@ -72,6 +80,14 @@ import {
72
80
  GetCalculationExecutionStatusCommandInput,
73
81
  GetCalculationExecutionStatusCommandOutput,
74
82
  } from "./commands/GetCalculationExecutionStatusCommand";
83
+ import {
84
+ GetCapacityAssignmentConfigurationCommandInput,
85
+ GetCapacityAssignmentConfigurationCommandOutput,
86
+ } from "./commands/GetCapacityAssignmentConfigurationCommand";
87
+ import {
88
+ GetCapacityReservationCommandInput,
89
+ GetCapacityReservationCommandOutput,
90
+ } from "./commands/GetCapacityReservationCommand";
75
91
  import {
76
92
  GetDatabaseCommandInput,
77
93
  GetDatabaseCommandOutput,
@@ -132,6 +148,10 @@ import {
132
148
  ListCalculationExecutionsCommandInput,
133
149
  ListCalculationExecutionsCommandOutput,
134
150
  } from "./commands/ListCalculationExecutionsCommand";
151
+ import {
152
+ ListCapacityReservationsCommandInput,
153
+ ListCapacityReservationsCommandOutput,
154
+ } from "./commands/ListCapacityReservationsCommand";
135
155
  import {
136
156
  ListDatabasesCommandInput,
137
157
  ListDatabasesCommandOutput,
@@ -184,6 +204,10 @@ import {
184
204
  ListWorkGroupsCommandInput,
185
205
  ListWorkGroupsCommandOutput,
186
206
  } from "./commands/ListWorkGroupsCommand";
207
+ import {
208
+ PutCapacityAssignmentConfigurationCommandInput,
209
+ PutCapacityAssignmentConfigurationCommandOutput,
210
+ } from "./commands/PutCapacityAssignmentConfigurationCommand";
187
211
  import {
188
212
  StartCalculationExecutionCommandInput,
189
213
  StartCalculationExecutionCommandOutput,
@@ -216,6 +240,10 @@ import {
216
240
  UntagResourceCommandInput,
217
241
  UntagResourceCommandOutput,
218
242
  } from "./commands/UntagResourceCommand";
243
+ import {
244
+ UpdateCapacityReservationCommandInput,
245
+ UpdateCapacityReservationCommandOutput,
246
+ } from "./commands/UpdateCapacityReservationCommand";
219
247
  import {
220
248
  UpdateDataCatalogCommandInput,
221
249
  UpdateDataCatalogCommandOutput,
@@ -280,6 +308,32 @@ export interface Athena {
280
308
  options: __HttpHandlerOptions,
281
309
  cb: (err: any, data?: BatchGetQueryExecutionCommandOutput) => void
282
310
  ): void;
311
+ cancelCapacityReservation(
312
+ args: CancelCapacityReservationCommandInput,
313
+ options?: __HttpHandlerOptions
314
+ ): Promise<CancelCapacityReservationCommandOutput>;
315
+ cancelCapacityReservation(
316
+ args: CancelCapacityReservationCommandInput,
317
+ cb: (err: any, data?: CancelCapacityReservationCommandOutput) => void
318
+ ): void;
319
+ cancelCapacityReservation(
320
+ args: CancelCapacityReservationCommandInput,
321
+ options: __HttpHandlerOptions,
322
+ cb: (err: any, data?: CancelCapacityReservationCommandOutput) => void
323
+ ): void;
324
+ createCapacityReservation(
325
+ args: CreateCapacityReservationCommandInput,
326
+ options?: __HttpHandlerOptions
327
+ ): Promise<CreateCapacityReservationCommandOutput>;
328
+ createCapacityReservation(
329
+ args: CreateCapacityReservationCommandInput,
330
+ cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void
331
+ ): void;
332
+ createCapacityReservation(
333
+ args: CreateCapacityReservationCommandInput,
334
+ options: __HttpHandlerOptions,
335
+ cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void
336
+ ): void;
283
337
  createDataCatalog(
284
338
  args: CreateDataCatalogCommandInput,
285
339
  options?: __HttpHandlerOptions
@@ -475,6 +529,38 @@ export interface Athena {
475
529
  options: __HttpHandlerOptions,
476
530
  cb: (err: any, data?: GetCalculationExecutionStatusCommandOutput) => void
477
531
  ): void;
532
+ getCapacityAssignmentConfiguration(
533
+ args: GetCapacityAssignmentConfigurationCommandInput,
534
+ options?: __HttpHandlerOptions
535
+ ): Promise<GetCapacityAssignmentConfigurationCommandOutput>;
536
+ getCapacityAssignmentConfiguration(
537
+ args: GetCapacityAssignmentConfigurationCommandInput,
538
+ cb: (
539
+ err: any,
540
+ data?: GetCapacityAssignmentConfigurationCommandOutput
541
+ ) => void
542
+ ): void;
543
+ getCapacityAssignmentConfiguration(
544
+ args: GetCapacityAssignmentConfigurationCommandInput,
545
+ options: __HttpHandlerOptions,
546
+ cb: (
547
+ err: any,
548
+ data?: GetCapacityAssignmentConfigurationCommandOutput
549
+ ) => void
550
+ ): void;
551
+ getCapacityReservation(
552
+ args: GetCapacityReservationCommandInput,
553
+ options?: __HttpHandlerOptions
554
+ ): Promise<GetCapacityReservationCommandOutput>;
555
+ getCapacityReservation(
556
+ args: GetCapacityReservationCommandInput,
557
+ cb: (err: any, data?: GetCapacityReservationCommandOutput) => void
558
+ ): void;
559
+ getCapacityReservation(
560
+ args: GetCapacityReservationCommandInput,
561
+ options: __HttpHandlerOptions,
562
+ cb: (err: any, data?: GetCapacityReservationCommandOutput) => void
563
+ ): void;
478
564
  getDatabase(
479
565
  args: GetDatabaseCommandInput,
480
566
  options?: __HttpHandlerOptions
@@ -670,6 +756,19 @@ export interface Athena {
670
756
  options: __HttpHandlerOptions,
671
757
  cb: (err: any, data?: ListCalculationExecutionsCommandOutput) => void
672
758
  ): void;
759
+ listCapacityReservations(
760
+ args: ListCapacityReservationsCommandInput,
761
+ options?: __HttpHandlerOptions
762
+ ): Promise<ListCapacityReservationsCommandOutput>;
763
+ listCapacityReservations(
764
+ args: ListCapacityReservationsCommandInput,
765
+ cb: (err: any, data?: ListCapacityReservationsCommandOutput) => void
766
+ ): void;
767
+ listCapacityReservations(
768
+ args: ListCapacityReservationsCommandInput,
769
+ options: __HttpHandlerOptions,
770
+ cb: (err: any, data?: ListCapacityReservationsCommandOutput) => void
771
+ ): void;
673
772
  listDatabases(
674
773
  args: ListDatabasesCommandInput,
675
774
  options?: __HttpHandlerOptions
@@ -839,6 +938,25 @@ export interface Athena {
839
938
  options: __HttpHandlerOptions,
840
939
  cb: (err: any, data?: ListWorkGroupsCommandOutput) => void
841
940
  ): void;
941
+ putCapacityAssignmentConfiguration(
942
+ args: PutCapacityAssignmentConfigurationCommandInput,
943
+ options?: __HttpHandlerOptions
944
+ ): Promise<PutCapacityAssignmentConfigurationCommandOutput>;
945
+ putCapacityAssignmentConfiguration(
946
+ args: PutCapacityAssignmentConfigurationCommandInput,
947
+ cb: (
948
+ err: any,
949
+ data?: PutCapacityAssignmentConfigurationCommandOutput
950
+ ) => void
951
+ ): void;
952
+ putCapacityAssignmentConfiguration(
953
+ args: PutCapacityAssignmentConfigurationCommandInput,
954
+ options: __HttpHandlerOptions,
955
+ cb: (
956
+ err: any,
957
+ data?: PutCapacityAssignmentConfigurationCommandOutput
958
+ ) => void
959
+ ): void;
842
960
  startCalculationExecution(
843
961
  args: StartCalculationExecutionCommandInput,
844
962
  options?: __HttpHandlerOptions
@@ -943,6 +1061,19 @@ export interface Athena {
943
1061
  options: __HttpHandlerOptions,
944
1062
  cb: (err: any, data?: UntagResourceCommandOutput) => void
945
1063
  ): void;
1064
+ updateCapacityReservation(
1065
+ args: UpdateCapacityReservationCommandInput,
1066
+ options?: __HttpHandlerOptions
1067
+ ): Promise<UpdateCapacityReservationCommandOutput>;
1068
+ updateCapacityReservation(
1069
+ args: UpdateCapacityReservationCommandInput,
1070
+ cb: (err: any, data?: UpdateCapacityReservationCommandOutput) => void
1071
+ ): void;
1072
+ updateCapacityReservation(
1073
+ args: UpdateCapacityReservationCommandInput,
1074
+ options: __HttpHandlerOptions,
1075
+ cb: (err: any, data?: UpdateCapacityReservationCommandOutput) => void
1076
+ ): void;
946
1077
  updateDataCatalog(
947
1078
  args: UpdateDataCatalogCommandInput,
948
1079
  options?: __HttpHandlerOptions
@@ -56,6 +56,14 @@ import {
56
56
  BatchGetQueryExecutionCommandInput,
57
57
  BatchGetQueryExecutionCommandOutput,
58
58
  } from "./commands/BatchGetQueryExecutionCommand";
59
+ import {
60
+ CancelCapacityReservationCommandInput,
61
+ CancelCapacityReservationCommandOutput,
62
+ } from "./commands/CancelCapacityReservationCommand";
63
+ import {
64
+ CreateCapacityReservationCommandInput,
65
+ CreateCapacityReservationCommandOutput,
66
+ } from "./commands/CreateCapacityReservationCommand";
59
67
  import {
60
68
  CreateDataCatalogCommandInput,
61
69
  CreateDataCatalogCommandOutput,
@@ -116,6 +124,14 @@ import {
116
124
  GetCalculationExecutionStatusCommandInput,
117
125
  GetCalculationExecutionStatusCommandOutput,
118
126
  } from "./commands/GetCalculationExecutionStatusCommand";
127
+ import {
128
+ GetCapacityAssignmentConfigurationCommandInput,
129
+ GetCapacityAssignmentConfigurationCommandOutput,
130
+ } from "./commands/GetCapacityAssignmentConfigurationCommand";
131
+ import {
132
+ GetCapacityReservationCommandInput,
133
+ GetCapacityReservationCommandOutput,
134
+ } from "./commands/GetCapacityReservationCommand";
119
135
  import {
120
136
  GetDatabaseCommandInput,
121
137
  GetDatabaseCommandOutput,
@@ -176,6 +192,10 @@ import {
176
192
  ListCalculationExecutionsCommandInput,
177
193
  ListCalculationExecutionsCommandOutput,
178
194
  } from "./commands/ListCalculationExecutionsCommand";
195
+ import {
196
+ ListCapacityReservationsCommandInput,
197
+ ListCapacityReservationsCommandOutput,
198
+ } from "./commands/ListCapacityReservationsCommand";
179
199
  import {
180
200
  ListDatabasesCommandInput,
181
201
  ListDatabasesCommandOutput,
@@ -228,6 +248,10 @@ import {
228
248
  ListWorkGroupsCommandInput,
229
249
  ListWorkGroupsCommandOutput,
230
250
  } from "./commands/ListWorkGroupsCommand";
251
+ import {
252
+ PutCapacityAssignmentConfigurationCommandInput,
253
+ PutCapacityAssignmentConfigurationCommandOutput,
254
+ } from "./commands/PutCapacityAssignmentConfigurationCommand";
231
255
  import {
232
256
  StartCalculationExecutionCommandInput,
233
257
  StartCalculationExecutionCommandOutput,
@@ -260,6 +284,10 @@ import {
260
284
  UntagResourceCommandInput,
261
285
  UntagResourceCommandOutput,
262
286
  } from "./commands/UntagResourceCommand";
287
+ import {
288
+ UpdateCapacityReservationCommandInput,
289
+ UpdateCapacityReservationCommandOutput,
290
+ } from "./commands/UpdateCapacityReservationCommand";
263
291
  import {
264
292
  UpdateDataCatalogCommandInput,
265
293
  UpdateDataCatalogCommandOutput,
@@ -293,6 +321,8 @@ export type ServiceInputTypes =
293
321
  | BatchGetNamedQueryCommandInput
294
322
  | BatchGetPreparedStatementCommandInput
295
323
  | BatchGetQueryExecutionCommandInput
324
+ | CancelCapacityReservationCommandInput
325
+ | CreateCapacityReservationCommandInput
296
326
  | CreateDataCatalogCommandInput
297
327
  | CreateNamedQueryCommandInput
298
328
  | CreateNotebookCommandInput
@@ -308,6 +338,8 @@ export type ServiceInputTypes =
308
338
  | GetCalculationExecutionCodeCommandInput
309
339
  | GetCalculationExecutionCommandInput
310
340
  | GetCalculationExecutionStatusCommandInput
341
+ | GetCapacityAssignmentConfigurationCommandInput
342
+ | GetCapacityReservationCommandInput
311
343
  | GetDataCatalogCommandInput
312
344
  | GetDatabaseCommandInput
313
345
  | GetNamedQueryCommandInput
@@ -323,6 +355,7 @@ export type ServiceInputTypes =
323
355
  | ImportNotebookCommandInput
324
356
  | ListApplicationDPUSizesCommandInput
325
357
  | ListCalculationExecutionsCommandInput
358
+ | ListCapacityReservationsCommandInput
326
359
  | ListDataCatalogsCommandInput
327
360
  | ListDatabasesCommandInput
328
361
  | ListEngineVersionsCommandInput
@@ -336,6 +369,7 @@ export type ServiceInputTypes =
336
369
  | ListTableMetadataCommandInput
337
370
  | ListTagsForResourceCommandInput
338
371
  | ListWorkGroupsCommandInput
372
+ | PutCapacityAssignmentConfigurationCommandInput
339
373
  | StartCalculationExecutionCommandInput
340
374
  | StartQueryExecutionCommandInput
341
375
  | StartSessionCommandInput
@@ -344,6 +378,7 @@ export type ServiceInputTypes =
344
378
  | TagResourceCommandInput
345
379
  | TerminateSessionCommandInput
346
380
  | UntagResourceCommandInput
381
+ | UpdateCapacityReservationCommandInput
347
382
  | UpdateDataCatalogCommandInput
348
383
  | UpdateNamedQueryCommandInput
349
384
  | UpdateNotebookCommandInput
@@ -354,6 +389,8 @@ export type ServiceOutputTypes =
354
389
  | BatchGetNamedQueryCommandOutput
355
390
  | BatchGetPreparedStatementCommandOutput
356
391
  | BatchGetQueryExecutionCommandOutput
392
+ | CancelCapacityReservationCommandOutput
393
+ | CreateCapacityReservationCommandOutput
357
394
  | CreateDataCatalogCommandOutput
358
395
  | CreateNamedQueryCommandOutput
359
396
  | CreateNotebookCommandOutput
@@ -369,6 +406,8 @@ export type ServiceOutputTypes =
369
406
  | GetCalculationExecutionCodeCommandOutput
370
407
  | GetCalculationExecutionCommandOutput
371
408
  | GetCalculationExecutionStatusCommandOutput
409
+ | GetCapacityAssignmentConfigurationCommandOutput
410
+ | GetCapacityReservationCommandOutput
372
411
  | GetDataCatalogCommandOutput
373
412
  | GetDatabaseCommandOutput
374
413
  | GetNamedQueryCommandOutput
@@ -384,6 +423,7 @@ export type ServiceOutputTypes =
384
423
  | ImportNotebookCommandOutput
385
424
  | ListApplicationDPUSizesCommandOutput
386
425
  | ListCalculationExecutionsCommandOutput
426
+ | ListCapacityReservationsCommandOutput
387
427
  | ListDataCatalogsCommandOutput
388
428
  | ListDatabasesCommandOutput
389
429
  | ListEngineVersionsCommandOutput
@@ -397,6 +437,7 @@ export type ServiceOutputTypes =
397
437
  | ListTableMetadataCommandOutput
398
438
  | ListTagsForResourceCommandOutput
399
439
  | ListWorkGroupsCommandOutput
440
+ | PutCapacityAssignmentConfigurationCommandOutput
400
441
  | StartCalculationExecutionCommandOutput
401
442
  | StartQueryExecutionCommandOutput
402
443
  | StartSessionCommandOutput
@@ -405,6 +446,7 @@ export type ServiceOutputTypes =
405
446
  | TagResourceCommandOutput
406
447
  | TerminateSessionCommandOutput
407
448
  | UntagResourceCommandOutput
449
+ | UpdateCapacityReservationCommandOutput
408
450
  | UpdateDataCatalogCommandOutput
409
451
  | UpdateNamedQueryCommandOutput
410
452
  | UpdateNotebookCommandOutput
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AthenaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AthenaClient";
14
+ import {
15
+ CancelCapacityReservationInput,
16
+ CancelCapacityReservationOutput,
17
+ } from "../models/models_0";
18
+ export interface CancelCapacityReservationCommandInput
19
+ extends CancelCapacityReservationInput {}
20
+ export interface CancelCapacityReservationCommandOutput
21
+ extends CancelCapacityReservationOutput,
22
+ __MetadataBearer {}
23
+ export declare class CancelCapacityReservationCommand extends $Command<
24
+ CancelCapacityReservationCommandInput,
25
+ CancelCapacityReservationCommandOutput,
26
+ AthenaClientResolvedConfig
27
+ > {
28
+ readonly input: CancelCapacityReservationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CancelCapacityReservationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: AthenaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CancelCapacityReservationCommandInput,
37
+ CancelCapacityReservationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AthenaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AthenaClient";
14
+ import {
15
+ CreateCapacityReservationInput,
16
+ CreateCapacityReservationOutput,
17
+ } from "../models/models_0";
18
+ export interface CreateCapacityReservationCommandInput
19
+ extends CreateCapacityReservationInput {}
20
+ export interface CreateCapacityReservationCommandOutput
21
+ extends CreateCapacityReservationOutput,
22
+ __MetadataBearer {}
23
+ export declare class CreateCapacityReservationCommand extends $Command<
24
+ CreateCapacityReservationCommandInput,
25
+ CreateCapacityReservationCommandOutput,
26
+ AthenaClientResolvedConfig
27
+ > {
28
+ readonly input: CreateCapacityReservationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: CreateCapacityReservationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: AthenaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ CreateCapacityReservationCommandInput,
37
+ CreateCapacityReservationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AthenaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AthenaClient";
14
+ import {
15
+ GetCapacityAssignmentConfigurationInput,
16
+ GetCapacityAssignmentConfigurationOutput,
17
+ } from "../models/models_0";
18
+ export interface GetCapacityAssignmentConfigurationCommandInput
19
+ extends GetCapacityAssignmentConfigurationInput {}
20
+ export interface GetCapacityAssignmentConfigurationCommandOutput
21
+ extends GetCapacityAssignmentConfigurationOutput,
22
+ __MetadataBearer {}
23
+ export declare class GetCapacityAssignmentConfigurationCommand extends $Command<
24
+ GetCapacityAssignmentConfigurationCommandInput,
25
+ GetCapacityAssignmentConfigurationCommandOutput,
26
+ AthenaClientResolvedConfig
27
+ > {
28
+ readonly input: GetCapacityAssignmentConfigurationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetCapacityAssignmentConfigurationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: AthenaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetCapacityAssignmentConfigurationCommandInput,
37
+ GetCapacityAssignmentConfigurationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }
@@ -0,0 +1,41 @@
1
+ import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
2
+ import { Command as $Command } from "@aws-sdk/smithy-client";
3
+ import {
4
+ Handler,
5
+ HttpHandlerOptions as __HttpHandlerOptions,
6
+ MetadataBearer as __MetadataBearer,
7
+ MiddlewareStack,
8
+ } from "@aws-sdk/types";
9
+ import {
10
+ AthenaClientResolvedConfig,
11
+ ServiceInputTypes,
12
+ ServiceOutputTypes,
13
+ } from "../AthenaClient";
14
+ import {
15
+ GetCapacityReservationInput,
16
+ GetCapacityReservationOutput,
17
+ } from "../models/models_0";
18
+ export interface GetCapacityReservationCommandInput
19
+ extends GetCapacityReservationInput {}
20
+ export interface GetCapacityReservationCommandOutput
21
+ extends GetCapacityReservationOutput,
22
+ __MetadataBearer {}
23
+ export declare class GetCapacityReservationCommand extends $Command<
24
+ GetCapacityReservationCommandInput,
25
+ GetCapacityReservationCommandOutput,
26
+ AthenaClientResolvedConfig
27
+ > {
28
+ readonly input: GetCapacityReservationCommandInput;
29
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
30
+ constructor(input: GetCapacityReservationCommandInput);
31
+ resolveMiddleware(
32
+ clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
33
+ configuration: AthenaClientResolvedConfig,
34
+ options?: __HttpHandlerOptions
35
+ ): Handler<
36
+ GetCapacityReservationCommandInput,
37
+ GetCapacityReservationCommandOutput
38
+ >;
39
+ private serialize;
40
+ private deserialize;
41
+ }