@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/dist-types/Athena.d.ts
CHANGED
|
@@ -3,6 +3,8 @@ import { AthenaClient } from "./AthenaClient";
|
|
|
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 "./comma
|
|
|
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";
|
|
@@ -79,6 +86,18 @@ export interface Athena {
|
|
|
79
86
|
batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetQueryExecutionCommandOutput>;
|
|
80
87
|
batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, cb: (err: any, data?: BatchGetQueryExecutionCommandOutput) => void): void;
|
|
81
88
|
batchGetQueryExecution(args: BatchGetQueryExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetQueryExecutionCommandOutput) => void): void;
|
|
89
|
+
/**
|
|
90
|
+
* @see {@link CancelCapacityReservationCommand}
|
|
91
|
+
*/
|
|
92
|
+
cancelCapacityReservation(args: CancelCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<CancelCapacityReservationCommandOutput>;
|
|
93
|
+
cancelCapacityReservation(args: CancelCapacityReservationCommandInput, cb: (err: any, data?: CancelCapacityReservationCommandOutput) => void): void;
|
|
94
|
+
cancelCapacityReservation(args: CancelCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelCapacityReservationCommandOutput) => void): void;
|
|
95
|
+
/**
|
|
96
|
+
* @see {@link CreateCapacityReservationCommand}
|
|
97
|
+
*/
|
|
98
|
+
createCapacityReservation(args: CreateCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<CreateCapacityReservationCommandOutput>;
|
|
99
|
+
createCapacityReservation(args: CreateCapacityReservationCommandInput, cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void): void;
|
|
100
|
+
createCapacityReservation(args: CreateCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCapacityReservationCommandOutput) => void): void;
|
|
82
101
|
/**
|
|
83
102
|
* @see {@link CreateDataCatalogCommand}
|
|
84
103
|
*/
|
|
@@ -169,6 +188,18 @@ export interface Athena {
|
|
|
169
188
|
getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, options?: __HttpHandlerOptions): Promise<GetCalculationExecutionStatusCommandOutput>;
|
|
170
189
|
getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, cb: (err: any, data?: GetCalculationExecutionStatusCommandOutput) => void): void;
|
|
171
190
|
getCalculationExecutionStatus(args: GetCalculationExecutionStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCalculationExecutionStatusCommandOutput) => void): void;
|
|
191
|
+
/**
|
|
192
|
+
* @see {@link GetCapacityAssignmentConfigurationCommand}
|
|
193
|
+
*/
|
|
194
|
+
getCapacityAssignmentConfiguration(args: GetCapacityAssignmentConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<GetCapacityAssignmentConfigurationCommandOutput>;
|
|
195
|
+
getCapacityAssignmentConfiguration(args: GetCapacityAssignmentConfigurationCommandInput, cb: (err: any, data?: GetCapacityAssignmentConfigurationCommandOutput) => void): void;
|
|
196
|
+
getCapacityAssignmentConfiguration(args: GetCapacityAssignmentConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCapacityAssignmentConfigurationCommandOutput) => void): void;
|
|
197
|
+
/**
|
|
198
|
+
* @see {@link GetCapacityReservationCommand}
|
|
199
|
+
*/
|
|
200
|
+
getCapacityReservation(args: GetCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<GetCapacityReservationCommandOutput>;
|
|
201
|
+
getCapacityReservation(args: GetCapacityReservationCommandInput, cb: (err: any, data?: GetCapacityReservationCommandOutput) => void): void;
|
|
202
|
+
getCapacityReservation(args: GetCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCapacityReservationCommandOutput) => void): void;
|
|
172
203
|
/**
|
|
173
204
|
* @see {@link GetDatabaseCommand}
|
|
174
205
|
*/
|
|
@@ -259,6 +290,12 @@ export interface Athena {
|
|
|
259
290
|
listCalculationExecutions(args: ListCalculationExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListCalculationExecutionsCommandOutput>;
|
|
260
291
|
listCalculationExecutions(args: ListCalculationExecutionsCommandInput, cb: (err: any, data?: ListCalculationExecutionsCommandOutput) => void): void;
|
|
261
292
|
listCalculationExecutions(args: ListCalculationExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCalculationExecutionsCommandOutput) => void): void;
|
|
293
|
+
/**
|
|
294
|
+
* @see {@link ListCapacityReservationsCommand}
|
|
295
|
+
*/
|
|
296
|
+
listCapacityReservations(args: ListCapacityReservationsCommandInput, options?: __HttpHandlerOptions): Promise<ListCapacityReservationsCommandOutput>;
|
|
297
|
+
listCapacityReservations(args: ListCapacityReservationsCommandInput, cb: (err: any, data?: ListCapacityReservationsCommandOutput) => void): void;
|
|
298
|
+
listCapacityReservations(args: ListCapacityReservationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCapacityReservationsCommandOutput) => void): void;
|
|
262
299
|
/**
|
|
263
300
|
* @see {@link ListDatabasesCommand}
|
|
264
301
|
*/
|
|
@@ -337,6 +374,12 @@ export interface Athena {
|
|
|
337
374
|
listWorkGroups(args: ListWorkGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListWorkGroupsCommandOutput>;
|
|
338
375
|
listWorkGroups(args: ListWorkGroupsCommandInput, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
|
|
339
376
|
listWorkGroups(args: ListWorkGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListWorkGroupsCommandOutput) => void): void;
|
|
377
|
+
/**
|
|
378
|
+
* @see {@link PutCapacityAssignmentConfigurationCommand}
|
|
379
|
+
*/
|
|
380
|
+
putCapacityAssignmentConfiguration(args: PutCapacityAssignmentConfigurationCommandInput, options?: __HttpHandlerOptions): Promise<PutCapacityAssignmentConfigurationCommandOutput>;
|
|
381
|
+
putCapacityAssignmentConfiguration(args: PutCapacityAssignmentConfigurationCommandInput, cb: (err: any, data?: PutCapacityAssignmentConfigurationCommandOutput) => void): void;
|
|
382
|
+
putCapacityAssignmentConfiguration(args: PutCapacityAssignmentConfigurationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCapacityAssignmentConfigurationCommandOutput) => void): void;
|
|
340
383
|
/**
|
|
341
384
|
* @see {@link StartCalculationExecutionCommand}
|
|
342
385
|
*/
|
|
@@ -385,6 +428,12 @@ export interface Athena {
|
|
|
385
428
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
386
429
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
387
430
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
431
|
+
/**
|
|
432
|
+
* @see {@link UpdateCapacityReservationCommand}
|
|
433
|
+
*/
|
|
434
|
+
updateCapacityReservation(args: UpdateCapacityReservationCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCapacityReservationCommandOutput>;
|
|
435
|
+
updateCapacityReservation(args: UpdateCapacityReservationCommandInput, cb: (err: any, data?: UpdateCapacityReservationCommandOutput) => void): void;
|
|
436
|
+
updateCapacityReservation(args: UpdateCapacityReservationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCapacityReservationCommandOutput) => void): void;
|
|
388
437
|
/**
|
|
389
438
|
* @see {@link UpdateDataCatalogCommand}
|
|
390
439
|
*/
|
|
@@ -10,6 +10,8 @@ import { BodyLengthCalculator as __BodyLengthCalculator, ChecksumConstructor as
|
|
|
10
10
|
import { BatchGetNamedQueryCommandInput, BatchGetNamedQueryCommandOutput } from "./commands/BatchGetNamedQueryCommand";
|
|
11
11
|
import { BatchGetPreparedStatementCommandInput, BatchGetPreparedStatementCommandOutput } from "./commands/BatchGetPreparedStatementCommand";
|
|
12
12
|
import { BatchGetQueryExecutionCommandInput, BatchGetQueryExecutionCommandOutput } from "./commands/BatchGetQueryExecutionCommand";
|
|
13
|
+
import { CancelCapacityReservationCommandInput, CancelCapacityReservationCommandOutput } from "./commands/CancelCapacityReservationCommand";
|
|
14
|
+
import { CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput } from "./commands/CreateCapacityReservationCommand";
|
|
13
15
|
import { CreateDataCatalogCommandInput, CreateDataCatalogCommandOutput } from "./commands/CreateDataCatalogCommand";
|
|
14
16
|
import { CreateNamedQueryCommandInput, CreateNamedQueryCommandOutput } from "./commands/CreateNamedQueryCommand";
|
|
15
17
|
import { CreateNotebookCommandInput, CreateNotebookCommandOutput } from "./commands/CreateNotebookCommand";
|
|
@@ -25,6 +27,8 @@ import { ExportNotebookCommandInput, ExportNotebookCommandOutput } from "./comma
|
|
|
25
27
|
import { GetCalculationExecutionCodeCommandInput, GetCalculationExecutionCodeCommandOutput } from "./commands/GetCalculationExecutionCodeCommand";
|
|
26
28
|
import { GetCalculationExecutionCommandInput, GetCalculationExecutionCommandOutput } from "./commands/GetCalculationExecutionCommand";
|
|
27
29
|
import { GetCalculationExecutionStatusCommandInput, GetCalculationExecutionStatusCommandOutput } from "./commands/GetCalculationExecutionStatusCommand";
|
|
30
|
+
import { GetCapacityAssignmentConfigurationCommandInput, GetCapacityAssignmentConfigurationCommandOutput } from "./commands/GetCapacityAssignmentConfigurationCommand";
|
|
31
|
+
import { GetCapacityReservationCommandInput, GetCapacityReservationCommandOutput } from "./commands/GetCapacityReservationCommand";
|
|
28
32
|
import { GetDatabaseCommandInput, GetDatabaseCommandOutput } from "./commands/GetDatabaseCommand";
|
|
29
33
|
import { GetDataCatalogCommandInput, GetDataCatalogCommandOutput } from "./commands/GetDataCatalogCommand";
|
|
30
34
|
import { GetNamedQueryCommandInput, GetNamedQueryCommandOutput } from "./commands/GetNamedQueryCommand";
|
|
@@ -40,6 +44,7 @@ import { GetWorkGroupCommandInput, GetWorkGroupCommandOutput } from "./commands/
|
|
|
40
44
|
import { ImportNotebookCommandInput, ImportNotebookCommandOutput } from "./commands/ImportNotebookCommand";
|
|
41
45
|
import { ListApplicationDPUSizesCommandInput, ListApplicationDPUSizesCommandOutput } from "./commands/ListApplicationDPUSizesCommand";
|
|
42
46
|
import { ListCalculationExecutionsCommandInput, ListCalculationExecutionsCommandOutput } from "./commands/ListCalculationExecutionsCommand";
|
|
47
|
+
import { ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput } from "./commands/ListCapacityReservationsCommand";
|
|
43
48
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
44
49
|
import { ListDataCatalogsCommandInput, ListDataCatalogsCommandOutput } from "./commands/ListDataCatalogsCommand";
|
|
45
50
|
import { ListEngineVersionsCommandInput, ListEngineVersionsCommandOutput } from "./commands/ListEngineVersionsCommand";
|
|
@@ -53,6 +58,7 @@ import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/
|
|
|
53
58
|
import { ListTableMetadataCommandInput, ListTableMetadataCommandOutput } from "./commands/ListTableMetadataCommand";
|
|
54
59
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
55
60
|
import { ListWorkGroupsCommandInput, ListWorkGroupsCommandOutput } from "./commands/ListWorkGroupsCommand";
|
|
61
|
+
import { PutCapacityAssignmentConfigurationCommandInput, PutCapacityAssignmentConfigurationCommandOutput } from "./commands/PutCapacityAssignmentConfigurationCommand";
|
|
56
62
|
import { StartCalculationExecutionCommandInput, StartCalculationExecutionCommandOutput } from "./commands/StartCalculationExecutionCommand";
|
|
57
63
|
import { StartQueryExecutionCommandInput, StartQueryExecutionCommandOutput } from "./commands/StartQueryExecutionCommand";
|
|
58
64
|
import { StartSessionCommandInput, StartSessionCommandOutput } from "./commands/StartSessionCommand";
|
|
@@ -61,6 +67,7 @@ import { StopQueryExecutionCommandInput, StopQueryExecutionCommandOutput } from
|
|
|
61
67
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
62
68
|
import { TerminateSessionCommandInput, TerminateSessionCommandOutput } from "./commands/TerminateSessionCommand";
|
|
63
69
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
70
|
+
import { UpdateCapacityReservationCommandInput, UpdateCapacityReservationCommandOutput } from "./commands/UpdateCapacityReservationCommand";
|
|
64
71
|
import { UpdateDataCatalogCommandInput, UpdateDataCatalogCommandOutput } from "./commands/UpdateDataCatalogCommand";
|
|
65
72
|
import { UpdateNamedQueryCommandInput, UpdateNamedQueryCommandOutput } from "./commands/UpdateNamedQueryCommand";
|
|
66
73
|
import { UpdateNotebookCommandInput, UpdateNotebookCommandOutput } from "./commands/UpdateNotebookCommand";
|
|
@@ -71,11 +78,11 @@ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, Endpoi
|
|
|
71
78
|
/**
|
|
72
79
|
* @public
|
|
73
80
|
*/
|
|
74
|
-
export type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetPreparedStatementCommandInput | BatchGetQueryExecutionCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreateNotebookCommandInput | CreatePreparedStatementCommandInput | CreatePresignedNotebookUrlCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeleteNotebookCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | ExportNotebookCommandInput | GetCalculationExecutionCodeCommandInput | GetCalculationExecutionCommandInput | GetCalculationExecutionStatusCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetNotebookMetadataCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetQueryRuntimeStatisticsCommandInput | GetSessionCommandInput | GetSessionStatusCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ImportNotebookCommandInput | ListApplicationDPUSizesCommandInput | ListCalculationExecutionsCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListExecutorsCommandInput | ListNamedQueriesCommandInput | ListNotebookMetadataCommandInput | ListNotebookSessionsCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListSessionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | StartCalculationExecutionCommandInput | StartQueryExecutionCommandInput | StartSessionCommandInput | StopCalculationExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | TerminateSessionCommandInput | UntagResourceCommandInput | UpdateDataCatalogCommandInput | UpdateNamedQueryCommandInput | UpdateNotebookCommandInput | UpdateNotebookMetadataCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
|
|
81
|
+
export type ServiceInputTypes = BatchGetNamedQueryCommandInput | BatchGetPreparedStatementCommandInput | BatchGetQueryExecutionCommandInput | CancelCapacityReservationCommandInput | CreateCapacityReservationCommandInput | CreateDataCatalogCommandInput | CreateNamedQueryCommandInput | CreateNotebookCommandInput | CreatePreparedStatementCommandInput | CreatePresignedNotebookUrlCommandInput | CreateWorkGroupCommandInput | DeleteDataCatalogCommandInput | DeleteNamedQueryCommandInput | DeleteNotebookCommandInput | DeletePreparedStatementCommandInput | DeleteWorkGroupCommandInput | ExportNotebookCommandInput | GetCalculationExecutionCodeCommandInput | GetCalculationExecutionCommandInput | GetCalculationExecutionStatusCommandInput | GetCapacityAssignmentConfigurationCommandInput | GetCapacityReservationCommandInput | GetDataCatalogCommandInput | GetDatabaseCommandInput | GetNamedQueryCommandInput | GetNotebookMetadataCommandInput | GetPreparedStatementCommandInput | GetQueryExecutionCommandInput | GetQueryResultsCommandInput | GetQueryRuntimeStatisticsCommandInput | GetSessionCommandInput | GetSessionStatusCommandInput | GetTableMetadataCommandInput | GetWorkGroupCommandInput | ImportNotebookCommandInput | ListApplicationDPUSizesCommandInput | ListCalculationExecutionsCommandInput | ListCapacityReservationsCommandInput | ListDataCatalogsCommandInput | ListDatabasesCommandInput | ListEngineVersionsCommandInput | ListExecutorsCommandInput | ListNamedQueriesCommandInput | ListNotebookMetadataCommandInput | ListNotebookSessionsCommandInput | ListPreparedStatementsCommandInput | ListQueryExecutionsCommandInput | ListSessionsCommandInput | ListTableMetadataCommandInput | ListTagsForResourceCommandInput | ListWorkGroupsCommandInput | PutCapacityAssignmentConfigurationCommandInput | StartCalculationExecutionCommandInput | StartQueryExecutionCommandInput | StartSessionCommandInput | StopCalculationExecutionCommandInput | StopQueryExecutionCommandInput | TagResourceCommandInput | TerminateSessionCommandInput | UntagResourceCommandInput | UpdateCapacityReservationCommandInput | UpdateDataCatalogCommandInput | UpdateNamedQueryCommandInput | UpdateNotebookCommandInput | UpdateNotebookMetadataCommandInput | UpdatePreparedStatementCommandInput | UpdateWorkGroupCommandInput;
|
|
75
82
|
/**
|
|
76
83
|
* @public
|
|
77
84
|
*/
|
|
78
|
-
export type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetPreparedStatementCommandOutput | BatchGetQueryExecutionCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreateNotebookCommandOutput | CreatePreparedStatementCommandOutput | CreatePresignedNotebookUrlCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeleteNotebookCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | ExportNotebookCommandOutput | GetCalculationExecutionCodeCommandOutput | GetCalculationExecutionCommandOutput | GetCalculationExecutionStatusCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetNotebookMetadataCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetQueryRuntimeStatisticsCommandOutput | GetSessionCommandOutput | GetSessionStatusCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ImportNotebookCommandOutput | ListApplicationDPUSizesCommandOutput | ListCalculationExecutionsCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListExecutorsCommandOutput | ListNamedQueriesCommandOutput | ListNotebookMetadataCommandOutput | ListNotebookSessionsCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListSessionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | StartCalculationExecutionCommandOutput | StartQueryExecutionCommandOutput | StartSessionCommandOutput | StopCalculationExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | TerminateSessionCommandOutput | UntagResourceCommandOutput | UpdateDataCatalogCommandOutput | UpdateNamedQueryCommandOutput | UpdateNotebookCommandOutput | UpdateNotebookMetadataCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
|
|
85
|
+
export type ServiceOutputTypes = BatchGetNamedQueryCommandOutput | BatchGetPreparedStatementCommandOutput | BatchGetQueryExecutionCommandOutput | CancelCapacityReservationCommandOutput | CreateCapacityReservationCommandOutput | CreateDataCatalogCommandOutput | CreateNamedQueryCommandOutput | CreateNotebookCommandOutput | CreatePreparedStatementCommandOutput | CreatePresignedNotebookUrlCommandOutput | CreateWorkGroupCommandOutput | DeleteDataCatalogCommandOutput | DeleteNamedQueryCommandOutput | DeleteNotebookCommandOutput | DeletePreparedStatementCommandOutput | DeleteWorkGroupCommandOutput | ExportNotebookCommandOutput | GetCalculationExecutionCodeCommandOutput | GetCalculationExecutionCommandOutput | GetCalculationExecutionStatusCommandOutput | GetCapacityAssignmentConfigurationCommandOutput | GetCapacityReservationCommandOutput | GetDataCatalogCommandOutput | GetDatabaseCommandOutput | GetNamedQueryCommandOutput | GetNotebookMetadataCommandOutput | GetPreparedStatementCommandOutput | GetQueryExecutionCommandOutput | GetQueryResultsCommandOutput | GetQueryRuntimeStatisticsCommandOutput | GetSessionCommandOutput | GetSessionStatusCommandOutput | GetTableMetadataCommandOutput | GetWorkGroupCommandOutput | ImportNotebookCommandOutput | ListApplicationDPUSizesCommandOutput | ListCalculationExecutionsCommandOutput | ListCapacityReservationsCommandOutput | ListDataCatalogsCommandOutput | ListDatabasesCommandOutput | ListEngineVersionsCommandOutput | ListExecutorsCommandOutput | ListNamedQueriesCommandOutput | ListNotebookMetadataCommandOutput | ListNotebookSessionsCommandOutput | ListPreparedStatementsCommandOutput | ListQueryExecutionsCommandOutput | ListSessionsCommandOutput | ListTableMetadataCommandOutput | ListTagsForResourceCommandOutput | ListWorkGroupsCommandOutput | PutCapacityAssignmentConfigurationCommandOutput | StartCalculationExecutionCommandOutput | StartQueryExecutionCommandOutput | StartSessionCommandOutput | StopCalculationExecutionCommandOutput | StopQueryExecutionCommandOutput | TagResourceCommandOutput | TerminateSessionCommandOutput | UntagResourceCommandOutput | UpdateCapacityReservationCommandOutput | UpdateDataCatalogCommandOutput | UpdateNamedQueryCommandOutput | UpdateNotebookCommandOutput | UpdateNotebookMetadataCommandOutput | UpdatePreparedStatementCommandOutput | UpdateWorkGroupCommandOutput;
|
|
79
86
|
/**
|
|
80
87
|
* @public
|
|
81
88
|
*/
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
|
|
5
|
+
import { CancelCapacityReservationInput, CancelCapacityReservationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CancelCapacityReservationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CancelCapacityReservationCommandInput extends CancelCapacityReservationInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CancelCapacityReservationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CancelCapacityReservationCommandOutput extends CancelCapacityReservationOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Cancels the capacity reservation with the specified name.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { AthenaClient, CancelCapacityReservationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
27
|
+
* // const { AthenaClient, CancelCapacityReservationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
28
|
+
* const client = new AthenaClient(config);
|
|
29
|
+
* const input = { // CancelCapacityReservationInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new CancelCapacityReservationCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param CancelCapacityReservationCommandInput - {@link CancelCapacityReservationCommandInput}
|
|
37
|
+
* @returns {@link CancelCapacityReservationCommandOutput}
|
|
38
|
+
* @see {@link CancelCapacityReservationCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link CancelCapacityReservationCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalServerException} (server fault)
|
|
43
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
44
|
+
* outage.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
47
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
48
|
+
* required parameter may be missing or out of range.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class CancelCapacityReservationCommand extends $Command<CancelCapacityReservationCommandInput, CancelCapacityReservationCommandOutput, AthenaClientResolvedConfig> {
|
|
53
|
+
readonly input: CancelCapacityReservationCommandInput;
|
|
54
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
constructor(input: CancelCapacityReservationCommandInput);
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CancelCapacityReservationCommandInput, CancelCapacityReservationCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private deserialize;
|
|
71
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
|
|
5
|
+
import { CreateCapacityReservationInput, CreateCapacityReservationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link CreateCapacityReservationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface CreateCapacityReservationCommandInput extends CreateCapacityReservationInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link CreateCapacityReservationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface CreateCapacityReservationCommandOutput extends CreateCapacityReservationOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Creates a capacity reservation with the specified name and number of requested data processing units.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { AthenaClient, CreateCapacityReservationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
27
|
+
* // const { AthenaClient, CreateCapacityReservationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
28
|
+
* const client = new AthenaClient(config);
|
|
29
|
+
* const input = { // CreateCapacityReservationInput
|
|
30
|
+
* TargetDpus: Number("int"), // required
|
|
31
|
+
* Name: "STRING_VALUE", // required
|
|
32
|
+
* Tags: [ // TagList
|
|
33
|
+
* { // Tag
|
|
34
|
+
* Key: "STRING_VALUE",
|
|
35
|
+
* Value: "STRING_VALUE",
|
|
36
|
+
* },
|
|
37
|
+
* ],
|
|
38
|
+
* };
|
|
39
|
+
* const command = new CreateCapacityReservationCommand(input);
|
|
40
|
+
* const response = await client.send(command);
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @param CreateCapacityReservationCommandInput - {@link CreateCapacityReservationCommandInput}
|
|
44
|
+
* @returns {@link CreateCapacityReservationCommandOutput}
|
|
45
|
+
* @see {@link CreateCapacityReservationCommandInput} for command's `input` shape.
|
|
46
|
+
* @see {@link CreateCapacityReservationCommandOutput} for command's `response` shape.
|
|
47
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
48
|
+
*
|
|
49
|
+
* @throws {@link InternalServerException} (server fault)
|
|
50
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
51
|
+
* outage.</p>
|
|
52
|
+
*
|
|
53
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
54
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
55
|
+
* required parameter may be missing or out of range.</p>
|
|
56
|
+
*
|
|
57
|
+
*
|
|
58
|
+
*/
|
|
59
|
+
export declare class CreateCapacityReservationCommand extends $Command<CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput, AthenaClientResolvedConfig> {
|
|
60
|
+
readonly input: CreateCapacityReservationCommandInput;
|
|
61
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
62
|
+
/**
|
|
63
|
+
* @public
|
|
64
|
+
*/
|
|
65
|
+
constructor(input: CreateCapacityReservationCommandInput);
|
|
66
|
+
/**
|
|
67
|
+
* @internal
|
|
68
|
+
*/
|
|
69
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateCapacityReservationCommandInput, CreateCapacityReservationCommandOutput>;
|
|
70
|
+
/**
|
|
71
|
+
* @internal
|
|
72
|
+
*/
|
|
73
|
+
private serialize;
|
|
74
|
+
/**
|
|
75
|
+
* @internal
|
|
76
|
+
*/
|
|
77
|
+
private deserialize;
|
|
78
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
|
|
5
|
+
import { GetCapacityAssignmentConfigurationInput, GetCapacityAssignmentConfigurationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetCapacityAssignmentConfigurationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetCapacityAssignmentConfigurationCommandInput extends GetCapacityAssignmentConfigurationInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetCapacityAssignmentConfigurationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCapacityAssignmentConfigurationCommandOutput extends GetCapacityAssignmentConfigurationOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Gets the capacity assignment configuration for a capacity reservation, if one exists.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { AthenaClient, GetCapacityAssignmentConfigurationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
27
|
+
* // const { AthenaClient, GetCapacityAssignmentConfigurationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
28
|
+
* const client = new AthenaClient(config);
|
|
29
|
+
* const input = { // GetCapacityAssignmentConfigurationInput
|
|
30
|
+
* CapacityReservationName: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new GetCapacityAssignmentConfigurationCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param GetCapacityAssignmentConfigurationCommandInput - {@link GetCapacityAssignmentConfigurationCommandInput}
|
|
37
|
+
* @returns {@link GetCapacityAssignmentConfigurationCommandOutput}
|
|
38
|
+
* @see {@link GetCapacityAssignmentConfigurationCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link GetCapacityAssignmentConfigurationCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalServerException} (server fault)
|
|
43
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
44
|
+
* outage.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
47
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
48
|
+
* required parameter may be missing or out of range.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class GetCapacityAssignmentConfigurationCommand extends $Command<GetCapacityAssignmentConfigurationCommandInput, GetCapacityAssignmentConfigurationCommandOutput, AthenaClientResolvedConfig> {
|
|
53
|
+
readonly input: GetCapacityAssignmentConfigurationCommandInput;
|
|
54
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
constructor(input: GetCapacityAssignmentConfigurationCommandInput);
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCapacityAssignmentConfigurationCommandInput, GetCapacityAssignmentConfigurationCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private deserialize;
|
|
71
|
+
}
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
|
|
5
|
+
import { GetCapacityReservationInput, GetCapacityReservationOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link GetCapacityReservationCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface GetCapacityReservationCommandInput extends GetCapacityReservationInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link GetCapacityReservationCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface GetCapacityReservationCommandOutput extends GetCapacityReservationOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Returns information about the capacity reservation with the specified name.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { AthenaClient, GetCapacityReservationCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
27
|
+
* // const { AthenaClient, GetCapacityReservationCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
28
|
+
* const client = new AthenaClient(config);
|
|
29
|
+
* const input = { // GetCapacityReservationInput
|
|
30
|
+
* Name: "STRING_VALUE", // required
|
|
31
|
+
* };
|
|
32
|
+
* const command = new GetCapacityReservationCommand(input);
|
|
33
|
+
* const response = await client.send(command);
|
|
34
|
+
* ```
|
|
35
|
+
*
|
|
36
|
+
* @param GetCapacityReservationCommandInput - {@link GetCapacityReservationCommandInput}
|
|
37
|
+
* @returns {@link GetCapacityReservationCommandOutput}
|
|
38
|
+
* @see {@link GetCapacityReservationCommandInput} for command's `input` shape.
|
|
39
|
+
* @see {@link GetCapacityReservationCommandOutput} for command's `response` shape.
|
|
40
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
41
|
+
*
|
|
42
|
+
* @throws {@link InternalServerException} (server fault)
|
|
43
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
44
|
+
* outage.</p>
|
|
45
|
+
*
|
|
46
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
47
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
48
|
+
* required parameter may be missing or out of range.</p>
|
|
49
|
+
*
|
|
50
|
+
*
|
|
51
|
+
*/
|
|
52
|
+
export declare class GetCapacityReservationCommand extends $Command<GetCapacityReservationCommandInput, GetCapacityReservationCommandOutput, AthenaClientResolvedConfig> {
|
|
53
|
+
readonly input: GetCapacityReservationCommandInput;
|
|
54
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
55
|
+
/**
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
constructor(input: GetCapacityReservationCommandInput);
|
|
59
|
+
/**
|
|
60
|
+
* @internal
|
|
61
|
+
*/
|
|
62
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCapacityReservationCommandInput, GetCapacityReservationCommandOutput>;
|
|
63
|
+
/**
|
|
64
|
+
* @internal
|
|
65
|
+
*/
|
|
66
|
+
private serialize;
|
|
67
|
+
/**
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
private deserialize;
|
|
71
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
4
|
+
import { AthenaClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../AthenaClient";
|
|
5
|
+
import { ListCapacityReservationsInput, ListCapacityReservationsOutput } from "../models/models_0";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*
|
|
9
|
+
* The input for {@link ListCapacityReservationsCommand}.
|
|
10
|
+
*/
|
|
11
|
+
export interface ListCapacityReservationsCommandInput extends ListCapacityReservationsInput {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* @public
|
|
15
|
+
*
|
|
16
|
+
* The output of {@link ListCapacityReservationsCommand}.
|
|
17
|
+
*/
|
|
18
|
+
export interface ListCapacityReservationsCommandOutput extends ListCapacityReservationsOutput, __MetadataBearer {
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
* <p>Lists the capacity reservations for the current account.</p>
|
|
23
|
+
* @example
|
|
24
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
25
|
+
* ```javascript
|
|
26
|
+
* import { AthenaClient, ListCapacityReservationsCommand } from "@aws-sdk/client-athena"; // ES Modules import
|
|
27
|
+
* // const { AthenaClient, ListCapacityReservationsCommand } = require("@aws-sdk/client-athena"); // CommonJS import
|
|
28
|
+
* const client = new AthenaClient(config);
|
|
29
|
+
* const input = { // ListCapacityReservationsInput
|
|
30
|
+
* NextToken: "STRING_VALUE",
|
|
31
|
+
* MaxResults: Number("int"),
|
|
32
|
+
* };
|
|
33
|
+
* const command = new ListCapacityReservationsCommand(input);
|
|
34
|
+
* const response = await client.send(command);
|
|
35
|
+
* ```
|
|
36
|
+
*
|
|
37
|
+
* @param ListCapacityReservationsCommandInput - {@link ListCapacityReservationsCommandInput}
|
|
38
|
+
* @returns {@link ListCapacityReservationsCommandOutput}
|
|
39
|
+
* @see {@link ListCapacityReservationsCommandInput} for command's `input` shape.
|
|
40
|
+
* @see {@link ListCapacityReservationsCommandOutput} for command's `response` shape.
|
|
41
|
+
* @see {@link AthenaClientResolvedConfig | config} for AthenaClient's `config` shape.
|
|
42
|
+
*
|
|
43
|
+
* @throws {@link InternalServerException} (server fault)
|
|
44
|
+
* <p>Indicates a platform issue, which may be due to a transient condition or
|
|
45
|
+
* outage.</p>
|
|
46
|
+
*
|
|
47
|
+
* @throws {@link InvalidRequestException} (client fault)
|
|
48
|
+
* <p>Indicates that something is wrong with the input to the request. For example, a
|
|
49
|
+
* required parameter may be missing or out of range.</p>
|
|
50
|
+
*
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
export declare class ListCapacityReservationsCommand extends $Command<ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput, AthenaClientResolvedConfig> {
|
|
54
|
+
readonly input: ListCapacityReservationsCommandInput;
|
|
55
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
56
|
+
/**
|
|
57
|
+
* @public
|
|
58
|
+
*/
|
|
59
|
+
constructor(input: ListCapacityReservationsCommandInput);
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: AthenaClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListCapacityReservationsCommandInput, ListCapacityReservationsCommandOutput>;
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
private serialize;
|
|
68
|
+
/**
|
|
69
|
+
* @internal
|
|
70
|
+
*/
|
|
71
|
+
private deserialize;
|
|
72
|
+
}
|
|
@@ -19,8 +19,7 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
|
|
|
19
19
|
}
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
|
-
* <p>Lists the tags associated with an Athena
|
|
23
|
-
* resource.</p>
|
|
22
|
+
* <p>Lists the tags associated with an Athena resource.</p>
|
|
24
23
|
* @example
|
|
25
24
|
* Use a bare-bones client and the command you need to make an API call.
|
|
26
25
|
* ```javascript
|