mypy-boto3-athena 1.40.0__py3-none-any.whl → 1.41.0__py3-none-any.whl
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.
- mypy_boto3_athena/__main__.py +4 -4
- mypy_boto3_athena/client.py +28 -33
- mypy_boto3_athena/client.pyi +28 -33
- mypy_boto3_athena/literals.py +8 -20
- mypy_boto3_athena/literals.pyi +8 -20
- mypy_boto3_athena/type_defs.py +41 -46
- mypy_boto3_athena/type_defs.pyi +41 -46
- mypy_boto3_athena/version.py +1 -1
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/METADATA +11 -25
- mypy_boto3_athena-1.41.0.dist-info/RECORD +18 -0
- mypy_boto3_athena-1.40.0.dist-info/RECORD +0 -18
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/WHEEL +0 -0
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/licenses/LICENSE +0 -0
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/top_level.txt +0 -0
mypy_boto3_athena/type_defs.py
CHANGED
|
@@ -17,6 +17,7 @@ Usage::
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import sys
|
|
20
|
+
from collections.abc import Mapping, Sequence
|
|
20
21
|
from datetime import datetime
|
|
21
22
|
from typing import Any, Union
|
|
22
23
|
|
|
@@ -38,12 +39,6 @@ from .literals import (
|
|
|
38
39
|
WorkGroupStateType,
|
|
39
40
|
)
|
|
40
41
|
|
|
41
|
-
if sys.version_info >= (3, 9):
|
|
42
|
-
from builtins import dict as Dict
|
|
43
|
-
from builtins import list as List
|
|
44
|
-
from collections.abc import Mapping, Sequence
|
|
45
|
-
else:
|
|
46
|
-
from typing import Dict, List, Mapping, Sequence
|
|
47
42
|
if sys.version_info >= (3, 12):
|
|
48
43
|
from typing import Literal, NotRequired, TypedDict
|
|
49
44
|
else:
|
|
@@ -253,7 +248,7 @@ class AclConfigurationTypeDef(TypedDict):
|
|
|
253
248
|
|
|
254
249
|
class ApplicationDPUSizesTypeDef(TypedDict):
|
|
255
250
|
ApplicationRuntimeId: NotRequired[str]
|
|
256
|
-
SupportedDPUSizes: NotRequired[
|
|
251
|
+
SupportedDPUSizes: NotRequired[list[int]]
|
|
257
252
|
|
|
258
253
|
|
|
259
254
|
class AthenaErrorTypeDef(TypedDict):
|
|
@@ -279,7 +274,7 @@ class NamedQueryTypeDef(TypedDict):
|
|
|
279
274
|
class ResponseMetadataTypeDef(TypedDict):
|
|
280
275
|
RequestId: str
|
|
281
276
|
HTTPStatusCode: int
|
|
282
|
-
HTTPHeaders:
|
|
277
|
+
HTTPHeaders: dict[str, str]
|
|
283
278
|
RetryAttempts: int
|
|
284
279
|
HostId: NotRequired[str]
|
|
285
280
|
|
|
@@ -354,7 +349,7 @@ class CapacityAllocationTypeDef(TypedDict):
|
|
|
354
349
|
|
|
355
350
|
|
|
356
351
|
class CapacityAssignmentOutputTypeDef(TypedDict):
|
|
357
|
-
WorkGroupNames: NotRequired[
|
|
352
|
+
WorkGroupNames: NotRequired[list[str]]
|
|
358
353
|
|
|
359
354
|
|
|
360
355
|
class CapacityAssignmentTypeDef(TypedDict):
|
|
@@ -397,7 +392,7 @@ DataCatalogTypeDef = TypedDict(
|
|
|
397
392
|
"Name": str,
|
|
398
393
|
"Type": DataCatalogTypeType,
|
|
399
394
|
"Description": NotRequired[str],
|
|
400
|
-
"Parameters": NotRequired[
|
|
395
|
+
"Parameters": NotRequired[dict[str, str]],
|
|
401
396
|
"Status": NotRequired[DataCatalogStatusType],
|
|
402
397
|
"ConnectionType": NotRequired[ConnectionTypeType],
|
|
403
398
|
"Error": NotRequired[str],
|
|
@@ -450,7 +445,7 @@ DataCatalogSummaryTypeDef = TypedDict(
|
|
|
450
445
|
class DatabaseTypeDef(TypedDict):
|
|
451
446
|
Name: str
|
|
452
447
|
Description: NotRequired[str]
|
|
453
|
-
Parameters: NotRequired[
|
|
448
|
+
Parameters: NotRequired[dict[str, str]]
|
|
454
449
|
|
|
455
450
|
|
|
456
451
|
class DatumTypeDef(TypedDict):
|
|
@@ -493,8 +488,8 @@ class EngineConfigurationOutputTypeDef(TypedDict):
|
|
|
493
488
|
MaxConcurrentDpus: int
|
|
494
489
|
CoordinatorDpuSize: NotRequired[int]
|
|
495
490
|
DefaultExecutorDpuSize: NotRequired[int]
|
|
496
|
-
AdditionalConfigs: NotRequired[
|
|
497
|
-
SparkProperties: NotRequired[
|
|
491
|
+
AdditionalConfigs: NotRequired[dict[str, str]]
|
|
492
|
+
SparkProperties: NotRequired[dict[str, str]]
|
|
498
493
|
|
|
499
494
|
|
|
500
495
|
class EngineConfigurationTypeDef(TypedDict):
|
|
@@ -796,8 +791,8 @@ class QueryRuntimeStatisticsTimelineTypeDef(TypedDict):
|
|
|
796
791
|
class QueryStagePlanNodeTypeDef(TypedDict):
|
|
797
792
|
Name: NotRequired[str]
|
|
798
793
|
Identifier: NotRequired[str]
|
|
799
|
-
Children: NotRequired[
|
|
800
|
-
RemoteSources: NotRequired[
|
|
794
|
+
Children: NotRequired[list[dict[str, Any]]]
|
|
795
|
+
RemoteSources: NotRequired[list[str]]
|
|
801
796
|
|
|
802
797
|
|
|
803
798
|
class ResultReuseByAgeConfigurationTypeDef(TypedDict):
|
|
@@ -911,19 +906,19 @@ class ImportNotebookOutputTypeDef(TypedDict):
|
|
|
911
906
|
|
|
912
907
|
|
|
913
908
|
class ListApplicationDPUSizesOutputTypeDef(TypedDict):
|
|
914
|
-
ApplicationDPUSizes:
|
|
909
|
+
ApplicationDPUSizes: list[ApplicationDPUSizesTypeDef]
|
|
915
910
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
916
911
|
NextToken: NotRequired[str]
|
|
917
912
|
|
|
918
913
|
|
|
919
914
|
class ListNamedQueriesOutputTypeDef(TypedDict):
|
|
920
|
-
NamedQueryIds:
|
|
915
|
+
NamedQueryIds: list[str]
|
|
921
916
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
922
917
|
NextToken: NotRequired[str]
|
|
923
918
|
|
|
924
919
|
|
|
925
920
|
class ListQueryExecutionsOutputTypeDef(TypedDict):
|
|
926
|
-
QueryExecutionIds:
|
|
921
|
+
QueryExecutionIds: list[str]
|
|
927
922
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
928
923
|
NextToken: NotRequired[str]
|
|
929
924
|
|
|
@@ -956,8 +951,8 @@ class TerminateSessionResponseTypeDef(TypedDict):
|
|
|
956
951
|
|
|
957
952
|
|
|
958
953
|
class BatchGetNamedQueryOutputTypeDef(TypedDict):
|
|
959
|
-
NamedQueries:
|
|
960
|
-
UnprocessedNamedQueryIds:
|
|
954
|
+
NamedQueries: list[NamedQueryTypeDef]
|
|
955
|
+
UnprocessedNamedQueryIds: list[UnprocessedNamedQueryIdTypeDef]
|
|
961
956
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
962
957
|
|
|
963
958
|
|
|
@@ -967,8 +962,8 @@ class GetPreparedStatementOutputTypeDef(TypedDict):
|
|
|
967
962
|
|
|
968
963
|
|
|
969
964
|
class BatchGetPreparedStatementOutputTypeDef(TypedDict):
|
|
970
|
-
PreparedStatements:
|
|
971
|
-
UnprocessedPreparedStatementNames:
|
|
965
|
+
PreparedStatements: list[PreparedStatementTypeDef]
|
|
966
|
+
UnprocessedPreparedStatementNames: list[UnprocessedPreparedStatementNameTypeDef]
|
|
972
967
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
973
968
|
|
|
974
969
|
|
|
@@ -1015,14 +1010,14 @@ class CapacityReservationTypeDef(TypedDict):
|
|
|
1015
1010
|
|
|
1016
1011
|
class CapacityAssignmentConfigurationTypeDef(TypedDict):
|
|
1017
1012
|
CapacityReservationName: NotRequired[str]
|
|
1018
|
-
CapacityAssignments: NotRequired[
|
|
1013
|
+
CapacityAssignments: NotRequired[list[CapacityAssignmentOutputTypeDef]]
|
|
1019
1014
|
|
|
1020
1015
|
|
|
1021
1016
|
CapacityAssignmentUnionTypeDef = Union[CapacityAssignmentTypeDef, CapacityAssignmentOutputTypeDef]
|
|
1022
1017
|
|
|
1023
1018
|
|
|
1024
1019
|
class ResultSetMetadataTypeDef(TypedDict):
|
|
1025
|
-
ColumnInfo: NotRequired[
|
|
1020
|
+
ColumnInfo: NotRequired[list[ColumnInfoTypeDef]]
|
|
1026
1021
|
|
|
1027
1022
|
|
|
1028
1023
|
class TableMetadataTypeDef(TypedDict):
|
|
@@ -1030,9 +1025,9 @@ class TableMetadataTypeDef(TypedDict):
|
|
|
1030
1025
|
CreateTime: NotRequired[datetime]
|
|
1031
1026
|
LastAccessTime: NotRequired[datetime]
|
|
1032
1027
|
TableType: NotRequired[str]
|
|
1033
|
-
Columns: NotRequired[
|
|
1034
|
-
PartitionKeys: NotRequired[
|
|
1035
|
-
Parameters: NotRequired[
|
|
1028
|
+
Columns: NotRequired[list[ColumnTypeDef]]
|
|
1029
|
+
PartitionKeys: NotRequired[list[ColumnTypeDef]]
|
|
1030
|
+
Parameters: NotRequired[dict[str, str]]
|
|
1036
1031
|
|
|
1037
1032
|
|
|
1038
1033
|
class CreateCapacityReservationInputTypeDef(TypedDict):
|
|
@@ -1054,7 +1049,7 @@ CreateDataCatalogInputTypeDef = TypedDict(
|
|
|
1054
1049
|
|
|
1055
1050
|
|
|
1056
1051
|
class ListTagsForResourceOutputTypeDef(TypedDict):
|
|
1057
|
-
Tags:
|
|
1052
|
+
Tags: list[TagTypeDef]
|
|
1058
1053
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1059
1054
|
NextToken: NotRequired[str]
|
|
1060
1055
|
|
|
@@ -1080,7 +1075,7 @@ class GetDataCatalogOutputTypeDef(TypedDict):
|
|
|
1080
1075
|
|
|
1081
1076
|
|
|
1082
1077
|
class ListDataCatalogsOutputTypeDef(TypedDict):
|
|
1083
|
-
DataCatalogsSummary:
|
|
1078
|
+
DataCatalogsSummary: list[DataCatalogSummaryTypeDef]
|
|
1084
1079
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1085
1080
|
NextToken: NotRequired[str]
|
|
1086
1081
|
|
|
@@ -1091,13 +1086,13 @@ class GetDatabaseOutputTypeDef(TypedDict):
|
|
|
1091
1086
|
|
|
1092
1087
|
|
|
1093
1088
|
class ListDatabasesOutputTypeDef(TypedDict):
|
|
1094
|
-
DatabaseList:
|
|
1089
|
+
DatabaseList: list[DatabaseTypeDef]
|
|
1095
1090
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1096
1091
|
NextToken: NotRequired[str]
|
|
1097
1092
|
|
|
1098
1093
|
|
|
1099
1094
|
class RowTypeDef(TypedDict):
|
|
1100
|
-
Data: NotRequired[
|
|
1095
|
+
Data: NotRequired[list[DatumTypeDef]]
|
|
1101
1096
|
|
|
1102
1097
|
|
|
1103
1098
|
class ResultConfigurationTypeDef(TypedDict):
|
|
@@ -1131,7 +1126,7 @@ EngineConfigurationUnionTypeDef = Union[
|
|
|
1131
1126
|
|
|
1132
1127
|
|
|
1133
1128
|
class ListEngineVersionsOutputTypeDef(TypedDict):
|
|
1134
|
-
EngineVersions:
|
|
1129
|
+
EngineVersions: list[EngineVersionTypeDef]
|
|
1135
1130
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1136
1131
|
NextToken: NotRequired[str]
|
|
1137
1132
|
|
|
@@ -1147,7 +1142,7 @@ class WorkGroupSummaryTypeDef(TypedDict):
|
|
|
1147
1142
|
|
|
1148
1143
|
class ListExecutorsResponseTypeDef(TypedDict):
|
|
1149
1144
|
SessionId: str
|
|
1150
|
-
ExecutorsSummary:
|
|
1145
|
+
ExecutorsSummary: list[ExecutorsSummaryTypeDef]
|
|
1151
1146
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1152
1147
|
NextToken: NotRequired[str]
|
|
1153
1148
|
|
|
@@ -1164,7 +1159,7 @@ class GetNotebookMetadataOutputTypeDef(TypedDict):
|
|
|
1164
1159
|
|
|
1165
1160
|
|
|
1166
1161
|
class ListNotebookMetadataOutputTypeDef(TypedDict):
|
|
1167
|
-
NotebookMetadataList:
|
|
1162
|
+
NotebookMetadataList: list[NotebookMetadataTypeDef]
|
|
1168
1163
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1169
1164
|
NextToken: NotRequired[str]
|
|
1170
1165
|
|
|
@@ -1231,13 +1226,13 @@ class SessionSummaryTypeDef(TypedDict):
|
|
|
1231
1226
|
|
|
1232
1227
|
|
|
1233
1228
|
class ListNotebookSessionsResponseTypeDef(TypedDict):
|
|
1234
|
-
NotebookSessionsList:
|
|
1229
|
+
NotebookSessionsList: list[NotebookSessionSummaryTypeDef]
|
|
1235
1230
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1236
1231
|
NextToken: NotRequired[str]
|
|
1237
1232
|
|
|
1238
1233
|
|
|
1239
1234
|
class ListPreparedStatementsOutputTypeDef(TypedDict):
|
|
1240
|
-
PreparedStatements:
|
|
1235
|
+
PreparedStatements: list[PreparedStatementSummaryTypeDef]
|
|
1241
1236
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1242
1237
|
NextToken: NotRequired[str]
|
|
1243
1238
|
|
|
@@ -1274,7 +1269,7 @@ class QueryStageTypeDef(TypedDict):
|
|
|
1274
1269
|
InputRows: NotRequired[int]
|
|
1275
1270
|
ExecutionTime: NotRequired[int]
|
|
1276
1271
|
QueryStagePlan: NotRequired[QueryStagePlanNodeTypeDef]
|
|
1277
|
-
SubStages: NotRequired[
|
|
1272
|
+
SubStages: NotRequired[list[dict[str, Any]]]
|
|
1278
1273
|
|
|
1279
1274
|
|
|
1280
1275
|
class ResultReuseConfigurationTypeDef(TypedDict):
|
|
@@ -1282,7 +1277,7 @@ class ResultReuseConfigurationTypeDef(TypedDict):
|
|
|
1282
1277
|
|
|
1283
1278
|
|
|
1284
1279
|
class ListCalculationExecutionsResponseTypeDef(TypedDict):
|
|
1285
|
-
Calculations:
|
|
1280
|
+
Calculations: list[CalculationSummaryTypeDef]
|
|
1286
1281
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1287
1282
|
NextToken: NotRequired[str]
|
|
1288
1283
|
|
|
@@ -1293,7 +1288,7 @@ class GetCapacityReservationOutputTypeDef(TypedDict):
|
|
|
1293
1288
|
|
|
1294
1289
|
|
|
1295
1290
|
class ListCapacityReservationsOutputTypeDef(TypedDict):
|
|
1296
|
-
CapacityReservations:
|
|
1291
|
+
CapacityReservations: list[CapacityReservationTypeDef]
|
|
1297
1292
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1298
1293
|
NextToken: NotRequired[str]
|
|
1299
1294
|
|
|
@@ -1314,13 +1309,13 @@ class GetTableMetadataOutputTypeDef(TypedDict):
|
|
|
1314
1309
|
|
|
1315
1310
|
|
|
1316
1311
|
class ListTableMetadataOutputTypeDef(TypedDict):
|
|
1317
|
-
TableMetadataList:
|
|
1312
|
+
TableMetadataList: list[TableMetadataTypeDef]
|
|
1318
1313
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1319
1314
|
NextToken: NotRequired[str]
|
|
1320
1315
|
|
|
1321
1316
|
|
|
1322
1317
|
class ResultSetTypeDef(TypedDict):
|
|
1323
|
-
Rows: NotRequired[
|
|
1318
|
+
Rows: NotRequired[list[RowTypeDef]]
|
|
1324
1319
|
ResultSetMetadata: NotRequired[ResultSetMetadataTypeDef]
|
|
1325
1320
|
|
|
1326
1321
|
|
|
@@ -1347,13 +1342,13 @@ class StartSessionRequestTypeDef(TypedDict):
|
|
|
1347
1342
|
|
|
1348
1343
|
|
|
1349
1344
|
class ListWorkGroupsOutputTypeDef(TypedDict):
|
|
1350
|
-
WorkGroups:
|
|
1345
|
+
WorkGroups: list[WorkGroupSummaryTypeDef]
|
|
1351
1346
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1352
1347
|
NextToken: NotRequired[str]
|
|
1353
1348
|
|
|
1354
1349
|
|
|
1355
1350
|
class ListSessionsResponseTypeDef(TypedDict):
|
|
1356
|
-
Sessions:
|
|
1351
|
+
Sessions: list[SessionSummaryTypeDef]
|
|
1357
1352
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1358
1353
|
NextToken: NotRequired[str]
|
|
1359
1354
|
|
|
@@ -1419,7 +1414,7 @@ class QueryExecutionTypeDef(TypedDict):
|
|
|
1419
1414
|
Statistics: NotRequired[QueryExecutionStatisticsTypeDef]
|
|
1420
1415
|
WorkGroup: NotRequired[str]
|
|
1421
1416
|
EngineVersion: NotRequired[EngineVersionTypeDef]
|
|
1422
|
-
ExecutionParameters: NotRequired[
|
|
1417
|
+
ExecutionParameters: NotRequired[list[str]]
|
|
1423
1418
|
SubstatementType: NotRequired[str]
|
|
1424
1419
|
QueryResultsS3AccessGrantsConfiguration: NotRequired[
|
|
1425
1420
|
QueryResultsS3AccessGrantsConfigurationTypeDef
|
|
@@ -1472,8 +1467,8 @@ class GetQueryRuntimeStatisticsOutputTypeDef(TypedDict):
|
|
|
1472
1467
|
|
|
1473
1468
|
|
|
1474
1469
|
class BatchGetQueryExecutionOutputTypeDef(TypedDict):
|
|
1475
|
-
QueryExecutions:
|
|
1476
|
-
UnprocessedQueryExecutionIds:
|
|
1470
|
+
QueryExecutions: list[QueryExecutionTypeDef]
|
|
1471
|
+
UnprocessedQueryExecutionIds: list[UnprocessedQueryExecutionIdTypeDef]
|
|
1477
1472
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1478
1473
|
|
|
1479
1474
|
|
mypy_boto3_athena/type_defs.pyi
CHANGED
|
@@ -17,6 +17,7 @@ Usage::
|
|
|
17
17
|
from __future__ import annotations
|
|
18
18
|
|
|
19
19
|
import sys
|
|
20
|
+
from collections.abc import Mapping, Sequence
|
|
20
21
|
from datetime import datetime
|
|
21
22
|
from typing import Any, Union
|
|
22
23
|
|
|
@@ -38,12 +39,6 @@ from .literals import (
|
|
|
38
39
|
WorkGroupStateType,
|
|
39
40
|
)
|
|
40
41
|
|
|
41
|
-
if sys.version_info >= (3, 9):
|
|
42
|
-
from builtins import dict as Dict
|
|
43
|
-
from builtins import list as List
|
|
44
|
-
from collections.abc import Mapping, Sequence
|
|
45
|
-
else:
|
|
46
|
-
from typing import Dict, List, Mapping, Sequence
|
|
47
42
|
if sys.version_info >= (3, 12):
|
|
48
43
|
from typing import Literal, NotRequired, TypedDict
|
|
49
44
|
else:
|
|
@@ -250,7 +245,7 @@ class AclConfigurationTypeDef(TypedDict):
|
|
|
250
245
|
|
|
251
246
|
class ApplicationDPUSizesTypeDef(TypedDict):
|
|
252
247
|
ApplicationRuntimeId: NotRequired[str]
|
|
253
|
-
SupportedDPUSizes: NotRequired[
|
|
248
|
+
SupportedDPUSizes: NotRequired[list[int]]
|
|
254
249
|
|
|
255
250
|
class AthenaErrorTypeDef(TypedDict):
|
|
256
251
|
ErrorCategory: NotRequired[int]
|
|
@@ -272,7 +267,7 @@ class NamedQueryTypeDef(TypedDict):
|
|
|
272
267
|
class ResponseMetadataTypeDef(TypedDict):
|
|
273
268
|
RequestId: str
|
|
274
269
|
HTTPStatusCode: int
|
|
275
|
-
HTTPHeaders:
|
|
270
|
+
HTTPHeaders: dict[str, str]
|
|
276
271
|
RetryAttempts: int
|
|
277
272
|
HostId: NotRequired[str]
|
|
278
273
|
|
|
@@ -334,7 +329,7 @@ class CapacityAllocationTypeDef(TypedDict):
|
|
|
334
329
|
RequestCompletionTime: NotRequired[datetime]
|
|
335
330
|
|
|
336
331
|
class CapacityAssignmentOutputTypeDef(TypedDict):
|
|
337
|
-
WorkGroupNames: NotRequired[
|
|
332
|
+
WorkGroupNames: NotRequired[list[str]]
|
|
338
333
|
|
|
339
334
|
class CapacityAssignmentTypeDef(TypedDict):
|
|
340
335
|
WorkGroupNames: NotRequired[Sequence[str]]
|
|
@@ -373,7 +368,7 @@ DataCatalogTypeDef = TypedDict(
|
|
|
373
368
|
"Name": str,
|
|
374
369
|
"Type": DataCatalogTypeType,
|
|
375
370
|
"Description": NotRequired[str],
|
|
376
|
-
"Parameters": NotRequired[
|
|
371
|
+
"Parameters": NotRequired[dict[str, str]],
|
|
377
372
|
"Status": NotRequired[DataCatalogStatusType],
|
|
378
373
|
"ConnectionType": NotRequired[ConnectionTypeType],
|
|
379
374
|
"Error": NotRequired[str],
|
|
@@ -419,7 +414,7 @@ DataCatalogSummaryTypeDef = TypedDict(
|
|
|
419
414
|
class DatabaseTypeDef(TypedDict):
|
|
420
415
|
Name: str
|
|
421
416
|
Description: NotRequired[str]
|
|
422
|
-
Parameters: NotRequired[
|
|
417
|
+
Parameters: NotRequired[dict[str, str]]
|
|
423
418
|
|
|
424
419
|
class DatumTypeDef(TypedDict):
|
|
425
420
|
VarCharValue: NotRequired[str]
|
|
@@ -453,8 +448,8 @@ class EngineConfigurationOutputTypeDef(TypedDict):
|
|
|
453
448
|
MaxConcurrentDpus: int
|
|
454
449
|
CoordinatorDpuSize: NotRequired[int]
|
|
455
450
|
DefaultExecutorDpuSize: NotRequired[int]
|
|
456
|
-
AdditionalConfigs: NotRequired[
|
|
457
|
-
SparkProperties: NotRequired[
|
|
451
|
+
AdditionalConfigs: NotRequired[dict[str, str]]
|
|
452
|
+
SparkProperties: NotRequired[dict[str, str]]
|
|
458
453
|
|
|
459
454
|
class EngineConfigurationTypeDef(TypedDict):
|
|
460
455
|
MaxConcurrentDpus: int
|
|
@@ -704,8 +699,8 @@ class QueryRuntimeStatisticsTimelineTypeDef(TypedDict):
|
|
|
704
699
|
class QueryStagePlanNodeTypeDef(TypedDict):
|
|
705
700
|
Name: NotRequired[str]
|
|
706
701
|
Identifier: NotRequired[str]
|
|
707
|
-
Children: NotRequired[
|
|
708
|
-
RemoteSources: NotRequired[
|
|
702
|
+
Children: NotRequired[list[dict[str, Any]]]
|
|
703
|
+
RemoteSources: NotRequired[list[str]]
|
|
709
704
|
|
|
710
705
|
class ResultReuseByAgeConfigurationTypeDef(TypedDict):
|
|
711
706
|
Enabled: bool
|
|
@@ -800,17 +795,17 @@ class ImportNotebookOutputTypeDef(TypedDict):
|
|
|
800
795
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
801
796
|
|
|
802
797
|
class ListApplicationDPUSizesOutputTypeDef(TypedDict):
|
|
803
|
-
ApplicationDPUSizes:
|
|
798
|
+
ApplicationDPUSizes: list[ApplicationDPUSizesTypeDef]
|
|
804
799
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
805
800
|
NextToken: NotRequired[str]
|
|
806
801
|
|
|
807
802
|
class ListNamedQueriesOutputTypeDef(TypedDict):
|
|
808
|
-
NamedQueryIds:
|
|
803
|
+
NamedQueryIds: list[str]
|
|
809
804
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
810
805
|
NextToken: NotRequired[str]
|
|
811
806
|
|
|
812
807
|
class ListQueryExecutionsOutputTypeDef(TypedDict):
|
|
813
|
-
QueryExecutionIds:
|
|
808
|
+
QueryExecutionIds: list[str]
|
|
814
809
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
815
810
|
NextToken: NotRequired[str]
|
|
816
811
|
|
|
@@ -837,8 +832,8 @@ class TerminateSessionResponseTypeDef(TypedDict):
|
|
|
837
832
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
838
833
|
|
|
839
834
|
class BatchGetNamedQueryOutputTypeDef(TypedDict):
|
|
840
|
-
NamedQueries:
|
|
841
|
-
UnprocessedNamedQueryIds:
|
|
835
|
+
NamedQueries: list[NamedQueryTypeDef]
|
|
836
|
+
UnprocessedNamedQueryIds: list[UnprocessedNamedQueryIdTypeDef]
|
|
842
837
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
843
838
|
|
|
844
839
|
class GetPreparedStatementOutputTypeDef(TypedDict):
|
|
@@ -846,8 +841,8 @@ class GetPreparedStatementOutputTypeDef(TypedDict):
|
|
|
846
841
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
847
842
|
|
|
848
843
|
class BatchGetPreparedStatementOutputTypeDef(TypedDict):
|
|
849
|
-
PreparedStatements:
|
|
850
|
-
UnprocessedPreparedStatementNames:
|
|
844
|
+
PreparedStatements: list[PreparedStatementTypeDef]
|
|
845
|
+
UnprocessedPreparedStatementNames: list[UnprocessedPreparedStatementNameTypeDef]
|
|
851
846
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
852
847
|
|
|
853
848
|
class StartCalculationExecutionRequestTypeDef(TypedDict):
|
|
@@ -888,21 +883,21 @@ class CapacityReservationTypeDef(TypedDict):
|
|
|
888
883
|
|
|
889
884
|
class CapacityAssignmentConfigurationTypeDef(TypedDict):
|
|
890
885
|
CapacityReservationName: NotRequired[str]
|
|
891
|
-
CapacityAssignments: NotRequired[
|
|
886
|
+
CapacityAssignments: NotRequired[list[CapacityAssignmentOutputTypeDef]]
|
|
892
887
|
|
|
893
888
|
CapacityAssignmentUnionTypeDef = Union[CapacityAssignmentTypeDef, CapacityAssignmentOutputTypeDef]
|
|
894
889
|
|
|
895
890
|
class ResultSetMetadataTypeDef(TypedDict):
|
|
896
|
-
ColumnInfo: NotRequired[
|
|
891
|
+
ColumnInfo: NotRequired[list[ColumnInfoTypeDef]]
|
|
897
892
|
|
|
898
893
|
class TableMetadataTypeDef(TypedDict):
|
|
899
894
|
Name: str
|
|
900
895
|
CreateTime: NotRequired[datetime]
|
|
901
896
|
LastAccessTime: NotRequired[datetime]
|
|
902
897
|
TableType: NotRequired[str]
|
|
903
|
-
Columns: NotRequired[
|
|
904
|
-
PartitionKeys: NotRequired[
|
|
905
|
-
Parameters: NotRequired[
|
|
898
|
+
Columns: NotRequired[list[ColumnTypeDef]]
|
|
899
|
+
PartitionKeys: NotRequired[list[ColumnTypeDef]]
|
|
900
|
+
Parameters: NotRequired[dict[str, str]]
|
|
906
901
|
|
|
907
902
|
class CreateCapacityReservationInputTypeDef(TypedDict):
|
|
908
903
|
TargetDpus: int
|
|
@@ -921,7 +916,7 @@ CreateDataCatalogInputTypeDef = TypedDict(
|
|
|
921
916
|
)
|
|
922
917
|
|
|
923
918
|
class ListTagsForResourceOutputTypeDef(TypedDict):
|
|
924
|
-
Tags:
|
|
919
|
+
Tags: list[TagTypeDef]
|
|
925
920
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
926
921
|
NextToken: NotRequired[str]
|
|
927
922
|
|
|
@@ -942,7 +937,7 @@ class GetDataCatalogOutputTypeDef(TypedDict):
|
|
|
942
937
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
943
938
|
|
|
944
939
|
class ListDataCatalogsOutputTypeDef(TypedDict):
|
|
945
|
-
DataCatalogsSummary:
|
|
940
|
+
DataCatalogsSummary: list[DataCatalogSummaryTypeDef]
|
|
946
941
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
947
942
|
NextToken: NotRequired[str]
|
|
948
943
|
|
|
@@ -951,12 +946,12 @@ class GetDatabaseOutputTypeDef(TypedDict):
|
|
|
951
946
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
952
947
|
|
|
953
948
|
class ListDatabasesOutputTypeDef(TypedDict):
|
|
954
|
-
DatabaseList:
|
|
949
|
+
DatabaseList: list[DatabaseTypeDef]
|
|
955
950
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
956
951
|
NextToken: NotRequired[str]
|
|
957
952
|
|
|
958
953
|
class RowTypeDef(TypedDict):
|
|
959
|
-
Data: NotRequired[
|
|
954
|
+
Data: NotRequired[list[DatumTypeDef]]
|
|
960
955
|
|
|
961
956
|
class ResultConfigurationTypeDef(TypedDict):
|
|
962
957
|
OutputLocation: NotRequired[str]
|
|
@@ -985,7 +980,7 @@ EngineConfigurationUnionTypeDef = Union[
|
|
|
985
980
|
]
|
|
986
981
|
|
|
987
982
|
class ListEngineVersionsOutputTypeDef(TypedDict):
|
|
988
|
-
EngineVersions:
|
|
983
|
+
EngineVersions: list[EngineVersionTypeDef]
|
|
989
984
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
990
985
|
NextToken: NotRequired[str]
|
|
991
986
|
|
|
@@ -999,7 +994,7 @@ class WorkGroupSummaryTypeDef(TypedDict):
|
|
|
999
994
|
|
|
1000
995
|
class ListExecutorsResponseTypeDef(TypedDict):
|
|
1001
996
|
SessionId: str
|
|
1002
|
-
ExecutorsSummary:
|
|
997
|
+
ExecutorsSummary: list[ExecutorsSummaryTypeDef]
|
|
1003
998
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1004
999
|
NextToken: NotRequired[str]
|
|
1005
1000
|
|
|
@@ -1013,7 +1008,7 @@ class GetNotebookMetadataOutputTypeDef(TypedDict):
|
|
|
1013
1008
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1014
1009
|
|
|
1015
1010
|
class ListNotebookMetadataOutputTypeDef(TypedDict):
|
|
1016
|
-
NotebookMetadataList:
|
|
1011
|
+
NotebookMetadataList: list[NotebookMetadataTypeDef]
|
|
1017
1012
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1018
1013
|
NextToken: NotRequired[str]
|
|
1019
1014
|
|
|
@@ -1069,12 +1064,12 @@ class SessionSummaryTypeDef(TypedDict):
|
|
|
1069
1064
|
Status: NotRequired[SessionStatusTypeDef]
|
|
1070
1065
|
|
|
1071
1066
|
class ListNotebookSessionsResponseTypeDef(TypedDict):
|
|
1072
|
-
NotebookSessionsList:
|
|
1067
|
+
NotebookSessionsList: list[NotebookSessionSummaryTypeDef]
|
|
1073
1068
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1074
1069
|
NextToken: NotRequired[str]
|
|
1075
1070
|
|
|
1076
1071
|
class ListPreparedStatementsOutputTypeDef(TypedDict):
|
|
1077
|
-
PreparedStatements:
|
|
1072
|
+
PreparedStatements: list[PreparedStatementSummaryTypeDef]
|
|
1078
1073
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1079
1074
|
NextToken: NotRequired[str]
|
|
1080
1075
|
|
|
@@ -1107,13 +1102,13 @@ class QueryStageTypeDef(TypedDict):
|
|
|
1107
1102
|
InputRows: NotRequired[int]
|
|
1108
1103
|
ExecutionTime: NotRequired[int]
|
|
1109
1104
|
QueryStagePlan: NotRequired[QueryStagePlanNodeTypeDef]
|
|
1110
|
-
SubStages: NotRequired[
|
|
1105
|
+
SubStages: NotRequired[list[dict[str, Any]]]
|
|
1111
1106
|
|
|
1112
1107
|
class ResultReuseConfigurationTypeDef(TypedDict):
|
|
1113
1108
|
ResultReuseByAgeConfiguration: NotRequired[ResultReuseByAgeConfigurationTypeDef]
|
|
1114
1109
|
|
|
1115
1110
|
class ListCalculationExecutionsResponseTypeDef(TypedDict):
|
|
1116
|
-
Calculations:
|
|
1111
|
+
Calculations: list[CalculationSummaryTypeDef]
|
|
1117
1112
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1118
1113
|
NextToken: NotRequired[str]
|
|
1119
1114
|
|
|
@@ -1122,7 +1117,7 @@ class GetCapacityReservationOutputTypeDef(TypedDict):
|
|
|
1122
1117
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1123
1118
|
|
|
1124
1119
|
class ListCapacityReservationsOutputTypeDef(TypedDict):
|
|
1125
|
-
CapacityReservations:
|
|
1120
|
+
CapacityReservations: list[CapacityReservationTypeDef]
|
|
1126
1121
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1127
1122
|
NextToken: NotRequired[str]
|
|
1128
1123
|
|
|
@@ -1139,12 +1134,12 @@ class GetTableMetadataOutputTypeDef(TypedDict):
|
|
|
1139
1134
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1140
1135
|
|
|
1141
1136
|
class ListTableMetadataOutputTypeDef(TypedDict):
|
|
1142
|
-
TableMetadataList:
|
|
1137
|
+
TableMetadataList: list[TableMetadataTypeDef]
|
|
1143
1138
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1144
1139
|
NextToken: NotRequired[str]
|
|
1145
1140
|
|
|
1146
1141
|
class ResultSetTypeDef(TypedDict):
|
|
1147
|
-
Rows: NotRequired[
|
|
1142
|
+
Rows: NotRequired[list[RowTypeDef]]
|
|
1148
1143
|
ResultSetMetadata: NotRequired[ResultSetMetadataTypeDef]
|
|
1149
1144
|
|
|
1150
1145
|
class GetSessionResponseTypeDef(TypedDict):
|
|
@@ -1168,12 +1163,12 @@ class StartSessionRequestTypeDef(TypedDict):
|
|
|
1168
1163
|
ClientRequestToken: NotRequired[str]
|
|
1169
1164
|
|
|
1170
1165
|
class ListWorkGroupsOutputTypeDef(TypedDict):
|
|
1171
|
-
WorkGroups:
|
|
1166
|
+
WorkGroups: list[WorkGroupSummaryTypeDef]
|
|
1172
1167
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1173
1168
|
NextToken: NotRequired[str]
|
|
1174
1169
|
|
|
1175
1170
|
class ListSessionsResponseTypeDef(TypedDict):
|
|
1176
|
-
Sessions:
|
|
1171
|
+
Sessions: list[SessionSummaryTypeDef]
|
|
1177
1172
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1178
1173
|
NextToken: NotRequired[str]
|
|
1179
1174
|
|
|
@@ -1235,7 +1230,7 @@ class QueryExecutionTypeDef(TypedDict):
|
|
|
1235
1230
|
Statistics: NotRequired[QueryExecutionStatisticsTypeDef]
|
|
1236
1231
|
WorkGroup: NotRequired[str]
|
|
1237
1232
|
EngineVersion: NotRequired[EngineVersionTypeDef]
|
|
1238
|
-
ExecutionParameters: NotRequired[
|
|
1233
|
+
ExecutionParameters: NotRequired[list[str]]
|
|
1239
1234
|
SubstatementType: NotRequired[str]
|
|
1240
1235
|
QueryResultsS3AccessGrantsConfiguration: NotRequired[
|
|
1241
1236
|
QueryResultsS3AccessGrantsConfigurationTypeDef
|
|
@@ -1281,8 +1276,8 @@ class GetQueryRuntimeStatisticsOutputTypeDef(TypedDict):
|
|
|
1281
1276
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1282
1277
|
|
|
1283
1278
|
class BatchGetQueryExecutionOutputTypeDef(TypedDict):
|
|
1284
|
-
QueryExecutions:
|
|
1285
|
-
UnprocessedQueryExecutionIds:
|
|
1279
|
+
QueryExecutions: list[QueryExecutionTypeDef]
|
|
1280
|
+
UnprocessedQueryExecutionIds: list[UnprocessedQueryExecutionIdTypeDef]
|
|
1286
1281
|
ResponseMetadata: ResponseMetadataTypeDef
|
|
1287
1282
|
|
|
1288
1283
|
class GetQueryExecutionOutputTypeDef(TypedDict):
|
mypy_boto3_athena/version.py
CHANGED