@aws-sdk/client-athena 3.321.1 → 3.325.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +16 -16
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AthenaClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AthenaClient";
|
|
14
|
+
import {
|
|
15
|
+
ListCapacityReservationsInput,
|
|
16
|
+
ListCapacityReservationsOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface ListCapacityReservationsCommandInput
|
|
19
|
+
extends ListCapacityReservationsInput {}
|
|
20
|
+
export interface ListCapacityReservationsCommandOutput
|
|
21
|
+
extends ListCapacityReservationsOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class ListCapacityReservationsCommand extends $Command<
|
|
24
|
+
ListCapacityReservationsCommandInput,
|
|
25
|
+
ListCapacityReservationsCommandOutput,
|
|
26
|
+
AthenaClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: ListCapacityReservationsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: ListCapacityReservationsCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AthenaClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
ListCapacityReservationsCommandInput,
|
|
37
|
+
ListCapacityReservationsCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AthenaClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AthenaClient";
|
|
14
|
+
import {
|
|
15
|
+
PutCapacityAssignmentConfigurationInput,
|
|
16
|
+
PutCapacityAssignmentConfigurationOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface PutCapacityAssignmentConfigurationCommandInput
|
|
19
|
+
extends PutCapacityAssignmentConfigurationInput {}
|
|
20
|
+
export interface PutCapacityAssignmentConfigurationCommandOutput
|
|
21
|
+
extends PutCapacityAssignmentConfigurationOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class PutCapacityAssignmentConfigurationCommand extends $Command<
|
|
24
|
+
PutCapacityAssignmentConfigurationCommandInput,
|
|
25
|
+
PutCapacityAssignmentConfigurationCommandOutput,
|
|
26
|
+
AthenaClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: PutCapacityAssignmentConfigurationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: PutCapacityAssignmentConfigurationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AthenaClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
PutCapacityAssignmentConfigurationCommandInput,
|
|
37
|
+
PutCapacityAssignmentConfigurationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
+
import {
|
|
4
|
+
Handler,
|
|
5
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
6
|
+
MetadataBearer as __MetadataBearer,
|
|
7
|
+
MiddlewareStack,
|
|
8
|
+
} from "@aws-sdk/types";
|
|
9
|
+
import {
|
|
10
|
+
AthenaClientResolvedConfig,
|
|
11
|
+
ServiceInputTypes,
|
|
12
|
+
ServiceOutputTypes,
|
|
13
|
+
} from "../AthenaClient";
|
|
14
|
+
import {
|
|
15
|
+
UpdateCapacityReservationInput,
|
|
16
|
+
UpdateCapacityReservationOutput,
|
|
17
|
+
} from "../models/models_0";
|
|
18
|
+
export interface UpdateCapacityReservationCommandInput
|
|
19
|
+
extends UpdateCapacityReservationInput {}
|
|
20
|
+
export interface UpdateCapacityReservationCommandOutput
|
|
21
|
+
extends UpdateCapacityReservationOutput,
|
|
22
|
+
__MetadataBearer {}
|
|
23
|
+
export declare class UpdateCapacityReservationCommand extends $Command<
|
|
24
|
+
UpdateCapacityReservationCommandInput,
|
|
25
|
+
UpdateCapacityReservationCommandOutput,
|
|
26
|
+
AthenaClientResolvedConfig
|
|
27
|
+
> {
|
|
28
|
+
readonly input: UpdateCapacityReservationCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
30
|
+
constructor(input: UpdateCapacityReservationCommandInput);
|
|
31
|
+
resolveMiddleware(
|
|
32
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
33
|
+
configuration: AthenaClientResolvedConfig,
|
|
34
|
+
options?: __HttpHandlerOptions
|
|
35
|
+
): Handler<
|
|
36
|
+
UpdateCapacityReservationCommandInput,
|
|
37
|
+
UpdateCapacityReservationCommandOutput
|
|
38
|
+
>;
|
|
39
|
+
private serialize;
|
|
40
|
+
private deserialize;
|
|
41
|
+
}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
export * from "./BatchGetNamedQueryCommand";
|
|
2
2
|
export * from "./BatchGetPreparedStatementCommand";
|
|
3
3
|
export * from "./BatchGetQueryExecutionCommand";
|
|
4
|
+
export * from "./CancelCapacityReservationCommand";
|
|
5
|
+
export * from "./CreateCapacityReservationCommand";
|
|
4
6
|
export * from "./CreateDataCatalogCommand";
|
|
5
7
|
export * from "./CreateNamedQueryCommand";
|
|
6
8
|
export * from "./CreateNotebookCommand";
|
|
@@ -16,6 +18,8 @@ export * from "./ExportNotebookCommand";
|
|
|
16
18
|
export * from "./GetCalculationExecutionCodeCommand";
|
|
17
19
|
export * from "./GetCalculationExecutionCommand";
|
|
18
20
|
export * from "./GetCalculationExecutionStatusCommand";
|
|
21
|
+
export * from "./GetCapacityAssignmentConfigurationCommand";
|
|
22
|
+
export * from "./GetCapacityReservationCommand";
|
|
19
23
|
export * from "./GetDataCatalogCommand";
|
|
20
24
|
export * from "./GetDatabaseCommand";
|
|
21
25
|
export * from "./GetNamedQueryCommand";
|
|
@@ -31,6 +35,7 @@ export * from "./GetWorkGroupCommand";
|
|
|
31
35
|
export * from "./ImportNotebookCommand";
|
|
32
36
|
export * from "./ListApplicationDPUSizesCommand";
|
|
33
37
|
export * from "./ListCalculationExecutionsCommand";
|
|
38
|
+
export * from "./ListCapacityReservationsCommand";
|
|
34
39
|
export * from "./ListDataCatalogsCommand";
|
|
35
40
|
export * from "./ListDatabasesCommand";
|
|
36
41
|
export * from "./ListEngineVersionsCommand";
|
|
@@ -44,6 +49,7 @@ export * from "./ListSessionsCommand";
|
|
|
44
49
|
export * from "./ListTableMetadataCommand";
|
|
45
50
|
export * from "./ListTagsForResourceCommand";
|
|
46
51
|
export * from "./ListWorkGroupsCommand";
|
|
52
|
+
export * from "./PutCapacityAssignmentConfigurationCommand";
|
|
47
53
|
export * from "./StartCalculationExecutionCommand";
|
|
48
54
|
export * from "./StartQueryExecutionCommand";
|
|
49
55
|
export * from "./StartSessionCommand";
|
|
@@ -52,6 +58,7 @@ export * from "./StopQueryExecutionCommand";
|
|
|
52
58
|
export * from "./TagResourceCommand";
|
|
53
59
|
export * from "./TerminateSessionCommand";
|
|
54
60
|
export * from "./UntagResourceCommand";
|
|
61
|
+
export * from "./UpdateCapacityReservationCommand";
|
|
55
62
|
export * from "./UpdateDataCatalogCommand";
|
|
56
63
|
export * from "./UpdateNamedQueryCommand";
|
|
57
64
|
export * from "./UpdateNotebookCommand";
|
|
@@ -163,10 +163,20 @@ export interface BatchGetQueryExecutionOutput {
|
|
|
163
163
|
QueryExecutions?: QueryExecution[];
|
|
164
164
|
UnprocessedQueryExecutionIds?: UnprocessedQueryExecutionId[];
|
|
165
165
|
}
|
|
166
|
+
export interface CancelCapacityReservationInput {
|
|
167
|
+
Name: string | undefined;
|
|
168
|
+
}
|
|
169
|
+
export interface CancelCapacityReservationOutput {}
|
|
166
170
|
export interface Tag {
|
|
167
171
|
Key?: string;
|
|
168
172
|
Value?: string;
|
|
169
173
|
}
|
|
174
|
+
export interface CreateCapacityReservationInput {
|
|
175
|
+
TargetDpus: number | undefined;
|
|
176
|
+
Name: string | undefined;
|
|
177
|
+
Tags?: Tag[];
|
|
178
|
+
}
|
|
179
|
+
export interface CreateCapacityReservationOutput {}
|
|
170
180
|
export declare const DataCatalogType: {
|
|
171
181
|
readonly GLUE: "GLUE";
|
|
172
182
|
readonly HIVE: "HIVE";
|
|
@@ -355,6 +365,57 @@ export interface GetCalculationExecutionStatusResponse {
|
|
|
355
365
|
Status?: CalculationStatus;
|
|
356
366
|
Statistics?: CalculationStatistics;
|
|
357
367
|
}
|
|
368
|
+
export interface GetCapacityAssignmentConfigurationInput {
|
|
369
|
+
CapacityReservationName: string | undefined;
|
|
370
|
+
}
|
|
371
|
+
export interface CapacityAssignment {
|
|
372
|
+
WorkGroupNames?: string[];
|
|
373
|
+
}
|
|
374
|
+
export interface CapacityAssignmentConfiguration {
|
|
375
|
+
CapacityReservationName?: string;
|
|
376
|
+
CapacityAssignments?: CapacityAssignment[];
|
|
377
|
+
}
|
|
378
|
+
export interface GetCapacityAssignmentConfigurationOutput {
|
|
379
|
+
CapacityAssignmentConfiguration: CapacityAssignmentConfiguration | undefined;
|
|
380
|
+
}
|
|
381
|
+
export interface GetCapacityReservationInput {
|
|
382
|
+
Name: string | undefined;
|
|
383
|
+
}
|
|
384
|
+
export declare const CapacityAllocationStatus: {
|
|
385
|
+
readonly FAILED: "FAILED";
|
|
386
|
+
readonly PENDING: "PENDING";
|
|
387
|
+
readonly SUCCEEDED: "SUCCEEDED";
|
|
388
|
+
};
|
|
389
|
+
export type CapacityAllocationStatus =
|
|
390
|
+
(typeof CapacityAllocationStatus)[keyof typeof CapacityAllocationStatus];
|
|
391
|
+
export interface CapacityAllocation {
|
|
392
|
+
Status: CapacityAllocationStatus | string | undefined;
|
|
393
|
+
StatusMessage?: string;
|
|
394
|
+
RequestTime: Date | undefined;
|
|
395
|
+
RequestCompletionTime?: Date;
|
|
396
|
+
}
|
|
397
|
+
export declare const CapacityReservationStatus: {
|
|
398
|
+
readonly ACTIVE: "ACTIVE";
|
|
399
|
+
readonly CANCELLED: "CANCELLED";
|
|
400
|
+
readonly CANCELLING: "CANCELLING";
|
|
401
|
+
readonly FAILED: "FAILED";
|
|
402
|
+
readonly PENDING: "PENDING";
|
|
403
|
+
readonly UPDATE_PENDING: "UPDATE_PENDING";
|
|
404
|
+
};
|
|
405
|
+
export type CapacityReservationStatus =
|
|
406
|
+
(typeof CapacityReservationStatus)[keyof typeof CapacityReservationStatus];
|
|
407
|
+
export interface CapacityReservation {
|
|
408
|
+
Name: string | undefined;
|
|
409
|
+
Status: CapacityReservationStatus | string | undefined;
|
|
410
|
+
TargetDpus: number | undefined;
|
|
411
|
+
AllocatedDpus: number | undefined;
|
|
412
|
+
LastAllocation?: CapacityAllocation;
|
|
413
|
+
LastSuccessfulAllocationTime?: Date;
|
|
414
|
+
CreationTime: Date | undefined;
|
|
415
|
+
}
|
|
416
|
+
export interface GetCapacityReservationOutput {
|
|
417
|
+
CapacityReservation: CapacityReservation | undefined;
|
|
418
|
+
}
|
|
358
419
|
export interface GetDatabaseInput {
|
|
359
420
|
CatalogName: string | undefined;
|
|
360
421
|
DatabaseName: string | undefined;
|
|
@@ -601,6 +662,14 @@ export interface ListCalculationExecutionsResponse {
|
|
|
601
662
|
NextToken?: string;
|
|
602
663
|
Calculations?: CalculationSummary[];
|
|
603
664
|
}
|
|
665
|
+
export interface ListCapacityReservationsInput {
|
|
666
|
+
NextToken?: string;
|
|
667
|
+
MaxResults?: number;
|
|
668
|
+
}
|
|
669
|
+
export interface ListCapacityReservationsOutput {
|
|
670
|
+
NextToken?: string;
|
|
671
|
+
CapacityReservations: CapacityReservation[] | undefined;
|
|
672
|
+
}
|
|
604
673
|
export interface ListDatabasesInput {
|
|
605
674
|
CatalogName: string | undefined;
|
|
606
675
|
NextToken?: string;
|
|
@@ -773,6 +842,11 @@ export interface ListWorkGroupsOutput {
|
|
|
773
842
|
WorkGroups?: WorkGroupSummary[];
|
|
774
843
|
NextToken?: string;
|
|
775
844
|
}
|
|
845
|
+
export interface PutCapacityAssignmentConfigurationInput {
|
|
846
|
+
CapacityReservationName: string | undefined;
|
|
847
|
+
CapacityAssignments: CapacityAssignment[] | undefined;
|
|
848
|
+
}
|
|
849
|
+
export interface PutCapacityAssignmentConfigurationOutput {}
|
|
776
850
|
export interface CalculationConfiguration {
|
|
777
851
|
CodeBlock?: string;
|
|
778
852
|
}
|
|
@@ -845,6 +919,11 @@ export interface UntagResourceInput {
|
|
|
845
919
|
TagKeys: string[] | undefined;
|
|
846
920
|
}
|
|
847
921
|
export interface UntagResourceOutput {}
|
|
922
|
+
export interface UpdateCapacityReservationInput {
|
|
923
|
+
TargetDpus: number | undefined;
|
|
924
|
+
Name: string | undefined;
|
|
925
|
+
}
|
|
926
|
+
export interface UpdateCapacityReservationOutput {}
|
|
848
927
|
export interface UpdateDataCatalogInput {
|
|
849
928
|
Name: string | undefined;
|
|
850
929
|
Type: DataCatalogType | string | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@aws-sdk/types";
|
|
2
|
+
import {
|
|
3
|
+
ListCapacityReservationsCommandInput,
|
|
4
|
+
ListCapacityReservationsCommandOutput,
|
|
5
|
+
} from "../commands/ListCapacityReservationsCommand";
|
|
6
|
+
import { AthenaPaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare function paginateListCapacityReservations(
|
|
8
|
+
config: AthenaPaginationConfiguration,
|
|
9
|
+
input: ListCapacityReservationsCommandInput,
|
|
10
|
+
...additionalArguments: any
|
|
11
|
+
): Paginator<ListCapacityReservationsCommandOutput>;
|
|
@@ -2,6 +2,7 @@ export * from "./GetQueryResultsPaginator";
|
|
|
2
2
|
export * from "./Interfaces";
|
|
3
3
|
export * from "./ListApplicationDPUSizesPaginator";
|
|
4
4
|
export * from "./ListCalculationExecutionsPaginator";
|
|
5
|
+
export * from "./ListCapacityReservationsPaginator";
|
|
5
6
|
export * from "./ListDataCatalogsPaginator";
|
|
6
7
|
export * from "./ListDatabasesPaginator";
|
|
7
8
|
export * from "./ListEngineVersionsPaginator";
|
|
@@ -15,6 +15,14 @@ import {
|
|
|
15
15
|
BatchGetQueryExecutionCommandInput,
|
|
16
16
|
BatchGetQueryExecutionCommandOutput,
|
|
17
17
|
} from "../commands/BatchGetQueryExecutionCommand";
|
|
18
|
+
import {
|
|
19
|
+
CancelCapacityReservationCommandInput,
|
|
20
|
+
CancelCapacityReservationCommandOutput,
|
|
21
|
+
} from "../commands/CancelCapacityReservationCommand";
|
|
22
|
+
import {
|
|
23
|
+
CreateCapacityReservationCommandInput,
|
|
24
|
+
CreateCapacityReservationCommandOutput,
|
|
25
|
+
} from "../commands/CreateCapacityReservationCommand";
|
|
18
26
|
import {
|
|
19
27
|
CreateDataCatalogCommandInput,
|
|
20
28
|
CreateDataCatalogCommandOutput,
|
|
@@ -75,6 +83,14 @@ import {
|
|
|
75
83
|
GetCalculationExecutionStatusCommandInput,
|
|
76
84
|
GetCalculationExecutionStatusCommandOutput,
|
|
77
85
|
} from "../commands/GetCalculationExecutionStatusCommand";
|
|
86
|
+
import {
|
|
87
|
+
GetCapacityAssignmentConfigurationCommandInput,
|
|
88
|
+
GetCapacityAssignmentConfigurationCommandOutput,
|
|
89
|
+
} from "../commands/GetCapacityAssignmentConfigurationCommand";
|
|
90
|
+
import {
|
|
91
|
+
GetCapacityReservationCommandInput,
|
|
92
|
+
GetCapacityReservationCommandOutput,
|
|
93
|
+
} from "../commands/GetCapacityReservationCommand";
|
|
78
94
|
import {
|
|
79
95
|
GetDatabaseCommandInput,
|
|
80
96
|
GetDatabaseCommandOutput,
|
|
@@ -135,6 +151,10 @@ import {
|
|
|
135
151
|
ListCalculationExecutionsCommandInput,
|
|
136
152
|
ListCalculationExecutionsCommandOutput,
|
|
137
153
|
} from "../commands/ListCalculationExecutionsCommand";
|
|
154
|
+
import {
|
|
155
|
+
ListCapacityReservationsCommandInput,
|
|
156
|
+
ListCapacityReservationsCommandOutput,
|
|
157
|
+
} from "../commands/ListCapacityReservationsCommand";
|
|
138
158
|
import {
|
|
139
159
|
ListDatabasesCommandInput,
|
|
140
160
|
ListDatabasesCommandOutput,
|
|
@@ -187,6 +207,10 @@ import {
|
|
|
187
207
|
ListWorkGroupsCommandInput,
|
|
188
208
|
ListWorkGroupsCommandOutput,
|
|
189
209
|
} from "../commands/ListWorkGroupsCommand";
|
|
210
|
+
import {
|
|
211
|
+
PutCapacityAssignmentConfigurationCommandInput,
|
|
212
|
+
PutCapacityAssignmentConfigurationCommandOutput,
|
|
213
|
+
} from "../commands/PutCapacityAssignmentConfigurationCommand";
|
|
190
214
|
import {
|
|
191
215
|
StartCalculationExecutionCommandInput,
|
|
192
216
|
StartCalculationExecutionCommandOutput,
|
|
@@ -219,6 +243,10 @@ import {
|
|
|
219
243
|
UntagResourceCommandInput,
|
|
220
244
|
UntagResourceCommandOutput,
|
|
221
245
|
} from "../commands/UntagResourceCommand";
|
|
246
|
+
import {
|
|
247
|
+
UpdateCapacityReservationCommandInput,
|
|
248
|
+
UpdateCapacityReservationCommandOutput,
|
|
249
|
+
} from "../commands/UpdateCapacityReservationCommand";
|
|
222
250
|
import {
|
|
223
251
|
UpdateDataCatalogCommandInput,
|
|
224
252
|
UpdateDataCatalogCommandOutput,
|
|
@@ -255,6 +283,14 @@ export declare const se_BatchGetQueryExecutionCommand: (
|
|
|
255
283
|
input: BatchGetQueryExecutionCommandInput,
|
|
256
284
|
context: __SerdeContext
|
|
257
285
|
) => Promise<__HttpRequest>;
|
|
286
|
+
export declare const se_CancelCapacityReservationCommand: (
|
|
287
|
+
input: CancelCapacityReservationCommandInput,
|
|
288
|
+
context: __SerdeContext
|
|
289
|
+
) => Promise<__HttpRequest>;
|
|
290
|
+
export declare const se_CreateCapacityReservationCommand: (
|
|
291
|
+
input: CreateCapacityReservationCommandInput,
|
|
292
|
+
context: __SerdeContext
|
|
293
|
+
) => Promise<__HttpRequest>;
|
|
258
294
|
export declare const se_CreateDataCatalogCommand: (
|
|
259
295
|
input: CreateDataCatalogCommandInput,
|
|
260
296
|
context: __SerdeContext
|
|
@@ -315,6 +351,14 @@ export declare const se_GetCalculationExecutionStatusCommand: (
|
|
|
315
351
|
input: GetCalculationExecutionStatusCommandInput,
|
|
316
352
|
context: __SerdeContext
|
|
317
353
|
) => Promise<__HttpRequest>;
|
|
354
|
+
export declare const se_GetCapacityAssignmentConfigurationCommand: (
|
|
355
|
+
input: GetCapacityAssignmentConfigurationCommandInput,
|
|
356
|
+
context: __SerdeContext
|
|
357
|
+
) => Promise<__HttpRequest>;
|
|
358
|
+
export declare const se_GetCapacityReservationCommand: (
|
|
359
|
+
input: GetCapacityReservationCommandInput,
|
|
360
|
+
context: __SerdeContext
|
|
361
|
+
) => Promise<__HttpRequest>;
|
|
318
362
|
export declare const se_GetDatabaseCommand: (
|
|
319
363
|
input: GetDatabaseCommandInput,
|
|
320
364
|
context: __SerdeContext
|
|
@@ -375,6 +419,10 @@ export declare const se_ListCalculationExecutionsCommand: (
|
|
|
375
419
|
input: ListCalculationExecutionsCommandInput,
|
|
376
420
|
context: __SerdeContext
|
|
377
421
|
) => Promise<__HttpRequest>;
|
|
422
|
+
export declare const se_ListCapacityReservationsCommand: (
|
|
423
|
+
input: ListCapacityReservationsCommandInput,
|
|
424
|
+
context: __SerdeContext
|
|
425
|
+
) => Promise<__HttpRequest>;
|
|
378
426
|
export declare const se_ListDatabasesCommand: (
|
|
379
427
|
input: ListDatabasesCommandInput,
|
|
380
428
|
context: __SerdeContext
|
|
@@ -427,6 +475,10 @@ export declare const se_ListWorkGroupsCommand: (
|
|
|
427
475
|
input: ListWorkGroupsCommandInput,
|
|
428
476
|
context: __SerdeContext
|
|
429
477
|
) => Promise<__HttpRequest>;
|
|
478
|
+
export declare const se_PutCapacityAssignmentConfigurationCommand: (
|
|
479
|
+
input: PutCapacityAssignmentConfigurationCommandInput,
|
|
480
|
+
context: __SerdeContext
|
|
481
|
+
) => Promise<__HttpRequest>;
|
|
430
482
|
export declare const se_StartCalculationExecutionCommand: (
|
|
431
483
|
input: StartCalculationExecutionCommandInput,
|
|
432
484
|
context: __SerdeContext
|
|
@@ -459,6 +511,10 @@ export declare const se_UntagResourceCommand: (
|
|
|
459
511
|
input: UntagResourceCommandInput,
|
|
460
512
|
context: __SerdeContext
|
|
461
513
|
) => Promise<__HttpRequest>;
|
|
514
|
+
export declare const se_UpdateCapacityReservationCommand: (
|
|
515
|
+
input: UpdateCapacityReservationCommandInput,
|
|
516
|
+
context: __SerdeContext
|
|
517
|
+
) => Promise<__HttpRequest>;
|
|
462
518
|
export declare const se_UpdateDataCatalogCommand: (
|
|
463
519
|
input: UpdateDataCatalogCommandInput,
|
|
464
520
|
context: __SerdeContext
|
|
@@ -495,6 +551,14 @@ export declare const de_BatchGetQueryExecutionCommand: (
|
|
|
495
551
|
output: __HttpResponse,
|
|
496
552
|
context: __SerdeContext
|
|
497
553
|
) => Promise<BatchGetQueryExecutionCommandOutput>;
|
|
554
|
+
export declare const de_CancelCapacityReservationCommand: (
|
|
555
|
+
output: __HttpResponse,
|
|
556
|
+
context: __SerdeContext
|
|
557
|
+
) => Promise<CancelCapacityReservationCommandOutput>;
|
|
558
|
+
export declare const de_CreateCapacityReservationCommand: (
|
|
559
|
+
output: __HttpResponse,
|
|
560
|
+
context: __SerdeContext
|
|
561
|
+
) => Promise<CreateCapacityReservationCommandOutput>;
|
|
498
562
|
export declare const de_CreateDataCatalogCommand: (
|
|
499
563
|
output: __HttpResponse,
|
|
500
564
|
context: __SerdeContext
|
|
@@ -555,6 +619,14 @@ export declare const de_GetCalculationExecutionStatusCommand: (
|
|
|
555
619
|
output: __HttpResponse,
|
|
556
620
|
context: __SerdeContext
|
|
557
621
|
) => Promise<GetCalculationExecutionStatusCommandOutput>;
|
|
622
|
+
export declare const de_GetCapacityAssignmentConfigurationCommand: (
|
|
623
|
+
output: __HttpResponse,
|
|
624
|
+
context: __SerdeContext
|
|
625
|
+
) => Promise<GetCapacityAssignmentConfigurationCommandOutput>;
|
|
626
|
+
export declare const de_GetCapacityReservationCommand: (
|
|
627
|
+
output: __HttpResponse,
|
|
628
|
+
context: __SerdeContext
|
|
629
|
+
) => Promise<GetCapacityReservationCommandOutput>;
|
|
558
630
|
export declare const de_GetDatabaseCommand: (
|
|
559
631
|
output: __HttpResponse,
|
|
560
632
|
context: __SerdeContext
|
|
@@ -615,6 +687,10 @@ export declare const de_ListCalculationExecutionsCommand: (
|
|
|
615
687
|
output: __HttpResponse,
|
|
616
688
|
context: __SerdeContext
|
|
617
689
|
) => Promise<ListCalculationExecutionsCommandOutput>;
|
|
690
|
+
export declare const de_ListCapacityReservationsCommand: (
|
|
691
|
+
output: __HttpResponse,
|
|
692
|
+
context: __SerdeContext
|
|
693
|
+
) => Promise<ListCapacityReservationsCommandOutput>;
|
|
618
694
|
export declare const de_ListDatabasesCommand: (
|
|
619
695
|
output: __HttpResponse,
|
|
620
696
|
context: __SerdeContext
|
|
@@ -667,6 +743,10 @@ export declare const de_ListWorkGroupsCommand: (
|
|
|
667
743
|
output: __HttpResponse,
|
|
668
744
|
context: __SerdeContext
|
|
669
745
|
) => Promise<ListWorkGroupsCommandOutput>;
|
|
746
|
+
export declare const de_PutCapacityAssignmentConfigurationCommand: (
|
|
747
|
+
output: __HttpResponse,
|
|
748
|
+
context: __SerdeContext
|
|
749
|
+
) => Promise<PutCapacityAssignmentConfigurationCommandOutput>;
|
|
670
750
|
export declare const de_StartCalculationExecutionCommand: (
|
|
671
751
|
output: __HttpResponse,
|
|
672
752
|
context: __SerdeContext
|
|
@@ -699,6 +779,10 @@ export declare const de_UntagResourceCommand: (
|
|
|
699
779
|
output: __HttpResponse,
|
|
700
780
|
context: __SerdeContext
|
|
701
781
|
) => Promise<UntagResourceCommandOutput>;
|
|
782
|
+
export declare const de_UpdateCapacityReservationCommand: (
|
|
783
|
+
output: __HttpResponse,
|
|
784
|
+
context: __SerdeContext
|
|
785
|
+
) => Promise<UpdateCapacityReservationCommandOutput>;
|
|
702
786
|
export declare const de_UpdateDataCatalogCommand: (
|
|
703
787
|
output: __HttpResponse,
|
|
704
788
|
context: __SerdeContext
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-athena",
|
|
3
3
|
"description": "AWS SDK for JavaScript Athena Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.325.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,33 +21,33 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.325.0",
|
|
25
25
|
"@aws-sdk/config-resolver": "3.310.0",
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.325.0",
|
|
27
27
|
"@aws-sdk/fetch-http-handler": "3.310.0",
|
|
28
28
|
"@aws-sdk/hash-node": "3.310.0",
|
|
29
29
|
"@aws-sdk/invalid-dependency": "3.310.0",
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.325.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.325.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.325.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.325.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.325.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.325.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.325.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.325.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.325.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.325.0",
|
|
40
40
|
"@aws-sdk/node-config-provider": "3.310.0",
|
|
41
41
|
"@aws-sdk/node-http-handler": "3.321.1",
|
|
42
42
|
"@aws-sdk/protocol-http": "3.310.0",
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
+
"@aws-sdk/smithy-client": "3.325.0",
|
|
44
44
|
"@aws-sdk/types": "3.310.0",
|
|
45
45
|
"@aws-sdk/url-parser": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-base64": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
48
48
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
49
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
50
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
49
|
+
"@aws-sdk/util-defaults-mode-browser": "3.325.0",
|
|
50
|
+
"@aws-sdk/util-defaults-mode-node": "3.325.0",
|
|
51
51
|
"@aws-sdk/util-endpoints": "3.319.0",
|
|
52
52
|
"@aws-sdk/util-retry": "3.310.0",
|
|
53
53
|
"@aws-sdk/util-user-agent-browser": "3.310.0",
|