types-boto3-redshift 1.35.74__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 (26) hide show
  1. types_boto3_redshift-1.35.74/LICENSE +21 -0
  2. types_boto3_redshift-1.35.74/PKG-INFO +623 -0
  3. types_boto3_redshift-1.35.74/README.md +589 -0
  4. types_boto3_redshift-1.35.74/setup.cfg +4 -0
  5. types_boto3_redshift-1.35.74/setup.py +56 -0
  6. types_boto3_redshift-1.35.74/types_boto3_redshift/__init__.py +198 -0
  7. types_boto3_redshift-1.35.74/types_boto3_redshift/__init__.pyi +197 -0
  8. types_boto3_redshift-1.35.74/types_boto3_redshift/__main__.py +42 -0
  9. types_boto3_redshift-1.35.74/types_boto3_redshift/client.py +2396 -0
  10. types_boto3_redshift-1.35.74/types_boto3_redshift/client.pyi +2392 -0
  11. types_boto3_redshift-1.35.74/types_boto3_redshift/literals.py +697 -0
  12. types_boto3_redshift-1.35.74/types_boto3_redshift/literals.pyi +695 -0
  13. types_boto3_redshift-1.35.74/types_boto3_redshift/paginator.py +856 -0
  14. types_boto3_redshift-1.35.74/types_boto3_redshift/paginator.pyi +779 -0
  15. types_boto3_redshift-1.35.74/types_boto3_redshift/py.typed +0 -0
  16. types_boto3_redshift-1.35.74/types_boto3_redshift/type_defs.py +3235 -0
  17. types_boto3_redshift-1.35.74/types_boto3_redshift/type_defs.pyi +2847 -0
  18. types_boto3_redshift-1.35.74/types_boto3_redshift/version.py +7 -0
  19. types_boto3_redshift-1.35.74/types_boto3_redshift/waiter.py +107 -0
  20. types_boto3_redshift-1.35.74/types_boto3_redshift/waiter.pyi +98 -0
  21. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/PKG-INFO +623 -0
  22. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/SOURCES.txt +24 -0
  23. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/dependency_links.txt +1 -0
  24. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/not-zip-safe +1 -0
  25. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/requires.txt +3 -0
  26. types_boto3_redshift-1.35.74/types_boto3_redshift.egg-info/top_level.txt +1 -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,623 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-redshift
3
+ Version: 1.35.74
4
+ Summary: Type annotations for boto3 Redshift 1.35.74 service generated with mypy-boto3-builder 8.5.0
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/types_boto3_docs/types_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 boto3-stubs type-annotations 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.14
27
+ Classifier: Programming Language :: Python :: 3 :: Only
28
+ Classifier: Programming Language :: Python :: Implementation :: CPython
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
+ Description-Content-Type: text/markdown
32
+ License-File: LICENSE
33
+ Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
34
+
35
+ <a id="types-boto3-redshift"></a>
36
+
37
+ # types-boto3-redshift
38
+
39
+ [![PyPI - types-boto3-redshift](https://img.shields.io/pypi/v/types-boto3-redshift.svg?color=blue)](https://pypi.org/project/types-boto3-redshift/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-redshift.svg?color=blue)](https://pypi.org/project/types-boto3-redshift/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-redshift)](https://pypistats.org/packages/types-boto3-redshift)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for [boto3 Redshift 1.35.74](https://pypi.org/project/boto3/)
47
+ 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.5.0](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
59
+ [types-boto3-redshift docs](https://youtype.github.io/types_boto3_docs/types_boto3_redshift/).
60
+
61
+ See how it helps you find and fix potential bugs:
62
+
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
64
+
65
+ - [types-boto3-redshift](#types-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
+ - [Pylint compatibility](#pylint-compatibility)
79
+ - [Explicit type annotations](#explicit-type-annotations)
80
+ - [Client annotations](#client-annotations)
81
+ - [Paginators annotations](#paginators-annotations)
82
+ - [Waiters annotations](#waiters-annotations)
83
+ - [Literals](#literals)
84
+ - [Type definitions](#type-definitions)
85
+ - [How it works](#how-it-works)
86
+ - [What's new](#what's-new)
87
+ - [Implemented features](#implemented-features)
88
+ - [Latest changes](#latest-changes)
89
+ - [Versioning](#versioning)
90
+ - [Thank you](#thank-you)
91
+ - [Documentation](#documentation)
92
+ - [Support and contributing](#support-and-contributing)
93
+
94
+ <a id="how-to-install"></a>
95
+
96
+ ## How to install
97
+
98
+ <a id="vscode-extension"></a>
99
+
100
+ ### VSCode extension
101
+
102
+ Add
103
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
104
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
105
+
106
+ Click `Modify` and select `boto3 common` and `Redshift`.
107
+
108
+ <a id="from-pypi-with-pip"></a>
109
+
110
+ ### From PyPI with pip
111
+
112
+ Install `types-boto3` for `Redshift` service.
113
+
114
+ ```bash
115
+ # install with boto3 type annotations
116
+ python -m pip install 'types-boto3[redshift]'
117
+
118
+
119
+ # Lite version does not provide session.client/resource overloads
120
+ # it is more RAM-friendly, but requires explicit type annotations
121
+ python -m pip install 'types-boto3-lite[redshift]'
122
+
123
+
124
+ # standalone installation
125
+ python -m pip install types-boto3-redshift
126
+ ```
127
+
128
+ <a id="how-to-uninstall"></a>
129
+
130
+ ## How to uninstall
131
+
132
+ ```bash
133
+ python -m pip uninstall -y types-boto3-redshift
134
+ ```
135
+
136
+ <a id="usage"></a>
137
+
138
+ ## Usage
139
+
140
+ <a id="vscode"></a>
141
+
142
+ ### VSCode
143
+
144
+ - Install
145
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
146
+ - Install
147
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
148
+ - Set `Pylance` as your Python Language Server
149
+ - Install `types-boto3[redshift]` in your environment:
150
+
151
+ ```bash
152
+ python -m pip install 'types-boto3[redshift]'
153
+ ```
154
+
155
+ Both type checking and code completion should now work. No explicit type
156
+ annotations required, write your `boto3` code as usual.
157
+
158
+ <a id="pycharm"></a>
159
+
160
+ ### PyCharm
161
+
162
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
163
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
164
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
165
+ > the issue is resolved.
166
+
167
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
168
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
169
+ > [pyright](https://github.com/microsoft/pyright) instead.
170
+
171
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
172
+ > `types-boto3` with
173
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
174
+
175
+ ```bash
176
+ pip uninstall types-boto3
177
+ pip install types-boto3-lite
178
+ ```
179
+
180
+ Install `types-boto3[redshift]` in your environment:
181
+
182
+ ```bash
183
+ python -m pip install 'types-boto3[redshift]'
184
+ ```
185
+
186
+ Both type checking and code completion should now work.
187
+
188
+ <a id="emacs"></a>
189
+
190
+ ### Emacs
191
+
192
+ - Install `types-boto3` with services you use in your environment:
193
+
194
+ ```bash
195
+ python -m pip install 'types-boto3[redshift]'
196
+ ```
197
+
198
+ - Install [use-package](https://github.com/jwiegley/use-package),
199
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
200
+ [company](https://github.com/company-mode/company-mode) and
201
+ [flycheck](https://github.com/flycheck/flycheck) packages
202
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
203
+
204
+ ```elisp
205
+ (use-package lsp-pyright
206
+ :ensure t
207
+ :hook (python-mode . (lambda ()
208
+ (require 'lsp-pyright)
209
+ (lsp))) ; or lsp-deferred
210
+ :init (when (executable-find "python3")
211
+ (setq lsp-pyright-python-executable-cmd "python3"))
212
+ )
213
+ ```
214
+
215
+ - Make sure emacs uses the environment where you have installed `types-boto3`
216
+
217
+ Type checking should now work. No explicit type annotations required, write
218
+ your `boto3` code as usual.
219
+
220
+ <a id="sublime-text"></a>
221
+
222
+ ### Sublime Text
223
+
224
+ - Install `types-boto3[redshift]` with services you use in your environment:
225
+
226
+ ```bash
227
+ python -m pip install 'types-boto3[redshift]'
228
+ ```
229
+
230
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
231
+
232
+ Type checking should now work. No explicit type annotations required, write
233
+ your `boto3` code as usual.
234
+
235
+ <a id="other-ides"></a>
236
+
237
+ ### Other IDEs
238
+
239
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
240
+ should work.
241
+
242
+ <a id="mypy"></a>
243
+
244
+ ### mypy
245
+
246
+ - Install `mypy`: `python -m pip install mypy`
247
+ - Install `types-boto3[redshift]` in your environment:
248
+
249
+ ```bash
250
+ python -m pip install 'types-boto3[redshift]'
251
+ ```
252
+
253
+ Type checking should now work. No explicit type annotations required, write
254
+ your `boto3` code as usual.
255
+
256
+ <a id="pyright"></a>
257
+
258
+ ### pyright
259
+
260
+ - Install `pyright`: `npm i -g pyright`
261
+ - Install `types-boto3[redshift]` in your environment:
262
+
263
+ ```bash
264
+ python -m pip install 'types-boto3[redshift]'
265
+ ```
266
+
267
+ Optionally, you can install `types-boto3` to `typings` directory.
268
+
269
+ Type checking should now work. No explicit type annotations required, write
270
+ your `boto3` code as usual.
271
+
272
+ <a id="pylint-compatibility"></a>
273
+
274
+ ### Pylint compatibility
275
+
276
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
277
+ `types-boto3-redshift` dependency in production. However, there is an issue in
278
+ `pylint` that it complains about undefined variables. To fix it, set all types
279
+ to `object` in non-`TYPE_CHECKING` mode.
280
+
281
+ ```python
282
+ from typing import TYPE_CHECKING
283
+
284
+ if TYPE_CHECKING:
285
+ from types_boto3_ec2 import EC2Client, EC2ServiceResource
286
+ from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
287
+ from types_boto3_ec2.paginators import DescribeVolumesPaginator
288
+ else:
289
+ EC2Client = object
290
+ EC2ServiceResource = object
291
+ BundleTaskCompleteWaiter = object
292
+ DescribeVolumesPaginator = object
293
+
294
+ ...
295
+ ```
296
+
297
+ <a id="explicit-type-annotations"></a>
298
+
299
+ ## Explicit type annotations
300
+
301
+ <a id="client-annotations"></a>
302
+
303
+ ### Client annotations
304
+
305
+ `RedshiftClient` provides annotations for `boto3.client("redshift")`.
306
+
307
+ ```python
308
+ from boto3.session import Session
309
+
310
+ from types_boto3_redshift import RedshiftClient
311
+
312
+ client: RedshiftClient = Session().client("redshift")
313
+
314
+ # now client usage is checked by mypy and IDE should provide code completion
315
+ ```
316
+
317
+ <a id="paginators-annotations"></a>
318
+
319
+ ### Paginators annotations
320
+
321
+ `types_boto3_redshift.paginator` module contains type annotations for all
322
+ paginators.
323
+
324
+ ```python
325
+ from boto3.session import Session
326
+
327
+ from types_boto3_redshift import RedshiftClient
328
+ from types_boto3_redshift.paginator import (
329
+ DescribeClusterDbRevisionsPaginator,
330
+ DescribeClusterParameterGroupsPaginator,
331
+ DescribeClusterParametersPaginator,
332
+ DescribeClusterSecurityGroupsPaginator,
333
+ DescribeClusterSnapshotsPaginator,
334
+ DescribeClusterSubnetGroupsPaginator,
335
+ DescribeClusterTracksPaginator,
336
+ DescribeClusterVersionsPaginator,
337
+ DescribeClustersPaginator,
338
+ DescribeCustomDomainAssociationsPaginator,
339
+ DescribeDataSharesForConsumerPaginator,
340
+ DescribeDataSharesForProducerPaginator,
341
+ DescribeDataSharesPaginator,
342
+ DescribeDefaultClusterParametersPaginator,
343
+ DescribeEndpointAccessPaginator,
344
+ DescribeEndpointAuthorizationPaginator,
345
+ DescribeEventSubscriptionsPaginator,
346
+ DescribeEventsPaginator,
347
+ DescribeHsmClientCertificatesPaginator,
348
+ DescribeHsmConfigurationsPaginator,
349
+ DescribeInboundIntegrationsPaginator,
350
+ DescribeIntegrationsPaginator,
351
+ DescribeNodeConfigurationOptionsPaginator,
352
+ DescribeOrderableClusterOptionsPaginator,
353
+ DescribeRedshiftIdcApplicationsPaginator,
354
+ DescribeReservedNodeExchangeStatusPaginator,
355
+ DescribeReservedNodeOfferingsPaginator,
356
+ DescribeReservedNodesPaginator,
357
+ DescribeScheduledActionsPaginator,
358
+ DescribeSnapshotCopyGrantsPaginator,
359
+ DescribeSnapshotSchedulesPaginator,
360
+ DescribeTableRestoreStatusPaginator,
361
+ DescribeTagsPaginator,
362
+ DescribeUsageLimitsPaginator,
363
+ GetReservedNodeExchangeConfigurationOptionsPaginator,
364
+ GetReservedNodeExchangeOfferingsPaginator,
365
+ ListRecommendationsPaginator,
366
+ )
367
+
368
+ client: RedshiftClient = Session().client("redshift")
369
+
370
+ # Explicit type annotations are optional here
371
+ # Types should be correctly discovered by mypy and IDEs
372
+ describe_cluster_db_revisions_paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator(
373
+ "describe_cluster_db_revisions"
374
+ )
375
+ describe_cluster_parameter_groups_paginator: DescribeClusterParameterGroupsPaginator = (
376
+ client.get_paginator("describe_cluster_parameter_groups")
377
+ )
378
+ describe_cluster_parameters_paginator: DescribeClusterParametersPaginator = client.get_paginator(
379
+ "describe_cluster_parameters"
380
+ )
381
+ describe_cluster_security_groups_paginator: DescribeClusterSecurityGroupsPaginator = (
382
+ client.get_paginator("describe_cluster_security_groups")
383
+ )
384
+ describe_cluster_snapshots_paginator: DescribeClusterSnapshotsPaginator = client.get_paginator(
385
+ "describe_cluster_snapshots"
386
+ )
387
+ describe_cluster_subnet_groups_paginator: DescribeClusterSubnetGroupsPaginator = (
388
+ client.get_paginator("describe_cluster_subnet_groups")
389
+ )
390
+ describe_cluster_tracks_paginator: DescribeClusterTracksPaginator = client.get_paginator(
391
+ "describe_cluster_tracks"
392
+ )
393
+ describe_cluster_versions_paginator: DescribeClusterVersionsPaginator = client.get_paginator(
394
+ "describe_cluster_versions"
395
+ )
396
+ describe_clusters_paginator: DescribeClustersPaginator = client.get_paginator("describe_clusters")
397
+ describe_custom_domain_associations_paginator: DescribeCustomDomainAssociationsPaginator = (
398
+ client.get_paginator("describe_custom_domain_associations")
399
+ )
400
+ describe_data_shares_for_consumer_paginator: DescribeDataSharesForConsumerPaginator = (
401
+ client.get_paginator("describe_data_shares_for_consumer")
402
+ )
403
+ describe_data_shares_for_producer_paginator: DescribeDataSharesForProducerPaginator = (
404
+ client.get_paginator("describe_data_shares_for_producer")
405
+ )
406
+ describe_data_shares_paginator: DescribeDataSharesPaginator = client.get_paginator(
407
+ "describe_data_shares"
408
+ )
409
+ describe_default_cluster_parameters_paginator: DescribeDefaultClusterParametersPaginator = (
410
+ client.get_paginator("describe_default_cluster_parameters")
411
+ )
412
+ describe_endpoint_access_paginator: DescribeEndpointAccessPaginator = client.get_paginator(
413
+ "describe_endpoint_access"
414
+ )
415
+ describe_endpoint_authorization_paginator: DescribeEndpointAuthorizationPaginator = (
416
+ client.get_paginator("describe_endpoint_authorization")
417
+ )
418
+ describe_event_subscriptions_paginator: DescribeEventSubscriptionsPaginator = client.get_paginator(
419
+ "describe_event_subscriptions"
420
+ )
421
+ describe_events_paginator: DescribeEventsPaginator = client.get_paginator("describe_events")
422
+ describe_hsm_client_certificates_paginator: DescribeHsmClientCertificatesPaginator = (
423
+ client.get_paginator("describe_hsm_client_certificates")
424
+ )
425
+ describe_hsm_configurations_paginator: DescribeHsmConfigurationsPaginator = client.get_paginator(
426
+ "describe_hsm_configurations"
427
+ )
428
+ describe_inbound_integrations_paginator: DescribeInboundIntegrationsPaginator = (
429
+ client.get_paginator("describe_inbound_integrations")
430
+ )
431
+ describe_integrations_paginator: DescribeIntegrationsPaginator = client.get_paginator(
432
+ "describe_integrations"
433
+ )
434
+ describe_node_configuration_options_paginator: DescribeNodeConfigurationOptionsPaginator = (
435
+ client.get_paginator("describe_node_configuration_options")
436
+ )
437
+ describe_orderable_cluster_options_paginator: DescribeOrderableClusterOptionsPaginator = (
438
+ client.get_paginator("describe_orderable_cluster_options")
439
+ )
440
+ describe_redshift_idc_applications_paginator: DescribeRedshiftIdcApplicationsPaginator = (
441
+ client.get_paginator("describe_redshift_idc_applications")
442
+ )
443
+ describe_reserved_node_exchange_status_paginator: DescribeReservedNodeExchangeStatusPaginator = (
444
+ client.get_paginator("describe_reserved_node_exchange_status")
445
+ )
446
+ describe_reserved_node_offerings_paginator: DescribeReservedNodeOfferingsPaginator = (
447
+ client.get_paginator("describe_reserved_node_offerings")
448
+ )
449
+ describe_reserved_nodes_paginator: DescribeReservedNodesPaginator = client.get_paginator(
450
+ "describe_reserved_nodes"
451
+ )
452
+ describe_scheduled_actions_paginator: DescribeScheduledActionsPaginator = client.get_paginator(
453
+ "describe_scheduled_actions"
454
+ )
455
+ describe_snapshot_copy_grants_paginator: DescribeSnapshotCopyGrantsPaginator = client.get_paginator(
456
+ "describe_snapshot_copy_grants"
457
+ )
458
+ describe_snapshot_schedules_paginator: DescribeSnapshotSchedulesPaginator = client.get_paginator(
459
+ "describe_snapshot_schedules"
460
+ )
461
+ describe_table_restore_status_paginator: DescribeTableRestoreStatusPaginator = client.get_paginator(
462
+ "describe_table_restore_status"
463
+ )
464
+ describe_tags_paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")
465
+ describe_usage_limits_paginator: DescribeUsageLimitsPaginator = client.get_paginator(
466
+ "describe_usage_limits"
467
+ )
468
+ get_reserved_node_exchange_configuration_options_paginator: GetReservedNodeExchangeConfigurationOptionsPaginator = client.get_paginator(
469
+ "get_reserved_node_exchange_configuration_options"
470
+ )
471
+ get_reserved_node_exchange_offerings_paginator: GetReservedNodeExchangeOfferingsPaginator = (
472
+ client.get_paginator("get_reserved_node_exchange_offerings")
473
+ )
474
+ list_recommendations_paginator: ListRecommendationsPaginator = client.get_paginator(
475
+ "list_recommendations"
476
+ )
477
+ ```
478
+
479
+ <a id="waiters-annotations"></a>
480
+
481
+ ### Waiters annotations
482
+
483
+ `types_boto3_redshift.waiter` module contains type annotations for all waiters.
484
+
485
+ ```python
486
+ from boto3.session import Session
487
+
488
+ from types_boto3_redshift import RedshiftClient
489
+ from types_boto3_redshift.waiter import (
490
+ ClusterAvailableWaiter,
491
+ ClusterDeletedWaiter,
492
+ ClusterRestoredWaiter,
493
+ SnapshotAvailableWaiter,
494
+ )
495
+
496
+ client: RedshiftClient = Session().client("redshift")
497
+
498
+ # Explicit type annotations are optional here
499
+ # Types should be correctly discovered by mypy and IDEs
500
+ cluster_available_waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available")
501
+ cluster_deleted_waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted")
502
+ cluster_restored_waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored")
503
+ snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
504
+ ```
505
+
506
+ <a id="literals"></a>
507
+
508
+ ### Literals
509
+
510
+ `types_boto3_redshift.literals` module contains literals extracted from shapes
511
+ that can be used in user code for type checking.
512
+
513
+ Full list of `Redshift` Literals can be found in
514
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_redshift/literals/).
515
+
516
+ ```python
517
+ from types_boto3_redshift.literals import ActionTypeType
518
+
519
+
520
+ def check_value(value: ActionTypeType) -> bool: ...
521
+ ```
522
+
523
+ <a id="type-definitions"></a>
524
+
525
+ ### Type definitions
526
+
527
+ `types_boto3_redshift.type_defs` module contains structures and shapes
528
+ assembled to typed dictionaries and unions for additional type checking.
529
+
530
+ Full list of `Redshift` TypeDefs can be found in
531
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_redshift/type_defs/).
532
+
533
+ ```python
534
+ from types_boto3_redshift.type_defs import AcceptReservedNodeExchangeInputMessageRequestTypeDef
535
+
536
+
537
+ def get_value() -> AcceptReservedNodeExchangeInputMessageRequestTypeDef:
538
+ return {...}
539
+ ```
540
+
541
+ <a id="how-it-works"></a>
542
+
543
+ ## How it works
544
+
545
+ Fully automated
546
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
547
+ generates type annotations for each service, patiently waiting for `boto3`
548
+ updates. It delivers drop-in type annotations for you and makes sure that:
549
+
550
+ - All available `boto3` services are covered.
551
+ - Each public class and method of every `boto3` service gets valid type
552
+ annotations extracted from `botocore` schemas.
553
+ - Type annotations include up-to-date documentation.
554
+ - Link to documentation is provided for every method.
555
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
556
+
557
+ <a id="what's-new"></a>
558
+
559
+ ## What's new
560
+
561
+ <a id="implemented-features"></a>
562
+
563
+ ### Implemented features
564
+
565
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
566
+ libraries
567
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
568
+ compatibility
569
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
570
+ annotations for each service
571
+ - Generated `TypeDefs` for each service
572
+ - Generated `Literals` for each service
573
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
574
+ - Auto discovery of types for `session.client` and `session.resource` calls
575
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
576
+ calls
577
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
578
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
579
+
580
+ <a id="latest-changes"></a>
581
+
582
+ ### Latest changes
583
+
584
+ Builder changelog can be found in
585
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
586
+
587
+ <a id="versioning"></a>
588
+
589
+ ## Versioning
590
+
591
+ `types-boto3-redshift` version is the same as related `boto3` version and
592
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
593
+
594
+ <a id="thank-you"></a>
595
+
596
+ ## Thank you
597
+
598
+ - [Allie Fitter](https://github.com/alliefitter) for
599
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
600
+ this package is based on top of his work
601
+ - [black](https://github.com/psf/black) developers for an awesome formatting
602
+ tool
603
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
604
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
605
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
606
+ for us
607
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
608
+ Python
609
+
610
+ <a id="documentation"></a>
611
+
612
+ ## Documentation
613
+
614
+ All services type annotations can be found in
615
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_redshift/)
616
+
617
+ <a id="support-and-contributing"></a>
618
+
619
+ ## Support and contributing
620
+
621
+ This package is auto-generated. Please reports any bugs or request new features
622
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
623
+ repository.