mypy-boto3-athena 1.40.60__tar.gz → 1.41.0__tar.gz
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-1.40.60 → mypy_boto3_athena-1.41.0}/PKG-INFO +11 -25
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/README.md +3 -3
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/__main__.py +4 -4
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/client.py +28 -33
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/client.pyi +28 -33
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/literals.py +3 -7
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/literals.pyi +3 -7
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/type_defs.py +41 -46
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/type_defs.pyi +41 -46
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/version.py +1 -1
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena.egg-info/PKG-INFO +11 -25
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena.egg-info/SOURCES.txt +1 -2
- mypy_boto3_athena-1.41.0/pyproject.toml +61 -0
- mypy_boto3_athena-1.40.60/mypy_boto3_athena.egg-info/not-zip-safe +0 -1
- mypy_boto3_athena-1.40.60/setup.py +0 -54
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/LICENSE +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/__init__.py +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/__init__.pyi +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/paginator.py +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/paginator.pyi +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena/py.typed +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena.egg-info/requires.txt +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/mypy_boto3_athena.egg-info/top_level.txt +0 -0
- {mypy_boto3_athena-1.40.60 → mypy_boto3_athena-1.41.0}/setup.cfg +0 -0
|
@@ -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.
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for [boto3 Athena 1.
|
|
12
|
+
Type annotations for [boto3 Athena 1.41.0](https://pypi.org/project/boto3/)
|
|
13
13
|
compatible with [VSCode](https://code.visualstudio.com/),
|
|
14
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
15
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -18,7 +18,7 @@ compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
18
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
19
19
|
|
|
20
20
|
Generated with
|
|
21
|
-
[mypy-boto3-builder 8.
|
|
21
|
+
[mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
|
|
22
22
|
|
|
23
23
|
More information can be found on
|
|
24
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -71,7 +71,7 @@ You can generate type annotations for `boto3` package locally with
|
|
|
71
71
|
isolation.
|
|
72
72
|
|
|
73
73
|
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
-
`uvx --with 'boto3==1.
|
|
74
|
+
`uvx --with 'boto3==1.41.0' mypy-boto3-builder`
|
|
75
75
|
2. Select `boto3-stubs` AWS SDK.
|
|
76
76
|
3. Add `Athena` service.
|
|
77
77
|
4. Use provided commands to install generated packages.
|
|
@@ -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:
|
|
@@ -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
|
|
|
@@ -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
|
|
|
@@ -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",
|