mypy-boto3-athena 1.40.60__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 +3 -7
- mypy_boto3_athena/literals.pyi +3 -7
- 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.60.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.60.dist-info/RECORD +0 -18
- {mypy_boto3_athena-1.40.60.dist-info → mypy_boto3_athena-1.41.0.dist-info}/WHEEL +0 -0
- {mypy_boto3_athena-1.40.60.dist-info → mypy_boto3_athena-1.41.0.dist-info}/licenses/LICENSE +0 -0
- {mypy_boto3_athena-1.40.60.dist-info → mypy_boto3_athena-1.41.0.dist-info}/top_level.txt +0 -0
mypy_boto3_athena/__main__.py
CHANGED
|
@@ -12,9 +12,9 @@ def print_info() -> None:
|
|
|
12
12
|
Print package info to stdout.
|
|
13
13
|
"""
|
|
14
14
|
sys.stdout.write(
|
|
15
|
-
"Type annotations for boto3 Athena 1.
|
|
16
|
-
"Version: 1.
|
|
17
|
-
"Builder version: 8.
|
|
15
|
+
"Type annotations for boto3 Athena 1.41.0\n"
|
|
16
|
+
"Version: 1.41.0\n"
|
|
17
|
+
"Builder version: 8.12.0\n"
|
|
18
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena//\n"
|
|
19
19
|
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#athena\n"
|
|
20
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
@@ -26,7 +26,7 @@ def print_version() -> None:
|
|
|
26
26
|
"""
|
|
27
27
|
Print package version to stdout.
|
|
28
28
|
"""
|
|
29
|
-
sys.stdout.write("1.
|
|
29
|
+
sys.stdout.write("1.41.0\n")
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
def main() -> None:
|
mypy_boto3_athena/client.py
CHANGED
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any, overload
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -153,12 +154,6 @@ from .type_defs import (
|
|
|
153
154
|
UpdateWorkGroupInputTypeDef,
|
|
154
155
|
)
|
|
155
156
|
|
|
156
|
-
if sys.version_info >= (3, 9):
|
|
157
|
-
from builtins import dict as Dict
|
|
158
|
-
from builtins import type as Type
|
|
159
|
-
from collections.abc import Mapping
|
|
160
|
-
else:
|
|
161
|
-
from typing import Dict, Mapping, Type
|
|
162
157
|
if sys.version_info >= (3, 12):
|
|
163
158
|
from typing import Literal, Unpack
|
|
164
159
|
else:
|
|
@@ -169,13 +164,13 @@ __all__ = ("AthenaClient",)
|
|
|
169
164
|
|
|
170
165
|
|
|
171
166
|
class Exceptions(BaseClientExceptions):
|
|
172
|
-
ClientError:
|
|
173
|
-
InternalServerException:
|
|
174
|
-
InvalidRequestException:
|
|
175
|
-
MetadataException:
|
|
176
|
-
ResourceNotFoundException:
|
|
177
|
-
SessionAlreadyExistsException:
|
|
178
|
-
TooManyRequestsException:
|
|
167
|
+
ClientError: type[BotocoreClientError]
|
|
168
|
+
InternalServerException: type[BotocoreClientError]
|
|
169
|
+
InvalidRequestException: type[BotocoreClientError]
|
|
170
|
+
MetadataException: type[BotocoreClientError]
|
|
171
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
172
|
+
SessionAlreadyExistsException: type[BotocoreClientError]
|
|
173
|
+
TooManyRequestsException: type[BotocoreClientError]
|
|
179
174
|
|
|
180
175
|
|
|
181
176
|
class AthenaClient(BaseClient):
|
|
@@ -248,7 +243,7 @@ class AthenaClient(BaseClient):
|
|
|
248
243
|
|
|
249
244
|
def cancel_capacity_reservation(
|
|
250
245
|
self, **kwargs: Unpack[CancelCapacityReservationInputTypeDef]
|
|
251
|
-
) ->
|
|
246
|
+
) -> dict[str, Any]:
|
|
252
247
|
"""
|
|
253
248
|
Cancels the capacity reservation with the specified name.
|
|
254
249
|
|
|
@@ -258,7 +253,7 @@ class AthenaClient(BaseClient):
|
|
|
258
253
|
|
|
259
254
|
def create_capacity_reservation(
|
|
260
255
|
self, **kwargs: Unpack[CreateCapacityReservationInputTypeDef]
|
|
261
|
-
) ->
|
|
256
|
+
) -> dict[str, Any]:
|
|
262
257
|
"""
|
|
263
258
|
Creates a capacity reservation with the specified name and number of requested
|
|
264
259
|
data processing units.
|
|
@@ -300,7 +295,7 @@ class AthenaClient(BaseClient):
|
|
|
300
295
|
|
|
301
296
|
def create_prepared_statement(
|
|
302
297
|
self, **kwargs: Unpack[CreatePreparedStatementInputTypeDef]
|
|
303
|
-
) ->
|
|
298
|
+
) -> dict[str, Any]:
|
|
304
299
|
"""
|
|
305
300
|
Creates a prepared statement for use with SQL queries in Athena.
|
|
306
301
|
|
|
@@ -318,7 +313,7 @@ class AthenaClient(BaseClient):
|
|
|
318
313
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_presigned_notebook_url)
|
|
319
314
|
"""
|
|
320
315
|
|
|
321
|
-
def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) ->
|
|
316
|
+
def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
322
317
|
"""
|
|
323
318
|
Creates a workgroup with the specified name.
|
|
324
319
|
|
|
@@ -328,7 +323,7 @@ class AthenaClient(BaseClient):
|
|
|
328
323
|
|
|
329
324
|
def delete_capacity_reservation(
|
|
330
325
|
self, **kwargs: Unpack[DeleteCapacityReservationInputTypeDef]
|
|
331
|
-
) ->
|
|
326
|
+
) -> dict[str, Any]:
|
|
332
327
|
"""
|
|
333
328
|
Deletes a cancelled capacity reservation.
|
|
334
329
|
|
|
@@ -346,7 +341,7 @@ class AthenaClient(BaseClient):
|
|
|
346
341
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_data_catalog)
|
|
347
342
|
"""
|
|
348
343
|
|
|
349
|
-
def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) ->
|
|
344
|
+
def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> dict[str, Any]:
|
|
350
345
|
"""
|
|
351
346
|
Deletes the named query if you have access to the workgroup in which the query
|
|
352
347
|
was saved.
|
|
@@ -355,7 +350,7 @@ class AthenaClient(BaseClient):
|
|
|
355
350
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_named_query)
|
|
356
351
|
"""
|
|
357
352
|
|
|
358
|
-
def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) ->
|
|
353
|
+
def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> dict[str, Any]:
|
|
359
354
|
"""
|
|
360
355
|
Deletes the specified notebook.
|
|
361
356
|
|
|
@@ -365,7 +360,7 @@ class AthenaClient(BaseClient):
|
|
|
365
360
|
|
|
366
361
|
def delete_prepared_statement(
|
|
367
362
|
self, **kwargs: Unpack[DeletePreparedStatementInputTypeDef]
|
|
368
|
-
) ->
|
|
363
|
+
) -> dict[str, Any]:
|
|
369
364
|
"""
|
|
370
365
|
Deletes the prepared statement with the specified name from the specified
|
|
371
366
|
workgroup.
|
|
@@ -374,7 +369,7 @@ class AthenaClient(BaseClient):
|
|
|
374
369
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_prepared_statement)
|
|
375
370
|
"""
|
|
376
371
|
|
|
377
|
-
def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) ->
|
|
372
|
+
def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
378
373
|
"""
|
|
379
374
|
Deletes the workgroup with the specified name.
|
|
380
375
|
|
|
@@ -746,7 +741,7 @@ class AthenaClient(BaseClient):
|
|
|
746
741
|
|
|
747
742
|
def put_capacity_assignment_configuration(
|
|
748
743
|
self, **kwargs: Unpack[PutCapacityAssignmentConfigurationInputTypeDef]
|
|
749
|
-
) ->
|
|
744
|
+
) -> dict[str, Any]:
|
|
750
745
|
"""
|
|
751
746
|
Puts a new capacity assignment configuration for a specified capacity
|
|
752
747
|
reservation.
|
|
@@ -797,7 +792,7 @@ class AthenaClient(BaseClient):
|
|
|
797
792
|
|
|
798
793
|
def stop_query_execution(
|
|
799
794
|
self, **kwargs: Unpack[StopQueryExecutionInputTypeDef]
|
|
800
|
-
) ->
|
|
795
|
+
) -> dict[str, Any]:
|
|
801
796
|
"""
|
|
802
797
|
Stops a query execution.
|
|
803
798
|
|
|
@@ -805,7 +800,7 @@ class AthenaClient(BaseClient):
|
|
|
805
800
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#stop_query_execution)
|
|
806
801
|
"""
|
|
807
802
|
|
|
808
|
-
def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) ->
|
|
803
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
|
|
809
804
|
"""
|
|
810
805
|
Adds one or more tags to an Athena resource.
|
|
811
806
|
|
|
@@ -823,7 +818,7 @@ class AthenaClient(BaseClient):
|
|
|
823
818
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#terminate_session)
|
|
824
819
|
"""
|
|
825
820
|
|
|
826
|
-
def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) ->
|
|
821
|
+
def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
|
|
827
822
|
"""
|
|
828
823
|
Removes one or more tags from an Athena resource.
|
|
829
824
|
|
|
@@ -833,7 +828,7 @@ class AthenaClient(BaseClient):
|
|
|
833
828
|
|
|
834
829
|
def update_capacity_reservation(
|
|
835
830
|
self, **kwargs: Unpack[UpdateCapacityReservationInputTypeDef]
|
|
836
|
-
) ->
|
|
831
|
+
) -> dict[str, Any]:
|
|
837
832
|
"""
|
|
838
833
|
Updates the number of requested data processing units for the capacity
|
|
839
834
|
reservation with the specified name.
|
|
@@ -844,7 +839,7 @@ class AthenaClient(BaseClient):
|
|
|
844
839
|
|
|
845
840
|
def update_data_catalog(
|
|
846
841
|
self, **kwargs: Unpack[UpdateDataCatalogInputTypeDef]
|
|
847
|
-
) ->
|
|
842
|
+
) -> dict[str, Any]:
|
|
848
843
|
"""
|
|
849
844
|
Updates the data catalog that has the specified name.
|
|
850
845
|
|
|
@@ -852,7 +847,7 @@ class AthenaClient(BaseClient):
|
|
|
852
847
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_data_catalog)
|
|
853
848
|
"""
|
|
854
849
|
|
|
855
|
-
def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) ->
|
|
850
|
+
def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> dict[str, Any]:
|
|
856
851
|
"""
|
|
857
852
|
Updates a <a>NamedQuery</a> object.
|
|
858
853
|
|
|
@@ -860,7 +855,7 @@ class AthenaClient(BaseClient):
|
|
|
860
855
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_named_query)
|
|
861
856
|
"""
|
|
862
857
|
|
|
863
|
-
def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) ->
|
|
858
|
+
def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> dict[str, Any]:
|
|
864
859
|
"""
|
|
865
860
|
Updates the contents of a Spark notebook.
|
|
866
861
|
|
|
@@ -870,7 +865,7 @@ class AthenaClient(BaseClient):
|
|
|
870
865
|
|
|
871
866
|
def update_notebook_metadata(
|
|
872
867
|
self, **kwargs: Unpack[UpdateNotebookMetadataInputTypeDef]
|
|
873
|
-
) ->
|
|
868
|
+
) -> dict[str, Any]:
|
|
874
869
|
"""
|
|
875
870
|
Updates the metadata for a notebook.
|
|
876
871
|
|
|
@@ -880,7 +875,7 @@ class AthenaClient(BaseClient):
|
|
|
880
875
|
|
|
881
876
|
def update_prepared_statement(
|
|
882
877
|
self, **kwargs: Unpack[UpdatePreparedStatementInputTypeDef]
|
|
883
|
-
) ->
|
|
878
|
+
) -> dict[str, Any]:
|
|
884
879
|
"""
|
|
885
880
|
Updates a prepared statement.
|
|
886
881
|
|
|
@@ -888,7 +883,7 @@ class AthenaClient(BaseClient):
|
|
|
888
883
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_prepared_statement)
|
|
889
884
|
"""
|
|
890
885
|
|
|
891
|
-
def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) ->
|
|
886
|
+
def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
892
887
|
"""
|
|
893
888
|
Updates the workgroup with the specified name.
|
|
894
889
|
|
mypy_boto3_athena/client.pyi
CHANGED
|
@@ -19,6 +19,7 @@ Usage::
|
|
|
19
19
|
from __future__ import annotations
|
|
20
20
|
|
|
21
21
|
import sys
|
|
22
|
+
from collections.abc import Mapping
|
|
22
23
|
from typing import Any, overload
|
|
23
24
|
|
|
24
25
|
from botocore.client import BaseClient, ClientMeta
|
|
@@ -153,12 +154,6 @@ from .type_defs import (
|
|
|
153
154
|
UpdateWorkGroupInputTypeDef,
|
|
154
155
|
)
|
|
155
156
|
|
|
156
|
-
if sys.version_info >= (3, 9):
|
|
157
|
-
from builtins import dict as Dict
|
|
158
|
-
from builtins import type as Type
|
|
159
|
-
from collections.abc import Mapping
|
|
160
|
-
else:
|
|
161
|
-
from typing import Dict, Mapping, Type
|
|
162
157
|
if sys.version_info >= (3, 12):
|
|
163
158
|
from typing import Literal, Unpack
|
|
164
159
|
else:
|
|
@@ -167,13 +162,13 @@ else:
|
|
|
167
162
|
__all__ = ("AthenaClient",)
|
|
168
163
|
|
|
169
164
|
class Exceptions(BaseClientExceptions):
|
|
170
|
-
ClientError:
|
|
171
|
-
InternalServerException:
|
|
172
|
-
InvalidRequestException:
|
|
173
|
-
MetadataException:
|
|
174
|
-
ResourceNotFoundException:
|
|
175
|
-
SessionAlreadyExistsException:
|
|
176
|
-
TooManyRequestsException:
|
|
165
|
+
ClientError: type[BotocoreClientError]
|
|
166
|
+
InternalServerException: type[BotocoreClientError]
|
|
167
|
+
InvalidRequestException: type[BotocoreClientError]
|
|
168
|
+
MetadataException: type[BotocoreClientError]
|
|
169
|
+
ResourceNotFoundException: type[BotocoreClientError]
|
|
170
|
+
SessionAlreadyExistsException: type[BotocoreClientError]
|
|
171
|
+
TooManyRequestsException: type[BotocoreClientError]
|
|
177
172
|
|
|
178
173
|
class AthenaClient(BaseClient):
|
|
179
174
|
"""
|
|
@@ -245,7 +240,7 @@ class AthenaClient(BaseClient):
|
|
|
245
240
|
|
|
246
241
|
def cancel_capacity_reservation(
|
|
247
242
|
self, **kwargs: Unpack[CancelCapacityReservationInputTypeDef]
|
|
248
|
-
) ->
|
|
243
|
+
) -> dict[str, Any]:
|
|
249
244
|
"""
|
|
250
245
|
Cancels the capacity reservation with the specified name.
|
|
251
246
|
|
|
@@ -255,7 +250,7 @@ class AthenaClient(BaseClient):
|
|
|
255
250
|
|
|
256
251
|
def create_capacity_reservation(
|
|
257
252
|
self, **kwargs: Unpack[CreateCapacityReservationInputTypeDef]
|
|
258
|
-
) ->
|
|
253
|
+
) -> dict[str, Any]:
|
|
259
254
|
"""
|
|
260
255
|
Creates a capacity reservation with the specified name and number of requested
|
|
261
256
|
data processing units.
|
|
@@ -297,7 +292,7 @@ class AthenaClient(BaseClient):
|
|
|
297
292
|
|
|
298
293
|
def create_prepared_statement(
|
|
299
294
|
self, **kwargs: Unpack[CreatePreparedStatementInputTypeDef]
|
|
300
|
-
) ->
|
|
295
|
+
) -> dict[str, Any]:
|
|
301
296
|
"""
|
|
302
297
|
Creates a prepared statement for use with SQL queries in Athena.
|
|
303
298
|
|
|
@@ -315,7 +310,7 @@ class AthenaClient(BaseClient):
|
|
|
315
310
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_presigned_notebook_url)
|
|
316
311
|
"""
|
|
317
312
|
|
|
318
|
-
def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) ->
|
|
313
|
+
def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
319
314
|
"""
|
|
320
315
|
Creates a workgroup with the specified name.
|
|
321
316
|
|
|
@@ -325,7 +320,7 @@ class AthenaClient(BaseClient):
|
|
|
325
320
|
|
|
326
321
|
def delete_capacity_reservation(
|
|
327
322
|
self, **kwargs: Unpack[DeleteCapacityReservationInputTypeDef]
|
|
328
|
-
) ->
|
|
323
|
+
) -> dict[str, Any]:
|
|
329
324
|
"""
|
|
330
325
|
Deletes a cancelled capacity reservation.
|
|
331
326
|
|
|
@@ -343,7 +338,7 @@ class AthenaClient(BaseClient):
|
|
|
343
338
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_data_catalog)
|
|
344
339
|
"""
|
|
345
340
|
|
|
346
|
-
def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) ->
|
|
341
|
+
def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> dict[str, Any]:
|
|
347
342
|
"""
|
|
348
343
|
Deletes the named query if you have access to the workgroup in which the query
|
|
349
344
|
was saved.
|
|
@@ -352,7 +347,7 @@ class AthenaClient(BaseClient):
|
|
|
352
347
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_named_query)
|
|
353
348
|
"""
|
|
354
349
|
|
|
355
|
-
def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) ->
|
|
350
|
+
def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> dict[str, Any]:
|
|
356
351
|
"""
|
|
357
352
|
Deletes the specified notebook.
|
|
358
353
|
|
|
@@ -362,7 +357,7 @@ class AthenaClient(BaseClient):
|
|
|
362
357
|
|
|
363
358
|
def delete_prepared_statement(
|
|
364
359
|
self, **kwargs: Unpack[DeletePreparedStatementInputTypeDef]
|
|
365
|
-
) ->
|
|
360
|
+
) -> dict[str, Any]:
|
|
366
361
|
"""
|
|
367
362
|
Deletes the prepared statement with the specified name from the specified
|
|
368
363
|
workgroup.
|
|
@@ -371,7 +366,7 @@ class AthenaClient(BaseClient):
|
|
|
371
366
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_prepared_statement)
|
|
372
367
|
"""
|
|
373
368
|
|
|
374
|
-
def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) ->
|
|
369
|
+
def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
375
370
|
"""
|
|
376
371
|
Deletes the workgroup with the specified name.
|
|
377
372
|
|
|
@@ -743,7 +738,7 @@ class AthenaClient(BaseClient):
|
|
|
743
738
|
|
|
744
739
|
def put_capacity_assignment_configuration(
|
|
745
740
|
self, **kwargs: Unpack[PutCapacityAssignmentConfigurationInputTypeDef]
|
|
746
|
-
) ->
|
|
741
|
+
) -> dict[str, Any]:
|
|
747
742
|
"""
|
|
748
743
|
Puts a new capacity assignment configuration for a specified capacity
|
|
749
744
|
reservation.
|
|
@@ -794,7 +789,7 @@ class AthenaClient(BaseClient):
|
|
|
794
789
|
|
|
795
790
|
def stop_query_execution(
|
|
796
791
|
self, **kwargs: Unpack[StopQueryExecutionInputTypeDef]
|
|
797
|
-
) ->
|
|
792
|
+
) -> dict[str, Any]:
|
|
798
793
|
"""
|
|
799
794
|
Stops a query execution.
|
|
800
795
|
|
|
@@ -802,7 +797,7 @@ class AthenaClient(BaseClient):
|
|
|
802
797
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#stop_query_execution)
|
|
803
798
|
"""
|
|
804
799
|
|
|
805
|
-
def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) ->
|
|
800
|
+
def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
|
|
806
801
|
"""
|
|
807
802
|
Adds one or more tags to an Athena resource.
|
|
808
803
|
|
|
@@ -820,7 +815,7 @@ class AthenaClient(BaseClient):
|
|
|
820
815
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#terminate_session)
|
|
821
816
|
"""
|
|
822
817
|
|
|
823
|
-
def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) ->
|
|
818
|
+
def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
|
|
824
819
|
"""
|
|
825
820
|
Removes one or more tags from an Athena resource.
|
|
826
821
|
|
|
@@ -830,7 +825,7 @@ class AthenaClient(BaseClient):
|
|
|
830
825
|
|
|
831
826
|
def update_capacity_reservation(
|
|
832
827
|
self, **kwargs: Unpack[UpdateCapacityReservationInputTypeDef]
|
|
833
|
-
) ->
|
|
828
|
+
) -> dict[str, Any]:
|
|
834
829
|
"""
|
|
835
830
|
Updates the number of requested data processing units for the capacity
|
|
836
831
|
reservation with the specified name.
|
|
@@ -841,7 +836,7 @@ class AthenaClient(BaseClient):
|
|
|
841
836
|
|
|
842
837
|
def update_data_catalog(
|
|
843
838
|
self, **kwargs: Unpack[UpdateDataCatalogInputTypeDef]
|
|
844
|
-
) ->
|
|
839
|
+
) -> dict[str, Any]:
|
|
845
840
|
"""
|
|
846
841
|
Updates the data catalog that has the specified name.
|
|
847
842
|
|
|
@@ -849,7 +844,7 @@ class AthenaClient(BaseClient):
|
|
|
849
844
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_data_catalog)
|
|
850
845
|
"""
|
|
851
846
|
|
|
852
|
-
def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) ->
|
|
847
|
+
def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> dict[str, Any]:
|
|
853
848
|
"""
|
|
854
849
|
Updates a <a>NamedQuery</a> object.
|
|
855
850
|
|
|
@@ -857,7 +852,7 @@ class AthenaClient(BaseClient):
|
|
|
857
852
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_named_query)
|
|
858
853
|
"""
|
|
859
854
|
|
|
860
|
-
def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) ->
|
|
855
|
+
def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> dict[str, Any]:
|
|
861
856
|
"""
|
|
862
857
|
Updates the contents of a Spark notebook.
|
|
863
858
|
|
|
@@ -867,7 +862,7 @@ class AthenaClient(BaseClient):
|
|
|
867
862
|
|
|
868
863
|
def update_notebook_metadata(
|
|
869
864
|
self, **kwargs: Unpack[UpdateNotebookMetadataInputTypeDef]
|
|
870
|
-
) ->
|
|
865
|
+
) -> dict[str, Any]:
|
|
871
866
|
"""
|
|
872
867
|
Updates the metadata for a notebook.
|
|
873
868
|
|
|
@@ -877,7 +872,7 @@ class AthenaClient(BaseClient):
|
|
|
877
872
|
|
|
878
873
|
def update_prepared_statement(
|
|
879
874
|
self, **kwargs: Unpack[UpdatePreparedStatementInputTypeDef]
|
|
880
|
-
) ->
|
|
875
|
+
) -> dict[str, Any]:
|
|
881
876
|
"""
|
|
882
877
|
Updates a prepared statement.
|
|
883
878
|
|
|
@@ -885,7 +880,7 @@ class AthenaClient(BaseClient):
|
|
|
885
880
|
[Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_prepared_statement)
|
|
886
881
|
"""
|
|
887
882
|
|
|
888
|
-
def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) ->
|
|
883
|
+
def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> dict[str, Any]:
|
|
889
884
|
"""
|
|
890
885
|
Updates the workgroup with the specified name.
|
|
891
886
|
|
mypy_boto3_athena/literals.py
CHANGED
|
@@ -147,7 +147,6 @@ ServiceName = Literal[
|
|
|
147
147
|
"apprunner",
|
|
148
148
|
"appstream",
|
|
149
149
|
"appsync",
|
|
150
|
-
"apptest",
|
|
151
150
|
"arc-region-switch",
|
|
152
151
|
"arc-zonal-shift",
|
|
153
152
|
"artifact",
|
|
@@ -315,7 +314,6 @@ ServiceName = Literal[
|
|
|
315
314
|
"iotdeviceadvisor",
|
|
316
315
|
"iotevents",
|
|
317
316
|
"iotevents-data",
|
|
318
|
-
"iotfleethub",
|
|
319
317
|
"iotfleetwise",
|
|
320
318
|
"iotsecuretunneling",
|
|
321
319
|
"iotsitewise",
|
|
@@ -354,8 +352,6 @@ ServiceName = Literal[
|
|
|
354
352
|
"location",
|
|
355
353
|
"logs",
|
|
356
354
|
"lookoutequipment",
|
|
357
|
-
"lookoutmetrics",
|
|
358
|
-
"lookoutvision",
|
|
359
355
|
"m2",
|
|
360
356
|
"machinelearning",
|
|
361
357
|
"macie2",
|
|
@@ -390,6 +386,7 @@ ServiceName = Literal[
|
|
|
390
386
|
"mq",
|
|
391
387
|
"mturk",
|
|
392
388
|
"mwaa",
|
|
389
|
+
"mwaa-serverless",
|
|
393
390
|
"neptune",
|
|
394
391
|
"neptune-graph",
|
|
395
392
|
"neptunedata",
|
|
@@ -409,6 +406,7 @@ ServiceName = Literal[
|
|
|
409
406
|
"osis",
|
|
410
407
|
"outposts",
|
|
411
408
|
"panorama",
|
|
409
|
+
"partnercentral-channel",
|
|
412
410
|
"partnercentral-selling",
|
|
413
411
|
"payment-cryptography",
|
|
414
412
|
"payment-cryptography-data",
|
|
@@ -430,8 +428,6 @@ ServiceName = Literal[
|
|
|
430
428
|
"qapps",
|
|
431
429
|
"qbusiness",
|
|
432
430
|
"qconnect",
|
|
433
|
-
"qldb",
|
|
434
|
-
"qldb-session",
|
|
435
431
|
"quicksight",
|
|
436
432
|
"ram",
|
|
437
433
|
"rbin",
|
|
@@ -446,7 +442,6 @@ ServiceName = Literal[
|
|
|
446
442
|
"resource-explorer-2",
|
|
447
443
|
"resource-groups",
|
|
448
444
|
"resourcegroupstaggingapi",
|
|
449
|
-
"robomaker",
|
|
450
445
|
"rolesanywhere",
|
|
451
446
|
"route53",
|
|
452
447
|
"route53-recovery-cluster",
|
|
@@ -486,6 +481,7 @@ ServiceName = Literal[
|
|
|
486
481
|
"sesv2",
|
|
487
482
|
"shield",
|
|
488
483
|
"signer",
|
|
484
|
+
"signin",
|
|
489
485
|
"simspaceweaver",
|
|
490
486
|
"snow-device-management",
|
|
491
487
|
"snowball",
|
mypy_boto3_athena/literals.pyi
CHANGED
|
@@ -145,7 +145,6 @@ ServiceName = Literal[
|
|
|
145
145
|
"apprunner",
|
|
146
146
|
"appstream",
|
|
147
147
|
"appsync",
|
|
148
|
-
"apptest",
|
|
149
148
|
"arc-region-switch",
|
|
150
149
|
"arc-zonal-shift",
|
|
151
150
|
"artifact",
|
|
@@ -313,7 +312,6 @@ ServiceName = Literal[
|
|
|
313
312
|
"iotdeviceadvisor",
|
|
314
313
|
"iotevents",
|
|
315
314
|
"iotevents-data",
|
|
316
|
-
"iotfleethub",
|
|
317
315
|
"iotfleetwise",
|
|
318
316
|
"iotsecuretunneling",
|
|
319
317
|
"iotsitewise",
|
|
@@ -352,8 +350,6 @@ ServiceName = Literal[
|
|
|
352
350
|
"location",
|
|
353
351
|
"logs",
|
|
354
352
|
"lookoutequipment",
|
|
355
|
-
"lookoutmetrics",
|
|
356
|
-
"lookoutvision",
|
|
357
353
|
"m2",
|
|
358
354
|
"machinelearning",
|
|
359
355
|
"macie2",
|
|
@@ -388,6 +384,7 @@ ServiceName = Literal[
|
|
|
388
384
|
"mq",
|
|
389
385
|
"mturk",
|
|
390
386
|
"mwaa",
|
|
387
|
+
"mwaa-serverless",
|
|
391
388
|
"neptune",
|
|
392
389
|
"neptune-graph",
|
|
393
390
|
"neptunedata",
|
|
@@ -407,6 +404,7 @@ ServiceName = Literal[
|
|
|
407
404
|
"osis",
|
|
408
405
|
"outposts",
|
|
409
406
|
"panorama",
|
|
407
|
+
"partnercentral-channel",
|
|
410
408
|
"partnercentral-selling",
|
|
411
409
|
"payment-cryptography",
|
|
412
410
|
"payment-cryptography-data",
|
|
@@ -428,8 +426,6 @@ ServiceName = Literal[
|
|
|
428
426
|
"qapps",
|
|
429
427
|
"qbusiness",
|
|
430
428
|
"qconnect",
|
|
431
|
-
"qldb",
|
|
432
|
-
"qldb-session",
|
|
433
429
|
"quicksight",
|
|
434
430
|
"ram",
|
|
435
431
|
"rbin",
|
|
@@ -444,7 +440,6 @@ ServiceName = Literal[
|
|
|
444
440
|
"resource-explorer-2",
|
|
445
441
|
"resource-groups",
|
|
446
442
|
"resourcegroupstaggingapi",
|
|
447
|
-
"robomaker",
|
|
448
443
|
"rolesanywhere",
|
|
449
444
|
"route53",
|
|
450
445
|
"route53-recovery-cluster",
|
|
@@ -484,6 +479,7 @@ ServiceName = Literal[
|
|
|
484
479
|
"sesv2",
|
|
485
480
|
"shield",
|
|
486
481
|
"signer",
|
|
482
|
+
"signin",
|
|
487
483
|
"simspaceweaver",
|
|
488
484
|
"snow-device-management",
|
|
489
485
|
"snowball",
|
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
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mypy-boto3-athena
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3 Athena 1.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
License: MIT License
|
|
3
|
+
Version: 1.41.0
|
|
4
|
+
Summary: Type annotations for boto3 Athena 1.41.0 service generated with mypy-boto3-builder 8.12.0
|
|
5
|
+
Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
|
|
9
8
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/
|
|
10
9
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
10
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3
|
|
11
|
+
Keywords: boto3,athena,boto3-stubs,type-annotations,mypy,typeshed,autocomplete
|
|
12
|
+
Platform: any
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
16
|
Classifier: Natural Language :: English
|
|
18
17
|
Classifier: Operating System :: OS Independent
|
|
19
18
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
19
|
Classifier: Programming Language :: Python :: 3.9
|
|
22
20
|
Classifier: Programming Language :: Python :: 3.10
|
|
23
21
|
Classifier: Programming Language :: Python :: 3.11
|
|
@@ -27,23 +25,11 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
27
25
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
28
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
27
|
Classifier: Typing :: Stubs Only
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Requires-Python: >=3.9
|
|
31
29
|
Description-Content-Type: text/markdown
|
|
32
30
|
License-File: LICENSE
|
|
33
31
|
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
34
|
-
Dynamic: author
|
|
35
|
-
Dynamic: author-email
|
|
36
|
-
Dynamic: classifier
|
|
37
|
-
Dynamic: description
|
|
38
|
-
Dynamic: description-content-type
|
|
39
|
-
Dynamic: home-page
|
|
40
|
-
Dynamic: keywords
|
|
41
|
-
Dynamic: license
|
|
42
32
|
Dynamic: license-file
|
|
43
|
-
Dynamic: project-url
|
|
44
|
-
Dynamic: requires-dist
|
|
45
|
-
Dynamic: requires-python
|
|
46
|
-
Dynamic: summary
|
|
47
33
|
|
|
48
34
|
<a id="mypy-boto3-athena"></a>
|
|
49
35
|
|
|
@@ -56,7 +42,7 @@ Dynamic: summary
|
|
|
56
42
|
|
|
57
43
|

|
|
58
44
|
|
|
59
|
-
Type annotations for [boto3 Athena 1.
|
|
45
|
+
Type annotations for [boto3 Athena 1.41.0](https://pypi.org/project/boto3/)
|
|
60
46
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
61
47
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
62
48
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -65,7 +51,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
65
51
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
66
52
|
|
|
67
53
|
Generated with
|
|
68
|
-
[mypy-boto3-builder 8.
|
|
54
|
+
[mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
|
|
69
55
|
|
|
70
56
|
More information can be found on
|
|
71
57
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -118,7 +104,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
118
104
|
isolation.
|
|
119
105
|
|
|
120
106
|
1. Run mypy-boto3-builder in your package root directory:
|
|
121
|
-
`uvx --with 'boto3==1.
|
|
107
|
+
`uvx --with 'boto3==1.41.0' mypy-boto3-builder`
|
|
122
108
|
2. Select `boto3-stubs` AWS SDK.
|
|
123
109
|
3. Add `Athena` service.
|
|
124
110
|
4. Use provided commands to install generated packages.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
mypy_boto3_athena/__init__.py,sha256=6Tiq4QEexK9VKvsoJmj7dDTBt4HHWcFxGwxWgyxQedo,1962
|
|
2
|
+
mypy_boto3_athena/__init__.pyi,sha256=z_i9jPHFMNCrl1Ju7pVBhfzgBPVDIU4GlsGRKoge4So,1961
|
|
3
|
+
mypy_boto3_athena/__main__.py,sha256=AKUG7ss8qFI2OB3rnH79roFi3Pguk6WoAAD7-aJ7aVE,977
|
|
4
|
+
mypy_boto3_athena/client.py,sha256=8uhnQ7mODWVe_wWHjdUf1rdCn3kcJ6ba_XruteCXhMI,46781
|
|
5
|
+
mypy_boto3_athena/client.pyi,sha256=7sAXrFeljcytAiY27I8hkVY_rJYMOd56N_iVN99atBY,46778
|
|
6
|
+
mypy_boto3_athena/literals.py,sha256=n3gTqpZuDFafHhtac6-wsVPErrFacMNuc1mtHt9zx48,12855
|
|
7
|
+
mypy_boto3_athena/literals.pyi,sha256=eSwNm2FD2cYvn3u1ShLJU1Mq776q-lG1Hx-1bAZHoig,12853
|
|
8
|
+
mypy_boto3_athena/paginator.py,sha256=xB_U0CLweCoyDLLQ1gb-YQh8Xyx0ItzkfZYVYbRzsX8,10275
|
|
9
|
+
mypy_boto3_athena/paginator.pyi,sha256=ock3w2liyk4dV3YnX3UUBSKV3WGQwc1q---g-WA_acQ,10253
|
|
10
|
+
mypy_boto3_athena/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
+
mypy_boto3_athena/type_defs.py,sha256=qu7xfB9-h2BD4vjkZ_reRbXbN_BOyiCbm9dcHlta89g,42914
|
|
12
|
+
mypy_boto3_athena/type_defs.pyi,sha256=SBPurxqmyVt7HwEoiY4gY-7DLXOXZlOP9J3PdYYO1Zg,42721
|
|
13
|
+
mypy_boto3_athena/version.py,sha256=ZtEblsbAVbZWuGFYY23SYRu3T8sCoiDNfG49dV1XWUA,92
|
|
14
|
+
mypy_boto3_athena-1.41.0.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
+
mypy_boto3_athena-1.41.0.dist-info/METADATA,sha256=_bxm9thcvQbBCXCpg391SLxUpFA2J7ugAlfSCRhsju4,15345
|
|
16
|
+
mypy_boto3_athena-1.41.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
+
mypy_boto3_athena-1.41.0.dist-info/top_level.txt,sha256=zhATfWFKeSfNk0lB3FXaQgvfFX_G02p4RuEUJSe6u0Q,18
|
|
18
|
+
mypy_boto3_athena-1.41.0.dist-info/RECORD,,
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
mypy_boto3_athena/__init__.py,sha256=6Tiq4QEexK9VKvsoJmj7dDTBt4HHWcFxGwxWgyxQedo,1962
|
|
2
|
-
mypy_boto3_athena/__init__.pyi,sha256=z_i9jPHFMNCrl1Ju7pVBhfzgBPVDIU4GlsGRKoge4So,1961
|
|
3
|
-
mypy_boto3_athena/__main__.py,sha256=0GMeVGFZLoTE4elR-YOS2mv2zwfLAdwtaZ6rUfmK-yY,980
|
|
4
|
-
mypy_boto3_athena/client.py,sha256=hU6beJTU8v6gjWtmNgg4kz7cQw6EMI1XwWGDmuBEXtg,46941
|
|
5
|
-
mypy_boto3_athena/client.pyi,sha256=MmEP4XP5HG4zpljou8nQIeT0Yp5qQY8XRAANCRvJ6KE,46938
|
|
6
|
-
mypy_boto3_athena/literals.py,sha256=B0I_XtiELfQTPWH6oZz4KMo-mjoALMmINM1Ez7l_RBo,12914
|
|
7
|
-
mypy_boto3_athena/literals.pyi,sha256=3Y4qWCWi2o8OVPEscVE7Xh5NzHu4GpsNemXRRWU8x8c,12912
|
|
8
|
-
mypy_boto3_athena/paginator.py,sha256=xB_U0CLweCoyDLLQ1gb-YQh8Xyx0ItzkfZYVYbRzsX8,10275
|
|
9
|
-
mypy_boto3_athena/paginator.pyi,sha256=ock3w2liyk4dV3YnX3UUBSKV3WGQwc1q---g-WA_acQ,10253
|
|
10
|
-
mypy_boto3_athena/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
mypy_boto3_athena/type_defs.py,sha256=TOSoNOYBbwPLYmIkio09kf3bFXuEU1JbngGR4459clY,43084
|
|
12
|
-
mypy_boto3_athena/type_defs.pyi,sha256=vPBBRkyop-sbQyu7EyeJ9ZaWK7vMJobhDCnVI1m9sO0,42891
|
|
13
|
-
mypy_boto3_athena/version.py,sha256=NzXluJrrNARU_IqVC98fZ7B1YuUJkewLTY2LI9mZCDQ,93
|
|
14
|
-
mypy_boto3_athena-1.40.60.dist-info/licenses/LICENSE,sha256=4jNgB8jJbXtUVJkeygwhUQi--6lAG8DIisfE-h_RiUU,1070
|
|
15
|
-
mypy_boto3_athena-1.40.60.dist-info/METADATA,sha256=i7U4c_oisSt6YOvoiu8KSw1VZjmnfKvvfa4uQxJqOck,15680
|
|
16
|
-
mypy_boto3_athena-1.40.60.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
17
|
-
mypy_boto3_athena-1.40.60.dist-info/top_level.txt,sha256=zhATfWFKeSfNk0lB3FXaQgvfFX_G02p4RuEUJSe6u0Q,18
|
|
18
|
-
mypy_boto3_athena-1.40.60.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|