@aws-sdk/client-athena 3.936.0 → 3.938.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 +16 -0
- package/dist-cjs/index.js +143 -28
- package/dist-es/Athena.js +4 -0
- package/dist-es/commands/GetResourceDashboardCommand.js +16 -0
- package/dist-es/commands/GetSessionEndpointCommand.js +16 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +117 -28
- package/dist-types/Athena.d.ts +14 -0
- package/dist-types/AthenaClient.d.ts +4 -2
- package/dist-types/commands/BatchGetQueryExecutionCommand.d.ts +1 -0
- package/dist-types/commands/CreateWorkGroupCommand.d.ts +40 -0
- package/dist-types/commands/GetQueryExecutionCommand.d.ts +1 -0
- package/dist-types/commands/GetQueryRuntimeStatisticsCommand.d.ts +2 -2
- package/dist-types/commands/GetResourceDashboardCommand.d.ts +85 -0
- package/dist-types/commands/GetSessionCommand.d.ts +31 -1
- package/dist-types/commands/GetSessionEndpointCommand.d.ts +87 -0
- package/dist-types/commands/GetWorkGroupCommand.d.ts +40 -0
- package/dist-types/commands/StartQueryExecutionCommand.d.ts +19 -0
- package/dist-types/commands/StartSessionCommand.d.ts +38 -1
- package/dist-types/commands/UpdateWorkGroupCommand.d.ts +40 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +271 -40
- package/dist-types/schemas/schemas_0.d.ts +15 -1
- package/dist-types/ts3.4/Athena.d.ts +34 -0
- package/dist-types/ts3.4/AthenaClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/GetResourceDashboardCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +58 -7
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +15 -0
- package/package.json +1 -1
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
AthenaClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../AthenaClient";
|
|
8
|
+
import {
|
|
9
|
+
GetSessionEndpointRequest,
|
|
10
|
+
GetSessionEndpointResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetSessionEndpointCommandInput
|
|
15
|
+
extends GetSessionEndpointRequest {}
|
|
16
|
+
export interface GetSessionEndpointCommandOutput
|
|
17
|
+
extends GetSessionEndpointResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetSessionEndpointCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetSessionEndpointCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetSessionEndpointCommandInput,
|
|
24
|
+
GetSessionEndpointCommandOutput,
|
|
25
|
+
AthenaClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
input: GetSessionEndpointCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetSessionEndpointCommandInput,
|
|
33
|
+
GetSessionEndpointCommandOutput,
|
|
34
|
+
AthenaClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetSessionEndpointCommand extends GetSessionEndpointCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetSessionEndpointRequest;
|
|
44
|
+
output: GetSessionEndpointResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetSessionEndpointCommandInput;
|
|
48
|
+
output: GetSessionEndpointCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -29,7 +29,9 @@ export * from "./GetPreparedStatementCommand";
|
|
|
29
29
|
export * from "./GetQueryExecutionCommand";
|
|
30
30
|
export * from "./GetQueryResultsCommand";
|
|
31
31
|
export * from "./GetQueryRuntimeStatisticsCommand";
|
|
32
|
+
export * from "./GetResourceDashboardCommand";
|
|
32
33
|
export * from "./GetSessionCommand";
|
|
34
|
+
export * from "./GetSessionEndpointCommand";
|
|
33
35
|
export * from "./GetSessionStatusCommand";
|
|
34
36
|
export * from "./GetTableMetadataCommand";
|
|
35
37
|
export * from "./GetWorkGroupCommand";
|
|
@@ -118,6 +118,7 @@ export interface QueryExecutionStatistics {
|
|
|
118
118
|
QueryPlanningTimeInMillis?: number | undefined;
|
|
119
119
|
ServiceProcessingTimeInMillis?: number | undefined;
|
|
120
120
|
ResultReuseInformation?: ResultReuseInformation | undefined;
|
|
121
|
+
DpuCount?: number | undefined;
|
|
121
122
|
}
|
|
122
123
|
export interface AthenaError {
|
|
123
124
|
ErrorCategory?: number | undefined;
|
|
@@ -231,10 +232,42 @@ export interface CreatePresignedNotebookUrlResponse {
|
|
|
231
232
|
export interface CustomerContentEncryptionConfiguration {
|
|
232
233
|
KmsKey: string | undefined;
|
|
233
234
|
}
|
|
235
|
+
export interface Classification {
|
|
236
|
+
Name?: string | undefined;
|
|
237
|
+
Properties?: Record<string, string> | undefined;
|
|
238
|
+
}
|
|
239
|
+
export interface EngineConfiguration {
|
|
240
|
+
CoordinatorDpuSize?: number | undefined;
|
|
241
|
+
MaxConcurrentDpus?: number | undefined;
|
|
242
|
+
DefaultExecutorDpuSize?: number | undefined;
|
|
243
|
+
AdditionalConfigs?: Record<string, string> | undefined;
|
|
244
|
+
SparkProperties?: Record<string, string> | undefined;
|
|
245
|
+
Classifications?: Classification[] | undefined;
|
|
246
|
+
}
|
|
234
247
|
export interface IdentityCenterConfiguration {
|
|
235
248
|
EnableIdentityCenter?: boolean | undefined;
|
|
236
249
|
IdentityCenterInstanceArn?: string | undefined;
|
|
237
250
|
}
|
|
251
|
+
export interface CloudWatchLoggingConfiguration {
|
|
252
|
+
Enabled: boolean | undefined;
|
|
253
|
+
LogGroup?: string | undefined;
|
|
254
|
+
LogStreamNamePrefix?: string | undefined;
|
|
255
|
+
LogTypes?: Record<string, string[]> | undefined;
|
|
256
|
+
}
|
|
257
|
+
export interface ManagedLoggingConfiguration {
|
|
258
|
+
Enabled: boolean | undefined;
|
|
259
|
+
KmsKey?: string | undefined;
|
|
260
|
+
}
|
|
261
|
+
export interface S3LoggingConfiguration {
|
|
262
|
+
Enabled: boolean | undefined;
|
|
263
|
+
KmsKey?: string | undefined;
|
|
264
|
+
LogLocation?: string | undefined;
|
|
265
|
+
}
|
|
266
|
+
export interface MonitoringConfiguration {
|
|
267
|
+
CloudWatchLoggingConfiguration?: CloudWatchLoggingConfiguration | undefined;
|
|
268
|
+
ManagedLoggingConfiguration?: ManagedLoggingConfiguration | undefined;
|
|
269
|
+
S3LoggingConfiguration?: S3LoggingConfiguration | undefined;
|
|
270
|
+
}
|
|
238
271
|
export interface WorkGroupConfiguration {
|
|
239
272
|
ResultConfiguration?: ResultConfiguration | undefined;
|
|
240
273
|
ManagedQueryResultsConfiguration?:
|
|
@@ -247,6 +280,8 @@ export interface WorkGroupConfiguration {
|
|
|
247
280
|
EngineVersion?: EngineVersion | undefined;
|
|
248
281
|
AdditionalConfiguration?: string | undefined;
|
|
249
282
|
ExecutionRole?: string | undefined;
|
|
283
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
284
|
+
EngineConfiguration?: EngineConfiguration | undefined;
|
|
250
285
|
CustomerContentEncryptionConfiguration?:
|
|
251
286
|
| CustomerContentEncryptionConfiguration
|
|
252
287
|
| undefined;
|
|
@@ -480,20 +515,20 @@ export interface QueryRuntimeStatisticsTimeline {
|
|
|
480
515
|
ServiceProcessingTimeInMillis?: number | undefined;
|
|
481
516
|
TotalExecutionTimeInMillis?: number | undefined;
|
|
482
517
|
}
|
|
518
|
+
export interface GetResourceDashboardRequest {
|
|
519
|
+
ResourceARN: string | undefined;
|
|
520
|
+
}
|
|
521
|
+
export interface GetResourceDashboardResponse {
|
|
522
|
+
Url: string | undefined;
|
|
523
|
+
}
|
|
483
524
|
export interface GetSessionRequest {
|
|
484
525
|
SessionId: string | undefined;
|
|
485
526
|
}
|
|
486
|
-
export interface EngineConfiguration {
|
|
487
|
-
CoordinatorDpuSize?: number | undefined;
|
|
488
|
-
MaxConcurrentDpus: number | undefined;
|
|
489
|
-
DefaultExecutorDpuSize?: number | undefined;
|
|
490
|
-
AdditionalConfigs?: Record<string, string> | undefined;
|
|
491
|
-
SparkProperties?: Record<string, string> | undefined;
|
|
492
|
-
}
|
|
493
527
|
export interface SessionConfiguration {
|
|
494
528
|
ExecutionRole?: string | undefined;
|
|
495
529
|
WorkingDirectory?: string | undefined;
|
|
496
530
|
IdleTimeoutSeconds?: number | undefined;
|
|
531
|
+
SessionIdleTimeoutInMinutes?: number | undefined;
|
|
497
532
|
EncryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
498
533
|
}
|
|
499
534
|
export interface SessionStatistics {
|
|
@@ -514,10 +549,19 @@ export interface GetSessionResponse {
|
|
|
514
549
|
EngineVersion?: string | undefined;
|
|
515
550
|
EngineConfiguration?: EngineConfiguration | undefined;
|
|
516
551
|
NotebookVersion?: string | undefined;
|
|
552
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
517
553
|
SessionConfiguration?: SessionConfiguration | undefined;
|
|
518
554
|
Status?: SessionStatus | undefined;
|
|
519
555
|
Statistics?: SessionStatistics | undefined;
|
|
520
556
|
}
|
|
557
|
+
export interface GetSessionEndpointRequest {
|
|
558
|
+
SessionId: string | undefined;
|
|
559
|
+
}
|
|
560
|
+
export interface GetSessionEndpointResponse {
|
|
561
|
+
EndpointUrl: string | undefined;
|
|
562
|
+
AuthToken: string | undefined;
|
|
563
|
+
AuthTokenExpirationTime: Date | undefined;
|
|
564
|
+
}
|
|
521
565
|
export interface GetSessionStatusRequest {
|
|
522
566
|
SessionId: string | undefined;
|
|
523
567
|
}
|
|
@@ -799,6 +843,7 @@ export interface StartQueryExecutionInput {
|
|
|
799
843
|
WorkGroup?: string | undefined;
|
|
800
844
|
ExecutionParameters?: string[] | undefined;
|
|
801
845
|
ResultReuseConfiguration?: ResultReuseConfiguration | undefined;
|
|
846
|
+
EngineConfiguration?: EngineConfiguration | undefined;
|
|
802
847
|
}
|
|
803
848
|
export interface StartQueryExecutionOutput {
|
|
804
849
|
QueryExecutionId?: string | undefined;
|
|
@@ -807,9 +852,13 @@ export interface StartSessionRequest {
|
|
|
807
852
|
Description?: string | undefined;
|
|
808
853
|
WorkGroup: string | undefined;
|
|
809
854
|
EngineConfiguration: EngineConfiguration | undefined;
|
|
855
|
+
ExecutionRole?: string | undefined;
|
|
856
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
810
857
|
NotebookVersion?: string | undefined;
|
|
811
858
|
SessionIdleTimeoutInMinutes?: number | undefined;
|
|
812
859
|
ClientRequestToken?: string | undefined;
|
|
860
|
+
Tags?: Tag[] | undefined;
|
|
861
|
+
CopyWorkGroupTags?: boolean | undefined;
|
|
813
862
|
}
|
|
814
863
|
export interface StartSessionResponse {
|
|
815
864
|
SessionId?: string | undefined;
|
|
@@ -919,6 +968,8 @@ export interface WorkGroupConfigurationUpdates {
|
|
|
919
968
|
QueryResultsS3AccessGrantsConfiguration?:
|
|
920
969
|
| QueryResultsS3AccessGrantsConfiguration
|
|
921
970
|
| undefined;
|
|
971
|
+
MonitoringConfiguration?: MonitoringConfiguration | undefined;
|
|
972
|
+
EngineConfiguration?: EngineConfiguration | undefined;
|
|
922
973
|
}
|
|
923
974
|
export interface UpdateWorkGroupInput {
|
|
924
975
|
WorkGroup: string | undefined;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
StaticErrorSchema,
|
|
3
3
|
StaticListSchema,
|
|
4
|
+
StaticMapSchema,
|
|
4
5
|
StaticOperationSchema,
|
|
5
6
|
StaticStructureSchema,
|
|
6
7
|
} from "@smithy/types";
|
|
@@ -24,6 +25,8 @@ export declare var CapacityAllocation: StaticStructureSchema;
|
|
|
24
25
|
export declare var CapacityAssignment: StaticStructureSchema;
|
|
25
26
|
export declare var CapacityAssignmentConfiguration: StaticStructureSchema;
|
|
26
27
|
export declare var CapacityReservation: StaticStructureSchema;
|
|
28
|
+
export declare var Classification: StaticStructureSchema;
|
|
29
|
+
export declare var CloudWatchLoggingConfiguration: StaticStructureSchema;
|
|
27
30
|
export declare var Column: StaticStructureSchema;
|
|
28
31
|
export declare var ColumnInfo: StaticStructureSchema;
|
|
29
32
|
export declare var CreateCapacityReservationInput: StaticStructureSchema;
|
|
@@ -90,6 +93,10 @@ export declare var GetQueryResultsInput: StaticStructureSchema;
|
|
|
90
93
|
export declare var GetQueryResultsOutput: StaticStructureSchema;
|
|
91
94
|
export declare var GetQueryRuntimeStatisticsInput: StaticStructureSchema;
|
|
92
95
|
export declare var GetQueryRuntimeStatisticsOutput: StaticStructureSchema;
|
|
96
|
+
export declare var GetResourceDashboardRequest: StaticStructureSchema;
|
|
97
|
+
export declare var GetResourceDashboardResponse: StaticStructureSchema;
|
|
98
|
+
export declare var GetSessionEndpointRequest: StaticStructureSchema;
|
|
99
|
+
export declare var GetSessionEndpointResponse: StaticStructureSchema;
|
|
93
100
|
export declare var GetSessionRequest: StaticStructureSchema;
|
|
94
101
|
export declare var GetSessionResponse: StaticStructureSchema;
|
|
95
102
|
export declare var GetSessionStatusRequest: StaticStructureSchema;
|
|
@@ -135,10 +142,12 @@ export declare var ListTagsForResourceInput: StaticStructureSchema;
|
|
|
135
142
|
export declare var ListTagsForResourceOutput: StaticStructureSchema;
|
|
136
143
|
export declare var ListWorkGroupsInput: StaticStructureSchema;
|
|
137
144
|
export declare var ListWorkGroupsOutput: StaticStructureSchema;
|
|
145
|
+
export declare var ManagedLoggingConfiguration: StaticStructureSchema;
|
|
138
146
|
export declare var ManagedQueryResultsConfiguration: StaticStructureSchema;
|
|
139
147
|
export declare var ManagedQueryResultsConfigurationUpdates: StaticStructureSchema;
|
|
140
148
|
export declare var ManagedQueryResultsEncryptionConfiguration: StaticStructureSchema;
|
|
141
149
|
export declare var MetadataException: StaticErrorSchema;
|
|
150
|
+
export declare var MonitoringConfiguration: StaticStructureSchema;
|
|
142
151
|
export declare var NamedQuery: StaticStructureSchema;
|
|
143
152
|
export declare var NotebookMetadata: StaticStructureSchema;
|
|
144
153
|
export declare var NotebookSessionSummary: StaticStructureSchema;
|
|
@@ -165,6 +174,7 @@ export declare var ResultReuseInformation: StaticStructureSchema;
|
|
|
165
174
|
export declare var ResultSet: StaticStructureSchema;
|
|
166
175
|
export declare var ResultSetMetadata: StaticStructureSchema;
|
|
167
176
|
export declare var Row: StaticStructureSchema;
|
|
177
|
+
export declare var S3LoggingConfiguration: StaticStructureSchema;
|
|
168
178
|
export declare var SessionAlreadyExistsException: StaticErrorSchema;
|
|
169
179
|
export declare var SessionConfiguration: StaticStructureSchema;
|
|
170
180
|
export declare var SessionStatistics: StaticStructureSchema;
|
|
@@ -216,6 +226,7 @@ export declare var ApplicationDPUSizesList: StaticListSchema;
|
|
|
216
226
|
export declare var CalculationsList: StaticListSchema;
|
|
217
227
|
export declare var CapacityAssignmentsList: StaticListSchema;
|
|
218
228
|
export declare var CapacityReservationsList: StaticListSchema;
|
|
229
|
+
export declare var ClassificationList: StaticListSchema;
|
|
219
230
|
export declare var ColumnInfoList: StaticListSchema;
|
|
220
231
|
export declare var ColumnList: StaticListSchema;
|
|
221
232
|
export declare var DatabaseList: StaticListSchema;
|
|
@@ -224,6 +235,7 @@ export declare var datumList: StaticListSchema;
|
|
|
224
235
|
export declare var EngineVersionsList: StaticListSchema;
|
|
225
236
|
export declare var ExecutionParameters: number;
|
|
226
237
|
export declare var ExecutorsSummaryList: StaticListSchema;
|
|
238
|
+
export declare var LogTypeValuesList: number;
|
|
227
239
|
export declare var NamedQueryIdList: number;
|
|
228
240
|
export declare var NamedQueryList: StaticListSchema;
|
|
229
241
|
export declare var NotebookMetadataArray: StaticListSchema;
|
|
@@ -247,6 +259,7 @@ export declare var UnprocessedPreparedStatementNameList: StaticListSchema;
|
|
|
247
259
|
export declare var UnprocessedQueryExecutionIdList: StaticListSchema;
|
|
248
260
|
export declare var WorkGroupNamesList: number;
|
|
249
261
|
export declare var WorkGroupsList: StaticListSchema;
|
|
262
|
+
export declare var LogTypesMap: StaticMapSchema;
|
|
250
263
|
export declare var ParametersMap: number;
|
|
251
264
|
export declare var BatchGetNamedQuery: StaticOperationSchema;
|
|
252
265
|
export declare var BatchGetPreparedStatement: StaticOperationSchema;
|
|
@@ -279,7 +292,9 @@ export declare var GetPreparedStatement: StaticOperationSchema;
|
|
|
279
292
|
export declare var GetQueryExecution: StaticOperationSchema;
|
|
280
293
|
export declare var GetQueryResults: StaticOperationSchema;
|
|
281
294
|
export declare var GetQueryRuntimeStatistics: StaticOperationSchema;
|
|
295
|
+
export declare var GetResourceDashboard: StaticOperationSchema;
|
|
282
296
|
export declare var GetSession: StaticOperationSchema;
|
|
297
|
+
export declare var GetSessionEndpoint: StaticOperationSchema;
|
|
283
298
|
export declare var GetSessionStatus: StaticOperationSchema;
|
|
284
299
|
export declare var GetTableMetadata: StaticOperationSchema;
|
|
285
300
|
export declare var GetWorkGroup: StaticOperationSchema;
|
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.938.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-athena",
|