@aws-sdk/client-athena 3.319.0 → 3.323.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +56 -0
- package/dist-cjs/Athena.js +14 -0
- package/dist-cjs/commands/CancelCapacityReservationCommand.js +45 -0
- package/dist-cjs/commands/CreateCapacityReservationCommand.js +45 -0
- package/dist-cjs/commands/GetCapacityAssignmentConfigurationCommand.js +45 -0
- package/dist-cjs/commands/GetCapacityReservationCommand.js +45 -0
- package/dist-cjs/commands/ListCapacityReservationsCommand.js +45 -0
- package/dist-cjs/commands/PutCapacityAssignmentConfigurationCommand.js +45 -0
- package/dist-cjs/commands/UpdateCapacityReservationCommand.js +45 -0
- package/dist-cjs/commands/index.js +7 -0
- package/dist-cjs/models/models_0.js +14 -1
- package/dist-cjs/pagination/ListCapacityReservationsPaginator.js +29 -0
- package/dist-cjs/pagination/index.js +1 -0
- package/dist-cjs/protocols/Aws_json1_1.js +342 -3
- package/dist-es/Athena.js +14 -0
- package/dist-es/commands/CancelCapacityReservationCommand.js +41 -0
- package/dist-es/commands/CreateCapacityReservationCommand.js +41 -0
- package/dist-es/commands/GetCapacityAssignmentConfigurationCommand.js +41 -0
- package/dist-es/commands/GetCapacityReservationCommand.js +41 -0
- package/dist-es/commands/ListCapacityReservationsCommand.js +41 -0
- package/dist-es/commands/PutCapacityAssignmentConfigurationCommand.js +41 -0
- package/dist-es/commands/UpdateCapacityReservationCommand.js +41 -0
- package/dist-es/commands/index.js +7 -0
- package/dist-es/models/models_0.js +13 -0
- package/dist-es/pagination/ListCapacityReservationsPaginator.js +25 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_json1_1.js +326 -1
- package/dist-types/Athena.d.ts +49 -0
- package/dist-types/AthenaClient.d.ts +9 -2
- package/dist-types/commands/CancelCapacityReservationCommand.d.ts +71 -0
- package/dist-types/commands/CreateCapacityReservationCommand.d.ts +78 -0
- package/dist-types/commands/GetCapacityAssignmentConfigurationCommand.d.ts +71 -0
- package/dist-types/commands/GetCapacityReservationCommand.d.ts +71 -0
- package/dist-types/commands/ListCapacityReservationsCommand.d.ts +72 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -2
- package/dist-types/commands/PutCapacityAssignmentConfigurationCommand.d.ts +78 -0
- package/dist-types/commands/TagResourceCommand.d.ts +3 -5
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCapacityReservationCommand.d.ts +72 -0
- package/dist-types/commands/index.d.ts +7 -0
- package/dist-types/models/models_0.d.ts +254 -8
- package/dist-types/pagination/ListCapacityReservationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +63 -0
- package/dist-types/ts3.4/Athena.d.ts +131 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +42 -0
- package/dist-types/ts3.4/commands/CancelCapacityReservationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetCapacityAssignmentConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/GetCapacityReservationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/ListCapacityReservationsCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/PutCapacityAssignmentConfigurationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/UpdateCapacityReservationCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/index.d.ts +7 -0
- package/dist-types/ts3.4/models/models_0.d.ts +79 -0
- package/dist-types/ts3.4/pagination/ListCapacityReservationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +84 -0
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -242,6 +242,22 @@ BatchGetQueryExecution
|
|
|
242
242
|
|
|
243
243
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/batchgetqueryexecutioncommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/batchgetqueryexecutioncommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/batchgetqueryexecutioncommandoutput.html)
|
|
244
244
|
|
|
245
|
+
</details>
|
|
246
|
+
<details>
|
|
247
|
+
<summary>
|
|
248
|
+
CancelCapacityReservation
|
|
249
|
+
</summary>
|
|
250
|
+
|
|
251
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/cancelcapacityreservationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/cancelcapacityreservationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/cancelcapacityreservationcommandoutput.html)
|
|
252
|
+
|
|
253
|
+
</details>
|
|
254
|
+
<details>
|
|
255
|
+
<summary>
|
|
256
|
+
CreateCapacityReservation
|
|
257
|
+
</summary>
|
|
258
|
+
|
|
259
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/createcapacityreservationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/createcapacityreservationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/createcapacityreservationcommandoutput.html)
|
|
260
|
+
|
|
245
261
|
</details>
|
|
246
262
|
<details>
|
|
247
263
|
<summary>
|
|
@@ -362,6 +378,22 @@ GetCalculationExecutionStatus
|
|
|
362
378
|
|
|
363
379
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/getcalculationexecutionstatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcalculationexecutionstatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcalculationexecutionstatuscommandoutput.html)
|
|
364
380
|
|
|
381
|
+
</details>
|
|
382
|
+
<details>
|
|
383
|
+
<summary>
|
|
384
|
+
GetCapacityAssignmentConfiguration
|
|
385
|
+
</summary>
|
|
386
|
+
|
|
387
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/getcapacityassignmentconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcapacityassignmentconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcapacityassignmentconfigurationcommandoutput.html)
|
|
388
|
+
|
|
389
|
+
</details>
|
|
390
|
+
<details>
|
|
391
|
+
<summary>
|
|
392
|
+
GetCapacityReservation
|
|
393
|
+
</summary>
|
|
394
|
+
|
|
395
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/getcapacityreservationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcapacityreservationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/getcapacityreservationcommandoutput.html)
|
|
396
|
+
|
|
365
397
|
</details>
|
|
366
398
|
<details>
|
|
367
399
|
<summary>
|
|
@@ -482,6 +514,14 @@ ListCalculationExecutions
|
|
|
482
514
|
|
|
483
515
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/listcalculationexecutionscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listcalculationexecutionscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listcalculationexecutionscommandoutput.html)
|
|
484
516
|
|
|
517
|
+
</details>
|
|
518
|
+
<details>
|
|
519
|
+
<summary>
|
|
520
|
+
ListCapacityReservations
|
|
521
|
+
</summary>
|
|
522
|
+
|
|
523
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/listcapacityreservationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listcapacityreservationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listcapacityreservationscommandoutput.html)
|
|
524
|
+
|
|
485
525
|
</details>
|
|
486
526
|
<details>
|
|
487
527
|
<summary>
|
|
@@ -586,6 +626,14 @@ ListWorkGroups
|
|
|
586
626
|
|
|
587
627
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/listworkgroupscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listworkgroupscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/listworkgroupscommandoutput.html)
|
|
588
628
|
|
|
629
|
+
</details>
|
|
630
|
+
<details>
|
|
631
|
+
<summary>
|
|
632
|
+
PutCapacityAssignmentConfiguration
|
|
633
|
+
</summary>
|
|
634
|
+
|
|
635
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/putcapacityassignmentconfigurationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/putcapacityassignmentconfigurationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/putcapacityassignmentconfigurationcommandoutput.html)
|
|
636
|
+
|
|
589
637
|
</details>
|
|
590
638
|
<details>
|
|
591
639
|
<summary>
|
|
@@ -650,6 +698,14 @@ UntagResource
|
|
|
650
698
|
|
|
651
699
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/untagresourcecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/untagresourcecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/untagresourcecommandoutput.html)
|
|
652
700
|
|
|
701
|
+
</details>
|
|
702
|
+
<details>
|
|
703
|
+
<summary>
|
|
704
|
+
UpdateCapacityReservation
|
|
705
|
+
</summary>
|
|
706
|
+
|
|
707
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/classes/updatecapacityreservationcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/updatecapacityreservationcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-athena/interfaces/updatecapacityreservationcommandoutput.html)
|
|
708
|
+
|
|
653
709
|
</details>
|
|
654
710
|
<details>
|
|
655
711
|
<summary>
|
package/dist-cjs/Athena.js
CHANGED
|
@@ -6,6 +6,8 @@ const AthenaClient_1 = require("./AthenaClient");
|
|
|
6
6
|
const BatchGetNamedQueryCommand_1 = require("./commands/BatchGetNamedQueryCommand");
|
|
7
7
|
const BatchGetPreparedStatementCommand_1 = require("./commands/BatchGetPreparedStatementCommand");
|
|
8
8
|
const BatchGetQueryExecutionCommand_1 = require("./commands/BatchGetQueryExecutionCommand");
|
|
9
|
+
const CancelCapacityReservationCommand_1 = require("./commands/CancelCapacityReservationCommand");
|
|
10
|
+
const CreateCapacityReservationCommand_1 = require("./commands/CreateCapacityReservationCommand");
|
|
9
11
|
const CreateDataCatalogCommand_1 = require("./commands/CreateDataCatalogCommand");
|
|
10
12
|
const CreateNamedQueryCommand_1 = require("./commands/CreateNamedQueryCommand");
|
|
11
13
|
const CreateNotebookCommand_1 = require("./commands/CreateNotebookCommand");
|
|
@@ -21,6 +23,8 @@ const ExportNotebookCommand_1 = require("./commands/ExportNotebookCommand");
|
|
|
21
23
|
const GetCalculationExecutionCodeCommand_1 = require("./commands/GetCalculationExecutionCodeCommand");
|
|
22
24
|
const GetCalculationExecutionCommand_1 = require("./commands/GetCalculationExecutionCommand");
|
|
23
25
|
const GetCalculationExecutionStatusCommand_1 = require("./commands/GetCalculationExecutionStatusCommand");
|
|
26
|
+
const GetCapacityAssignmentConfigurationCommand_1 = require("./commands/GetCapacityAssignmentConfigurationCommand");
|
|
27
|
+
const GetCapacityReservationCommand_1 = require("./commands/GetCapacityReservationCommand");
|
|
24
28
|
const GetDatabaseCommand_1 = require("./commands/GetDatabaseCommand");
|
|
25
29
|
const GetDataCatalogCommand_1 = require("./commands/GetDataCatalogCommand");
|
|
26
30
|
const GetNamedQueryCommand_1 = require("./commands/GetNamedQueryCommand");
|
|
@@ -36,6 +40,7 @@ const GetWorkGroupCommand_1 = require("./commands/GetWorkGroupCommand");
|
|
|
36
40
|
const ImportNotebookCommand_1 = require("./commands/ImportNotebookCommand");
|
|
37
41
|
const ListApplicationDPUSizesCommand_1 = require("./commands/ListApplicationDPUSizesCommand");
|
|
38
42
|
const ListCalculationExecutionsCommand_1 = require("./commands/ListCalculationExecutionsCommand");
|
|
43
|
+
const ListCapacityReservationsCommand_1 = require("./commands/ListCapacityReservationsCommand");
|
|
39
44
|
const ListDatabasesCommand_1 = require("./commands/ListDatabasesCommand");
|
|
40
45
|
const ListDataCatalogsCommand_1 = require("./commands/ListDataCatalogsCommand");
|
|
41
46
|
const ListEngineVersionsCommand_1 = require("./commands/ListEngineVersionsCommand");
|
|
@@ -49,6 +54,7 @@ const ListSessionsCommand_1 = require("./commands/ListSessionsCommand");
|
|
|
49
54
|
const ListTableMetadataCommand_1 = require("./commands/ListTableMetadataCommand");
|
|
50
55
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
51
56
|
const ListWorkGroupsCommand_1 = require("./commands/ListWorkGroupsCommand");
|
|
57
|
+
const PutCapacityAssignmentConfigurationCommand_1 = require("./commands/PutCapacityAssignmentConfigurationCommand");
|
|
52
58
|
const StartCalculationExecutionCommand_1 = require("./commands/StartCalculationExecutionCommand");
|
|
53
59
|
const StartQueryExecutionCommand_1 = require("./commands/StartQueryExecutionCommand");
|
|
54
60
|
const StartSessionCommand_1 = require("./commands/StartSessionCommand");
|
|
@@ -57,6 +63,7 @@ const StopQueryExecutionCommand_1 = require("./commands/StopQueryExecutionComman
|
|
|
57
63
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
58
64
|
const TerminateSessionCommand_1 = require("./commands/TerminateSessionCommand");
|
|
59
65
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
66
|
+
const UpdateCapacityReservationCommand_1 = require("./commands/UpdateCapacityReservationCommand");
|
|
60
67
|
const UpdateDataCatalogCommand_1 = require("./commands/UpdateDataCatalogCommand");
|
|
61
68
|
const UpdateNamedQueryCommand_1 = require("./commands/UpdateNamedQueryCommand");
|
|
62
69
|
const UpdateNotebookCommand_1 = require("./commands/UpdateNotebookCommand");
|
|
@@ -67,6 +74,8 @@ const commands = {
|
|
|
67
74
|
BatchGetNamedQueryCommand: BatchGetNamedQueryCommand_1.BatchGetNamedQueryCommand,
|
|
68
75
|
BatchGetPreparedStatementCommand: BatchGetPreparedStatementCommand_1.BatchGetPreparedStatementCommand,
|
|
69
76
|
BatchGetQueryExecutionCommand: BatchGetQueryExecutionCommand_1.BatchGetQueryExecutionCommand,
|
|
77
|
+
CancelCapacityReservationCommand: CancelCapacityReservationCommand_1.CancelCapacityReservationCommand,
|
|
78
|
+
CreateCapacityReservationCommand: CreateCapacityReservationCommand_1.CreateCapacityReservationCommand,
|
|
70
79
|
CreateDataCatalogCommand: CreateDataCatalogCommand_1.CreateDataCatalogCommand,
|
|
71
80
|
CreateNamedQueryCommand: CreateNamedQueryCommand_1.CreateNamedQueryCommand,
|
|
72
81
|
CreateNotebookCommand: CreateNotebookCommand_1.CreateNotebookCommand,
|
|
@@ -82,6 +91,8 @@ const commands = {
|
|
|
82
91
|
GetCalculationExecutionCommand: GetCalculationExecutionCommand_1.GetCalculationExecutionCommand,
|
|
83
92
|
GetCalculationExecutionCodeCommand: GetCalculationExecutionCodeCommand_1.GetCalculationExecutionCodeCommand,
|
|
84
93
|
GetCalculationExecutionStatusCommand: GetCalculationExecutionStatusCommand_1.GetCalculationExecutionStatusCommand,
|
|
94
|
+
GetCapacityAssignmentConfigurationCommand: GetCapacityAssignmentConfigurationCommand_1.GetCapacityAssignmentConfigurationCommand,
|
|
95
|
+
GetCapacityReservationCommand: GetCapacityReservationCommand_1.GetCapacityReservationCommand,
|
|
85
96
|
GetDatabaseCommand: GetDatabaseCommand_1.GetDatabaseCommand,
|
|
86
97
|
GetDataCatalogCommand: GetDataCatalogCommand_1.GetDataCatalogCommand,
|
|
87
98
|
GetNamedQueryCommand: GetNamedQueryCommand_1.GetNamedQueryCommand,
|
|
@@ -97,6 +108,7 @@ const commands = {
|
|
|
97
108
|
ImportNotebookCommand: ImportNotebookCommand_1.ImportNotebookCommand,
|
|
98
109
|
ListApplicationDPUSizesCommand: ListApplicationDPUSizesCommand_1.ListApplicationDPUSizesCommand,
|
|
99
110
|
ListCalculationExecutionsCommand: ListCalculationExecutionsCommand_1.ListCalculationExecutionsCommand,
|
|
111
|
+
ListCapacityReservationsCommand: ListCapacityReservationsCommand_1.ListCapacityReservationsCommand,
|
|
100
112
|
ListDatabasesCommand: ListDatabasesCommand_1.ListDatabasesCommand,
|
|
101
113
|
ListDataCatalogsCommand: ListDataCatalogsCommand_1.ListDataCatalogsCommand,
|
|
102
114
|
ListEngineVersionsCommand: ListEngineVersionsCommand_1.ListEngineVersionsCommand,
|
|
@@ -110,6 +122,7 @@ const commands = {
|
|
|
110
122
|
ListTableMetadataCommand: ListTableMetadataCommand_1.ListTableMetadataCommand,
|
|
111
123
|
ListTagsForResourceCommand: ListTagsForResourceCommand_1.ListTagsForResourceCommand,
|
|
112
124
|
ListWorkGroupsCommand: ListWorkGroupsCommand_1.ListWorkGroupsCommand,
|
|
125
|
+
PutCapacityAssignmentConfigurationCommand: PutCapacityAssignmentConfigurationCommand_1.PutCapacityAssignmentConfigurationCommand,
|
|
113
126
|
StartCalculationExecutionCommand: StartCalculationExecutionCommand_1.StartCalculationExecutionCommand,
|
|
114
127
|
StartQueryExecutionCommand: StartQueryExecutionCommand_1.StartQueryExecutionCommand,
|
|
115
128
|
StartSessionCommand: StartSessionCommand_1.StartSessionCommand,
|
|
@@ -118,6 +131,7 @@ const commands = {
|
|
|
118
131
|
TagResourceCommand: TagResourceCommand_1.TagResourceCommand,
|
|
119
132
|
TerminateSessionCommand: TerminateSessionCommand_1.TerminateSessionCommand,
|
|
120
133
|
UntagResourceCommand: UntagResourceCommand_1.UntagResourceCommand,
|
|
134
|
+
UpdateCapacityReservationCommand: UpdateCapacityReservationCommand_1.UpdateCapacityReservationCommand,
|
|
121
135
|
UpdateDataCatalogCommand: UpdateDataCatalogCommand_1.UpdateDataCatalogCommand,
|
|
122
136
|
UpdateNamedQueryCommand: UpdateNamedQueryCommand_1.UpdateNamedQueryCommand,
|
|
123
137
|
UpdateNotebookCommand: UpdateNotebookCommand_1.UpdateNotebookCommand,
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CancelCapacityReservationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CancelCapacityReservationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CancelCapacityReservationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "CancelCapacityReservationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_CancelCapacityReservationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_CancelCapacityReservationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CancelCapacityReservationCommand = CancelCapacityReservationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CreateCapacityReservationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class CreateCapacityReservationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, CreateCapacityReservationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "CreateCapacityReservationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_CreateCapacityReservationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_CreateCapacityReservationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.CreateCapacityReservationCommand = CreateCapacityReservationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCapacityAssignmentConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetCapacityAssignmentConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCapacityAssignmentConfigurationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "GetCapacityAssignmentConfigurationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetCapacityAssignmentConfigurationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetCapacityAssignmentConfigurationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetCapacityAssignmentConfigurationCommand = GetCapacityAssignmentConfigurationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetCapacityReservationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class GetCapacityReservationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetCapacityReservationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "GetCapacityReservationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_GetCapacityReservationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_GetCapacityReservationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.GetCapacityReservationCommand = GetCapacityReservationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ListCapacityReservationsCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class ListCapacityReservationsCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, ListCapacityReservationsCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "ListCapacityReservationsCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_ListCapacityReservationsCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_ListCapacityReservationsCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.ListCapacityReservationsCommand = ListCapacityReservationsCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutCapacityAssignmentConfigurationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class PutCapacityAssignmentConfigurationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutCapacityAssignmentConfigurationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "PutCapacityAssignmentConfigurationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_PutCapacityAssignmentConfigurationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_PutCapacityAssignmentConfigurationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.PutCapacityAssignmentConfigurationCommand = PutCapacityAssignmentConfigurationCommand;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateCapacityReservationCommand = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@aws-sdk/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
7
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
8
|
+
class UpdateCapacityReservationCommand extends smithy_client_1.Command {
|
|
9
|
+
static getEndpointParameterInstructions() {
|
|
10
|
+
return {
|
|
11
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
12
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
13
|
+
Region: { type: "builtInParams", name: "region" },
|
|
14
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
constructor(input) {
|
|
18
|
+
super();
|
|
19
|
+
this.input = input;
|
|
20
|
+
}
|
|
21
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
22
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
23
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, UpdateCapacityReservationCommand.getEndpointParameterInstructions()));
|
|
24
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
25
|
+
const { logger } = configuration;
|
|
26
|
+
const clientName = "AthenaClient";
|
|
27
|
+
const commandName = "UpdateCapacityReservationCommand";
|
|
28
|
+
const handlerExecutionContext = {
|
|
29
|
+
logger,
|
|
30
|
+
clientName,
|
|
31
|
+
commandName,
|
|
32
|
+
inputFilterSensitiveLog: (_) => _,
|
|
33
|
+
outputFilterSensitiveLog: (_) => _,
|
|
34
|
+
};
|
|
35
|
+
const { requestHandler } = configuration;
|
|
36
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
37
|
+
}
|
|
38
|
+
serialize(input, context) {
|
|
39
|
+
return (0, Aws_json1_1_1.se_UpdateCapacityReservationCommand)(input, context);
|
|
40
|
+
}
|
|
41
|
+
deserialize(output, context) {
|
|
42
|
+
return (0, Aws_json1_1_1.de_UpdateCapacityReservationCommand)(output, context);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
exports.UpdateCapacityReservationCommand = UpdateCapacityReservationCommand;
|
|
@@ -4,6 +4,8 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./BatchGetNamedQueryCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./BatchGetPreparedStatementCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./BatchGetQueryExecutionCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./CancelCapacityReservationCommand"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./CreateCapacityReservationCommand"), exports);
|
|
7
9
|
tslib_1.__exportStar(require("./CreateDataCatalogCommand"), exports);
|
|
8
10
|
tslib_1.__exportStar(require("./CreateNamedQueryCommand"), exports);
|
|
9
11
|
tslib_1.__exportStar(require("./CreateNotebookCommand"), exports);
|
|
@@ -19,6 +21,8 @@ tslib_1.__exportStar(require("./ExportNotebookCommand"), exports);
|
|
|
19
21
|
tslib_1.__exportStar(require("./GetCalculationExecutionCodeCommand"), exports);
|
|
20
22
|
tslib_1.__exportStar(require("./GetCalculationExecutionCommand"), exports);
|
|
21
23
|
tslib_1.__exportStar(require("./GetCalculationExecutionStatusCommand"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./GetCapacityAssignmentConfigurationCommand"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./GetCapacityReservationCommand"), exports);
|
|
22
26
|
tslib_1.__exportStar(require("./GetDataCatalogCommand"), exports);
|
|
23
27
|
tslib_1.__exportStar(require("./GetDatabaseCommand"), exports);
|
|
24
28
|
tslib_1.__exportStar(require("./GetNamedQueryCommand"), exports);
|
|
@@ -34,6 +38,7 @@ tslib_1.__exportStar(require("./GetWorkGroupCommand"), exports);
|
|
|
34
38
|
tslib_1.__exportStar(require("./ImportNotebookCommand"), exports);
|
|
35
39
|
tslib_1.__exportStar(require("./ListApplicationDPUSizesCommand"), exports);
|
|
36
40
|
tslib_1.__exportStar(require("./ListCalculationExecutionsCommand"), exports);
|
|
41
|
+
tslib_1.__exportStar(require("./ListCapacityReservationsCommand"), exports);
|
|
37
42
|
tslib_1.__exportStar(require("./ListDataCatalogsCommand"), exports);
|
|
38
43
|
tslib_1.__exportStar(require("./ListDatabasesCommand"), exports);
|
|
39
44
|
tslib_1.__exportStar(require("./ListEngineVersionsCommand"), exports);
|
|
@@ -47,6 +52,7 @@ tslib_1.__exportStar(require("./ListSessionsCommand"), exports);
|
|
|
47
52
|
tslib_1.__exportStar(require("./ListTableMetadataCommand"), exports);
|
|
48
53
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
49
54
|
tslib_1.__exportStar(require("./ListWorkGroupsCommand"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./PutCapacityAssignmentConfigurationCommand"), exports);
|
|
50
56
|
tslib_1.__exportStar(require("./StartCalculationExecutionCommand"), exports);
|
|
51
57
|
tslib_1.__exportStar(require("./StartQueryExecutionCommand"), exports);
|
|
52
58
|
tslib_1.__exportStar(require("./StartSessionCommand"), exports);
|
|
@@ -55,6 +61,7 @@ tslib_1.__exportStar(require("./StopQueryExecutionCommand"), exports);
|
|
|
55
61
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
56
62
|
tslib_1.__exportStar(require("./TerminateSessionCommand"), exports);
|
|
57
63
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./UpdateCapacityReservationCommand"), exports);
|
|
58
65
|
tslib_1.__exportStar(require("./UpdateDataCatalogCommand"), exports);
|
|
59
66
|
tslib_1.__exportStar(require("./UpdateNamedQueryCommand"), exports);
|
|
60
67
|
tslib_1.__exportStar(require("./UpdateNotebookCommand"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SessionAlreadyExistsException = exports.ExecutorType = exports.ExecutorState = exports.WorkGroupState = exports.SessionState = exports.ColumnNullable = exports.MetadataException = exports.CalculationExecutionState = exports.NotebookType = exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.ThrottleReason = exports.DataCatalogType = exports.QueryExecutionState = exports.StatementType = exports.EncryptionOption = exports.InvalidRequestException = exports.InternalServerException = exports.S3AclOption = void 0;
|
|
3
|
+
exports.SessionAlreadyExistsException = exports.ExecutorType = exports.ExecutorState = exports.WorkGroupState = exports.SessionState = exports.ColumnNullable = exports.MetadataException = exports.CapacityReservationStatus = exports.CapacityAllocationStatus = exports.CalculationExecutionState = exports.NotebookType = exports.ResourceNotFoundException = exports.TooManyRequestsException = exports.ThrottleReason = exports.DataCatalogType = exports.QueryExecutionState = exports.StatementType = exports.EncryptionOption = exports.InvalidRequestException = exports.InternalServerException = exports.S3AclOption = void 0;
|
|
4
4
|
const AthenaServiceException_1 = require("./AthenaServiceException");
|
|
5
5
|
exports.S3AclOption = {
|
|
6
6
|
BUCKET_OWNER_FULL_CONTROL: "BUCKET_OWNER_FULL_CONTROL",
|
|
@@ -102,6 +102,19 @@ exports.CalculationExecutionState = {
|
|
|
102
102
|
QUEUED: "QUEUED",
|
|
103
103
|
RUNNING: "RUNNING",
|
|
104
104
|
};
|
|
105
|
+
exports.CapacityAllocationStatus = {
|
|
106
|
+
FAILED: "FAILED",
|
|
107
|
+
PENDING: "PENDING",
|
|
108
|
+
SUCCEEDED: "SUCCEEDED",
|
|
109
|
+
};
|
|
110
|
+
exports.CapacityReservationStatus = {
|
|
111
|
+
ACTIVE: "ACTIVE",
|
|
112
|
+
CANCELLED: "CANCELLED",
|
|
113
|
+
CANCELLING: "CANCELLING",
|
|
114
|
+
FAILED: "FAILED",
|
|
115
|
+
PENDING: "PENDING",
|
|
116
|
+
UPDATE_PENDING: "UPDATE_PENDING",
|
|
117
|
+
};
|
|
105
118
|
class MetadataException extends AthenaServiceException_1.AthenaServiceException {
|
|
106
119
|
constructor(opts) {
|
|
107
120
|
super({
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.paginateListCapacityReservations = void 0;
|
|
4
|
+
const AthenaClient_1 = require("../AthenaClient");
|
|
5
|
+
const ListCapacityReservationsCommand_1 = require("../commands/ListCapacityReservationsCommand");
|
|
6
|
+
const makePagedClientRequest = async (client, input, ...args) => {
|
|
7
|
+
return await client.send(new ListCapacityReservationsCommand_1.ListCapacityReservationsCommand(input), ...args);
|
|
8
|
+
};
|
|
9
|
+
async function* paginateListCapacityReservations(config, input, ...additionalArguments) {
|
|
10
|
+
let token = config.startingToken || undefined;
|
|
11
|
+
let hasNext = true;
|
|
12
|
+
let page;
|
|
13
|
+
while (hasNext) {
|
|
14
|
+
input.NextToken = token;
|
|
15
|
+
input["MaxResults"] = config.pageSize;
|
|
16
|
+
if (config.client instanceof AthenaClient_1.AthenaClient) {
|
|
17
|
+
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error("Invalid client, expected Athena | AthenaClient");
|
|
21
|
+
}
|
|
22
|
+
yield page;
|
|
23
|
+
const prevToken = token;
|
|
24
|
+
token = page.NextToken;
|
|
25
|
+
hasNext = !!(token && (!config.stopOnSameToken || token !== prevToken));
|
|
26
|
+
}
|
|
27
|
+
return undefined;
|
|
28
|
+
}
|
|
29
|
+
exports.paginateListCapacityReservations = paginateListCapacityReservations;
|
|
@@ -5,6 +5,7 @@ tslib_1.__exportStar(require("./GetQueryResultsPaginator"), exports);
|
|
|
5
5
|
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./ListApplicationDPUSizesPaginator"), exports);
|
|
7
7
|
tslib_1.__exportStar(require("./ListCalculationExecutionsPaginator"), exports);
|
|
8
|
+
tslib_1.__exportStar(require("./ListCapacityReservationsPaginator"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./ListDataCatalogsPaginator"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./ListDatabasesPaginator"), exports);
|
|
10
11
|
tslib_1.__exportStar(require("./ListEngineVersionsPaginator"), exports);
|