mypy-boto3-athena 1.40.60__py3-none-any.whl → 1.41.2__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.
@@ -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.40.60\n"
16
- "Version: 1.40.60\n"
17
- "Builder version: 8.11.0\n"
15
+ "Type annotations for boto3 Athena 1.41.2\n"
16
+ "Version: 1.41.2\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.40.60\n")
29
+ sys.stdout.write("1.41.2\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
@@ -88,6 +89,10 @@ from .type_defs import (
88
89
  GetQueryResultsOutputTypeDef,
89
90
  GetQueryRuntimeStatisticsInputTypeDef,
90
91
  GetQueryRuntimeStatisticsOutputTypeDef,
92
+ GetResourceDashboardRequestTypeDef,
93
+ GetResourceDashboardResponseTypeDef,
94
+ GetSessionEndpointRequestTypeDef,
95
+ GetSessionEndpointResponseTypeDef,
91
96
  GetSessionRequestTypeDef,
92
97
  GetSessionResponseTypeDef,
93
98
  GetSessionStatusRequestTypeDef,
@@ -153,12 +158,6 @@ from .type_defs import (
153
158
  UpdateWorkGroupInputTypeDef,
154
159
  )
155
160
 
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
161
  if sys.version_info >= (3, 12):
163
162
  from typing import Literal, Unpack
164
163
  else:
@@ -169,13 +168,13 @@ __all__ = ("AthenaClient",)
169
168
 
170
169
 
171
170
  class Exceptions(BaseClientExceptions):
172
- ClientError: Type[BotocoreClientError]
173
- InternalServerException: Type[BotocoreClientError]
174
- InvalidRequestException: Type[BotocoreClientError]
175
- MetadataException: Type[BotocoreClientError]
176
- ResourceNotFoundException: Type[BotocoreClientError]
177
- SessionAlreadyExistsException: Type[BotocoreClientError]
178
- TooManyRequestsException: Type[BotocoreClientError]
171
+ ClientError: type[BotocoreClientError]
172
+ InternalServerException: type[BotocoreClientError]
173
+ InvalidRequestException: type[BotocoreClientError]
174
+ MetadataException: type[BotocoreClientError]
175
+ ResourceNotFoundException: type[BotocoreClientError]
176
+ SessionAlreadyExistsException: type[BotocoreClientError]
177
+ TooManyRequestsException: type[BotocoreClientError]
179
178
 
180
179
 
181
180
  class AthenaClient(BaseClient):
@@ -248,7 +247,7 @@ class AthenaClient(BaseClient):
248
247
 
249
248
  def cancel_capacity_reservation(
250
249
  self, **kwargs: Unpack[CancelCapacityReservationInputTypeDef]
251
- ) -> Dict[str, Any]:
250
+ ) -> dict[str, Any]:
252
251
  """
253
252
  Cancels the capacity reservation with the specified name.
254
253
 
@@ -258,7 +257,7 @@ class AthenaClient(BaseClient):
258
257
 
259
258
  def create_capacity_reservation(
260
259
  self, **kwargs: Unpack[CreateCapacityReservationInputTypeDef]
261
- ) -> Dict[str, Any]:
260
+ ) -> dict[str, Any]:
262
261
  """
263
262
  Creates a capacity reservation with the specified name and number of requested
264
263
  data processing units.
@@ -300,7 +299,7 @@ class AthenaClient(BaseClient):
300
299
 
301
300
  def create_prepared_statement(
302
301
  self, **kwargs: Unpack[CreatePreparedStatementInputTypeDef]
303
- ) -> Dict[str, Any]:
302
+ ) -> dict[str, Any]:
304
303
  """
305
304
  Creates a prepared statement for use with SQL queries in Athena.
306
305
 
@@ -318,7 +317,7 @@ class AthenaClient(BaseClient):
318
317
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_presigned_notebook_url)
319
318
  """
320
319
 
321
- def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> Dict[str, Any]:
320
+ def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> dict[str, Any]:
322
321
  """
323
322
  Creates a workgroup with the specified name.
324
323
 
@@ -328,7 +327,7 @@ class AthenaClient(BaseClient):
328
327
 
329
328
  def delete_capacity_reservation(
330
329
  self, **kwargs: Unpack[DeleteCapacityReservationInputTypeDef]
331
- ) -> Dict[str, Any]:
330
+ ) -> dict[str, Any]:
332
331
  """
333
332
  Deletes a cancelled capacity reservation.
334
333
 
@@ -346,7 +345,7 @@ class AthenaClient(BaseClient):
346
345
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_data_catalog)
347
346
  """
348
347
 
349
- def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> Dict[str, Any]:
348
+ def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> dict[str, Any]:
350
349
  """
351
350
  Deletes the named query if you have access to the workgroup in which the query
352
351
  was saved.
@@ -355,7 +354,7 @@ class AthenaClient(BaseClient):
355
354
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_named_query)
356
355
  """
357
356
 
358
- def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> Dict[str, Any]:
357
+ def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> dict[str, Any]:
359
358
  """
360
359
  Deletes the specified notebook.
361
360
 
@@ -365,7 +364,7 @@ class AthenaClient(BaseClient):
365
364
 
366
365
  def delete_prepared_statement(
367
366
  self, **kwargs: Unpack[DeletePreparedStatementInputTypeDef]
368
- ) -> Dict[str, Any]:
367
+ ) -> dict[str, Any]:
369
368
  """
370
369
  Deletes the prepared statement with the specified name from the specified
371
370
  workgroup.
@@ -374,7 +373,7 @@ class AthenaClient(BaseClient):
374
373
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_prepared_statement)
375
374
  """
376
375
 
377
- def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> Dict[str, Any]:
376
+ def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> dict[str, Any]:
378
377
  """
379
378
  Deletes the workgroup with the specified name.
380
379
 
@@ -526,6 +525,16 @@ class AthenaClient(BaseClient):
526
525
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_query_runtime_statistics)
527
526
  """
528
527
 
528
+ def get_resource_dashboard(
529
+ self, **kwargs: Unpack[GetResourceDashboardRequestTypeDef]
530
+ ) -> GetResourceDashboardResponseTypeDef:
531
+ """
532
+ Gets the Live UI/Persistence UI for a session.
533
+
534
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena/client/get_resource_dashboard.html)
535
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_resource_dashboard)
536
+ """
537
+
529
538
  def get_session(self, **kwargs: Unpack[GetSessionRequestTypeDef]) -> GetSessionResponseTypeDef:
530
539
  """
531
540
  Gets the full details of a previously created session, including the session
@@ -535,6 +544,16 @@ class AthenaClient(BaseClient):
535
544
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_session)
536
545
  """
537
546
 
547
+ def get_session_endpoint(
548
+ self, **kwargs: Unpack[GetSessionEndpointRequestTypeDef]
549
+ ) -> GetSessionEndpointResponseTypeDef:
550
+ """
551
+ Gets a connection endpoint and authentication token for a given session Id.
552
+
553
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena/client/get_session_endpoint.html)
554
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_session_endpoint)
555
+ """
556
+
538
557
  def get_session_status(
539
558
  self, **kwargs: Unpack[GetSessionStatusRequestTypeDef]
540
559
  ) -> GetSessionStatusResponseTypeDef:
@@ -746,7 +765,7 @@ class AthenaClient(BaseClient):
746
765
 
747
766
  def put_capacity_assignment_configuration(
748
767
  self, **kwargs: Unpack[PutCapacityAssignmentConfigurationInputTypeDef]
749
- ) -> Dict[str, Any]:
768
+ ) -> dict[str, Any]:
750
769
  """
751
770
  Puts a new capacity assignment configuration for a specified capacity
752
771
  reservation.
@@ -797,7 +816,7 @@ class AthenaClient(BaseClient):
797
816
 
798
817
  def stop_query_execution(
799
818
  self, **kwargs: Unpack[StopQueryExecutionInputTypeDef]
800
- ) -> Dict[str, Any]:
819
+ ) -> dict[str, Any]:
801
820
  """
802
821
  Stops a query execution.
803
822
 
@@ -805,7 +824,7 @@ class AthenaClient(BaseClient):
805
824
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#stop_query_execution)
806
825
  """
807
826
 
808
- def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> Dict[str, Any]:
827
+ def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
809
828
  """
810
829
  Adds one or more tags to an Athena resource.
811
830
 
@@ -823,7 +842,7 @@ class AthenaClient(BaseClient):
823
842
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#terminate_session)
824
843
  """
825
844
 
826
- def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> Dict[str, Any]:
845
+ def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
827
846
  """
828
847
  Removes one or more tags from an Athena resource.
829
848
 
@@ -833,7 +852,7 @@ class AthenaClient(BaseClient):
833
852
 
834
853
  def update_capacity_reservation(
835
854
  self, **kwargs: Unpack[UpdateCapacityReservationInputTypeDef]
836
- ) -> Dict[str, Any]:
855
+ ) -> dict[str, Any]:
837
856
  """
838
857
  Updates the number of requested data processing units for the capacity
839
858
  reservation with the specified name.
@@ -844,7 +863,7 @@ class AthenaClient(BaseClient):
844
863
 
845
864
  def update_data_catalog(
846
865
  self, **kwargs: Unpack[UpdateDataCatalogInputTypeDef]
847
- ) -> Dict[str, Any]:
866
+ ) -> dict[str, Any]:
848
867
  """
849
868
  Updates the data catalog that has the specified name.
850
869
 
@@ -852,7 +871,7 @@ class AthenaClient(BaseClient):
852
871
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_data_catalog)
853
872
  """
854
873
 
855
- def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> Dict[str, Any]:
874
+ def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> dict[str, Any]:
856
875
  """
857
876
  Updates a <a>NamedQuery</a> object.
858
877
 
@@ -860,7 +879,7 @@ class AthenaClient(BaseClient):
860
879
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_named_query)
861
880
  """
862
881
 
863
- def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> Dict[str, Any]:
882
+ def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> dict[str, Any]:
864
883
  """
865
884
  Updates the contents of a Spark notebook.
866
885
 
@@ -870,7 +889,7 @@ class AthenaClient(BaseClient):
870
889
 
871
890
  def update_notebook_metadata(
872
891
  self, **kwargs: Unpack[UpdateNotebookMetadataInputTypeDef]
873
- ) -> Dict[str, Any]:
892
+ ) -> dict[str, Any]:
874
893
  """
875
894
  Updates the metadata for a notebook.
876
895
 
@@ -880,7 +899,7 @@ class AthenaClient(BaseClient):
880
899
 
881
900
  def update_prepared_statement(
882
901
  self, **kwargs: Unpack[UpdatePreparedStatementInputTypeDef]
883
- ) -> Dict[str, Any]:
902
+ ) -> dict[str, Any]:
884
903
  """
885
904
  Updates a prepared statement.
886
905
 
@@ -888,7 +907,7 @@ class AthenaClient(BaseClient):
888
907
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_prepared_statement)
889
908
  """
890
909
 
891
- def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> Dict[str, Any]:
910
+ def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> dict[str, Any]:
892
911
  """
893
912
  Updates the workgroup with the specified name.
894
913
 
@@ -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
@@ -88,6 +89,10 @@ from .type_defs import (
88
89
  GetQueryResultsOutputTypeDef,
89
90
  GetQueryRuntimeStatisticsInputTypeDef,
90
91
  GetQueryRuntimeStatisticsOutputTypeDef,
92
+ GetResourceDashboardRequestTypeDef,
93
+ GetResourceDashboardResponseTypeDef,
94
+ GetSessionEndpointRequestTypeDef,
95
+ GetSessionEndpointResponseTypeDef,
91
96
  GetSessionRequestTypeDef,
92
97
  GetSessionResponseTypeDef,
93
98
  GetSessionStatusRequestTypeDef,
@@ -153,12 +158,6 @@ from .type_defs import (
153
158
  UpdateWorkGroupInputTypeDef,
154
159
  )
155
160
 
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
161
  if sys.version_info >= (3, 12):
163
162
  from typing import Literal, Unpack
164
163
  else:
@@ -167,13 +166,13 @@ else:
167
166
  __all__ = ("AthenaClient",)
168
167
 
169
168
  class Exceptions(BaseClientExceptions):
170
- ClientError: Type[BotocoreClientError]
171
- InternalServerException: Type[BotocoreClientError]
172
- InvalidRequestException: Type[BotocoreClientError]
173
- MetadataException: Type[BotocoreClientError]
174
- ResourceNotFoundException: Type[BotocoreClientError]
175
- SessionAlreadyExistsException: Type[BotocoreClientError]
176
- TooManyRequestsException: Type[BotocoreClientError]
169
+ ClientError: type[BotocoreClientError]
170
+ InternalServerException: type[BotocoreClientError]
171
+ InvalidRequestException: type[BotocoreClientError]
172
+ MetadataException: type[BotocoreClientError]
173
+ ResourceNotFoundException: type[BotocoreClientError]
174
+ SessionAlreadyExistsException: type[BotocoreClientError]
175
+ TooManyRequestsException: type[BotocoreClientError]
177
176
 
178
177
  class AthenaClient(BaseClient):
179
178
  """
@@ -245,7 +244,7 @@ class AthenaClient(BaseClient):
245
244
 
246
245
  def cancel_capacity_reservation(
247
246
  self, **kwargs: Unpack[CancelCapacityReservationInputTypeDef]
248
- ) -> Dict[str, Any]:
247
+ ) -> dict[str, Any]:
249
248
  """
250
249
  Cancels the capacity reservation with the specified name.
251
250
 
@@ -255,7 +254,7 @@ class AthenaClient(BaseClient):
255
254
 
256
255
  def create_capacity_reservation(
257
256
  self, **kwargs: Unpack[CreateCapacityReservationInputTypeDef]
258
- ) -> Dict[str, Any]:
257
+ ) -> dict[str, Any]:
259
258
  """
260
259
  Creates a capacity reservation with the specified name and number of requested
261
260
  data processing units.
@@ -297,7 +296,7 @@ class AthenaClient(BaseClient):
297
296
 
298
297
  def create_prepared_statement(
299
298
  self, **kwargs: Unpack[CreatePreparedStatementInputTypeDef]
300
- ) -> Dict[str, Any]:
299
+ ) -> dict[str, Any]:
301
300
  """
302
301
  Creates a prepared statement for use with SQL queries in Athena.
303
302
 
@@ -315,7 +314,7 @@ class AthenaClient(BaseClient):
315
314
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_presigned_notebook_url)
316
315
  """
317
316
 
318
- def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> Dict[str, Any]:
317
+ def create_work_group(self, **kwargs: Unpack[CreateWorkGroupInputTypeDef]) -> dict[str, Any]:
319
318
  """
320
319
  Creates a workgroup with the specified name.
321
320
 
@@ -325,7 +324,7 @@ class AthenaClient(BaseClient):
325
324
 
326
325
  def delete_capacity_reservation(
327
326
  self, **kwargs: Unpack[DeleteCapacityReservationInputTypeDef]
328
- ) -> Dict[str, Any]:
327
+ ) -> dict[str, Any]:
329
328
  """
330
329
  Deletes a cancelled capacity reservation.
331
330
 
@@ -343,7 +342,7 @@ class AthenaClient(BaseClient):
343
342
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_data_catalog)
344
343
  """
345
344
 
346
- def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> Dict[str, Any]:
345
+ def delete_named_query(self, **kwargs: Unpack[DeleteNamedQueryInputTypeDef]) -> dict[str, Any]:
347
346
  """
348
347
  Deletes the named query if you have access to the workgroup in which the query
349
348
  was saved.
@@ -352,7 +351,7 @@ class AthenaClient(BaseClient):
352
351
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_named_query)
353
352
  """
354
353
 
355
- def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> Dict[str, Any]:
354
+ def delete_notebook(self, **kwargs: Unpack[DeleteNotebookInputTypeDef]) -> dict[str, Any]:
356
355
  """
357
356
  Deletes the specified notebook.
358
357
 
@@ -362,7 +361,7 @@ class AthenaClient(BaseClient):
362
361
 
363
362
  def delete_prepared_statement(
364
363
  self, **kwargs: Unpack[DeletePreparedStatementInputTypeDef]
365
- ) -> Dict[str, Any]:
364
+ ) -> dict[str, Any]:
366
365
  """
367
366
  Deletes the prepared statement with the specified name from the specified
368
367
  workgroup.
@@ -371,7 +370,7 @@ class AthenaClient(BaseClient):
371
370
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_prepared_statement)
372
371
  """
373
372
 
374
- def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> Dict[str, Any]:
373
+ def delete_work_group(self, **kwargs: Unpack[DeleteWorkGroupInputTypeDef]) -> dict[str, Any]:
375
374
  """
376
375
  Deletes the workgroup with the specified name.
377
376
 
@@ -523,6 +522,16 @@ class AthenaClient(BaseClient):
523
522
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_query_runtime_statistics)
524
523
  """
525
524
 
525
+ def get_resource_dashboard(
526
+ self, **kwargs: Unpack[GetResourceDashboardRequestTypeDef]
527
+ ) -> GetResourceDashboardResponseTypeDef:
528
+ """
529
+ Gets the Live UI/Persistence UI for a session.
530
+
531
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena/client/get_resource_dashboard.html)
532
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_resource_dashboard)
533
+ """
534
+
526
535
  def get_session(self, **kwargs: Unpack[GetSessionRequestTypeDef]) -> GetSessionResponseTypeDef:
527
536
  """
528
537
  Gets the full details of a previously created session, including the session
@@ -532,6 +541,16 @@ class AthenaClient(BaseClient):
532
541
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_session)
533
542
  """
534
543
 
544
+ def get_session_endpoint(
545
+ self, **kwargs: Unpack[GetSessionEndpointRequestTypeDef]
546
+ ) -> GetSessionEndpointResponseTypeDef:
547
+ """
548
+ Gets a connection endpoint and authentication token for a given session Id.
549
+
550
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena/client/get_session_endpoint.html)
551
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_session_endpoint)
552
+ """
553
+
535
554
  def get_session_status(
536
555
  self, **kwargs: Unpack[GetSessionStatusRequestTypeDef]
537
556
  ) -> GetSessionStatusResponseTypeDef:
@@ -743,7 +762,7 @@ class AthenaClient(BaseClient):
743
762
 
744
763
  def put_capacity_assignment_configuration(
745
764
  self, **kwargs: Unpack[PutCapacityAssignmentConfigurationInputTypeDef]
746
- ) -> Dict[str, Any]:
765
+ ) -> dict[str, Any]:
747
766
  """
748
767
  Puts a new capacity assignment configuration for a specified capacity
749
768
  reservation.
@@ -794,7 +813,7 @@ class AthenaClient(BaseClient):
794
813
 
795
814
  def stop_query_execution(
796
815
  self, **kwargs: Unpack[StopQueryExecutionInputTypeDef]
797
- ) -> Dict[str, Any]:
816
+ ) -> dict[str, Any]:
798
817
  """
799
818
  Stops a query execution.
800
819
 
@@ -802,7 +821,7 @@ class AthenaClient(BaseClient):
802
821
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#stop_query_execution)
803
822
  """
804
823
 
805
- def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> Dict[str, Any]:
824
+ def tag_resource(self, **kwargs: Unpack[TagResourceInputTypeDef]) -> dict[str, Any]:
806
825
  """
807
826
  Adds one or more tags to an Athena resource.
808
827
 
@@ -820,7 +839,7 @@ class AthenaClient(BaseClient):
820
839
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#terminate_session)
821
840
  """
822
841
 
823
- def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> Dict[str, Any]:
842
+ def untag_resource(self, **kwargs: Unpack[UntagResourceInputTypeDef]) -> dict[str, Any]:
824
843
  """
825
844
  Removes one or more tags from an Athena resource.
826
845
 
@@ -830,7 +849,7 @@ class AthenaClient(BaseClient):
830
849
 
831
850
  def update_capacity_reservation(
832
851
  self, **kwargs: Unpack[UpdateCapacityReservationInputTypeDef]
833
- ) -> Dict[str, Any]:
852
+ ) -> dict[str, Any]:
834
853
  """
835
854
  Updates the number of requested data processing units for the capacity
836
855
  reservation with the specified name.
@@ -841,7 +860,7 @@ class AthenaClient(BaseClient):
841
860
 
842
861
  def update_data_catalog(
843
862
  self, **kwargs: Unpack[UpdateDataCatalogInputTypeDef]
844
- ) -> Dict[str, Any]:
863
+ ) -> dict[str, Any]:
845
864
  """
846
865
  Updates the data catalog that has the specified name.
847
866
 
@@ -849,7 +868,7 @@ class AthenaClient(BaseClient):
849
868
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_data_catalog)
850
869
  """
851
870
 
852
- def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> Dict[str, Any]:
871
+ def update_named_query(self, **kwargs: Unpack[UpdateNamedQueryInputTypeDef]) -> dict[str, Any]:
853
872
  """
854
873
  Updates a <a>NamedQuery</a> object.
855
874
 
@@ -857,7 +876,7 @@ class AthenaClient(BaseClient):
857
876
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_named_query)
858
877
  """
859
878
 
860
- def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> Dict[str, Any]:
879
+ def update_notebook(self, **kwargs: Unpack[UpdateNotebookInputTypeDef]) -> dict[str, Any]:
861
880
  """
862
881
  Updates the contents of a Spark notebook.
863
882
 
@@ -867,7 +886,7 @@ class AthenaClient(BaseClient):
867
886
 
868
887
  def update_notebook_metadata(
869
888
  self, **kwargs: Unpack[UpdateNotebookMetadataInputTypeDef]
870
- ) -> Dict[str, Any]:
889
+ ) -> dict[str, Any]:
871
890
  """
872
891
  Updates the metadata for a notebook.
873
892
 
@@ -877,7 +896,7 @@ class AthenaClient(BaseClient):
877
896
 
878
897
  def update_prepared_statement(
879
898
  self, **kwargs: Unpack[UpdatePreparedStatementInputTypeDef]
880
- ) -> Dict[str, Any]:
899
+ ) -> dict[str, Any]:
881
900
  """
882
901
  Updates a prepared statement.
883
902
 
@@ -885,7 +904,7 @@ class AthenaClient(BaseClient):
885
904
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_prepared_statement)
886
905
  """
887
906
 
888
- def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> Dict[str, Any]:
907
+ def update_work_group(self, **kwargs: Unpack[UpdateWorkGroupInputTypeDef]) -> dict[str, Any]:
889
908
  """
890
909
  Updates the workgroup with the specified name.
891
910
 
@@ -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",
@@ -217,6 +216,7 @@ ServiceName = Literal[
217
216
  "comprehend",
218
217
  "comprehendmedical",
219
218
  "compute-optimizer",
219
+ "compute-optimizer-automation",
220
220
  "config",
221
221
  "connect",
222
222
  "connect-contact-lens",
@@ -315,7 +315,6 @@ ServiceName = Literal[
315
315
  "iotdeviceadvisor",
316
316
  "iotevents",
317
317
  "iotevents-data",
318
- "iotfleethub",
319
318
  "iotfleetwise",
320
319
  "iotsecuretunneling",
321
320
  "iotsitewise",
@@ -354,8 +353,6 @@ ServiceName = Literal[
354
353
  "location",
355
354
  "logs",
356
355
  "lookoutequipment",
357
- "lookoutmetrics",
358
- "lookoutvision",
359
356
  "m2",
360
357
  "machinelearning",
361
358
  "macie2",
@@ -390,6 +387,7 @@ ServiceName = Literal[
390
387
  "mq",
391
388
  "mturk",
392
389
  "mwaa",
390
+ "mwaa-serverless",
393
391
  "neptune",
394
392
  "neptune-graph",
395
393
  "neptunedata",
@@ -409,6 +407,7 @@ ServiceName = Literal[
409
407
  "osis",
410
408
  "outposts",
411
409
  "panorama",
410
+ "partnercentral-channel",
412
411
  "partnercentral-selling",
413
412
  "payment-cryptography",
414
413
  "payment-cryptography-data",
@@ -430,8 +429,6 @@ ServiceName = Literal[
430
429
  "qapps",
431
430
  "qbusiness",
432
431
  "qconnect",
433
- "qldb",
434
- "qldb-session",
435
432
  "quicksight",
436
433
  "ram",
437
434
  "rbin",
@@ -446,7 +443,6 @@ ServiceName = Literal[
446
443
  "resource-explorer-2",
447
444
  "resource-groups",
448
445
  "resourcegroupstaggingapi",
449
- "robomaker",
450
446
  "rolesanywhere",
451
447
  "route53",
452
448
  "route53-recovery-cluster",
@@ -486,6 +482,7 @@ ServiceName = Literal[
486
482
  "sesv2",
487
483
  "shield",
488
484
  "signer",
485
+ "signin",
489
486
  "simspaceweaver",
490
487
  "snow-device-management",
491
488
  "snowball",
@@ -145,7 +145,6 @@ ServiceName = Literal[
145
145
  "apprunner",
146
146
  "appstream",
147
147
  "appsync",
148
- "apptest",
149
148
  "arc-region-switch",
150
149
  "arc-zonal-shift",
151
150
  "artifact",
@@ -215,6 +214,7 @@ ServiceName = Literal[
215
214
  "comprehend",
216
215
  "comprehendmedical",
217
216
  "compute-optimizer",
217
+ "compute-optimizer-automation",
218
218
  "config",
219
219
  "connect",
220
220
  "connect-contact-lens",
@@ -313,7 +313,6 @@ ServiceName = Literal[
313
313
  "iotdeviceadvisor",
314
314
  "iotevents",
315
315
  "iotevents-data",
316
- "iotfleethub",
317
316
  "iotfleetwise",
318
317
  "iotsecuretunneling",
319
318
  "iotsitewise",
@@ -352,8 +351,6 @@ ServiceName = Literal[
352
351
  "location",
353
352
  "logs",
354
353
  "lookoutequipment",
355
- "lookoutmetrics",
356
- "lookoutvision",
357
354
  "m2",
358
355
  "machinelearning",
359
356
  "macie2",
@@ -388,6 +385,7 @@ ServiceName = Literal[
388
385
  "mq",
389
386
  "mturk",
390
387
  "mwaa",
388
+ "mwaa-serverless",
391
389
  "neptune",
392
390
  "neptune-graph",
393
391
  "neptunedata",
@@ -407,6 +405,7 @@ ServiceName = Literal[
407
405
  "osis",
408
406
  "outposts",
409
407
  "panorama",
408
+ "partnercentral-channel",
410
409
  "partnercentral-selling",
411
410
  "payment-cryptography",
412
411
  "payment-cryptography-data",
@@ -428,8 +427,6 @@ ServiceName = Literal[
428
427
  "qapps",
429
428
  "qbusiness",
430
429
  "qconnect",
431
- "qldb",
432
- "qldb-session",
433
430
  "quicksight",
434
431
  "ram",
435
432
  "rbin",
@@ -444,7 +441,6 @@ ServiceName = Literal[
444
441
  "resource-explorer-2",
445
442
  "resource-groups",
446
443
  "resourcegroupstaggingapi",
447
- "robomaker",
448
444
  "rolesanywhere",
449
445
  "route53",
450
446
  "route53-recovery-cluster",
@@ -484,6 +480,7 @@ ServiceName = Literal[
484
480
  "sesv2",
485
481
  "shield",
486
482
  "signer",
483
+ "signin",
487
484
  "simspaceweaver",
488
485
  "snow-device-management",
489
486
  "snowball",