mypy-boto3-redshift 1.17.49.0__tar.gz → 1.35.41__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.
Files changed (41) hide show
  1. mypy_boto3_redshift-1.35.41/LICENSE +21 -0
  2. mypy_boto3_redshift-1.35.41/PKG-INFO +582 -0
  3. mypy_boto3_redshift-1.35.41/README.md +549 -0
  4. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift/__init__.py +55 -8
  5. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift/__init__.pyi +55 -8
  6. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/__main__.py +40 -0
  7. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/client.py +2328 -0
  8. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/client.pyi +2324 -0
  9. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/literals.py +677 -0
  10. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/literals.pyi +675 -0
  11. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/paginator.py +854 -0
  12. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/paginator.pyi +777 -0
  13. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/type_defs.py +3902 -0
  14. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/type_defs.pyi +3901 -0
  15. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/version.py +5 -0
  16. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/waiter.py +105 -0
  17. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift/waiter.pyi +96 -0
  18. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift.egg-info/PKG-INFO +582 -0
  19. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift.egg-info/SOURCES.txt +3 -0
  20. mypy_boto3_redshift-1.35.41/mypy_boto3_redshift.egg-info/requires.txt +3 -0
  21. mypy_boto3_redshift-1.35.41/setup.py +53 -0
  22. mypy-boto3-redshift-1.17.49.0/PKG-INFO +0 -394
  23. mypy-boto3-redshift-1.17.49.0/README.md +0 -364
  24. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/__main__.py +0 -9
  25. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/client.py +0 -1512
  26. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/client.pyi +0 -1377
  27. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/paginator.py +0 -558
  28. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/paginator.pyi +0 -532
  29. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/type_defs.py +0 -1301
  30. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/type_defs.pyi +0 -1294
  31. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/version.py +0 -2
  32. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/waiter.py +0 -120
  33. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift/waiter.pyi +0 -116
  34. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift.egg-info/PKG-INFO +0 -394
  35. mypy-boto3-redshift-1.17.49.0/mypy_boto3_redshift.egg-info/requires.txt +0 -3
  36. mypy-boto3-redshift-1.17.49.0/setup.py +0 -47
  37. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift/py.typed +0 -0
  38. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift.egg-info/dependency_links.txt +0 -0
  39. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift.egg-info/not-zip-safe +0 -0
  40. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/mypy_boto3_redshift.egg-info/top_level.txt +0 -0
  41. {mypy-boto3-redshift-1.17.49.0 → mypy_boto3_redshift-1.35.41}/setup.cfg +0 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Vlad Emelianov
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1,582 @@
1
+ Metadata-Version: 2.1
2
+ Name: mypy-boto3-redshift
3
+ Version: 1.35.41
4
+ Summary: Type annotations for boto3.Redshift 1.35.41 service generated with mypy-boto3-builder 8.1.2
5
+ Home-page: https://github.com/youtype/mypy_boto3_builder
6
+ Author: Vlad Emelianov
7
+ Author-email: vlad.emelianov.nz@gmail.com
8
+ License: MIT License
9
+ Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/
10
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
11
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
12
+ Keywords: boto3 redshift type-annotations botocore mypy typeshed autocomplete
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: License :: OSI Approved :: MIT License
17
+ Classifier: Natural Language :: English
18
+ Classifier: Operating System :: OS Independent
19
+ Classifier: Programming Language :: Python :: 3
20
+ Classifier: Programming Language :: Python :: 3.8
21
+ Classifier: Programming Language :: Python :: 3.9
22
+ Classifier: Programming Language :: Python :: 3.10
23
+ Classifier: Programming Language :: Python :: 3.11
24
+ Classifier: Programming Language :: Python :: 3.12
25
+ Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3 :: Only
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Typing :: Stubs Only
29
+ Requires-Python: >=3.8
30
+ Description-Content-Type: text/markdown
31
+ License-File: LICENSE
32
+ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
33
+
34
+ <a id="mypy-boto3-redshift"></a>
35
+
36
+ # mypy-boto3-redshift
37
+
38
+ [![PyPI - mypy-boto3-redshift](https://img.shields.io/pypi/v/mypy-boto3-redshift.svg?color=blue)](https://pypi.org/project/mypy-boto3-redshift)
39
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-redshift.svg?color=blue)](https://pypi.org/project/mypy-boto3-redshift)
40
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/)
41
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-redshift)](https://pepy.tech/project/mypy-boto3-redshift)
42
+
43
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
+
45
+ Type annotations for
46
+ [boto3.Redshift 1.35.41](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/redshift.html#Redshift)
47
+ service compatible with [VSCode](https://code.visualstudio.com/),
48
+ [PyCharm](https://www.jetbrains.com/pycharm/),
49
+ [Emacs](https://www.gnu.org/software/emacs/),
50
+ [Sublime Text](https://www.sublimetext.com/),
51
+ [mypy](https://github.com/python/mypy),
52
+ [pyright](https://github.com/microsoft/pyright) and other tools.
53
+
54
+ Generated by
55
+ [mypy-boto3-builder 8.1.2](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
59
+ [mypy-boto3-redshift docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/).
60
+
61
+ See how it helps to find and fix potential bugs:
62
+
63
+ ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [mypy-boto3-redshift](#mypy-boto3-redshift)
66
+ - [How to install](#how-to-install)
67
+ - [VSCode extension](#vscode-extension)
68
+ - [From PyPI with pip](#from-pypi-with-pip)
69
+ - [How to uninstall](#how-to-uninstall)
70
+ - [Usage](#usage)
71
+ - [VSCode](#vscode)
72
+ - [PyCharm](#pycharm)
73
+ - [Emacs](#emacs)
74
+ - [Sublime Text](#sublime-text)
75
+ - [Other IDEs](#other-ides)
76
+ - [mypy](#mypy)
77
+ - [pyright](#pyright)
78
+ - [Explicit type annotations](#explicit-type-annotations)
79
+ - [Client annotations](#client-annotations)
80
+ - [Paginators annotations](#paginators-annotations)
81
+ - [Waiters annotations](#waiters-annotations)
82
+ - [Literals](#literals)
83
+ - [Type definitions](#type-definitions)
84
+ - [How it works](#how-it-works)
85
+ - [What's new](#what's-new)
86
+ - [Implemented features](#implemented-features)
87
+ - [Latest changes](#latest-changes)
88
+ - [Versioning](#versioning)
89
+ - [Thank you](#thank-you)
90
+ - [Documentation](#documentation)
91
+ - [Support and contributing](#support-and-contributing)
92
+
93
+ <a id="how-to-install"></a>
94
+
95
+ ## How to install
96
+
97
+ <a id="vscode-extension"></a>
98
+
99
+ ### VSCode extension
100
+
101
+ Add
102
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
103
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
104
+
105
+ Click `Modify` and select `boto3 common` and `Redshift`.
106
+
107
+ <a id="from-pypi-with-pip"></a>
108
+
109
+ ### From PyPI with pip
110
+
111
+ Install `boto3-stubs` for `Redshift` service.
112
+
113
+ ```bash
114
+ # install with boto3 type annotations
115
+ python -m pip install 'boto3-stubs[redshift]'
116
+
117
+
118
+ # Lite version does not provide session.client/resource overloads
119
+ # it is more RAM-friendly, but requires explicit type annotations
120
+ python -m pip install 'boto3-stubs-lite[redshift]'
121
+
122
+
123
+ # standalone installation
124
+ python -m pip install mypy-boto3-redshift
125
+ ```
126
+
127
+ <a id="how-to-uninstall"></a>
128
+
129
+ ## How to uninstall
130
+
131
+ ```bash
132
+ python -m pip uninstall -y mypy-boto3-redshift
133
+ ```
134
+
135
+ <a id="usage"></a>
136
+
137
+ ## Usage
138
+
139
+ <a id="vscode"></a>
140
+
141
+ ### VSCode
142
+
143
+ - Install
144
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
145
+ - Install
146
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
147
+ - Set `Pylance` as your Python Language Server
148
+ - Install `boto3-stubs[redshift]` in your environment:
149
+
150
+ ```bash
151
+ python -m pip install 'boto3-stubs[redshift]'
152
+ ```
153
+
154
+ Both type checking and code completion should now work. No explicit type
155
+ annotations required, write your `boto3` code as usual.
156
+
157
+ <a id="pycharm"></a>
158
+
159
+ ### PyCharm
160
+
161
+ Install `boto3-stubs-lite[redshift]` in your environment:
162
+
163
+ ```bash
164
+ python -m pip install 'boto3-stubs-lite[redshift]'`
165
+ ```
166
+
167
+ Both type checking and code completion should now work. Explicit type
168
+ annotations **are required**.
169
+
170
+ Use `boto3-stubs` package instead for implicit type discovery.
171
+
172
+ <a id="emacs"></a>
173
+
174
+ ### Emacs
175
+
176
+ - Install `boto3-stubs` with services you use in your environment:
177
+
178
+ ```bash
179
+ python -m pip install 'boto3-stubs[redshift]'
180
+ ```
181
+
182
+ - Install [use-package](https://github.com/jwiegley/use-package),
183
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
184
+ [company](https://github.com/company-mode/company-mode) and
185
+ [flycheck](https://github.com/flycheck/flycheck) packages
186
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
187
+
188
+ ```elisp
189
+ (use-package lsp-pyright
190
+ :ensure t
191
+ :hook (python-mode . (lambda ()
192
+ (require 'lsp-pyright)
193
+ (lsp))) ; or lsp-deferred
194
+ :init (when (executable-find "python3")
195
+ (setq lsp-pyright-python-executable-cmd "python3"))
196
+ )
197
+ ```
198
+
199
+ - Make sure emacs uses the environment where you have installed `boto3-stubs`
200
+
201
+ Type checking should now work. No explicit type annotations required, write
202
+ your `boto3` code as usual.
203
+
204
+ <a id="sublime-text"></a>
205
+
206
+ ### Sublime Text
207
+
208
+ - Install `boto3-stubs[redshift]` with services you use in your environment:
209
+
210
+ ```bash
211
+ python -m pip install 'boto3-stubs[redshift]'
212
+ ```
213
+
214
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
215
+
216
+ Type checking should now work. No explicit type annotations required, write
217
+ your `boto3` code as usual.
218
+
219
+ <a id="other-ides"></a>
220
+
221
+ ### Other IDEs
222
+
223
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
224
+ should work.
225
+
226
+ <a id="mypy"></a>
227
+
228
+ ### mypy
229
+
230
+ - Install `mypy`: `python -m pip install mypy`
231
+ - Install `boto3-stubs[redshift]` in your environment:
232
+
233
+ ```bash
234
+ python -m pip install 'boto3-stubs[redshift]'
235
+ ```
236
+
237
+ Type checking should now work. No explicit type annotations required, write
238
+ your `boto3` code as usual.
239
+
240
+ <a id="pyright"></a>
241
+
242
+ ### pyright
243
+
244
+ - Install `pyright`: `npm i -g pyright`
245
+ - Install `boto3-stubs[redshift]` in your environment:
246
+
247
+ ```bash
248
+ python -m pip install 'boto3-stubs[redshift]'
249
+ ```
250
+
251
+ Optionally, you can install `boto3-stubs` to `typings` directory.
252
+
253
+ Type checking should now work. No explicit type annotations required, write
254
+ your `boto3` code as usual.
255
+
256
+ <a id="explicit-type-annotations"></a>
257
+
258
+ ## Explicit type annotations
259
+
260
+ <a id="client-annotations"></a>
261
+
262
+ ### Client annotations
263
+
264
+ `RedshiftClient` provides annotations for `boto3.client("redshift")`.
265
+
266
+ ```python
267
+ from boto3.session import Session
268
+
269
+ from mypy_boto3_redshift import RedshiftClient
270
+
271
+ client: RedshiftClient = Session().client("redshift")
272
+
273
+ # now client usage is checked by mypy and IDE should provide code completion
274
+ ```
275
+
276
+ <a id="paginators-annotations"></a>
277
+
278
+ ### Paginators annotations
279
+
280
+ `mypy_boto3_redshift.paginator` module contains type annotations for all
281
+ paginators.
282
+
283
+ ```python
284
+ from boto3.session import Session
285
+
286
+ from mypy_boto3_redshift import RedshiftClient
287
+ from mypy_boto3_redshift.paginator import (
288
+ DescribeClusterDbRevisionsPaginator,
289
+ DescribeClusterParameterGroupsPaginator,
290
+ DescribeClusterParametersPaginator,
291
+ DescribeClusterSecurityGroupsPaginator,
292
+ DescribeClusterSnapshotsPaginator,
293
+ DescribeClusterSubnetGroupsPaginator,
294
+ DescribeClusterTracksPaginator,
295
+ DescribeClusterVersionsPaginator,
296
+ DescribeClustersPaginator,
297
+ DescribeCustomDomainAssociationsPaginator,
298
+ DescribeDataSharesPaginator,
299
+ DescribeDataSharesForConsumerPaginator,
300
+ DescribeDataSharesForProducerPaginator,
301
+ DescribeDefaultClusterParametersPaginator,
302
+ DescribeEndpointAccessPaginator,
303
+ DescribeEndpointAuthorizationPaginator,
304
+ DescribeEventSubscriptionsPaginator,
305
+ DescribeEventsPaginator,
306
+ DescribeHsmClientCertificatesPaginator,
307
+ DescribeHsmConfigurationsPaginator,
308
+ DescribeInboundIntegrationsPaginator,
309
+ DescribeIntegrationsPaginator,
310
+ DescribeNodeConfigurationOptionsPaginator,
311
+ DescribeOrderableClusterOptionsPaginator,
312
+ DescribeRedshiftIdcApplicationsPaginator,
313
+ DescribeReservedNodeExchangeStatusPaginator,
314
+ DescribeReservedNodeOfferingsPaginator,
315
+ DescribeReservedNodesPaginator,
316
+ DescribeScheduledActionsPaginator,
317
+ DescribeSnapshotCopyGrantsPaginator,
318
+ DescribeSnapshotSchedulesPaginator,
319
+ DescribeTableRestoreStatusPaginator,
320
+ DescribeTagsPaginator,
321
+ DescribeUsageLimitsPaginator,
322
+ GetReservedNodeExchangeConfigurationOptionsPaginator,
323
+ GetReservedNodeExchangeOfferingsPaginator,
324
+ ListRecommendationsPaginator,
325
+ )
326
+
327
+ client: RedshiftClient = Session().client("redshift")
328
+
329
+ # Explicit type annotations are optional here
330
+ # Types should be correctly discovered by mypy and IDEs
331
+ describe_cluster_db_revisions_paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator(
332
+ "describe_cluster_db_revisions"
333
+ )
334
+ describe_cluster_parameter_groups_paginator: DescribeClusterParameterGroupsPaginator = (
335
+ client.get_paginator("describe_cluster_parameter_groups")
336
+ )
337
+ describe_cluster_parameters_paginator: DescribeClusterParametersPaginator = client.get_paginator(
338
+ "describe_cluster_parameters"
339
+ )
340
+ describe_cluster_security_groups_paginator: DescribeClusterSecurityGroupsPaginator = (
341
+ client.get_paginator("describe_cluster_security_groups")
342
+ )
343
+ describe_cluster_snapshots_paginator: DescribeClusterSnapshotsPaginator = client.get_paginator(
344
+ "describe_cluster_snapshots"
345
+ )
346
+ describe_cluster_subnet_groups_paginator: DescribeClusterSubnetGroupsPaginator = (
347
+ client.get_paginator("describe_cluster_subnet_groups")
348
+ )
349
+ describe_cluster_tracks_paginator: DescribeClusterTracksPaginator = client.get_paginator(
350
+ "describe_cluster_tracks"
351
+ )
352
+ describe_cluster_versions_paginator: DescribeClusterVersionsPaginator = client.get_paginator(
353
+ "describe_cluster_versions"
354
+ )
355
+ describe_clusters_paginator: DescribeClustersPaginator = client.get_paginator("describe_clusters")
356
+ describe_custom_domain_associations_paginator: DescribeCustomDomainAssociationsPaginator = (
357
+ client.get_paginator("describe_custom_domain_associations")
358
+ )
359
+ describe_data_shares_paginator: DescribeDataSharesPaginator = client.get_paginator(
360
+ "describe_data_shares"
361
+ )
362
+ describe_data_shares_for_consumer_paginator: DescribeDataSharesForConsumerPaginator = (
363
+ client.get_paginator("describe_data_shares_for_consumer")
364
+ )
365
+ describe_data_shares_for_producer_paginator: DescribeDataSharesForProducerPaginator = (
366
+ client.get_paginator("describe_data_shares_for_producer")
367
+ )
368
+ describe_default_cluster_parameters_paginator: DescribeDefaultClusterParametersPaginator = (
369
+ client.get_paginator("describe_default_cluster_parameters")
370
+ )
371
+ describe_endpoint_access_paginator: DescribeEndpointAccessPaginator = client.get_paginator(
372
+ "describe_endpoint_access"
373
+ )
374
+ describe_endpoint_authorization_paginator: DescribeEndpointAuthorizationPaginator = (
375
+ client.get_paginator("describe_endpoint_authorization")
376
+ )
377
+ describe_event_subscriptions_paginator: DescribeEventSubscriptionsPaginator = client.get_paginator(
378
+ "describe_event_subscriptions"
379
+ )
380
+ describe_events_paginator: DescribeEventsPaginator = client.get_paginator("describe_events")
381
+ describe_hsm_client_certificates_paginator: DescribeHsmClientCertificatesPaginator = (
382
+ client.get_paginator("describe_hsm_client_certificates")
383
+ )
384
+ describe_hsm_configurations_paginator: DescribeHsmConfigurationsPaginator = client.get_paginator(
385
+ "describe_hsm_configurations"
386
+ )
387
+ describe_inbound_integrations_paginator: DescribeInboundIntegrationsPaginator = (
388
+ client.get_paginator("describe_inbound_integrations")
389
+ )
390
+ describe_integrations_paginator: DescribeIntegrationsPaginator = client.get_paginator(
391
+ "describe_integrations"
392
+ )
393
+ describe_node_configuration_options_paginator: DescribeNodeConfigurationOptionsPaginator = (
394
+ client.get_paginator("describe_node_configuration_options")
395
+ )
396
+ describe_orderable_cluster_options_paginator: DescribeOrderableClusterOptionsPaginator = (
397
+ client.get_paginator("describe_orderable_cluster_options")
398
+ )
399
+ describe_redshift_idc_applications_paginator: DescribeRedshiftIdcApplicationsPaginator = (
400
+ client.get_paginator("describe_redshift_idc_applications")
401
+ )
402
+ describe_reserved_node_exchange_status_paginator: DescribeReservedNodeExchangeStatusPaginator = (
403
+ client.get_paginator("describe_reserved_node_exchange_status")
404
+ )
405
+ describe_reserved_node_offerings_paginator: DescribeReservedNodeOfferingsPaginator = (
406
+ client.get_paginator("describe_reserved_node_offerings")
407
+ )
408
+ describe_reserved_nodes_paginator: DescribeReservedNodesPaginator = client.get_paginator(
409
+ "describe_reserved_nodes"
410
+ )
411
+ describe_scheduled_actions_paginator: DescribeScheduledActionsPaginator = client.get_paginator(
412
+ "describe_scheduled_actions"
413
+ )
414
+ describe_snapshot_copy_grants_paginator: DescribeSnapshotCopyGrantsPaginator = client.get_paginator(
415
+ "describe_snapshot_copy_grants"
416
+ )
417
+ describe_snapshot_schedules_paginator: DescribeSnapshotSchedulesPaginator = client.get_paginator(
418
+ "describe_snapshot_schedules"
419
+ )
420
+ describe_table_restore_status_paginator: DescribeTableRestoreStatusPaginator = client.get_paginator(
421
+ "describe_table_restore_status"
422
+ )
423
+ describe_tags_paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")
424
+ describe_usage_limits_paginator: DescribeUsageLimitsPaginator = client.get_paginator(
425
+ "describe_usage_limits"
426
+ )
427
+ get_reserved_node_exchange_configuration_options_paginator: GetReservedNodeExchangeConfigurationOptionsPaginator = client.get_paginator(
428
+ "get_reserved_node_exchange_configuration_options"
429
+ )
430
+ get_reserved_node_exchange_offerings_paginator: GetReservedNodeExchangeOfferingsPaginator = (
431
+ client.get_paginator("get_reserved_node_exchange_offerings")
432
+ )
433
+ list_recommendations_paginator: ListRecommendationsPaginator = client.get_paginator(
434
+ "list_recommendations"
435
+ )
436
+ ```
437
+
438
+ <a id="waiters-annotations"></a>
439
+
440
+ ### Waiters annotations
441
+
442
+ `mypy_boto3_redshift.waiter` module contains type annotations for all waiters.
443
+
444
+ ```python
445
+ from boto3.session import Session
446
+
447
+ from mypy_boto3_redshift import RedshiftClient
448
+ from mypy_boto3_redshift.waiter import (
449
+ ClusterAvailableWaiter,
450
+ ClusterDeletedWaiter,
451
+ ClusterRestoredWaiter,
452
+ SnapshotAvailableWaiter,
453
+ )
454
+
455
+ client: RedshiftClient = Session().client("redshift")
456
+
457
+ # Explicit type annotations are optional here
458
+ # Types should be correctly discovered by mypy and IDEs
459
+ cluster_available_waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available")
460
+ cluster_deleted_waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted")
461
+ cluster_restored_waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored")
462
+ snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
463
+ ```
464
+
465
+ <a id="literals"></a>
466
+
467
+ ### Literals
468
+
469
+ `mypy_boto3_redshift.literals` module contains literals extracted from shapes
470
+ that can be used in user code for type checking.
471
+
472
+ Full list of `Redshift` Literals can be found in
473
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/literals/).
474
+
475
+ ```python
476
+ from mypy_boto3_redshift.literals import ActionTypeType
477
+
478
+
479
+ def check_value(value: ActionTypeType) -> bool: ...
480
+ ```
481
+
482
+ <a id="type-definitions"></a>
483
+
484
+ ### Type definitions
485
+
486
+ `mypy_boto3_redshift.type_defs` module contains structures and shapes assembled
487
+ to typed dictionaries and unions for additional type checking.
488
+
489
+ Full list of `Redshift` TypeDefs can be found in
490
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/type_defs/).
491
+
492
+ ```python
493
+ from mypy_boto3_redshift.type_defs import AcceptReservedNodeExchangeInputMessageRequestTypeDef
494
+
495
+
496
+ def get_value() -> AcceptReservedNodeExchangeInputMessageRequestTypeDef:
497
+ return {...}
498
+ ```
499
+
500
+ <a id="how-it-works"></a>
501
+
502
+ ## How it works
503
+
504
+ Fully automated
505
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
506
+ generates type annotations for each service, patiently waiting for `boto3`
507
+ updates. It delivers drop-in type annotations for you and makes sure that:
508
+
509
+ - All available `boto3` services are covered.
510
+ - Each public class and method of every `boto3` service gets valid type
511
+ annotations extracted from `botocore` schemas.
512
+ - Type annotations include up-to-date documentation.
513
+ - Link to documentation is provided for every method.
514
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
515
+
516
+ <a id="what's-new"></a>
517
+
518
+ ## What's new
519
+
520
+ <a id="implemented-features"></a>
521
+
522
+ ### Implemented features
523
+
524
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
525
+ libraries
526
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
527
+ compatibility
528
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
529
+ annotations for each service
530
+ - Generated `TypeDefs` for each service
531
+ - Generated `Literals` for each service
532
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
533
+ - Auto discovery of types for `session.client` and `session.resource` calls
534
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
535
+ calls
536
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
537
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
538
+
539
+ <a id="latest-changes"></a>
540
+
541
+ ### Latest changes
542
+
543
+ Builder changelog can be found in
544
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
545
+
546
+ <a id="versioning"></a>
547
+
548
+ ## Versioning
549
+
550
+ `mypy-boto3-redshift` version is the same as related `boto3` version and
551
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
552
+
553
+ <a id="thank-you"></a>
554
+
555
+ ## Thank you
556
+
557
+ - [Allie Fitter](https://github.com/alliefitter) for
558
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
559
+ this package is based on top of his work
560
+ - [black](https://github.com/psf/black) developers for an awesome formatting
561
+ tool
562
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
563
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
564
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
565
+ for us
566
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
567
+ Python
568
+
569
+ <a id="documentation"></a>
570
+
571
+ ## Documentation
572
+
573
+ All services type annotations can be found in
574
+ [boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/)
575
+
576
+ <a id="support-and-contributing"></a>
577
+
578
+ ## Support and contributing
579
+
580
+ This package is auto-generated. Please reports any bugs or request new features
581
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
582
+ repository.