mypy-boto3-athena 1.34.0__tar.gz → 1.34.115__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.34.0 → mypy_boto3_athena-1.34.115}/LICENSE +1 -1
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/PKG-INFO +7 -7
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/README.md +2 -2
- mypy-boto3-athena-1.34.0/mypy_boto3_athena/__init__.py → mypy_boto3_athena-1.34.115/mypy_boto3_athena/__init__.pyi +0 -1
- mypy_boto3_athena-1.34.115/mypy_boto3_athena/__main__.py +40 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/client.py +21 -21
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/client.pyi +21 -20
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/literals.py +12 -3
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/literals.pyi +12 -1
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/paginator.py +2 -3
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/paginator.pyi +2 -2
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/type_defs.py +58 -34
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/type_defs.pyi +58 -33
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/version.py +1 -1
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/PKG-INFO +7 -7
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/setup.py +4 -7
- mypy-boto3-athena-1.34.0/mypy_boto3_athena/__main__.py +0 -39
- /mypy-boto3-athena-1.34.0/mypy_boto3_athena/__init__.pyi → /mypy_boto3_athena-1.34.115/mypy_boto3_athena/__init__.py +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena/py.typed +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/SOURCES.txt +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/dependency_links.txt +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/not-zip-safe +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/requires.txt +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/mypy_boto3_athena.egg-info/top_level.txt +0 -0
- {mypy-boto3-athena-1.34.0 → mypy_boto3_athena-1.34.115}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-athena
|
|
3
|
-
Version: 1.34.
|
|
4
|
-
Summary: Type annotations for boto3.Athena 1.34.
|
|
3
|
+
Version: 1.34.115
|
|
4
|
+
Summary: Type annotations for boto3.Athena 1.34.115 service generated with mypy-boto3-builder 7.24.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -17,7 +17,6 @@ Classifier: License :: OSI Approved :: MIT License
|
|
|
17
17
|
Classifier: Natural Language :: English
|
|
18
18
|
Classifier: Operating System :: OS Independent
|
|
19
19
|
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
21
20
|
Classifier: Programming Language :: Python :: 3.8
|
|
22
21
|
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -26,10 +25,11 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
26
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
27
26
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
28
27
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
29
|
-
Classifier: Typing ::
|
|
30
|
-
Requires-Python: >=3.
|
|
28
|
+
Classifier: Typing :: Stubs Only
|
|
29
|
+
Requires-Python: >=3.8
|
|
31
30
|
Description-Content-Type: text/markdown
|
|
32
31
|
License-File: LICENSE
|
|
32
|
+
Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
33
33
|
|
|
34
34
|
<a id="mypy-boto3-athena"></a>
|
|
35
35
|
|
|
@@ -43,7 +43,7 @@ License-File: LICENSE
|
|
|
43
43
|

|
|
44
44
|
|
|
45
45
|
Type annotations for
|
|
46
|
-
[boto3.Athena 1.34.
|
|
46
|
+
[boto3.Athena 1.34.115](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena)
|
|
47
47
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -52,7 +52,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
54
|
Generated by
|
|
55
|
-
[mypy-boto3-builder 7.
|
|
55
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|

|
|
11
11
|
|
|
12
12
|
Type annotations for
|
|
13
|
-
[boto3.Athena 1.34.
|
|
13
|
+
[boto3.Athena 1.34.115](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena)
|
|
14
14
|
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
15
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
16
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
@@ -19,7 +19,7 @@ service compatible with [VSCode](https://code.visualstudio.com/),
|
|
|
19
19
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
20
|
|
|
21
21
|
Generated by
|
|
22
|
-
[mypy-boto3-builder 7.
|
|
22
|
+
[mypy-boto3-builder 7.24.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
23
|
|
|
24
24
|
More information can be found on
|
|
25
25
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"""
|
|
2
|
+
Main CLI entrypoint.
|
|
3
|
+
"""
|
|
4
|
+
|
|
5
|
+
import sys
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
def print_info() -> None:
|
|
9
|
+
"""
|
|
10
|
+
Print package info to stdout.
|
|
11
|
+
"""
|
|
12
|
+
print(
|
|
13
|
+
"Type annotations for boto3.Athena 1.34.115\n"
|
|
14
|
+
"Version: 1.34.115\n"
|
|
15
|
+
"Builder version: 7.24.0\n"
|
|
16
|
+
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena//\n"
|
|
17
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena\n"
|
|
18
|
+
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
20
|
+
)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def print_version() -> None:
|
|
24
|
+
"""
|
|
25
|
+
Print package version to stdout.
|
|
26
|
+
"""
|
|
27
|
+
print("1.34.115")
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def main() -> None:
|
|
31
|
+
"""
|
|
32
|
+
Main CLI entrypoint.
|
|
33
|
+
"""
|
|
34
|
+
if "--version" in sys.argv:
|
|
35
|
+
return print_version()
|
|
36
|
+
print_info()
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
if __name__ == "__main__":
|
|
40
|
+
main()
|
|
@@ -40,11 +40,11 @@ from .type_defs import (
|
|
|
40
40
|
BatchGetPreparedStatementOutputTypeDef,
|
|
41
41
|
BatchGetQueryExecutionOutputTypeDef,
|
|
42
42
|
CalculationConfigurationTypeDef,
|
|
43
|
-
|
|
43
|
+
CapacityAssignmentUnionTypeDef,
|
|
44
44
|
CreateNamedQueryOutputTypeDef,
|
|
45
45
|
CreateNotebookOutputTypeDef,
|
|
46
46
|
CreatePresignedNotebookUrlResponseTypeDef,
|
|
47
|
-
|
|
47
|
+
EngineConfigurationUnionTypeDef,
|
|
48
48
|
ExportNotebookOutputTypeDef,
|
|
49
49
|
FilterDefinitionTypeDef,
|
|
50
50
|
GetCalculationExecutionCodeResponseTypeDef,
|
|
@@ -99,7 +99,6 @@ if sys.version_info >= (3, 12):
|
|
|
99
99
|
else:
|
|
100
100
|
from typing_extensions import Literal
|
|
101
101
|
|
|
102
|
-
|
|
103
102
|
__all__ = ("AthenaClient",)
|
|
104
103
|
|
|
105
104
|
|
|
@@ -217,7 +216,7 @@ class AthenaClient(BaseClient):
|
|
|
217
216
|
Type: DataCatalogTypeType,
|
|
218
217
|
Description: str = ...,
|
|
219
218
|
Parameters: Mapping[str, str] = ...,
|
|
220
|
-
Tags: Sequence[TagTypeDef] =
|
|
219
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
221
220
|
) -> Dict[str, Any]:
|
|
222
221
|
"""
|
|
223
222
|
Creates (registers) a data catalog with the specified name and properties.
|
|
@@ -234,7 +233,7 @@ class AthenaClient(BaseClient):
|
|
|
234
233
|
QueryString: str,
|
|
235
234
|
Description: str = ...,
|
|
236
235
|
ClientRequestToken: str = ...,
|
|
237
|
-
WorkGroup: str =
|
|
236
|
+
WorkGroup: str = ...,
|
|
238
237
|
) -> CreateNamedQueryOutputTypeDef:
|
|
239
238
|
"""
|
|
240
239
|
Creates a named query in the specified workgroup.
|
|
@@ -279,7 +278,7 @@ class AthenaClient(BaseClient):
|
|
|
279
278
|
Name: str,
|
|
280
279
|
Configuration: WorkGroupConfigurationTypeDef = ...,
|
|
281
280
|
Description: str = ...,
|
|
282
|
-
Tags: Sequence[TagTypeDef] =
|
|
281
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
283
282
|
) -> Dict[str, Any]:
|
|
284
283
|
"""
|
|
285
284
|
Creates a workgroup with the specified name.
|
|
@@ -532,9 +531,10 @@ class AthenaClient(BaseClient):
|
|
|
532
531
|
*,
|
|
533
532
|
WorkGroup: str,
|
|
534
533
|
Name: str,
|
|
535
|
-
Payload: str,
|
|
536
534
|
Type: Literal["IPYNB"],
|
|
537
|
-
|
|
535
|
+
Payload: str = ...,
|
|
536
|
+
NotebookS3LocationUri: str = ...,
|
|
537
|
+
ClientRequestToken: str = ...,
|
|
538
538
|
) -> ImportNotebookOutputTypeDef:
|
|
539
539
|
"""
|
|
540
540
|
Imports a single `ipynb` file to a Spark enabled workgroup.
|
|
@@ -561,7 +561,7 @@ class AthenaClient(BaseClient):
|
|
|
561
561
|
SessionId: str,
|
|
562
562
|
StateFilter: CalculationExecutionStateType = ...,
|
|
563
563
|
MaxResults: int = ...,
|
|
564
|
-
NextToken: str =
|
|
564
|
+
NextToken: str = ...,
|
|
565
565
|
) -> ListCalculationExecutionsResponseTypeDef:
|
|
566
566
|
"""
|
|
567
567
|
Lists the calculations that have been submitted to a session in descending
|
|
@@ -619,7 +619,7 @@ class AthenaClient(BaseClient):
|
|
|
619
619
|
SessionId: str,
|
|
620
620
|
ExecutorStateFilter: ExecutorStateType = ...,
|
|
621
621
|
MaxResults: int = ...,
|
|
622
|
-
NextToken: str =
|
|
622
|
+
NextToken: str = ...,
|
|
623
623
|
) -> ListExecutorsResponseTypeDef:
|
|
624
624
|
"""
|
|
625
625
|
Lists, in descending order, the executors that joined a session.
|
|
@@ -645,7 +645,7 @@ class AthenaClient(BaseClient):
|
|
|
645
645
|
WorkGroup: str,
|
|
646
646
|
Filters: FilterDefinitionTypeDef = ...,
|
|
647
647
|
NextToken: str = ...,
|
|
648
|
-
MaxResults: int =
|
|
648
|
+
MaxResults: int = ...,
|
|
649
649
|
) -> ListNotebookMetadataOutputTypeDef:
|
|
650
650
|
"""
|
|
651
651
|
Displays the notebook files for the specified workgroup in paginated format.
|
|
@@ -694,7 +694,7 @@ class AthenaClient(BaseClient):
|
|
|
694
694
|
WorkGroup: str,
|
|
695
695
|
StateFilter: SessionStateType = ...,
|
|
696
696
|
MaxResults: int = ...,
|
|
697
|
-
NextToken: str =
|
|
697
|
+
NextToken: str = ...,
|
|
698
698
|
) -> ListSessionsResponseTypeDef:
|
|
699
699
|
"""
|
|
700
700
|
Lists the sessions in a workgroup that are in an active state like `CREATING`,
|
|
@@ -713,7 +713,7 @@ class AthenaClient(BaseClient):
|
|
|
713
713
|
Expression: str = ...,
|
|
714
714
|
NextToken: str = ...,
|
|
715
715
|
MaxResults: int = ...,
|
|
716
|
-
WorkGroup: str =
|
|
716
|
+
WorkGroup: str = ...,
|
|
717
717
|
) -> ListTableMetadataOutputTypeDef:
|
|
718
718
|
"""
|
|
719
719
|
Lists the metadata for the tables in the specified data catalog database.
|
|
@@ -746,7 +746,7 @@ class AthenaClient(BaseClient):
|
|
|
746
746
|
self,
|
|
747
747
|
*,
|
|
748
748
|
CapacityReservationName: str,
|
|
749
|
-
CapacityAssignments: Sequence[
|
|
749
|
+
CapacityAssignments: Sequence[CapacityAssignmentUnionTypeDef],
|
|
750
750
|
) -> Dict[str, Any]:
|
|
751
751
|
"""
|
|
752
752
|
Puts a new capacity assignment configuration for a specified capacity
|
|
@@ -763,7 +763,7 @@ class AthenaClient(BaseClient):
|
|
|
763
763
|
Description: str = ...,
|
|
764
764
|
CalculationConfiguration: CalculationConfigurationTypeDef = ...,
|
|
765
765
|
CodeBlock: str = ...,
|
|
766
|
-
ClientRequestToken: str =
|
|
766
|
+
ClientRequestToken: str = ...,
|
|
767
767
|
) -> StartCalculationExecutionResponseTypeDef:
|
|
768
768
|
"""
|
|
769
769
|
Submits calculations for execution within a session.
|
|
@@ -781,7 +781,7 @@ class AthenaClient(BaseClient):
|
|
|
781
781
|
ResultConfiguration: ResultConfigurationTypeDef = ...,
|
|
782
782
|
WorkGroup: str = ...,
|
|
783
783
|
ExecutionParameters: Sequence[str] = ...,
|
|
784
|
-
ResultReuseConfiguration: ResultReuseConfigurationTypeDef =
|
|
784
|
+
ResultReuseConfiguration: ResultReuseConfigurationTypeDef = ...,
|
|
785
785
|
) -> StartQueryExecutionOutputTypeDef:
|
|
786
786
|
"""
|
|
787
787
|
Runs the SQL query statements contained in the `Query`.
|
|
@@ -794,11 +794,11 @@ class AthenaClient(BaseClient):
|
|
|
794
794
|
self,
|
|
795
795
|
*,
|
|
796
796
|
WorkGroup: str,
|
|
797
|
-
EngineConfiguration:
|
|
797
|
+
EngineConfiguration: EngineConfigurationUnionTypeDef,
|
|
798
798
|
Description: str = ...,
|
|
799
799
|
NotebookVersion: str = ...,
|
|
800
800
|
SessionIdleTimeoutInMinutes: int = ...,
|
|
801
|
-
ClientRequestToken: str =
|
|
801
|
+
ClientRequestToken: str = ...,
|
|
802
802
|
) -> StartSessionResponseTypeDef:
|
|
803
803
|
"""
|
|
804
804
|
Creates a session for running calculations within a workgroup.
|
|
@@ -865,7 +865,7 @@ class AthenaClient(BaseClient):
|
|
|
865
865
|
Name: str,
|
|
866
866
|
Type: DataCatalogTypeType,
|
|
867
867
|
Description: str = ...,
|
|
868
|
-
Parameters: Mapping[str, str] =
|
|
868
|
+
Parameters: Mapping[str, str] = ...,
|
|
869
869
|
) -> Dict[str, Any]:
|
|
870
870
|
"""
|
|
871
871
|
Updates the data catalog that has the specified name.
|
|
@@ -891,7 +891,7 @@ class AthenaClient(BaseClient):
|
|
|
891
891
|
Payload: str,
|
|
892
892
|
Type: Literal["IPYNB"],
|
|
893
893
|
SessionId: str = ...,
|
|
894
|
-
ClientRequestToken: str =
|
|
894
|
+
ClientRequestToken: str = ...,
|
|
895
895
|
) -> Dict[str, Any]:
|
|
896
896
|
"""
|
|
897
897
|
Updates the contents of a Spark notebook.
|
|
@@ -926,7 +926,7 @@ class AthenaClient(BaseClient):
|
|
|
926
926
|
WorkGroup: str,
|
|
927
927
|
Description: str = ...,
|
|
928
928
|
ConfigurationUpdates: WorkGroupConfigurationUpdatesTypeDef = ...,
|
|
929
|
-
State: WorkGroupStateType =
|
|
929
|
+
State: WorkGroupStateType = ...,
|
|
930
930
|
) -> Dict[str, Any]:
|
|
931
931
|
"""
|
|
932
932
|
Updates the workgroup with the specified name.
|
|
@@ -40,11 +40,11 @@ from .type_defs import (
|
|
|
40
40
|
BatchGetPreparedStatementOutputTypeDef,
|
|
41
41
|
BatchGetQueryExecutionOutputTypeDef,
|
|
42
42
|
CalculationConfigurationTypeDef,
|
|
43
|
-
|
|
43
|
+
CapacityAssignmentUnionTypeDef,
|
|
44
44
|
CreateNamedQueryOutputTypeDef,
|
|
45
45
|
CreateNotebookOutputTypeDef,
|
|
46
46
|
CreatePresignedNotebookUrlResponseTypeDef,
|
|
47
|
-
|
|
47
|
+
EngineConfigurationUnionTypeDef,
|
|
48
48
|
ExportNotebookOutputTypeDef,
|
|
49
49
|
FilterDefinitionTypeDef,
|
|
50
50
|
GetCalculationExecutionCodeResponseTypeDef,
|
|
@@ -213,7 +213,7 @@ class AthenaClient(BaseClient):
|
|
|
213
213
|
Type: DataCatalogTypeType,
|
|
214
214
|
Description: str = ...,
|
|
215
215
|
Parameters: Mapping[str, str] = ...,
|
|
216
|
-
Tags: Sequence[TagTypeDef] =
|
|
216
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
217
217
|
) -> Dict[str, Any]:
|
|
218
218
|
"""
|
|
219
219
|
Creates (registers) a data catalog with the specified name and properties.
|
|
@@ -230,7 +230,7 @@ class AthenaClient(BaseClient):
|
|
|
230
230
|
QueryString: str,
|
|
231
231
|
Description: str = ...,
|
|
232
232
|
ClientRequestToken: str = ...,
|
|
233
|
-
WorkGroup: str =
|
|
233
|
+
WorkGroup: str = ...,
|
|
234
234
|
) -> CreateNamedQueryOutputTypeDef:
|
|
235
235
|
"""
|
|
236
236
|
Creates a named query in the specified workgroup.
|
|
@@ -275,7 +275,7 @@ class AthenaClient(BaseClient):
|
|
|
275
275
|
Name: str,
|
|
276
276
|
Configuration: WorkGroupConfigurationTypeDef = ...,
|
|
277
277
|
Description: str = ...,
|
|
278
|
-
Tags: Sequence[TagTypeDef] =
|
|
278
|
+
Tags: Sequence[TagTypeDef] = ...,
|
|
279
279
|
) -> Dict[str, Any]:
|
|
280
280
|
"""
|
|
281
281
|
Creates a workgroup with the specified name.
|
|
@@ -528,9 +528,10 @@ class AthenaClient(BaseClient):
|
|
|
528
528
|
*,
|
|
529
529
|
WorkGroup: str,
|
|
530
530
|
Name: str,
|
|
531
|
-
Payload: str,
|
|
532
531
|
Type: Literal["IPYNB"],
|
|
533
|
-
|
|
532
|
+
Payload: str = ...,
|
|
533
|
+
NotebookS3LocationUri: str = ...,
|
|
534
|
+
ClientRequestToken: str = ...,
|
|
534
535
|
) -> ImportNotebookOutputTypeDef:
|
|
535
536
|
"""
|
|
536
537
|
Imports a single `ipynb` file to a Spark enabled workgroup.
|
|
@@ -557,7 +558,7 @@ class AthenaClient(BaseClient):
|
|
|
557
558
|
SessionId: str,
|
|
558
559
|
StateFilter: CalculationExecutionStateType = ...,
|
|
559
560
|
MaxResults: int = ...,
|
|
560
|
-
NextToken: str =
|
|
561
|
+
NextToken: str = ...,
|
|
561
562
|
) -> ListCalculationExecutionsResponseTypeDef:
|
|
562
563
|
"""
|
|
563
564
|
Lists the calculations that have been submitted to a session in descending
|
|
@@ -615,7 +616,7 @@ class AthenaClient(BaseClient):
|
|
|
615
616
|
SessionId: str,
|
|
616
617
|
ExecutorStateFilter: ExecutorStateType = ...,
|
|
617
618
|
MaxResults: int = ...,
|
|
618
|
-
NextToken: str =
|
|
619
|
+
NextToken: str = ...,
|
|
619
620
|
) -> ListExecutorsResponseTypeDef:
|
|
620
621
|
"""
|
|
621
622
|
Lists, in descending order, the executors that joined a session.
|
|
@@ -641,7 +642,7 @@ class AthenaClient(BaseClient):
|
|
|
641
642
|
WorkGroup: str,
|
|
642
643
|
Filters: FilterDefinitionTypeDef = ...,
|
|
643
644
|
NextToken: str = ...,
|
|
644
|
-
MaxResults: int =
|
|
645
|
+
MaxResults: int = ...,
|
|
645
646
|
) -> ListNotebookMetadataOutputTypeDef:
|
|
646
647
|
"""
|
|
647
648
|
Displays the notebook files for the specified workgroup in paginated format.
|
|
@@ -690,7 +691,7 @@ class AthenaClient(BaseClient):
|
|
|
690
691
|
WorkGroup: str,
|
|
691
692
|
StateFilter: SessionStateType = ...,
|
|
692
693
|
MaxResults: int = ...,
|
|
693
|
-
NextToken: str =
|
|
694
|
+
NextToken: str = ...,
|
|
694
695
|
) -> ListSessionsResponseTypeDef:
|
|
695
696
|
"""
|
|
696
697
|
Lists the sessions in a workgroup that are in an active state like `CREATING`,
|
|
@@ -709,7 +710,7 @@ class AthenaClient(BaseClient):
|
|
|
709
710
|
Expression: str = ...,
|
|
710
711
|
NextToken: str = ...,
|
|
711
712
|
MaxResults: int = ...,
|
|
712
|
-
WorkGroup: str =
|
|
713
|
+
WorkGroup: str = ...,
|
|
713
714
|
) -> ListTableMetadataOutputTypeDef:
|
|
714
715
|
"""
|
|
715
716
|
Lists the metadata for the tables in the specified data catalog database.
|
|
@@ -742,7 +743,7 @@ class AthenaClient(BaseClient):
|
|
|
742
743
|
self,
|
|
743
744
|
*,
|
|
744
745
|
CapacityReservationName: str,
|
|
745
|
-
CapacityAssignments: Sequence[
|
|
746
|
+
CapacityAssignments: Sequence[CapacityAssignmentUnionTypeDef],
|
|
746
747
|
) -> Dict[str, Any]:
|
|
747
748
|
"""
|
|
748
749
|
Puts a new capacity assignment configuration for a specified capacity
|
|
@@ -759,7 +760,7 @@ class AthenaClient(BaseClient):
|
|
|
759
760
|
Description: str = ...,
|
|
760
761
|
CalculationConfiguration: CalculationConfigurationTypeDef = ...,
|
|
761
762
|
CodeBlock: str = ...,
|
|
762
|
-
ClientRequestToken: str =
|
|
763
|
+
ClientRequestToken: str = ...,
|
|
763
764
|
) -> StartCalculationExecutionResponseTypeDef:
|
|
764
765
|
"""
|
|
765
766
|
Submits calculations for execution within a session.
|
|
@@ -777,7 +778,7 @@ class AthenaClient(BaseClient):
|
|
|
777
778
|
ResultConfiguration: ResultConfigurationTypeDef = ...,
|
|
778
779
|
WorkGroup: str = ...,
|
|
779
780
|
ExecutionParameters: Sequence[str] = ...,
|
|
780
|
-
ResultReuseConfiguration: ResultReuseConfigurationTypeDef =
|
|
781
|
+
ResultReuseConfiguration: ResultReuseConfigurationTypeDef = ...,
|
|
781
782
|
) -> StartQueryExecutionOutputTypeDef:
|
|
782
783
|
"""
|
|
783
784
|
Runs the SQL query statements contained in the `Query`.
|
|
@@ -790,11 +791,11 @@ class AthenaClient(BaseClient):
|
|
|
790
791
|
self,
|
|
791
792
|
*,
|
|
792
793
|
WorkGroup: str,
|
|
793
|
-
EngineConfiguration:
|
|
794
|
+
EngineConfiguration: EngineConfigurationUnionTypeDef,
|
|
794
795
|
Description: str = ...,
|
|
795
796
|
NotebookVersion: str = ...,
|
|
796
797
|
SessionIdleTimeoutInMinutes: int = ...,
|
|
797
|
-
ClientRequestToken: str =
|
|
798
|
+
ClientRequestToken: str = ...,
|
|
798
799
|
) -> StartSessionResponseTypeDef:
|
|
799
800
|
"""
|
|
800
801
|
Creates a session for running calculations within a workgroup.
|
|
@@ -861,7 +862,7 @@ class AthenaClient(BaseClient):
|
|
|
861
862
|
Name: str,
|
|
862
863
|
Type: DataCatalogTypeType,
|
|
863
864
|
Description: str = ...,
|
|
864
|
-
Parameters: Mapping[str, str] =
|
|
865
|
+
Parameters: Mapping[str, str] = ...,
|
|
865
866
|
) -> Dict[str, Any]:
|
|
866
867
|
"""
|
|
867
868
|
Updates the data catalog that has the specified name.
|
|
@@ -887,7 +888,7 @@ class AthenaClient(BaseClient):
|
|
|
887
888
|
Payload: str,
|
|
888
889
|
Type: Literal["IPYNB"],
|
|
889
890
|
SessionId: str = ...,
|
|
890
|
-
ClientRequestToken: str =
|
|
891
|
+
ClientRequestToken: str = ...,
|
|
891
892
|
) -> Dict[str, Any]:
|
|
892
893
|
"""
|
|
893
894
|
Updates the contents of a Spark notebook.
|
|
@@ -922,7 +923,7 @@ class AthenaClient(BaseClient):
|
|
|
922
923
|
WorkGroup: str,
|
|
923
924
|
Description: str = ...,
|
|
924
925
|
ConfigurationUpdates: WorkGroupConfigurationUpdatesTypeDef = ...,
|
|
925
|
-
State: WorkGroupStateType =
|
|
926
|
+
State: WorkGroupStateType = ...,
|
|
926
927
|
) -> Dict[str, Any]:
|
|
927
928
|
"""
|
|
928
929
|
Updates the workgroup with the specified name.
|
|
@@ -19,7 +19,6 @@ if sys.version_info >= (3, 12):
|
|
|
19
19
|
else:
|
|
20
20
|
from typing_extensions import Literal
|
|
21
21
|
|
|
22
|
-
|
|
23
22
|
__all__ = (
|
|
24
23
|
"AuthenticationTypeType",
|
|
25
24
|
"CalculationExecutionStateType",
|
|
@@ -50,7 +49,6 @@ __all__ = (
|
|
|
50
49
|
"RegionName",
|
|
51
50
|
)
|
|
52
51
|
|
|
53
|
-
|
|
54
52
|
AuthenticationTypeType = Literal["DIRECTORY_IDENTITY"]
|
|
55
53
|
CalculationExecutionStateType = Literal[
|
|
56
54
|
"CANCELED", "CANCELING", "COMPLETED", "CREATED", "CREATING", "FAILED", "QUEUED", "RUNNING"
|
|
@@ -108,6 +106,7 @@ ServiceName = Literal[
|
|
|
108
106
|
"appstream",
|
|
109
107
|
"appsync",
|
|
110
108
|
"arc-zonal-shift",
|
|
109
|
+
"artifact",
|
|
111
110
|
"athena",
|
|
112
111
|
"auditmanager",
|
|
113
112
|
"autoscaling",
|
|
@@ -126,6 +125,7 @@ ServiceName = Literal[
|
|
|
126
125
|
"braket",
|
|
127
126
|
"budgets",
|
|
128
127
|
"ce",
|
|
128
|
+
"chatbot",
|
|
129
129
|
"chime",
|
|
130
130
|
"chime-sdk-identity",
|
|
131
131
|
"chime-sdk-media-pipelines",
|
|
@@ -151,6 +151,7 @@ ServiceName = Literal[
|
|
|
151
151
|
"codebuild",
|
|
152
152
|
"codecatalyst",
|
|
153
153
|
"codecommit",
|
|
154
|
+
"codeconnections",
|
|
154
155
|
"codedeploy",
|
|
155
156
|
"codeguru-reviewer",
|
|
156
157
|
"codeguru-security",
|
|
@@ -171,6 +172,7 @@ ServiceName = Literal[
|
|
|
171
172
|
"connectcampaigns",
|
|
172
173
|
"connectcases",
|
|
173
174
|
"connectparticipant",
|
|
175
|
+
"controlcatalog",
|
|
174
176
|
"controltower",
|
|
175
177
|
"cost-optimization-hub",
|
|
176
178
|
"cur",
|
|
@@ -181,6 +183,7 @@ ServiceName = Literal[
|
|
|
181
183
|
"datasync",
|
|
182
184
|
"datazone",
|
|
183
185
|
"dax",
|
|
186
|
+
"deadline",
|
|
184
187
|
"detective",
|
|
185
188
|
"devicefarm",
|
|
186
189
|
"devops-guru",
|
|
@@ -249,7 +252,6 @@ ServiceName = Literal[
|
|
|
249
252
|
"iot",
|
|
250
253
|
"iot-data",
|
|
251
254
|
"iot-jobs-data",
|
|
252
|
-
"iot-roborunner",
|
|
253
255
|
"iot1click-devices",
|
|
254
256
|
"iot1click-projects",
|
|
255
257
|
"iotanalytics",
|
|
@@ -299,6 +301,7 @@ ServiceName = Literal[
|
|
|
299
301
|
"m2",
|
|
300
302
|
"machinelearning",
|
|
301
303
|
"macie2",
|
|
304
|
+
"mailmanager",
|
|
302
305
|
"managedblockchain",
|
|
303
306
|
"managedblockchain-query",
|
|
304
307
|
"marketplace-agreement",
|
|
@@ -329,9 +332,11 @@ ServiceName = Literal[
|
|
|
329
332
|
"mturk",
|
|
330
333
|
"mwaa",
|
|
331
334
|
"neptune",
|
|
335
|
+
"neptune-graph",
|
|
332
336
|
"neptunedata",
|
|
333
337
|
"network-firewall",
|
|
334
338
|
"networkmanager",
|
|
339
|
+
"networkmonitor",
|
|
335
340
|
"nimble",
|
|
336
341
|
"oam",
|
|
337
342
|
"omics",
|
|
@@ -384,6 +389,7 @@ ServiceName = Literal[
|
|
|
384
389
|
"route53-recovery-control-config",
|
|
385
390
|
"route53-recovery-readiness",
|
|
386
391
|
"route53domains",
|
|
392
|
+
"route53profiles",
|
|
387
393
|
"route53resolver",
|
|
388
394
|
"rum",
|
|
389
395
|
"s3",
|
|
@@ -429,11 +435,13 @@ ServiceName = Literal[
|
|
|
429
435
|
"stepfunctions",
|
|
430
436
|
"storagegateway",
|
|
431
437
|
"sts",
|
|
438
|
+
"supplychain",
|
|
432
439
|
"support",
|
|
433
440
|
"support-app",
|
|
434
441
|
"swf",
|
|
435
442
|
"synthetics",
|
|
436
443
|
"textract",
|
|
444
|
+
"timestream-influxdb",
|
|
437
445
|
"timestream-query",
|
|
438
446
|
"timestream-write",
|
|
439
447
|
"tnb",
|
|
@@ -492,6 +500,7 @@ RegionName = Literal[
|
|
|
492
500
|
"ap-southeast-3",
|
|
493
501
|
"ap-southeast-4",
|
|
494
502
|
"ca-central-1",
|
|
503
|
+
"ca-west-1",
|
|
495
504
|
"eu-central-1",
|
|
496
505
|
"eu-central-2",
|
|
497
506
|
"eu-north-1",
|
|
@@ -106,6 +106,7 @@ ServiceName = Literal[
|
|
|
106
106
|
"appstream",
|
|
107
107
|
"appsync",
|
|
108
108
|
"arc-zonal-shift",
|
|
109
|
+
"artifact",
|
|
109
110
|
"athena",
|
|
110
111
|
"auditmanager",
|
|
111
112
|
"autoscaling",
|
|
@@ -124,6 +125,7 @@ ServiceName = Literal[
|
|
|
124
125
|
"braket",
|
|
125
126
|
"budgets",
|
|
126
127
|
"ce",
|
|
128
|
+
"chatbot",
|
|
127
129
|
"chime",
|
|
128
130
|
"chime-sdk-identity",
|
|
129
131
|
"chime-sdk-media-pipelines",
|
|
@@ -149,6 +151,7 @@ ServiceName = Literal[
|
|
|
149
151
|
"codebuild",
|
|
150
152
|
"codecatalyst",
|
|
151
153
|
"codecommit",
|
|
154
|
+
"codeconnections",
|
|
152
155
|
"codedeploy",
|
|
153
156
|
"codeguru-reviewer",
|
|
154
157
|
"codeguru-security",
|
|
@@ -169,6 +172,7 @@ ServiceName = Literal[
|
|
|
169
172
|
"connectcampaigns",
|
|
170
173
|
"connectcases",
|
|
171
174
|
"connectparticipant",
|
|
175
|
+
"controlcatalog",
|
|
172
176
|
"controltower",
|
|
173
177
|
"cost-optimization-hub",
|
|
174
178
|
"cur",
|
|
@@ -179,6 +183,7 @@ ServiceName = Literal[
|
|
|
179
183
|
"datasync",
|
|
180
184
|
"datazone",
|
|
181
185
|
"dax",
|
|
186
|
+
"deadline",
|
|
182
187
|
"detective",
|
|
183
188
|
"devicefarm",
|
|
184
189
|
"devops-guru",
|
|
@@ -247,7 +252,6 @@ ServiceName = Literal[
|
|
|
247
252
|
"iot",
|
|
248
253
|
"iot-data",
|
|
249
254
|
"iot-jobs-data",
|
|
250
|
-
"iot-roborunner",
|
|
251
255
|
"iot1click-devices",
|
|
252
256
|
"iot1click-projects",
|
|
253
257
|
"iotanalytics",
|
|
@@ -297,6 +301,7 @@ ServiceName = Literal[
|
|
|
297
301
|
"m2",
|
|
298
302
|
"machinelearning",
|
|
299
303
|
"macie2",
|
|
304
|
+
"mailmanager",
|
|
300
305
|
"managedblockchain",
|
|
301
306
|
"managedblockchain-query",
|
|
302
307
|
"marketplace-agreement",
|
|
@@ -327,9 +332,11 @@ ServiceName = Literal[
|
|
|
327
332
|
"mturk",
|
|
328
333
|
"mwaa",
|
|
329
334
|
"neptune",
|
|
335
|
+
"neptune-graph",
|
|
330
336
|
"neptunedata",
|
|
331
337
|
"network-firewall",
|
|
332
338
|
"networkmanager",
|
|
339
|
+
"networkmonitor",
|
|
333
340
|
"nimble",
|
|
334
341
|
"oam",
|
|
335
342
|
"omics",
|
|
@@ -382,6 +389,7 @@ ServiceName = Literal[
|
|
|
382
389
|
"route53-recovery-control-config",
|
|
383
390
|
"route53-recovery-readiness",
|
|
384
391
|
"route53domains",
|
|
392
|
+
"route53profiles",
|
|
385
393
|
"route53resolver",
|
|
386
394
|
"rum",
|
|
387
395
|
"s3",
|
|
@@ -427,11 +435,13 @@ ServiceName = Literal[
|
|
|
427
435
|
"stepfunctions",
|
|
428
436
|
"storagegateway",
|
|
429
437
|
"sts",
|
|
438
|
+
"supplychain",
|
|
430
439
|
"support",
|
|
431
440
|
"support-app",
|
|
432
441
|
"swf",
|
|
433
442
|
"synthetics",
|
|
434
443
|
"textract",
|
|
444
|
+
"timestream-influxdb",
|
|
435
445
|
"timestream-query",
|
|
436
446
|
"timestream-write",
|
|
437
447
|
"tnb",
|
|
@@ -490,6 +500,7 @@ RegionName = Literal[
|
|
|
490
500
|
"ap-southeast-3",
|
|
491
501
|
"ap-southeast-4",
|
|
492
502
|
"ca-central-1",
|
|
503
|
+
"ca-west-1",
|
|
493
504
|
"eu-central-1",
|
|
494
505
|
"eu-central-2",
|
|
495
506
|
"eu-north-1",
|