mypy-boto3-redshift 1.26.79__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.

Potentially problematic release.


This version of mypy-boto3-redshift might be problematic. Click here for more details.

@@ -1,4 +1,4 @@
1
1
  """
2
2
  Source of truth for version.
3
3
  """
4
- __version__ = "1.26.79"
4
+ __version__ = "1.28.36"
@@ -25,12 +25,11 @@ Usage::
25
25
  snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
26
26
  ```
27
27
  """
28
- from datetime import datetime
29
- from typing import Sequence, Union
28
+ from typing import Sequence
30
29
 
31
30
  from botocore.waiter import Waiter
32
31
 
33
- from .type_defs import SnapshotSortingEntityTypeDef, WaiterConfigTypeDef
32
+ from .type_defs import SnapshotSortingEntityTypeDef, TimestampTypeDef, WaiterConfigTypeDef
34
33
 
35
34
  __all__ = (
36
35
  "ClusterAvailableWaiter",
@@ -119,8 +118,8 @@ class SnapshotAvailableWaiter(Waiter):
119
118
  SnapshotIdentifier: str = ...,
120
119
  SnapshotArn: str = ...,
121
120
  SnapshotType: str = ...,
122
- StartTime: Union[datetime, str] = ...,
123
- EndTime: Union[datetime, str] = ...,
121
+ StartTime: TimestampTypeDef = ...,
122
+ EndTime: TimestampTypeDef = ...,
124
123
  MaxRecords: int = ...,
125
124
  Marker: str = ...,
126
125
  OwnerAccount: str = ...,
@@ -25,12 +25,11 @@ Usage::
25
25
  snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
26
26
  ```
27
27
  """
28
- from datetime import datetime
29
- from typing import Sequence, Union
28
+ from typing import Sequence
30
29
 
31
30
  from botocore.waiter import Waiter
32
31
 
33
- from .type_defs import SnapshotSortingEntityTypeDef, WaiterConfigTypeDef
32
+ from .type_defs import SnapshotSortingEntityTypeDef, TimestampTypeDef, WaiterConfigTypeDef
34
33
 
35
34
  __all__ = (
36
35
  "ClusterAvailableWaiter",
@@ -115,8 +114,8 @@ class SnapshotAvailableWaiter(Waiter):
115
114
  SnapshotIdentifier: str = ...,
116
115
  SnapshotArn: str = ...,
117
116
  SnapshotType: str = ...,
118
- StartTime: Union[datetime, str] = ...,
119
- EndTime: Union[datetime, str] = ...,
117
+ StartTime: TimestampTypeDef = ...,
118
+ EndTime: TimestampTypeDef = ...,
120
119
  MaxRecords: int = ...,
121
120
  Marker: str = ...,
122
121
  OwnerAccount: str = ...,
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2022 Vlad Emelianov
3
+ Copyright (c) 2023 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -0,0 +1,568 @@
1
+ Metadata-Version: 2.1
2
+ Name: mypy-boto3-redshift
3
+ Version: 1.28.36
4
+ Summary: Type annotations for boto3.Redshift 1.28.36 service generated with mypy-boto3-builder 7.18.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/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.7
21
+ Classifier: Programming Language :: Python :: 3.8
22
+ Classifier: Programming Language :: Python :: 3.9
23
+ Classifier: Programming Language :: Python :: 3.10
24
+ Classifier: Programming Language :: Python :: 3.11
25
+ Classifier: Programming Language :: Python :: 3.12
26
+ Classifier: Programming Language :: Python :: 3 :: Only
27
+ Classifier: Programming Language :: Python :: Implementation :: CPython
28
+ Classifier: Typing :: Typed
29
+ Requires-Python: >=3.7
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.28.36](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 7.18.0](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` folder.
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
+ DescribeNodeConfigurationOptionsPaginator,
309
+ DescribeOrderableClusterOptionsPaginator,
310
+ DescribeReservedNodeExchangeStatusPaginator,
311
+ DescribeReservedNodeOfferingsPaginator,
312
+ DescribeReservedNodesPaginator,
313
+ DescribeScheduledActionsPaginator,
314
+ DescribeSnapshotCopyGrantsPaginator,
315
+ DescribeSnapshotSchedulesPaginator,
316
+ DescribeTableRestoreStatusPaginator,
317
+ DescribeTagsPaginator,
318
+ DescribeUsageLimitsPaginator,
319
+ GetReservedNodeExchangeConfigurationOptionsPaginator,
320
+ GetReservedNodeExchangeOfferingsPaginator,
321
+ )
322
+
323
+ client: RedshiftClient = Session().client("redshift")
324
+
325
+ # Explicit type annotations are optional here
326
+ # Types should be correctly discovered by mypy and IDEs
327
+ describe_cluster_db_revisions_paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator(
328
+ "describe_cluster_db_revisions"
329
+ )
330
+ describe_cluster_parameter_groups_paginator: DescribeClusterParameterGroupsPaginator = (
331
+ client.get_paginator("describe_cluster_parameter_groups")
332
+ )
333
+ describe_cluster_parameters_paginator: DescribeClusterParametersPaginator = client.get_paginator(
334
+ "describe_cluster_parameters"
335
+ )
336
+ describe_cluster_security_groups_paginator: DescribeClusterSecurityGroupsPaginator = (
337
+ client.get_paginator("describe_cluster_security_groups")
338
+ )
339
+ describe_cluster_snapshots_paginator: DescribeClusterSnapshotsPaginator = client.get_paginator(
340
+ "describe_cluster_snapshots"
341
+ )
342
+ describe_cluster_subnet_groups_paginator: DescribeClusterSubnetGroupsPaginator = (
343
+ client.get_paginator("describe_cluster_subnet_groups")
344
+ )
345
+ describe_cluster_tracks_paginator: DescribeClusterTracksPaginator = client.get_paginator(
346
+ "describe_cluster_tracks"
347
+ )
348
+ describe_cluster_versions_paginator: DescribeClusterVersionsPaginator = client.get_paginator(
349
+ "describe_cluster_versions"
350
+ )
351
+ describe_clusters_paginator: DescribeClustersPaginator = client.get_paginator("describe_clusters")
352
+ describe_custom_domain_associations_paginator: DescribeCustomDomainAssociationsPaginator = (
353
+ client.get_paginator("describe_custom_domain_associations")
354
+ )
355
+ describe_data_shares_paginator: DescribeDataSharesPaginator = client.get_paginator(
356
+ "describe_data_shares"
357
+ )
358
+ describe_data_shares_for_consumer_paginator: DescribeDataSharesForConsumerPaginator = (
359
+ client.get_paginator("describe_data_shares_for_consumer")
360
+ )
361
+ describe_data_shares_for_producer_paginator: DescribeDataSharesForProducerPaginator = (
362
+ client.get_paginator("describe_data_shares_for_producer")
363
+ )
364
+ describe_default_cluster_parameters_paginator: DescribeDefaultClusterParametersPaginator = (
365
+ client.get_paginator("describe_default_cluster_parameters")
366
+ )
367
+ describe_endpoint_access_paginator: DescribeEndpointAccessPaginator = client.get_paginator(
368
+ "describe_endpoint_access"
369
+ )
370
+ describe_endpoint_authorization_paginator: DescribeEndpointAuthorizationPaginator = (
371
+ client.get_paginator("describe_endpoint_authorization")
372
+ )
373
+ describe_event_subscriptions_paginator: DescribeEventSubscriptionsPaginator = client.get_paginator(
374
+ "describe_event_subscriptions"
375
+ )
376
+ describe_events_paginator: DescribeEventsPaginator = client.get_paginator("describe_events")
377
+ describe_hsm_client_certificates_paginator: DescribeHsmClientCertificatesPaginator = (
378
+ client.get_paginator("describe_hsm_client_certificates")
379
+ )
380
+ describe_hsm_configurations_paginator: DescribeHsmConfigurationsPaginator = client.get_paginator(
381
+ "describe_hsm_configurations"
382
+ )
383
+ describe_node_configuration_options_paginator: DescribeNodeConfigurationOptionsPaginator = (
384
+ client.get_paginator("describe_node_configuration_options")
385
+ )
386
+ describe_orderable_cluster_options_paginator: DescribeOrderableClusterOptionsPaginator = (
387
+ client.get_paginator("describe_orderable_cluster_options")
388
+ )
389
+ describe_reserved_node_exchange_status_paginator: DescribeReservedNodeExchangeStatusPaginator = (
390
+ client.get_paginator("describe_reserved_node_exchange_status")
391
+ )
392
+ describe_reserved_node_offerings_paginator: DescribeReservedNodeOfferingsPaginator = (
393
+ client.get_paginator("describe_reserved_node_offerings")
394
+ )
395
+ describe_reserved_nodes_paginator: DescribeReservedNodesPaginator = client.get_paginator(
396
+ "describe_reserved_nodes"
397
+ )
398
+ describe_scheduled_actions_paginator: DescribeScheduledActionsPaginator = client.get_paginator(
399
+ "describe_scheduled_actions"
400
+ )
401
+ describe_snapshot_copy_grants_paginator: DescribeSnapshotCopyGrantsPaginator = client.get_paginator(
402
+ "describe_snapshot_copy_grants"
403
+ )
404
+ describe_snapshot_schedules_paginator: DescribeSnapshotSchedulesPaginator = client.get_paginator(
405
+ "describe_snapshot_schedules"
406
+ )
407
+ describe_table_restore_status_paginator: DescribeTableRestoreStatusPaginator = client.get_paginator(
408
+ "describe_table_restore_status"
409
+ )
410
+ describe_tags_paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")
411
+ describe_usage_limits_paginator: DescribeUsageLimitsPaginator = client.get_paginator(
412
+ "describe_usage_limits"
413
+ )
414
+ get_reserved_node_exchange_configuration_options_paginator: GetReservedNodeExchangeConfigurationOptionsPaginator = client.get_paginator(
415
+ "get_reserved_node_exchange_configuration_options"
416
+ )
417
+ get_reserved_node_exchange_offerings_paginator: GetReservedNodeExchangeOfferingsPaginator = (
418
+ client.get_paginator("get_reserved_node_exchange_offerings")
419
+ )
420
+ ```
421
+
422
+ <a id="waiters-annotations"></a>
423
+
424
+ ### Waiters annotations
425
+
426
+ `mypy_boto3_redshift.waiter` module contains type annotations for all waiters.
427
+
428
+ ```python
429
+ from boto3.session import Session
430
+
431
+ from mypy_boto3_redshift import RedshiftClient
432
+ from mypy_boto3_redshift.waiter import (
433
+ ClusterAvailableWaiter,
434
+ ClusterDeletedWaiter,
435
+ ClusterRestoredWaiter,
436
+ SnapshotAvailableWaiter,
437
+ )
438
+
439
+ client: RedshiftClient = Session().client("redshift")
440
+
441
+ # Explicit type annotations are optional here
442
+ # Types should be correctly discovered by mypy and IDEs
443
+ cluster_available_waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available")
444
+ cluster_deleted_waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted")
445
+ cluster_restored_waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored")
446
+ snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
447
+ ```
448
+
449
+ <a id="literals"></a>
450
+
451
+ ### Literals
452
+
453
+ `mypy_boto3_redshift.literals` module contains literals extracted from shapes
454
+ that can be used in user code for type checking.
455
+
456
+ Full list of `Redshift` Literals can be found in
457
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/literals/).
458
+
459
+ ```python
460
+ from mypy_boto3_redshift.literals import ActionTypeType
461
+
462
+
463
+ def check_value(value: ActionTypeType) -> bool:
464
+ ...
465
+ ```
466
+
467
+ <a id="type-definitions"></a>
468
+
469
+ ### Type definitions
470
+
471
+ `mypy_boto3_redshift.type_defs` module contains structures and shapes assembled
472
+ to typed dictionaries and unions for additional type checking.
473
+
474
+ Full list of `Redshift` TypeDefs can be found in
475
+ [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/type_defs/).
476
+
477
+ ```python
478
+ from mypy_boto3_redshift.type_defs import AcceptReservedNodeExchangeInputMessageRequestTypeDef
479
+
480
+
481
+ def get_value() -> AcceptReservedNodeExchangeInputMessageRequestTypeDef:
482
+ return {...}
483
+ ```
484
+
485
+ <a id="how-it-works"></a>
486
+
487
+ ## How it works
488
+
489
+ Fully automated
490
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
491
+ generates type annotations for each service, patiently waiting for `boto3`
492
+ updates. It delivers drop-in type annotations for you and makes sure that:
493
+
494
+ - All available `boto3` services are covered.
495
+ - Each public class and method of every `boto3` service gets valid type
496
+ annotations extracted from `botocore` schemas.
497
+ - Type annotations include up-to-date documentation.
498
+ - Link to documentation is provided for every method.
499
+ - Code is processed by [black](https://github.com/psf/black) and
500
+ [isort](https://github.com/PyCQA/isort) for readability.
501
+
502
+ <a id="what's-new"></a>
503
+
504
+ ## What's new
505
+
506
+ <a id="implemented-features"></a>
507
+
508
+ ### Implemented features
509
+
510
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
511
+ libraries
512
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
513
+ compatibility
514
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
515
+ annotations for each service
516
+ - Generated `TypeDefs` for each service
517
+ - Generated `Literals` for each service
518
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
519
+ - Auto discovery of types for `session.client` and `session.resource` calls
520
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
521
+ calls
522
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
523
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
524
+
525
+ <a id="latest-changes"></a>
526
+
527
+ ### Latest changes
528
+
529
+ Builder changelog can be found in
530
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
531
+
532
+ <a id="versioning"></a>
533
+
534
+ ## Versioning
535
+
536
+ `mypy-boto3-redshift` version is the same as related `boto3` version and
537
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
538
+
539
+ <a id="thank-you"></a>
540
+
541
+ ## Thank you
542
+
543
+ - [Allie Fitter](https://github.com/alliefitter) for
544
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
545
+ this package is based on top of his work
546
+ - [black](https://github.com/psf/black) developers for an awesome formatting
547
+ tool
548
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
549
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
550
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
551
+ for us
552
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
553
+ Python
554
+
555
+ <a id="documentation"></a>
556
+
557
+ ## Documentation
558
+
559
+ All services type annotations can be found in
560
+ [boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/)
561
+
562
+ <a id="support-and-contributing"></a>
563
+
564
+ ## Support and contributing
565
+
566
+ This package is auto-generated. Please reports any bugs or request new features
567
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
568
+ repository.
@@ -0,0 +1,20 @@
1
+ mypy_boto3_redshift/__init__.py,sha256=Fh7ZD7ixYBIJTPo8_71gv0mXpLFf7br3WdWPstx5gmI,9933
2
+ mypy_boto3_redshift/__init__.pyi,sha256=GJulkpDMvS_L1RFwF6Lv1TUUSYIAQrgyN95T77tvgcQ,9932
3
+ mypy_boto3_redshift/__main__.py,sha256=gTgV_ETbYksYx5pm-IFk0cW09CtEkszBytdQEAcAGug,911
4
+ mypy_boto3_redshift/client.py,sha256=wsXm9H_66uFZHyhPFCGZz2fFBH9437fPeAcalkCquZo,115164
5
+ mypy_boto3_redshift/client.pyi,sha256=X8wBiSJys6WypLExmTonp_pLuPrBmbaPloj2h-6Bgw4,114997
6
+ mypy_boto3_redshift/literals.py,sha256=NU8v9iecBTtu-_u45ReAx4SE-lxlt8mHM6uvNSGjNLk,17372
7
+ mypy_boto3_redshift/literals.pyi,sha256=6VXc75gYjQOjeCyjQW72TsuGrS3Rt3f37bmjzmCxI5A,17370
8
+ mypy_boto3_redshift/paginator.py,sha256=ZiEjdopZI-0Z_np8d7FiHxBGFEswGpekbV6zXQyAv2U,43511
9
+ mypy_boto3_redshift/paginator.pyi,sha256=tlmpZWNedYAQYA5ZxPYx6lqHA0ag9AK7rGQX4qvdRkA,43476
10
+ mypy_boto3_redshift/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
11
+ mypy_boto3_redshift/type_defs.py,sha256=6lUjoqsBLhRPBgAFWfTHeaR8XLPN7c0ckWfSEOjXUGU,121486
12
+ mypy_boto3_redshift/type_defs.pyi,sha256=bgZeZf7SO01JwsqDa1DlJhVrrvXD90Cc43D_AstA3NE,121485
13
+ mypy_boto3_redshift/version.py,sha256=TdNWFUlWkV5vJyEpme0YDjjJMYoshLhRdAlC_WfMfAo,61
14
+ mypy_boto3_redshift/waiter.py,sha256=yGyTyD1SrYRX19s7eZNgiPCtCMdVp8GQY7_hdoaWYm0,5297
15
+ mypy_boto3_redshift/waiter.pyi,sha256=FYuyuVIIROm5V_wDT_lZHNfftzg7VAeohdJ0vltatF4,5293
16
+ mypy_boto3_redshift-1.28.36.dist-info/LICENSE,sha256=v0rThCyxXzUO7rKg6RM8RmmNKO6EvsBx_mdNoXUPxAU,1070
17
+ mypy_boto3_redshift-1.28.36.dist-info/METADATA,sha256=tOb6UAnGtWsBUDkcXwXG-a9cQ-UCwDWp3eiscs3MP60,19552
18
+ mypy_boto3_redshift-1.28.36.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
19
+ mypy_boto3_redshift-1.28.36.dist-info/top_level.txt,sha256=EVjsc7ti9CLPnWPM_jV8RAOfxJpimfNo26GMIf1hmWo,20
20
+ mypy_boto3_redshift-1.28.36.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.38.4)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5