mypy-boto3-athena 1.26.20__py3-none-any.whl → 1.28.36__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.
@@ -9,8 +9,8 @@ def print_info() -> None:
9
9
  Print package info to stdout.
10
10
  """
11
11
  print(
12
- "Type annotations for boto3.Athena 1.26.20\nVersion: 1.26.20\nBuilder version:"
13
- " 7.11.11\nDocs: "
12
+ "Type annotations for boto3.Athena 1.28.36\nVersion: 1.28.36\nBuilder version:"
13
+ " 7.18.0\nDocs: "
14
14
  " https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena//\nBoto3 docs: "
15
15
  " https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena\nOther"
16
16
  " services: https://pypi.org/project/boto3-stubs/\nChangelog: "
@@ -22,7 +22,7 @@ def print_version() -> None:
22
22
  """
23
23
  Print package version to stdout.
24
24
  """
25
- print("1.26.20")
25
+ print("1.28.36")
26
26
 
27
27
 
28
28
  def main() -> None:
@@ -39,6 +39,7 @@ from .type_defs import (
39
39
  BatchGetPreparedStatementOutputTypeDef,
40
40
  BatchGetQueryExecutionOutputTypeDef,
41
41
  CalculationConfigurationTypeDef,
42
+ CapacityAssignmentTypeDef,
42
43
  CreateNamedQueryOutputTypeDef,
43
44
  CreateNotebookOutputTypeDef,
44
45
  CreatePresignedNotebookUrlResponseTypeDef,
@@ -48,6 +49,8 @@ from .type_defs import (
48
49
  GetCalculationExecutionCodeResponseTypeDef,
49
50
  GetCalculationExecutionResponseTypeDef,
50
51
  GetCalculationExecutionStatusResponseTypeDef,
52
+ GetCapacityAssignmentConfigurationOutputTypeDef,
53
+ GetCapacityReservationOutputTypeDef,
51
54
  GetDatabaseOutputTypeDef,
52
55
  GetDataCatalogOutputTypeDef,
53
56
  GetNamedQueryOutputTypeDef,
@@ -63,6 +66,7 @@ from .type_defs import (
63
66
  ImportNotebookOutputTypeDef,
64
67
  ListApplicationDPUSizesOutputTypeDef,
65
68
  ListCalculationExecutionsResponseTypeDef,
69
+ ListCapacityReservationsOutputTypeDef,
66
70
  ListDatabasesOutputTypeDef,
67
71
  ListDataCatalogsOutputTypeDef,
68
72
  ListEngineVersionsOutputTypeDef,
@@ -89,7 +93,7 @@ from .type_defs import (
89
93
  WorkGroupConfigurationUpdatesTypeDef,
90
94
  )
91
95
 
92
- if sys.version_info >= (3, 9):
96
+ if sys.version_info >= (3, 12):
93
97
  from typing import Literal
94
98
  else:
95
99
  from typing_extensions import Literal
@@ -174,6 +178,14 @@ class AthenaClient(BaseClient):
174
178
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#can_paginate)
175
179
  """
176
180
 
181
+ def cancel_capacity_reservation(self, *, Name: str) -> Dict[str, Any]:
182
+ """
183
+ Cancels the capacity reservation with the specified name.
184
+
185
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.cancel_capacity_reservation)
186
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#cancel_capacity_reservation)
187
+ """
188
+
177
189
  def close(self) -> None:
178
190
  """
179
191
  Closes underlying endpoint connections.
@@ -182,6 +194,17 @@ class AthenaClient(BaseClient):
182
194
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#close)
183
195
  """
184
196
 
197
+ def create_capacity_reservation(
198
+ self, *, TargetDpus: int, Name: str, Tags: Sequence[TagTypeDef] = ...
199
+ ) -> Dict[str, Any]:
200
+ """
201
+ Creates a capacity reservation with the specified name and number of requested
202
+ data processing units.
203
+
204
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.create_capacity_reservation)
205
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_capacity_reservation)
206
+ """
207
+
185
208
  def create_data_catalog(
186
209
  self,
187
210
  *,
@@ -260,6 +283,14 @@ class AthenaClient(BaseClient):
260
283
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_work_group)
261
284
  """
262
285
 
286
+ def delete_capacity_reservation(self, *, Name: str) -> Dict[str, Any]:
287
+ """
288
+ Deletes a cancelled capacity reservation.
289
+
290
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.delete_capacity_reservation)
291
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_capacity_reservation)
292
+ """
293
+
263
294
  def delete_data_catalog(self, *, Name: str) -> Dict[str, Any]:
264
295
  """
265
296
  Deletes a data catalog.
@@ -340,8 +371,7 @@ class AthenaClient(BaseClient):
340
371
  self, *, CalculationExecutionId: str
341
372
  ) -> GetCalculationExecutionCodeResponseTypeDef:
342
373
  """
343
- Retrieves a pre-signed URL to a copy of the code that was executed for the
344
- calculation.
374
+ Retrieves the unencrypted code that was executed for the calculation.
345
375
 
346
376
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_calculation_execution_code)
347
377
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_calculation_execution_code)
@@ -357,6 +387,25 @@ class AthenaClient(BaseClient):
357
387
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_calculation_execution_status)
358
388
  """
359
389
 
390
+ def get_capacity_assignment_configuration(
391
+ self, *, CapacityReservationName: str
392
+ ) -> GetCapacityAssignmentConfigurationOutputTypeDef:
393
+ """
394
+ Gets the capacity assignment configuration for a capacity reservation, if one
395
+ exists.
396
+
397
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_capacity_assignment_configuration)
398
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_capacity_assignment_configuration)
399
+ """
400
+
401
+ def get_capacity_reservation(self, *, Name: str) -> GetCapacityReservationOutputTypeDef:
402
+ """
403
+ Returns information about the capacity reservation with the specified name.
404
+
405
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_capacity_reservation)
406
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_capacity_reservation)
407
+ """
408
+
360
409
  def get_data_catalog(self, *, Name: str) -> GetDataCatalogOutputTypeDef:
361
410
  """
362
411
  Returns the specified data catalog.
@@ -487,7 +536,7 @@ class AthenaClient(BaseClient):
487
536
  ) -> ListApplicationDPUSizesOutputTypeDef:
488
537
  """
489
538
  Returns the supported DPU sizes for the supported application runtimes (for
490
- example, `Jupyter 1.0` ).
539
+ example, `Athena notebook version 1`).
491
540
 
492
541
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_application_dpu_sizes)
493
542
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_application_dpu_sizes)
@@ -509,6 +558,16 @@ class AthenaClient(BaseClient):
509
558
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_calculation_executions)
510
559
  """
511
560
 
561
+ def list_capacity_reservations(
562
+ self, *, NextToken: str = ..., MaxResults: int = ...
563
+ ) -> ListCapacityReservationsOutputTypeDef:
564
+ """
565
+ Lists the capacity reservations for the current account.
566
+
567
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_capacity_reservations)
568
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_capacity_reservations)
569
+ """
570
+
512
571
  def list_data_catalogs(
513
572
  self, *, NextToken: str = ..., MaxResults: int = ...
514
573
  ) -> ListDataCatalogsOutputTypeDef:
@@ -549,7 +608,7 @@ class AthenaClient(BaseClient):
549
608
  NextToken: str = ...
550
609
  ) -> ListExecutorsResponseTypeDef:
551
610
  """
552
- Lists, in descending order, the executors that have been submitted to a session.
611
+ Lists, in descending order, the executors that joined a session.
553
612
 
554
613
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_executors)
555
614
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_executors)
@@ -586,7 +645,7 @@ class AthenaClient(BaseClient):
586
645
  ) -> ListNotebookSessionsResponseTypeDef:
587
646
  """
588
647
  Lists, in descending order, the sessions that have been created in a notebook
589
- that are in an active state like `CREATING` , `CREATED` , `IDLE` or `BUSY`.
648
+ that are in an active state like `CREATING`, `CREATED`, `IDLE` or `BUSY`.
590
649
 
591
650
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_notebook_sessions)
592
651
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_notebook_sessions)
@@ -622,8 +681,8 @@ class AthenaClient(BaseClient):
622
681
  NextToken: str = ...
623
682
  ) -> ListSessionsResponseTypeDef:
624
683
  """
625
- Lists the sessions in a workgroup that are in an active state like `CREATING` ,
626
- `CREATED` , `IDLE` , or `BUSY`.
684
+ Lists the sessions in a workgroup that are in an active state like `CREATING`,
685
+ `CREATED`, `IDLE`, or `BUSY`.
627
686
 
628
687
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_sessions)
629
688
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_sessions)
@@ -649,7 +708,7 @@ class AthenaClient(BaseClient):
649
708
  self, *, ResourceARN: str, NextToken: str = ..., MaxResults: int = ...
650
709
  ) -> ListTagsForResourceOutputTypeDef:
651
710
  """
652
- Lists the tags associated with an Athena workgroup or data catalog resource.
711
+ Lists the tags associated with an Athena resource.
653
712
 
654
713
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_tags_for_resource)
655
714
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_tags_for_resource)
@@ -665,6 +724,20 @@ class AthenaClient(BaseClient):
665
724
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_work_groups)
666
725
  """
667
726
 
727
+ def put_capacity_assignment_configuration(
728
+ self,
729
+ *,
730
+ CapacityReservationName: str,
731
+ CapacityAssignments: Sequence[CapacityAssignmentTypeDef]
732
+ ) -> Dict[str, Any]:
733
+ """
734
+ Puts a new capacity assignment configuration for a specified capacity
735
+ reservation.
736
+
737
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.put_capacity_assignment_configuration)
738
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#put_capacity_assignment_configuration)
739
+ """
740
+
668
741
  def start_calculation_execution(
669
742
  self,
670
743
  *,
@@ -752,12 +825,21 @@ class AthenaClient(BaseClient):
752
825
 
753
826
  def untag_resource(self, *, ResourceARN: str, TagKeys: Sequence[str]) -> Dict[str, Any]:
754
827
  """
755
- Removes one or more tags from a data catalog or workgroup resource.
828
+ Removes one or more tags from an Athena resource.
756
829
 
757
830
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.untag_resource)
758
831
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#untag_resource)
759
832
  """
760
833
 
834
+ def update_capacity_reservation(self, *, TargetDpus: int, Name: str) -> Dict[str, Any]:
835
+ """
836
+ Updates the number of requested data processing units for the capacity
837
+ reservation with the specified name.
838
+
839
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.update_capacity_reservation)
840
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_capacity_reservation)
841
+ """
842
+
761
843
  def update_data_catalog(
762
844
  self,
763
845
  *,
@@ -787,8 +869,8 @@ class AthenaClient(BaseClient):
787
869
  self,
788
870
  *,
789
871
  NotebookId: str,
790
- Payload: str = ...,
791
- Type: Literal["IPYNB"] = ...,
872
+ Payload: str,
873
+ Type: Literal["IPYNB"],
792
874
  SessionId: str = ...,
793
875
  ClientRequestToken: str = ...
794
876
  ) -> Dict[str, Any]:
@@ -39,6 +39,7 @@ from .type_defs import (
39
39
  BatchGetPreparedStatementOutputTypeDef,
40
40
  BatchGetQueryExecutionOutputTypeDef,
41
41
  CalculationConfigurationTypeDef,
42
+ CapacityAssignmentTypeDef,
42
43
  CreateNamedQueryOutputTypeDef,
43
44
  CreateNotebookOutputTypeDef,
44
45
  CreatePresignedNotebookUrlResponseTypeDef,
@@ -48,6 +49,8 @@ from .type_defs import (
48
49
  GetCalculationExecutionCodeResponseTypeDef,
49
50
  GetCalculationExecutionResponseTypeDef,
50
51
  GetCalculationExecutionStatusResponseTypeDef,
52
+ GetCapacityAssignmentConfigurationOutputTypeDef,
53
+ GetCapacityReservationOutputTypeDef,
51
54
  GetDatabaseOutputTypeDef,
52
55
  GetDataCatalogOutputTypeDef,
53
56
  GetNamedQueryOutputTypeDef,
@@ -63,6 +66,7 @@ from .type_defs import (
63
66
  ImportNotebookOutputTypeDef,
64
67
  ListApplicationDPUSizesOutputTypeDef,
65
68
  ListCalculationExecutionsResponseTypeDef,
69
+ ListCapacityReservationsOutputTypeDef,
66
70
  ListDatabasesOutputTypeDef,
67
71
  ListDataCatalogsOutputTypeDef,
68
72
  ListEngineVersionsOutputTypeDef,
@@ -89,7 +93,7 @@ from .type_defs import (
89
93
  WorkGroupConfigurationUpdatesTypeDef,
90
94
  )
91
95
 
92
- if sys.version_info >= (3, 9):
96
+ if sys.version_info >= (3, 12):
93
97
  from typing import Literal
94
98
  else:
95
99
  from typing_extensions import Literal
@@ -165,6 +169,13 @@ class AthenaClient(BaseClient):
165
169
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.can_paginate)
166
170
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#can_paginate)
167
171
  """
172
+ def cancel_capacity_reservation(self, *, Name: str) -> Dict[str, Any]:
173
+ """
174
+ Cancels the capacity reservation with the specified name.
175
+
176
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.cancel_capacity_reservation)
177
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#cancel_capacity_reservation)
178
+ """
168
179
  def close(self) -> None:
169
180
  """
170
181
  Closes underlying endpoint connections.
@@ -172,6 +183,16 @@ class AthenaClient(BaseClient):
172
183
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.close)
173
184
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#close)
174
185
  """
186
+ def create_capacity_reservation(
187
+ self, *, TargetDpus: int, Name: str, Tags: Sequence[TagTypeDef] = ...
188
+ ) -> Dict[str, Any]:
189
+ """
190
+ Creates a capacity reservation with the specified name and number of requested
191
+ data processing units.
192
+
193
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.create_capacity_reservation)
194
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_capacity_reservation)
195
+ """
175
196
  def create_data_catalog(
176
197
  self,
177
198
  *,
@@ -244,6 +265,13 @@ class AthenaClient(BaseClient):
244
265
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.create_work_group)
245
266
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#create_work_group)
246
267
  """
268
+ def delete_capacity_reservation(self, *, Name: str) -> Dict[str, Any]:
269
+ """
270
+ Deletes a cancelled capacity reservation.
271
+
272
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.delete_capacity_reservation)
273
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#delete_capacity_reservation)
274
+ """
247
275
  def delete_data_catalog(self, *, Name: str) -> Dict[str, Any]:
248
276
  """
249
277
  Deletes a data catalog.
@@ -316,8 +344,7 @@ class AthenaClient(BaseClient):
316
344
  self, *, CalculationExecutionId: str
317
345
  ) -> GetCalculationExecutionCodeResponseTypeDef:
318
346
  """
319
- Retrieves a pre-signed URL to a copy of the code that was executed for the
320
- calculation.
347
+ Retrieves the unencrypted code that was executed for the calculation.
321
348
 
322
349
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_calculation_execution_code)
323
350
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_calculation_execution_code)
@@ -331,6 +358,23 @@ class AthenaClient(BaseClient):
331
358
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_calculation_execution_status)
332
359
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_calculation_execution_status)
333
360
  """
361
+ def get_capacity_assignment_configuration(
362
+ self, *, CapacityReservationName: str
363
+ ) -> GetCapacityAssignmentConfigurationOutputTypeDef:
364
+ """
365
+ Gets the capacity assignment configuration for a capacity reservation, if one
366
+ exists.
367
+
368
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_capacity_assignment_configuration)
369
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_capacity_assignment_configuration)
370
+ """
371
+ def get_capacity_reservation(self, *, Name: str) -> GetCapacityReservationOutputTypeDef:
372
+ """
373
+ Returns information about the capacity reservation with the specified name.
374
+
375
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.get_capacity_reservation)
376
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#get_capacity_reservation)
377
+ """
334
378
  def get_data_catalog(self, *, Name: str) -> GetDataCatalogOutputTypeDef:
335
379
  """
336
380
  Returns the specified data catalog.
@@ -448,7 +492,7 @@ class AthenaClient(BaseClient):
448
492
  ) -> ListApplicationDPUSizesOutputTypeDef:
449
493
  """
450
494
  Returns the supported DPU sizes for the supported application runtimes (for
451
- example, `Jupyter 1.0` ).
495
+ example, `Athena notebook version 1`).
452
496
 
453
497
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_application_dpu_sizes)
454
498
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_application_dpu_sizes)
@@ -468,6 +512,15 @@ class AthenaClient(BaseClient):
468
512
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_calculation_executions)
469
513
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_calculation_executions)
470
514
  """
515
+ def list_capacity_reservations(
516
+ self, *, NextToken: str = ..., MaxResults: int = ...
517
+ ) -> ListCapacityReservationsOutputTypeDef:
518
+ """
519
+ Lists the capacity reservations for the current account.
520
+
521
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_capacity_reservations)
522
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_capacity_reservations)
523
+ """
471
524
  def list_data_catalogs(
472
525
  self, *, NextToken: str = ..., MaxResults: int = ...
473
526
  ) -> ListDataCatalogsOutputTypeDef:
@@ -505,7 +558,7 @@ class AthenaClient(BaseClient):
505
558
  NextToken: str = ...
506
559
  ) -> ListExecutorsResponseTypeDef:
507
560
  """
508
- Lists, in descending order, the executors that have been submitted to a session.
561
+ Lists, in descending order, the executors that joined a session.
509
562
 
510
563
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_executors)
511
564
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_executors)
@@ -539,7 +592,7 @@ class AthenaClient(BaseClient):
539
592
  ) -> ListNotebookSessionsResponseTypeDef:
540
593
  """
541
594
  Lists, in descending order, the sessions that have been created in a notebook
542
- that are in an active state like `CREATING` , `CREATED` , `IDLE` or `BUSY`.
595
+ that are in an active state like `CREATING`, `CREATED`, `IDLE` or `BUSY`.
543
596
 
544
597
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_notebook_sessions)
545
598
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_notebook_sessions)
@@ -572,8 +625,8 @@ class AthenaClient(BaseClient):
572
625
  NextToken: str = ...
573
626
  ) -> ListSessionsResponseTypeDef:
574
627
  """
575
- Lists the sessions in a workgroup that are in an active state like `CREATING` ,
576
- `CREATED` , `IDLE` , or `BUSY`.
628
+ Lists the sessions in a workgroup that are in an active state like `CREATING`,
629
+ `CREATED`, `IDLE`, or `BUSY`.
577
630
 
578
631
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_sessions)
579
632
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_sessions)
@@ -597,7 +650,7 @@ class AthenaClient(BaseClient):
597
650
  self, *, ResourceARN: str, NextToken: str = ..., MaxResults: int = ...
598
651
  ) -> ListTagsForResourceOutputTypeDef:
599
652
  """
600
- Lists the tags associated with an Athena workgroup or data catalog resource.
653
+ Lists the tags associated with an Athena resource.
601
654
 
602
655
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_tags_for_resource)
603
656
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_tags_for_resource)
@@ -611,6 +664,19 @@ class AthenaClient(BaseClient):
611
664
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.list_work_groups)
612
665
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#list_work_groups)
613
666
  """
667
+ def put_capacity_assignment_configuration(
668
+ self,
669
+ *,
670
+ CapacityReservationName: str,
671
+ CapacityAssignments: Sequence[CapacityAssignmentTypeDef]
672
+ ) -> Dict[str, Any]:
673
+ """
674
+ Puts a new capacity assignment configuration for a specified capacity
675
+ reservation.
676
+
677
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.put_capacity_assignment_configuration)
678
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#put_capacity_assignment_configuration)
679
+ """
614
680
  def start_calculation_execution(
615
681
  self,
616
682
  *,
@@ -691,11 +757,19 @@ class AthenaClient(BaseClient):
691
757
  """
692
758
  def untag_resource(self, *, ResourceARN: str, TagKeys: Sequence[str]) -> Dict[str, Any]:
693
759
  """
694
- Removes one or more tags from a data catalog or workgroup resource.
760
+ Removes one or more tags from an Athena resource.
695
761
 
696
762
  [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.untag_resource)
697
763
  [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#untag_resource)
698
764
  """
765
+ def update_capacity_reservation(self, *, TargetDpus: int, Name: str) -> Dict[str, Any]:
766
+ """
767
+ Updates the number of requested data processing units for the capacity
768
+ reservation with the specified name.
769
+
770
+ [Show boto3 documentation](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/athena.html#Athena.Client.update_capacity_reservation)
771
+ [Show boto3-stubs documentation](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_athena/client/#update_capacity_reservation)
772
+ """
699
773
  def update_data_catalog(
700
774
  self,
701
775
  *,
@@ -723,8 +797,8 @@ class AthenaClient(BaseClient):
723
797
  self,
724
798
  *,
725
799
  NotebookId: str,
726
- Payload: str = ...,
727
- Type: Literal["IPYNB"] = ...,
800
+ Payload: str,
801
+ Type: Literal["IPYNB"],
728
802
  SessionId: str = ...,
729
803
  ClientRequestToken: str = ...
730
804
  ) -> Dict[str, Any]:
@@ -13,7 +13,7 @@ Usage::
13
13
  """
14
14
  import sys
15
15
 
16
- if sys.version_info >= (3, 9):
16
+ if sys.version_info >= (3, 12):
17
17
  from typing import Literal
18
18
  else:
19
19
  from typing_extensions import Literal
@@ -21,6 +21,8 @@ else:
21
21
 
22
22
  __all__ = (
23
23
  "CalculationExecutionStateType",
24
+ "CapacityAllocationStatusType",
25
+ "CapacityReservationStatusType",
24
26
  "ColumnNullableType",
25
27
  "DataCatalogTypeType",
26
28
  "EncryptionOptionType",
@@ -50,6 +52,10 @@ __all__ = (
50
52
  CalculationExecutionStateType = Literal[
51
53
  "CANCELED", "CANCELING", "COMPLETED", "CREATED", "CREATING", "FAILED", "QUEUED", "RUNNING"
52
54
  ]
55
+ CapacityAllocationStatusType = Literal["FAILED", "PENDING", "SUCCEEDED"]
56
+ CapacityReservationStatusType = Literal[
57
+ "ACTIVE", "CANCELLED", "CANCELLING", "FAILED", "PENDING", "UPDATE_PENDING"
58
+ ]
53
59
  ColumnNullableType = Literal["NOT_NULL", "NULLABLE", "UNKNOWN"]
54
60
  DataCatalogTypeType = Literal["GLUE", "HIVE", "LAMBDA"]
55
61
  EncryptionOptionType = Literal["CSE_KMS", "SSE_KMS", "SSE_S3"]
@@ -88,6 +94,7 @@ ServiceName = Literal[
88
94
  "apigatewayv2",
89
95
  "appconfig",
90
96
  "appconfigdata",
97
+ "appfabric",
91
98
  "appflow",
92
99
  "appintegrations",
93
100
  "application-autoscaling",
@@ -116,6 +123,7 @@ ServiceName = Literal[
116
123
  "chime-sdk-meetings",
117
124
  "chime-sdk-messaging",
118
125
  "chime-sdk-voice",
126
+ "cleanrooms",
119
127
  "cloud9",
120
128
  "cloudcontrol",
121
129
  "clouddirectory",
@@ -126,12 +134,15 @@ ServiceName = Literal[
126
134
  "cloudsearch",
127
135
  "cloudsearchdomain",
128
136
  "cloudtrail",
137
+ "cloudtrail-data",
129
138
  "cloudwatch",
130
139
  "codeartifact",
131
140
  "codebuild",
141
+ "codecatalyst",
132
142
  "codecommit",
133
143
  "codedeploy",
134
144
  "codeguru-reviewer",
145
+ "codeguru-security",
135
146
  "codeguruprofiler",
136
147
  "codepipeline",
137
148
  "codestar",
@@ -187,6 +198,7 @@ ServiceName = Literal[
187
198
  "emr",
188
199
  "emr-containers",
189
200
  "emr-serverless",
201
+ "entityresolution",
190
202
  "es",
191
203
  "events",
192
204
  "evidently",
@@ -218,6 +230,7 @@ ServiceName = Literal[
218
230
  "importexport",
219
231
  "inspector",
220
232
  "inspector2",
233
+ "internetmonitor",
221
234
  "iot",
222
235
  "iot-data",
223
236
  "iot-jobs-data",
@@ -236,15 +249,18 @@ ServiceName = Literal[
236
249
  "iottwinmaker",
237
250
  "iotwireless",
238
251
  "ivs",
252
+ "ivs-realtime",
239
253
  "ivschat",
240
254
  "kafka",
241
255
  "kafkaconnect",
242
256
  "kendra",
257
+ "kendra-ranking",
243
258
  "keyspaces",
244
259
  "kinesis",
245
260
  "kinesis-video-archived-media",
246
261
  "kinesis-video-media",
247
262
  "kinesis-video-signaling",
263
+ "kinesis-video-webrtc-storage",
248
264
  "kinesisanalytics",
249
265
  "kinesisanalyticsv2",
250
266
  "kinesisvideo",
@@ -256,6 +272,7 @@ ServiceName = Literal[
256
272
  "lexv2-models",
257
273
  "lexv2-runtime",
258
274
  "license-manager",
275
+ "license-manager-linux-subscriptions",
259
276
  "license-manager-user-subscriptions",
260
277
  "lightsail",
261
278
  "location",
@@ -268,6 +285,7 @@ ServiceName = Literal[
268
285
  "macie",
269
286
  "macie2",
270
287
  "managedblockchain",
288
+ "managedblockchain-query",
271
289
  "marketplace-catalog",
272
290
  "marketplace-entitlement",
273
291
  "marketplacecommerceanalytics",
@@ -276,9 +294,11 @@ ServiceName = Literal[
276
294
  "medialive",
277
295
  "mediapackage",
278
296
  "mediapackage-vod",
297
+ "mediapackagev2",
279
298
  "mediastore",
280
299
  "mediastore-data",
281
300
  "mediatailor",
301
+ "medical-imaging",
282
302
  "memorydb",
283
303
  "meteringmarketplace",
284
304
  "mgh",
@@ -302,8 +322,11 @@ ServiceName = Literal[
302
322
  "opsworks",
303
323
  "opsworkscm",
304
324
  "organizations",
325
+ "osis",
305
326
  "outposts",
306
327
  "panorama",
328
+ "payment-cryptography",
329
+ "payment-cryptography-data",
307
330
  "personalize",
308
331
  "personalize-events",
309
332
  "personalize-runtime",
@@ -312,6 +335,7 @@ ServiceName = Literal[
312
335
  "pinpoint-email",
313
336
  "pinpoint-sms-voice",
314
337
  "pinpoint-sms-voice-v2",
338
+ "pipes",
315
339
  "polly",
316
340
  "pricing",
317
341
  "privatenetworks",
@@ -348,6 +372,7 @@ ServiceName = Literal[
348
372
  "sagemaker-edge",
349
373
  "sagemaker-featurestore-runtime",
350
374
  "sagemaker-geospatial",
375
+ "sagemaker-metrics",
351
376
  "sagemaker-runtime",
352
377
  "savingsplans",
353
378
  "scheduler",
@@ -389,10 +414,13 @@ ServiceName = Literal[
389
414
  "textract",
390
415
  "timestream-query",
391
416
  "timestream-write",
417
+ "tnb",
392
418
  "transcribe",
393
419
  "transfer",
394
420
  "translate",
421
+ "verifiedpermissions",
395
422
  "voice-id",
423
+ "vpc-lattice",
396
424
  "waf",
397
425
  "waf-regional",
398
426
  "wafv2",
@@ -434,16 +462,22 @@ RegionName = Literal[
434
462
  "ap-northeast-2",
435
463
  "ap-northeast-3",
436
464
  "ap-south-1",
465
+ "ap-south-2",
437
466
  "ap-southeast-1",
438
467
  "ap-southeast-2",
439
468
  "ap-southeast-3",
469
+ "ap-southeast-4",
440
470
  "ca-central-1",
441
471
  "eu-central-1",
472
+ "eu-central-2",
442
473
  "eu-north-1",
443
474
  "eu-south-1",
475
+ "eu-south-2",
444
476
  "eu-west-1",
445
477
  "eu-west-2",
446
478
  "eu-west-3",
479
+ "il-central-1",
480
+ "me-central-1",
447
481
  "me-south-1",
448
482
  "sa-east-1",
449
483
  "us-east-1",