mypy-boto3-athena 1.28.36__py3-none-any.whl → 1.29.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.
@@ -29,6 +29,7 @@ Usage::
29
29
  list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
30
30
  ```
31
31
  """
32
+
32
33
  from .client import AthenaClient
33
34
  from .paginator import (
34
35
  GetQueryResultsPaginator,
@@ -29,6 +29,7 @@ Usage::
29
29
  list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
30
30
  ```
31
31
  """
32
+
32
33
  from .client import AthenaClient
33
34
  from .paginator import (
34
35
  GetQueryResultsPaginator,
@@ -1,6 +1,7 @@
1
1
  """
2
2
  Main CLI entrypoint.
3
3
  """
4
+
4
5
  import sys
5
6
 
6
7
 
@@ -9,8 +10,8 @@ def print_info() -> None:
9
10
  Print package info to stdout.
10
11
  """
11
12
  print(
12
- "Type annotations for boto3.Athena 1.28.36\nVersion: 1.28.36\nBuilder version:"
13
- " 7.18.0\nDocs: "
13
+ "Type annotations for boto3.Athena 1.29.0\nVersion: 1.29.0\nBuilder version:"
14
+ " 7.20.3\nDocs: "
14
15
  " https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena//\nBoto3 docs: "
15
16
  " https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena\nOther"
16
17
  " services: https://pypi.org/project/boto3-stubs/\nChangelog: "
@@ -22,7 +23,7 @@ def print_version() -> None:
22
23
  """
23
24
  Print package version to stdout.
24
25
  """
25
- print("1.28.36")
26
+ print("1.29.0")
26
27
 
27
28
 
28
29
  def main() -> None:
@@ -13,6 +13,7 @@ Usage::
13
13
  client: AthenaClient = session.client("athena")
14
14
  ```
15
15
  """
16
+
16
17
  import sys
17
18
  from typing import Any, Dict, Mapping, Sequence, Type, overload
18
19
 
@@ -102,7 +103,7 @@ else:
102
103
  __all__ = ("AthenaClient",)
103
104
 
104
105
 
105
- class BotocoreClientError(BaseException):
106
+ class BotocoreClientError(Exception):
106
107
  MSG_TEMPLATE: str
107
108
 
108
109
  def __init__(self, error_response: Mapping[str, Any], operation_name: str) -> None:
@@ -141,8 +142,9 @@ class AthenaClient(BaseClient):
141
142
  self, *, NamedQueryIds: Sequence[str]
142
143
  ) -> BatchGetNamedQueryOutputTypeDef:
143
144
  """
144
- Returns the details of a single named query or a list of up to 50 queries, which
145
- you provide as an array of query ID strings.
145
+ Returns the details of a single named query or a list of up to 50 queries,
146
+ which you provide as an array of query ID
147
+ strings.
146
148
 
147
149
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.batch_get_named_query)
148
150
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#batch_get_named_query)
@@ -153,7 +155,8 @@ class AthenaClient(BaseClient):
153
155
  ) -> BatchGetPreparedStatementOutputTypeDef:
154
156
  """
155
157
  Returns the details of a single prepared statement or a list of up to 256
156
- prepared statements for the array of prepared statement names that you provide.
158
+ prepared statements for the array of prepared statement names that you
159
+ provide.
157
160
 
158
161
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.batch_get_prepared_statement)
159
162
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#batch_get_prepared_statement)
@@ -164,7 +167,8 @@ class AthenaClient(BaseClient):
164
167
  ) -> BatchGetQueryExecutionOutputTypeDef:
165
168
  """
166
169
  Returns the details of a single query execution or a list of up to 50 query
167
- executions, which you provide as an array of query execution ID strings.
170
+ executions, which you provide as an array of query execution ID
171
+ strings.
168
172
 
169
173
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.batch_get_query_execution)
170
174
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#batch_get_query_execution)
@@ -199,7 +203,8 @@ class AthenaClient(BaseClient):
199
203
  ) -> Dict[str, Any]:
200
204
  """
201
205
  Creates a capacity reservation with the specified name and number of requested
202
- data processing units.
206
+ data processing
207
+ units.
203
208
 
204
209
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.create_capacity_reservation)
205
210
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_capacity_reservation)
@@ -302,7 +307,8 @@ class AthenaClient(BaseClient):
302
307
  def delete_named_query(self, *, NamedQueryId: str) -> Dict[str, Any]:
303
308
  """
304
309
  Deletes the named query if you have access to the workgroup in which the query
305
- was saved.
310
+ was
311
+ saved.
306
312
 
307
313
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.delete_named_query)
308
314
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_named_query)
@@ -452,7 +458,8 @@ class AthenaClient(BaseClient):
452
458
  def get_query_execution(self, *, QueryExecutionId: str) -> GetQueryExecutionOutputTypeDef:
453
459
  """
454
460
  Returns information about a single execution of a query if you have access to
455
- the workgroup in which the query ran.
461
+ the workgroup in which the query
462
+ ran.
456
463
 
457
464
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_query_execution)
458
465
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_query_execution)
@@ -463,7 +470,8 @@ class AthenaClient(BaseClient):
463
470
  ) -> GetQueryResultsOutputTypeDef:
464
471
  """
465
472
  Streams the results of a single query execution specified by `QueryExecutionId`
466
- from the Athena query results location in Amazon S3.
473
+ from the Athena query results location in Amazon
474
+ S3.
467
475
 
468
476
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_query_results)
469
477
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_query_results)
@@ -474,7 +482,8 @@ class AthenaClient(BaseClient):
474
482
  ) -> GetQueryRuntimeStatisticsOutputTypeDef:
475
483
  """
476
484
  Returns query execution runtime statistics related to a single execution of a
477
- query if you have access to the workgroup in which the query ran.
485
+ query if you have access to the workgroup in which the query
486
+ ran.
478
487
 
479
488
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_query_runtime_statistics)
480
489
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_query_runtime_statistics)
@@ -483,7 +492,8 @@ class AthenaClient(BaseClient):
483
492
  def get_session(self, *, SessionId: str) -> GetSessionResponseTypeDef:
484
493
  """
485
494
  Gets the full details of a previously created session, including the session
486
- status and configuration.
495
+ status and
496
+ configuration.
487
497
 
488
498
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_session)
489
499
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_session)
@@ -536,7 +546,8 @@ class AthenaClient(BaseClient):
536
546
  ) -> ListApplicationDPUSizesOutputTypeDef:
537
547
  """
538
548
  Returns the supported DPU sizes for the supported application runtimes (for
539
- example, `Athena notebook version 1`).
549
+ example, `Athena notebook version
550
+ 1`).
540
551
 
541
552
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_application_dpu_sizes)
542
553
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_application_dpu_sizes)
@@ -593,7 +604,8 @@ class AthenaClient(BaseClient):
593
604
  ) -> ListEngineVersionsOutputTypeDef:
594
605
  """
595
606
  Returns a list of engine versions that are available to choose from, including
596
- the Auto option.
607
+ the Auto
608
+ option.
597
609
 
598
610
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_engine_versions)
599
611
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_engine_versions)
@@ -645,7 +657,8 @@ class AthenaClient(BaseClient):
645
657
  ) -> ListNotebookSessionsResponseTypeDef:
646
658
  """
647
659
  Lists, in descending order, the sessions that have been created in a notebook
648
- that are in an active state like `CREATING`, `CREATED`, `IDLE` or `BUSY`.
660
+ that are in an active state like `CREATING`, `CREATED`, `IDLE` or
661
+ `BUSY`.
649
662
 
650
663
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_notebook_sessions)
651
664
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_notebook_sessions)
@@ -666,7 +679,8 @@ class AthenaClient(BaseClient):
666
679
  ) -> ListQueryExecutionsOutputTypeDef:
667
680
  """
668
681
  Provides a list of available query execution IDs for the queries in the
669
- specified workgroup.
682
+ specified
683
+ workgroup.
670
684
 
671
685
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_query_executions)
672
686
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_query_executions)
@@ -682,7 +696,8 @@ class AthenaClient(BaseClient):
682
696
  ) -> ListSessionsResponseTypeDef:
683
697
  """
684
698
  Lists the sessions in a workgroup that are in an active state like `CREATING`,
685
- `CREATED`, `IDLE`, or `BUSY`.
699
+ `CREATED`, `IDLE`, or
700
+ `BUSY`.
686
701
 
687
702
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_sessions)
688
703
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_sessions)
@@ -834,7 +849,8 @@ class AthenaClient(BaseClient):
834
849
  def update_capacity_reservation(self, *, TargetDpus: int, Name: str) -> Dict[str, Any]:
835
850
  """
836
851
  Updates the number of requested data processing units for the capacity
837
- reservation with the specified name.
852
+ reservation with the specified
853
+ name.
838
854
 
839
855
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.update_capacity_reservation)
840
856
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_capacity_reservation)