mypy-boto3-athena 1.40.0__py3-none-any.whl → 1.41.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mypy_boto3_athena/__main__.py +4 -4
- mypy_boto3_athena/client.py +28 -33
- mypy_boto3_athena/client.pyi +28 -33
- mypy_boto3_athena/literals.py +8 -20
- mypy_boto3_athena/literals.pyi +8 -20
- mypy_boto3_athena/type_defs.py +41 -46
- mypy_boto3_athena/type_defs.pyi +41 -46
- mypy_boto3_athena/version.py +1 -1
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/METADATA +11 -25
- mypy_boto3_athena-1.41.0.dist-info/RECORD +18 -0
- mypy_boto3_athena-1.40.0.dist-info/RECORD +0 -18
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/WHEEL +0 -0
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/licenses/LICENSE +0 -0
- {mypy_boto3_athena-1.40.0.dist-info → mypy_boto3_athena-1.41.0.dist-info}/top_level.txt +0 -0
mypy_boto3_athena/__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,7 @@ ServiceName = Literal[
|
|
|
147
147
|
"apprunner",
|
|
148
148
|
"appstream",
|
|
149
149
|
"appsync",
|
|
150
|
-
"
|
|
150
|
+
"arc-region-switch",
|
|
151
151
|
"arc-zonal-shift",
|
|
152
152
|
"artifact",
|
|
153
153
|
"athena",
|
|
@@ -159,8 +159,10 @@ ServiceName = Literal[
|
|
|
159
159
|
"backup-gateway",
|
|
160
160
|
"backupsearch",
|
|
161
161
|
"batch",
|
|
162
|
+
"bcm-dashboards",
|
|
162
163
|
"bcm-data-exports",
|
|
163
164
|
"bcm-pricing-calculator",
|
|
165
|
+
"bcm-recommended-actions",
|
|
164
166
|
"bedrock",
|
|
165
167
|
"bedrock-agent",
|
|
166
168
|
"bedrock-agent-runtime",
|
|
@@ -312,7 +314,6 @@ ServiceName = Literal[
|
|
|
312
314
|
"iotdeviceadvisor",
|
|
313
315
|
"iotevents",
|
|
314
316
|
"iotevents-data",
|
|
315
|
-
"iotfleethub",
|
|
316
317
|
"iotfleetwise",
|
|
317
318
|
"iotsecuretunneling",
|
|
318
319
|
"iotsitewise",
|
|
@@ -351,8 +352,6 @@ ServiceName = Literal[
|
|
|
351
352
|
"location",
|
|
352
353
|
"logs",
|
|
353
354
|
"lookoutequipment",
|
|
354
|
-
"lookoutmetrics",
|
|
355
|
-
"lookoutvision",
|
|
356
355
|
"m2",
|
|
357
356
|
"machinelearning",
|
|
358
357
|
"macie2",
|
|
@@ -387,6 +386,7 @@ ServiceName = Literal[
|
|
|
387
386
|
"mq",
|
|
388
387
|
"mturk",
|
|
389
388
|
"mwaa",
|
|
389
|
+
"mwaa-serverless",
|
|
390
390
|
"neptune",
|
|
391
391
|
"neptune-graph",
|
|
392
392
|
"neptunedata",
|
|
@@ -402,12 +402,11 @@ ServiceName = Literal[
|
|
|
402
402
|
"omics",
|
|
403
403
|
"opensearch",
|
|
404
404
|
"opensearchserverless",
|
|
405
|
-
"opsworks",
|
|
406
|
-
"opsworkscm",
|
|
407
405
|
"organizations",
|
|
408
406
|
"osis",
|
|
409
407
|
"outposts",
|
|
410
408
|
"panorama",
|
|
409
|
+
"partnercentral-channel",
|
|
411
410
|
"partnercentral-selling",
|
|
412
411
|
"payment-cryptography",
|
|
413
412
|
"payment-cryptography-data",
|
|
@@ -429,8 +428,6 @@ ServiceName = Literal[
|
|
|
429
428
|
"qapps",
|
|
430
429
|
"qbusiness",
|
|
431
430
|
"qconnect",
|
|
432
|
-
"qldb",
|
|
433
|
-
"qldb-session",
|
|
434
431
|
"quicksight",
|
|
435
432
|
"ram",
|
|
436
433
|
"rbin",
|
|
@@ -445,7 +442,6 @@ ServiceName = Literal[
|
|
|
445
442
|
"resource-explorer-2",
|
|
446
443
|
"resource-groups",
|
|
447
444
|
"resourcegroupstaggingapi",
|
|
448
|
-
"robomaker",
|
|
449
445
|
"rolesanywhere",
|
|
450
446
|
"route53",
|
|
451
447
|
"route53-recovery-cluster",
|
|
@@ -454,6 +450,7 @@ ServiceName = Literal[
|
|
|
454
450
|
"route53domains",
|
|
455
451
|
"route53profiles",
|
|
456
452
|
"route53resolver",
|
|
453
|
+
"rtbfabric",
|
|
457
454
|
"rum",
|
|
458
455
|
"s3",
|
|
459
456
|
"s3control",
|
|
@@ -484,8 +481,8 @@ ServiceName = Literal[
|
|
|
484
481
|
"sesv2",
|
|
485
482
|
"shield",
|
|
486
483
|
"signer",
|
|
484
|
+
"signin",
|
|
487
485
|
"simspaceweaver",
|
|
488
|
-
"sms",
|
|
489
486
|
"snow-device-management",
|
|
490
487
|
"snowball",
|
|
491
488
|
"sns",
|
|
@@ -536,16 +533,7 @@ ServiceName = Literal[
|
|
|
536
533
|
"xray",
|
|
537
534
|
]
|
|
538
535
|
ResourceServiceName = Literal[
|
|
539
|
-
"cloudformation",
|
|
540
|
-
"cloudwatch",
|
|
541
|
-
"dynamodb",
|
|
542
|
-
"ec2",
|
|
543
|
-
"glacier",
|
|
544
|
-
"iam",
|
|
545
|
-
"opsworks",
|
|
546
|
-
"s3",
|
|
547
|
-
"sns",
|
|
548
|
-
"sqs",
|
|
536
|
+
"cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
|
|
549
537
|
]
|
|
550
538
|
PaginatorName = Literal[
|
|
551
539
|
"get_query_results",
|
mypy_boto3_athena/literals.pyi
CHANGED
|
@@ -145,7 +145,7 @@ ServiceName = Literal[
|
|
|
145
145
|
"apprunner",
|
|
146
146
|
"appstream",
|
|
147
147
|
"appsync",
|
|
148
|
-
"
|
|
148
|
+
"arc-region-switch",
|
|
149
149
|
"arc-zonal-shift",
|
|
150
150
|
"artifact",
|
|
151
151
|
"athena",
|
|
@@ -157,8 +157,10 @@ ServiceName = Literal[
|
|
|
157
157
|
"backup-gateway",
|
|
158
158
|
"backupsearch",
|
|
159
159
|
"batch",
|
|
160
|
+
"bcm-dashboards",
|
|
160
161
|
"bcm-data-exports",
|
|
161
162
|
"bcm-pricing-calculator",
|
|
163
|
+
"bcm-recommended-actions",
|
|
162
164
|
"bedrock",
|
|
163
165
|
"bedrock-agent",
|
|
164
166
|
"bedrock-agent-runtime",
|
|
@@ -310,7 +312,6 @@ ServiceName = Literal[
|
|
|
310
312
|
"iotdeviceadvisor",
|
|
311
313
|
"iotevents",
|
|
312
314
|
"iotevents-data",
|
|
313
|
-
"iotfleethub",
|
|
314
315
|
"iotfleetwise",
|
|
315
316
|
"iotsecuretunneling",
|
|
316
317
|
"iotsitewise",
|
|
@@ -349,8 +350,6 @@ ServiceName = Literal[
|
|
|
349
350
|
"location",
|
|
350
351
|
"logs",
|
|
351
352
|
"lookoutequipment",
|
|
352
|
-
"lookoutmetrics",
|
|
353
|
-
"lookoutvision",
|
|
354
353
|
"m2",
|
|
355
354
|
"machinelearning",
|
|
356
355
|
"macie2",
|
|
@@ -385,6 +384,7 @@ ServiceName = Literal[
|
|
|
385
384
|
"mq",
|
|
386
385
|
"mturk",
|
|
387
386
|
"mwaa",
|
|
387
|
+
"mwaa-serverless",
|
|
388
388
|
"neptune",
|
|
389
389
|
"neptune-graph",
|
|
390
390
|
"neptunedata",
|
|
@@ -400,12 +400,11 @@ ServiceName = Literal[
|
|
|
400
400
|
"omics",
|
|
401
401
|
"opensearch",
|
|
402
402
|
"opensearchserverless",
|
|
403
|
-
"opsworks",
|
|
404
|
-
"opsworkscm",
|
|
405
403
|
"organizations",
|
|
406
404
|
"osis",
|
|
407
405
|
"outposts",
|
|
408
406
|
"panorama",
|
|
407
|
+
"partnercentral-channel",
|
|
409
408
|
"partnercentral-selling",
|
|
410
409
|
"payment-cryptography",
|
|
411
410
|
"payment-cryptography-data",
|
|
@@ -427,8 +426,6 @@ ServiceName = Literal[
|
|
|
427
426
|
"qapps",
|
|
428
427
|
"qbusiness",
|
|
429
428
|
"qconnect",
|
|
430
|
-
"qldb",
|
|
431
|
-
"qldb-session",
|
|
432
429
|
"quicksight",
|
|
433
430
|
"ram",
|
|
434
431
|
"rbin",
|
|
@@ -443,7 +440,6 @@ ServiceName = Literal[
|
|
|
443
440
|
"resource-explorer-2",
|
|
444
441
|
"resource-groups",
|
|
445
442
|
"resourcegroupstaggingapi",
|
|
446
|
-
"robomaker",
|
|
447
443
|
"rolesanywhere",
|
|
448
444
|
"route53",
|
|
449
445
|
"route53-recovery-cluster",
|
|
@@ -452,6 +448,7 @@ ServiceName = Literal[
|
|
|
452
448
|
"route53domains",
|
|
453
449
|
"route53profiles",
|
|
454
450
|
"route53resolver",
|
|
451
|
+
"rtbfabric",
|
|
455
452
|
"rum",
|
|
456
453
|
"s3",
|
|
457
454
|
"s3control",
|
|
@@ -482,8 +479,8 @@ ServiceName = Literal[
|
|
|
482
479
|
"sesv2",
|
|
483
480
|
"shield",
|
|
484
481
|
"signer",
|
|
482
|
+
"signin",
|
|
485
483
|
"simspaceweaver",
|
|
486
|
-
"sms",
|
|
487
484
|
"snow-device-management",
|
|
488
485
|
"snowball",
|
|
489
486
|
"sns",
|
|
@@ -534,16 +531,7 @@ ServiceName = Literal[
|
|
|
534
531
|
"xray",
|
|
535
532
|
]
|
|
536
533
|
ResourceServiceName = Literal[
|
|
537
|
-
"cloudformation",
|
|
538
|
-
"cloudwatch",
|
|
539
|
-
"dynamodb",
|
|
540
|
-
"ec2",
|
|
541
|
-
"glacier",
|
|
542
|
-
"iam",
|
|
543
|
-
"opsworks",
|
|
544
|
-
"s3",
|
|
545
|
-
"sns",
|
|
546
|
-
"sqs",
|
|
534
|
+
"cloudformation", "cloudwatch", "dynamodb", "ec2", "glacier", "iam", "s3", "sns", "sqs"
|
|
547
535
|
]
|
|
548
536
|
PaginatorName = Literal[
|
|
549
537
|
"get_query_results",
|