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.
- mypy_boto3_redshift/__init__.py +4 -0
- mypy_boto3_redshift/__init__.pyi +4 -0
- mypy_boto3_redshift/__main__.py +3 -3
- mypy_boto3_redshift/client.py +110 -40
- mypy_boto3_redshift/client.pyi +105 -40
- mypy_boto3_redshift/literals.py +18 -1
- mypy_boto3_redshift/literals.pyi +18 -1
- mypy_boto3_redshift/paginator.py +31 -8
- mypy_boto3_redshift/paginator.pyi +30 -8
- mypy_boto3_redshift/type_defs.py +1197 -2033
- mypy_boto3_redshift/type_defs.pyi +1197 -1915
- mypy_boto3_redshift/version.py +1 -1
- mypy_boto3_redshift/waiter.py +4 -5
- mypy_boto3_redshift/waiter.pyi +4 -5
- {mypy_boto3_redshift-1.26.79.dist-info → mypy_boto3_redshift-1.28.36.dist-info}/LICENSE +1 -1
- mypy_boto3_redshift-1.28.36.dist-info/METADATA +568 -0
- mypy_boto3_redshift-1.28.36.dist-info/RECORD +20 -0
- {mypy_boto3_redshift-1.26.79.dist-info → mypy_boto3_redshift-1.28.36.dist-info}/WHEEL +1 -1
- mypy_boto3_redshift-1.26.79.dist-info/METADATA +0 -952
- mypy_boto3_redshift-1.26.79.dist-info/RECORD +0 -20
- {mypy_boto3_redshift-1.26.79.dist-info → mypy_boto3_redshift-1.28.36.dist-info}/top_level.txt +0 -0
|
@@ -1,952 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: mypy-boto3-redshift
|
|
3
|
-
Version: 1.26.79
|
|
4
|
-
Summary: Type annotations for boto3.Redshift 1.26.79 service generated with mypy-boto3-builder 7.12.4
|
|
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 boto3-stubs 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)
|
|
33
|
-
|
|
34
|
-
<a id="mypy-boto3-redshift"></a>
|
|
35
|
-
|
|
36
|
-
# mypy-boto3-redshift
|
|
37
|
-
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-redshift)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-redshift)
|
|
40
|
-
[](https://mypy-boto3-builder.readthedocs.io/)
|
|
41
|
-
[](https://pypistats.org/packages/mypy-boto3-redshift)
|
|
42
|
-
|
|
43
|
-

|
|
44
|
-
|
|
45
|
-
Type annotations for
|
|
46
|
-
[boto3.Redshift 1.26.79](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.12.4](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
|
-

|
|
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
|
-
- [Typed dictionaries](#typed-dictionaries)
|
|
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
|
-
DescribeDataSharesPaginator,
|
|
298
|
-
DescribeDataSharesForConsumerPaginator,
|
|
299
|
-
DescribeDataSharesForProducerPaginator,
|
|
300
|
-
DescribeDefaultClusterParametersPaginator,
|
|
301
|
-
DescribeEndpointAccessPaginator,
|
|
302
|
-
DescribeEndpointAuthorizationPaginator,
|
|
303
|
-
DescribeEventSubscriptionsPaginator,
|
|
304
|
-
DescribeEventsPaginator,
|
|
305
|
-
DescribeHsmClientCertificatesPaginator,
|
|
306
|
-
DescribeHsmConfigurationsPaginator,
|
|
307
|
-
DescribeNodeConfigurationOptionsPaginator,
|
|
308
|
-
DescribeOrderableClusterOptionsPaginator,
|
|
309
|
-
DescribeReservedNodeExchangeStatusPaginator,
|
|
310
|
-
DescribeReservedNodeOfferingsPaginator,
|
|
311
|
-
DescribeReservedNodesPaginator,
|
|
312
|
-
DescribeScheduledActionsPaginator,
|
|
313
|
-
DescribeSnapshotCopyGrantsPaginator,
|
|
314
|
-
DescribeSnapshotSchedulesPaginator,
|
|
315
|
-
DescribeTableRestoreStatusPaginator,
|
|
316
|
-
DescribeTagsPaginator,
|
|
317
|
-
DescribeUsageLimitsPaginator,
|
|
318
|
-
GetReservedNodeExchangeConfigurationOptionsPaginator,
|
|
319
|
-
GetReservedNodeExchangeOfferingsPaginator,
|
|
320
|
-
)
|
|
321
|
-
|
|
322
|
-
client: RedshiftClient = Session().client("redshift")
|
|
323
|
-
|
|
324
|
-
# Explicit type annotations are optional here
|
|
325
|
-
# Types should be correctly discovered by mypy and IDEs
|
|
326
|
-
describe_cluster_db_revisions_paginator: DescribeClusterDbRevisionsPaginator = client.get_paginator(
|
|
327
|
-
"describe_cluster_db_revisions"
|
|
328
|
-
)
|
|
329
|
-
describe_cluster_parameter_groups_paginator: DescribeClusterParameterGroupsPaginator = (
|
|
330
|
-
client.get_paginator("describe_cluster_parameter_groups")
|
|
331
|
-
)
|
|
332
|
-
describe_cluster_parameters_paginator: DescribeClusterParametersPaginator = client.get_paginator(
|
|
333
|
-
"describe_cluster_parameters"
|
|
334
|
-
)
|
|
335
|
-
describe_cluster_security_groups_paginator: DescribeClusterSecurityGroupsPaginator = (
|
|
336
|
-
client.get_paginator("describe_cluster_security_groups")
|
|
337
|
-
)
|
|
338
|
-
describe_cluster_snapshots_paginator: DescribeClusterSnapshotsPaginator = client.get_paginator(
|
|
339
|
-
"describe_cluster_snapshots"
|
|
340
|
-
)
|
|
341
|
-
describe_cluster_subnet_groups_paginator: DescribeClusterSubnetGroupsPaginator = (
|
|
342
|
-
client.get_paginator("describe_cluster_subnet_groups")
|
|
343
|
-
)
|
|
344
|
-
describe_cluster_tracks_paginator: DescribeClusterTracksPaginator = client.get_paginator(
|
|
345
|
-
"describe_cluster_tracks"
|
|
346
|
-
)
|
|
347
|
-
describe_cluster_versions_paginator: DescribeClusterVersionsPaginator = client.get_paginator(
|
|
348
|
-
"describe_cluster_versions"
|
|
349
|
-
)
|
|
350
|
-
describe_clusters_paginator: DescribeClustersPaginator = client.get_paginator("describe_clusters")
|
|
351
|
-
describe_data_shares_paginator: DescribeDataSharesPaginator = client.get_paginator(
|
|
352
|
-
"describe_data_shares"
|
|
353
|
-
)
|
|
354
|
-
describe_data_shares_for_consumer_paginator: DescribeDataSharesForConsumerPaginator = (
|
|
355
|
-
client.get_paginator("describe_data_shares_for_consumer")
|
|
356
|
-
)
|
|
357
|
-
describe_data_shares_for_producer_paginator: DescribeDataSharesForProducerPaginator = (
|
|
358
|
-
client.get_paginator("describe_data_shares_for_producer")
|
|
359
|
-
)
|
|
360
|
-
describe_default_cluster_parameters_paginator: DescribeDefaultClusterParametersPaginator = (
|
|
361
|
-
client.get_paginator("describe_default_cluster_parameters")
|
|
362
|
-
)
|
|
363
|
-
describe_endpoint_access_paginator: DescribeEndpointAccessPaginator = client.get_paginator(
|
|
364
|
-
"describe_endpoint_access"
|
|
365
|
-
)
|
|
366
|
-
describe_endpoint_authorization_paginator: DescribeEndpointAuthorizationPaginator = (
|
|
367
|
-
client.get_paginator("describe_endpoint_authorization")
|
|
368
|
-
)
|
|
369
|
-
describe_event_subscriptions_paginator: DescribeEventSubscriptionsPaginator = client.get_paginator(
|
|
370
|
-
"describe_event_subscriptions"
|
|
371
|
-
)
|
|
372
|
-
describe_events_paginator: DescribeEventsPaginator = client.get_paginator("describe_events")
|
|
373
|
-
describe_hsm_client_certificates_paginator: DescribeHsmClientCertificatesPaginator = (
|
|
374
|
-
client.get_paginator("describe_hsm_client_certificates")
|
|
375
|
-
)
|
|
376
|
-
describe_hsm_configurations_paginator: DescribeHsmConfigurationsPaginator = client.get_paginator(
|
|
377
|
-
"describe_hsm_configurations"
|
|
378
|
-
)
|
|
379
|
-
describe_node_configuration_options_paginator: DescribeNodeConfigurationOptionsPaginator = (
|
|
380
|
-
client.get_paginator("describe_node_configuration_options")
|
|
381
|
-
)
|
|
382
|
-
describe_orderable_cluster_options_paginator: DescribeOrderableClusterOptionsPaginator = (
|
|
383
|
-
client.get_paginator("describe_orderable_cluster_options")
|
|
384
|
-
)
|
|
385
|
-
describe_reserved_node_exchange_status_paginator: DescribeReservedNodeExchangeStatusPaginator = (
|
|
386
|
-
client.get_paginator("describe_reserved_node_exchange_status")
|
|
387
|
-
)
|
|
388
|
-
describe_reserved_node_offerings_paginator: DescribeReservedNodeOfferingsPaginator = (
|
|
389
|
-
client.get_paginator("describe_reserved_node_offerings")
|
|
390
|
-
)
|
|
391
|
-
describe_reserved_nodes_paginator: DescribeReservedNodesPaginator = client.get_paginator(
|
|
392
|
-
"describe_reserved_nodes"
|
|
393
|
-
)
|
|
394
|
-
describe_scheduled_actions_paginator: DescribeScheduledActionsPaginator = client.get_paginator(
|
|
395
|
-
"describe_scheduled_actions"
|
|
396
|
-
)
|
|
397
|
-
describe_snapshot_copy_grants_paginator: DescribeSnapshotCopyGrantsPaginator = client.get_paginator(
|
|
398
|
-
"describe_snapshot_copy_grants"
|
|
399
|
-
)
|
|
400
|
-
describe_snapshot_schedules_paginator: DescribeSnapshotSchedulesPaginator = client.get_paginator(
|
|
401
|
-
"describe_snapshot_schedules"
|
|
402
|
-
)
|
|
403
|
-
describe_table_restore_status_paginator: DescribeTableRestoreStatusPaginator = client.get_paginator(
|
|
404
|
-
"describe_table_restore_status"
|
|
405
|
-
)
|
|
406
|
-
describe_tags_paginator: DescribeTagsPaginator = client.get_paginator("describe_tags")
|
|
407
|
-
describe_usage_limits_paginator: DescribeUsageLimitsPaginator = client.get_paginator(
|
|
408
|
-
"describe_usage_limits"
|
|
409
|
-
)
|
|
410
|
-
get_reserved_node_exchange_configuration_options_paginator: GetReservedNodeExchangeConfigurationOptionsPaginator = client.get_paginator(
|
|
411
|
-
"get_reserved_node_exchange_configuration_options"
|
|
412
|
-
)
|
|
413
|
-
get_reserved_node_exchange_offerings_paginator: GetReservedNodeExchangeOfferingsPaginator = (
|
|
414
|
-
client.get_paginator("get_reserved_node_exchange_offerings")
|
|
415
|
-
)
|
|
416
|
-
```
|
|
417
|
-
|
|
418
|
-
<a id="waiters-annotations"></a>
|
|
419
|
-
|
|
420
|
-
### Waiters annotations
|
|
421
|
-
|
|
422
|
-
`mypy_boto3_redshift.waiter` module contains type annotations for all waiters.
|
|
423
|
-
|
|
424
|
-
```python
|
|
425
|
-
from boto3.session import Session
|
|
426
|
-
|
|
427
|
-
from mypy_boto3_redshift import RedshiftClient
|
|
428
|
-
from mypy_boto3_redshift.waiter import (
|
|
429
|
-
ClusterAvailableWaiter,
|
|
430
|
-
ClusterDeletedWaiter,
|
|
431
|
-
ClusterRestoredWaiter,
|
|
432
|
-
SnapshotAvailableWaiter,
|
|
433
|
-
)
|
|
434
|
-
|
|
435
|
-
client: RedshiftClient = Session().client("redshift")
|
|
436
|
-
|
|
437
|
-
# Explicit type annotations are optional here
|
|
438
|
-
# Types should be correctly discovered by mypy and IDEs
|
|
439
|
-
cluster_available_waiter: ClusterAvailableWaiter = client.get_waiter("cluster_available")
|
|
440
|
-
cluster_deleted_waiter: ClusterDeletedWaiter = client.get_waiter("cluster_deleted")
|
|
441
|
-
cluster_restored_waiter: ClusterRestoredWaiter = client.get_waiter("cluster_restored")
|
|
442
|
-
snapshot_available_waiter: SnapshotAvailableWaiter = client.get_waiter("snapshot_available")
|
|
443
|
-
```
|
|
444
|
-
|
|
445
|
-
<a id="literals"></a>
|
|
446
|
-
|
|
447
|
-
### Literals
|
|
448
|
-
|
|
449
|
-
`mypy_boto3_redshift.literals` module contains literals extracted from shapes
|
|
450
|
-
that can be used in user code for type checking.
|
|
451
|
-
|
|
452
|
-
```python
|
|
453
|
-
from mypy_boto3_redshift.literals import (
|
|
454
|
-
ActionTypeType,
|
|
455
|
-
AquaConfigurationStatusType,
|
|
456
|
-
AquaStatusType,
|
|
457
|
-
AuthorizationStatusType,
|
|
458
|
-
ClusterAvailableWaiterName,
|
|
459
|
-
ClusterDeletedWaiterName,
|
|
460
|
-
ClusterRestoredWaiterName,
|
|
461
|
-
DataShareStatusForConsumerType,
|
|
462
|
-
DataShareStatusForProducerType,
|
|
463
|
-
DataShareStatusType,
|
|
464
|
-
DescribeClusterDbRevisionsPaginatorName,
|
|
465
|
-
DescribeClusterParameterGroupsPaginatorName,
|
|
466
|
-
DescribeClusterParametersPaginatorName,
|
|
467
|
-
DescribeClusterSecurityGroupsPaginatorName,
|
|
468
|
-
DescribeClusterSnapshotsPaginatorName,
|
|
469
|
-
DescribeClusterSubnetGroupsPaginatorName,
|
|
470
|
-
DescribeClusterTracksPaginatorName,
|
|
471
|
-
DescribeClusterVersionsPaginatorName,
|
|
472
|
-
DescribeClustersPaginatorName,
|
|
473
|
-
DescribeDataSharesForConsumerPaginatorName,
|
|
474
|
-
DescribeDataSharesForProducerPaginatorName,
|
|
475
|
-
DescribeDataSharesPaginatorName,
|
|
476
|
-
DescribeDefaultClusterParametersPaginatorName,
|
|
477
|
-
DescribeEndpointAccessPaginatorName,
|
|
478
|
-
DescribeEndpointAuthorizationPaginatorName,
|
|
479
|
-
DescribeEventSubscriptionsPaginatorName,
|
|
480
|
-
DescribeEventsPaginatorName,
|
|
481
|
-
DescribeHsmClientCertificatesPaginatorName,
|
|
482
|
-
DescribeHsmConfigurationsPaginatorName,
|
|
483
|
-
DescribeNodeConfigurationOptionsPaginatorName,
|
|
484
|
-
DescribeOrderableClusterOptionsPaginatorName,
|
|
485
|
-
DescribeReservedNodeExchangeStatusPaginatorName,
|
|
486
|
-
DescribeReservedNodeOfferingsPaginatorName,
|
|
487
|
-
DescribeReservedNodesPaginatorName,
|
|
488
|
-
DescribeScheduledActionsPaginatorName,
|
|
489
|
-
DescribeSnapshotCopyGrantsPaginatorName,
|
|
490
|
-
DescribeSnapshotSchedulesPaginatorName,
|
|
491
|
-
DescribeTableRestoreStatusPaginatorName,
|
|
492
|
-
DescribeTagsPaginatorName,
|
|
493
|
-
DescribeUsageLimitsPaginatorName,
|
|
494
|
-
GetReservedNodeExchangeConfigurationOptionsPaginatorName,
|
|
495
|
-
GetReservedNodeExchangeOfferingsPaginatorName,
|
|
496
|
-
LogDestinationTypeType,
|
|
497
|
-
ModeType,
|
|
498
|
-
NodeConfigurationOptionsFilterNameType,
|
|
499
|
-
OperatorTypeType,
|
|
500
|
-
ParameterApplyTypeType,
|
|
501
|
-
PartnerIntegrationStatusType,
|
|
502
|
-
ReservedNodeExchangeActionTypeType,
|
|
503
|
-
ReservedNodeExchangeStatusTypeType,
|
|
504
|
-
ReservedNodeOfferingTypeType,
|
|
505
|
-
ScheduleStateType,
|
|
506
|
-
ScheduledActionFilterNameType,
|
|
507
|
-
ScheduledActionStateType,
|
|
508
|
-
ScheduledActionTypeValuesType,
|
|
509
|
-
SnapshotAttributeToSortByType,
|
|
510
|
-
SnapshotAvailableWaiterName,
|
|
511
|
-
SortByOrderType,
|
|
512
|
-
SourceTypeType,
|
|
513
|
-
TableRestoreStatusTypeType,
|
|
514
|
-
UsageLimitBreachActionType,
|
|
515
|
-
UsageLimitFeatureTypeType,
|
|
516
|
-
UsageLimitLimitTypeType,
|
|
517
|
-
UsageLimitPeriodType,
|
|
518
|
-
RedshiftServiceName,
|
|
519
|
-
ServiceName,
|
|
520
|
-
ResourceServiceName,
|
|
521
|
-
PaginatorName,
|
|
522
|
-
WaiterName,
|
|
523
|
-
RegionName,
|
|
524
|
-
)
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
def check_value(value: ActionTypeType) -> bool:
|
|
528
|
-
...
|
|
529
|
-
```
|
|
530
|
-
|
|
531
|
-
<a id="typed-dictionaries"></a>
|
|
532
|
-
|
|
533
|
-
### Typed dictionaries
|
|
534
|
-
|
|
535
|
-
`mypy_boto3_redshift.type_defs` module contains structures and shapes assembled
|
|
536
|
-
to typed dictionaries for additional type checking.
|
|
537
|
-
|
|
538
|
-
```python
|
|
539
|
-
from mypy_boto3_redshift.type_defs import (
|
|
540
|
-
AcceptReservedNodeExchangeInputMessageRequestTypeDef,
|
|
541
|
-
ResponseMetadataTypeDef,
|
|
542
|
-
AttributeValueTargetTypeDef,
|
|
543
|
-
AccountWithRestoreAccessTypeDef,
|
|
544
|
-
AquaConfigurationTypeDef,
|
|
545
|
-
AssociateDataShareConsumerMessageRequestTypeDef,
|
|
546
|
-
AuthenticationProfileTypeDef,
|
|
547
|
-
AuthorizeClusterSecurityGroupIngressMessageRequestTypeDef,
|
|
548
|
-
AuthorizeDataShareMessageRequestTypeDef,
|
|
549
|
-
AuthorizeEndpointAccessMessageRequestTypeDef,
|
|
550
|
-
AuthorizeSnapshotAccessMessageRequestTypeDef,
|
|
551
|
-
SupportedPlatformTypeDef,
|
|
552
|
-
DeleteClusterSnapshotMessageTypeDef,
|
|
553
|
-
SnapshotErrorMessageTypeDef,
|
|
554
|
-
BatchModifyClusterSnapshotsMessageRequestTypeDef,
|
|
555
|
-
CancelResizeMessageRequestTypeDef,
|
|
556
|
-
ClusterAssociatedToScheduleTypeDef,
|
|
557
|
-
RevisionTargetTypeDef,
|
|
558
|
-
ClusterIamRoleTypeDef,
|
|
559
|
-
ClusterNodeTypeDef,
|
|
560
|
-
ParameterTypeDef,
|
|
561
|
-
ClusterParameterStatusTypeDef,
|
|
562
|
-
TagTypeDef,
|
|
563
|
-
ClusterSecurityGroupMembershipTypeDef,
|
|
564
|
-
ClusterSnapshotCopyStatusTypeDef,
|
|
565
|
-
DataTransferProgressTypeDef,
|
|
566
|
-
DeferredMaintenanceWindowTypeDef,
|
|
567
|
-
ElasticIpStatusTypeDef,
|
|
568
|
-
HsmStatusTypeDef,
|
|
569
|
-
PendingModifiedValuesTypeDef,
|
|
570
|
-
ReservedNodeExchangeStatusTypeDef,
|
|
571
|
-
ResizeInfoTypeDef,
|
|
572
|
-
RestoreStatusTypeDef,
|
|
573
|
-
VpcSecurityGroupMembershipTypeDef,
|
|
574
|
-
ClusterVersionTypeDef,
|
|
575
|
-
CopyClusterSnapshotMessageRequestTypeDef,
|
|
576
|
-
CreateAuthenticationProfileMessageRequestTypeDef,
|
|
577
|
-
CreateEndpointAccessMessageRequestTypeDef,
|
|
578
|
-
DataShareAssociationTypeDef,
|
|
579
|
-
DeauthorizeDataShareMessageRequestTypeDef,
|
|
580
|
-
DeleteAuthenticationProfileMessageRequestTypeDef,
|
|
581
|
-
DeleteClusterMessageRequestTypeDef,
|
|
582
|
-
DeleteClusterParameterGroupMessageRequestTypeDef,
|
|
583
|
-
DeleteClusterSecurityGroupMessageRequestTypeDef,
|
|
584
|
-
DeleteClusterSnapshotMessageRequestTypeDef,
|
|
585
|
-
DeleteClusterSubnetGroupMessageRequestTypeDef,
|
|
586
|
-
DeleteEndpointAccessMessageRequestTypeDef,
|
|
587
|
-
DeleteEventSubscriptionMessageRequestTypeDef,
|
|
588
|
-
DeleteHsmClientCertificateMessageRequestTypeDef,
|
|
589
|
-
DeleteHsmConfigurationMessageRequestTypeDef,
|
|
590
|
-
DeleteScheduledActionMessageRequestTypeDef,
|
|
591
|
-
DeleteSnapshotCopyGrantMessageRequestTypeDef,
|
|
592
|
-
DeleteSnapshotScheduleMessageRequestTypeDef,
|
|
593
|
-
DeleteTagsMessageRequestTypeDef,
|
|
594
|
-
DeleteUsageLimitMessageRequestTypeDef,
|
|
595
|
-
DescribeAccountAttributesMessageRequestTypeDef,
|
|
596
|
-
DescribeAuthenticationProfilesMessageRequestTypeDef,
|
|
597
|
-
PaginatorConfigTypeDef,
|
|
598
|
-
DescribeClusterDbRevisionsMessageRequestTypeDef,
|
|
599
|
-
DescribeClusterParameterGroupsMessageRequestTypeDef,
|
|
600
|
-
DescribeClusterParametersMessageRequestTypeDef,
|
|
601
|
-
DescribeClusterSecurityGroupsMessageRequestTypeDef,
|
|
602
|
-
SnapshotSortingEntityTypeDef,
|
|
603
|
-
WaiterConfigTypeDef,
|
|
604
|
-
DescribeClusterSubnetGroupsMessageRequestTypeDef,
|
|
605
|
-
DescribeClusterTracksMessageRequestTypeDef,
|
|
606
|
-
DescribeClusterVersionsMessageRequestTypeDef,
|
|
607
|
-
DescribeClustersMessageRequestTypeDef,
|
|
608
|
-
DescribeDataSharesForConsumerMessageRequestTypeDef,
|
|
609
|
-
DescribeDataSharesForProducerMessageRequestTypeDef,
|
|
610
|
-
DescribeDataSharesMessageRequestTypeDef,
|
|
611
|
-
DescribeDefaultClusterParametersMessageRequestTypeDef,
|
|
612
|
-
DescribeEndpointAccessMessageRequestTypeDef,
|
|
613
|
-
DescribeEndpointAuthorizationMessageRequestTypeDef,
|
|
614
|
-
DescribeEventCategoriesMessageRequestTypeDef,
|
|
615
|
-
DescribeEventSubscriptionsMessageRequestTypeDef,
|
|
616
|
-
DescribeEventsMessageRequestTypeDef,
|
|
617
|
-
DescribeHsmClientCertificatesMessageRequestTypeDef,
|
|
618
|
-
DescribeHsmConfigurationsMessageRequestTypeDef,
|
|
619
|
-
DescribeLoggingStatusMessageRequestTypeDef,
|
|
620
|
-
NodeConfigurationOptionsFilterTypeDef,
|
|
621
|
-
DescribeOrderableClusterOptionsMessageRequestTypeDef,
|
|
622
|
-
DescribePartnersInputMessageRequestTypeDef,
|
|
623
|
-
PartnerIntegrationInfoTypeDef,
|
|
624
|
-
DescribeReservedNodeExchangeStatusInputMessageRequestTypeDef,
|
|
625
|
-
DescribeReservedNodeOfferingsMessageRequestTypeDef,
|
|
626
|
-
DescribeReservedNodesMessageRequestTypeDef,
|
|
627
|
-
DescribeResizeMessageRequestTypeDef,
|
|
628
|
-
ScheduledActionFilterTypeDef,
|
|
629
|
-
DescribeSnapshotCopyGrantsMessageRequestTypeDef,
|
|
630
|
-
DescribeSnapshotSchedulesMessageRequestTypeDef,
|
|
631
|
-
DescribeTableRestoreStatusMessageRequestTypeDef,
|
|
632
|
-
DescribeTagsMessageRequestTypeDef,
|
|
633
|
-
DescribeUsageLimitsMessageRequestTypeDef,
|
|
634
|
-
DisableLoggingMessageRequestTypeDef,
|
|
635
|
-
DisableSnapshotCopyMessageRequestTypeDef,
|
|
636
|
-
DisassociateDataShareConsumerMessageRequestTypeDef,
|
|
637
|
-
EnableLoggingMessageRequestTypeDef,
|
|
638
|
-
EnableSnapshotCopyMessageRequestTypeDef,
|
|
639
|
-
EndpointAuthorizationTypeDef,
|
|
640
|
-
EventInfoMapTypeDef,
|
|
641
|
-
EventTypeDef,
|
|
642
|
-
GetClusterCredentialsMessageRequestTypeDef,
|
|
643
|
-
GetClusterCredentialsWithIAMMessageRequestTypeDef,
|
|
644
|
-
GetReservedNodeExchangeConfigurationOptionsInputMessageRequestTypeDef,
|
|
645
|
-
GetReservedNodeExchangeOfferingsInputMessageRequestTypeDef,
|
|
646
|
-
ModifyAquaInputMessageRequestTypeDef,
|
|
647
|
-
ModifyAuthenticationProfileMessageRequestTypeDef,
|
|
648
|
-
ModifyClusterDbRevisionMessageRequestTypeDef,
|
|
649
|
-
ModifyClusterIamRolesMessageRequestTypeDef,
|
|
650
|
-
ModifyClusterMaintenanceMessageRequestTypeDef,
|
|
651
|
-
ModifyClusterMessageRequestTypeDef,
|
|
652
|
-
ModifyClusterSnapshotMessageRequestTypeDef,
|
|
653
|
-
ModifyClusterSnapshotScheduleMessageRequestTypeDef,
|
|
654
|
-
ModifyClusterSubnetGroupMessageRequestTypeDef,
|
|
655
|
-
ModifyEndpointAccessMessageRequestTypeDef,
|
|
656
|
-
ModifyEventSubscriptionMessageRequestTypeDef,
|
|
657
|
-
ModifySnapshotCopyRetentionPeriodMessageRequestTypeDef,
|
|
658
|
-
ModifySnapshotScheduleMessageRequestTypeDef,
|
|
659
|
-
ModifyUsageLimitMessageRequestTypeDef,
|
|
660
|
-
NetworkInterfaceTypeDef,
|
|
661
|
-
NodeConfigurationOptionTypeDef,
|
|
662
|
-
PartnerIntegrationInputMessageRequestTypeDef,
|
|
663
|
-
PauseClusterMessageRequestTypeDef,
|
|
664
|
-
PauseClusterMessageTypeDef,
|
|
665
|
-
PurchaseReservedNodeOfferingMessageRequestTypeDef,
|
|
666
|
-
RebootClusterMessageRequestTypeDef,
|
|
667
|
-
RecurringChargeTypeDef,
|
|
668
|
-
RejectDataShareMessageRequestTypeDef,
|
|
669
|
-
ResizeClusterMessageRequestTypeDef,
|
|
670
|
-
ResizeClusterMessageTypeDef,
|
|
671
|
-
RestoreFromClusterSnapshotMessageRequestTypeDef,
|
|
672
|
-
RestoreTableFromClusterSnapshotMessageRequestTypeDef,
|
|
673
|
-
TableRestoreStatusTypeDef,
|
|
674
|
-
ResumeClusterMessageRequestTypeDef,
|
|
675
|
-
ResumeClusterMessageTypeDef,
|
|
676
|
-
RevokeClusterSecurityGroupIngressMessageRequestTypeDef,
|
|
677
|
-
RevokeEndpointAccessMessageRequestTypeDef,
|
|
678
|
-
RevokeSnapshotAccessMessageRequestTypeDef,
|
|
679
|
-
RotateEncryptionKeyMessageRequestTypeDef,
|
|
680
|
-
SupportedOperationTypeDef,
|
|
681
|
-
UpdatePartnerStatusInputMessageRequestTypeDef,
|
|
682
|
-
ClusterCredentialsTypeDef,
|
|
683
|
-
ClusterExtendedCredentialsTypeDef,
|
|
684
|
-
ClusterParameterGroupNameMessageTypeDef,
|
|
685
|
-
CreateAuthenticationProfileResultTypeDef,
|
|
686
|
-
CustomerStorageMessageTypeDef,
|
|
687
|
-
DeleteAuthenticationProfileResultTypeDef,
|
|
688
|
-
EmptyResponseMetadataTypeDef,
|
|
689
|
-
EndpointAuthorizationResponseMetadataTypeDef,
|
|
690
|
-
LoggingStatusTypeDef,
|
|
691
|
-
ModifyAuthenticationProfileResultTypeDef,
|
|
692
|
-
PartnerIntegrationOutputMessageTypeDef,
|
|
693
|
-
ResizeProgressMessageTypeDef,
|
|
694
|
-
AccountAttributeTypeDef,
|
|
695
|
-
ModifyAquaOutputMessageTypeDef,
|
|
696
|
-
DescribeAuthenticationProfilesResultTypeDef,
|
|
697
|
-
AvailabilityZoneTypeDef,
|
|
698
|
-
BatchDeleteClusterSnapshotsRequestRequestTypeDef,
|
|
699
|
-
BatchDeleteClusterSnapshotsResultTypeDef,
|
|
700
|
-
BatchModifyClusterSnapshotsOutputMessageTypeDef,
|
|
701
|
-
ClusterDbRevisionTypeDef,
|
|
702
|
-
ClusterParameterGroupDetailsTypeDef,
|
|
703
|
-
DefaultClusterParametersTypeDef,
|
|
704
|
-
ModifyClusterParameterGroupMessageRequestTypeDef,
|
|
705
|
-
ResetClusterParameterGroupMessageRequestTypeDef,
|
|
706
|
-
ClusterParameterGroupStatusTypeDef,
|
|
707
|
-
ClusterParameterGroupTypeDef,
|
|
708
|
-
CreateClusterMessageRequestTypeDef,
|
|
709
|
-
CreateClusterParameterGroupMessageRequestTypeDef,
|
|
710
|
-
CreateClusterSecurityGroupMessageRequestTypeDef,
|
|
711
|
-
CreateClusterSnapshotMessageRequestTypeDef,
|
|
712
|
-
CreateClusterSubnetGroupMessageRequestTypeDef,
|
|
713
|
-
CreateEventSubscriptionMessageRequestTypeDef,
|
|
714
|
-
CreateHsmClientCertificateMessageRequestTypeDef,
|
|
715
|
-
CreateHsmConfigurationMessageRequestTypeDef,
|
|
716
|
-
CreateSnapshotCopyGrantMessageRequestTypeDef,
|
|
717
|
-
CreateSnapshotScheduleMessageRequestTypeDef,
|
|
718
|
-
CreateTagsMessageRequestTypeDef,
|
|
719
|
-
CreateUsageLimitMessageRequestTypeDef,
|
|
720
|
-
EC2SecurityGroupTypeDef,
|
|
721
|
-
EventSubscriptionTypeDef,
|
|
722
|
-
HsmClientCertificateTypeDef,
|
|
723
|
-
HsmConfigurationTypeDef,
|
|
724
|
-
IPRangeTypeDef,
|
|
725
|
-
SnapshotCopyGrantTypeDef,
|
|
726
|
-
SnapshotScheduleResponseMetadataTypeDef,
|
|
727
|
-
SnapshotScheduleTypeDef,
|
|
728
|
-
SnapshotTypeDef,
|
|
729
|
-
TaggedResourceTypeDef,
|
|
730
|
-
UsageLimitResponseMetadataTypeDef,
|
|
731
|
-
UsageLimitTypeDef,
|
|
732
|
-
DescribeReservedNodeExchangeStatusOutputMessageTypeDef,
|
|
733
|
-
ClusterVersionsMessageTypeDef,
|
|
734
|
-
DataShareResponseMetadataTypeDef,
|
|
735
|
-
DataShareTypeDef,
|
|
736
|
-
DescribeClusterDbRevisionsMessageDescribeClusterDbRevisionsPaginateTypeDef,
|
|
737
|
-
DescribeClusterParameterGroupsMessageDescribeClusterParameterGroupsPaginateTypeDef,
|
|
738
|
-
DescribeClusterParametersMessageDescribeClusterParametersPaginateTypeDef,
|
|
739
|
-
DescribeClusterSecurityGroupsMessageDescribeClusterSecurityGroupsPaginateTypeDef,
|
|
740
|
-
DescribeClusterSubnetGroupsMessageDescribeClusterSubnetGroupsPaginateTypeDef,
|
|
741
|
-
DescribeClusterTracksMessageDescribeClusterTracksPaginateTypeDef,
|
|
742
|
-
DescribeClusterVersionsMessageDescribeClusterVersionsPaginateTypeDef,
|
|
743
|
-
DescribeClustersMessageDescribeClustersPaginateTypeDef,
|
|
744
|
-
DescribeDataSharesForConsumerMessageDescribeDataSharesForConsumerPaginateTypeDef,
|
|
745
|
-
DescribeDataSharesForProducerMessageDescribeDataSharesForProducerPaginateTypeDef,
|
|
746
|
-
DescribeDataSharesMessageDescribeDataSharesPaginateTypeDef,
|
|
747
|
-
DescribeDefaultClusterParametersMessageDescribeDefaultClusterParametersPaginateTypeDef,
|
|
748
|
-
DescribeEndpointAccessMessageDescribeEndpointAccessPaginateTypeDef,
|
|
749
|
-
DescribeEndpointAuthorizationMessageDescribeEndpointAuthorizationPaginateTypeDef,
|
|
750
|
-
DescribeEventSubscriptionsMessageDescribeEventSubscriptionsPaginateTypeDef,
|
|
751
|
-
DescribeEventsMessageDescribeEventsPaginateTypeDef,
|
|
752
|
-
DescribeHsmClientCertificatesMessageDescribeHsmClientCertificatesPaginateTypeDef,
|
|
753
|
-
DescribeHsmConfigurationsMessageDescribeHsmConfigurationsPaginateTypeDef,
|
|
754
|
-
DescribeOrderableClusterOptionsMessageDescribeOrderableClusterOptionsPaginateTypeDef,
|
|
755
|
-
DescribeReservedNodeExchangeStatusInputMessageDescribeReservedNodeExchangeStatusPaginateTypeDef,
|
|
756
|
-
DescribeReservedNodeOfferingsMessageDescribeReservedNodeOfferingsPaginateTypeDef,
|
|
757
|
-
DescribeReservedNodesMessageDescribeReservedNodesPaginateTypeDef,
|
|
758
|
-
DescribeSnapshotCopyGrantsMessageDescribeSnapshotCopyGrantsPaginateTypeDef,
|
|
759
|
-
DescribeSnapshotSchedulesMessageDescribeSnapshotSchedulesPaginateTypeDef,
|
|
760
|
-
DescribeTableRestoreStatusMessageDescribeTableRestoreStatusPaginateTypeDef,
|
|
761
|
-
DescribeTagsMessageDescribeTagsPaginateTypeDef,
|
|
762
|
-
DescribeUsageLimitsMessageDescribeUsageLimitsPaginateTypeDef,
|
|
763
|
-
GetReservedNodeExchangeConfigurationOptionsInputMessageGetReservedNodeExchangeConfigurationOptionsPaginateTypeDef,
|
|
764
|
-
GetReservedNodeExchangeOfferingsInputMessageGetReservedNodeExchangeOfferingsPaginateTypeDef,
|
|
765
|
-
DescribeClusterSnapshotsMessageDescribeClusterSnapshotsPaginateTypeDef,
|
|
766
|
-
DescribeClusterSnapshotsMessageRequestTypeDef,
|
|
767
|
-
DescribeClusterSnapshotsMessageSnapshotAvailableWaitTypeDef,
|
|
768
|
-
DescribeClustersMessageClusterAvailableWaitTypeDef,
|
|
769
|
-
DescribeClustersMessageClusterDeletedWaitTypeDef,
|
|
770
|
-
DescribeClustersMessageClusterRestoredWaitTypeDef,
|
|
771
|
-
DescribeNodeConfigurationOptionsMessageDescribeNodeConfigurationOptionsPaginateTypeDef,
|
|
772
|
-
DescribeNodeConfigurationOptionsMessageRequestTypeDef,
|
|
773
|
-
DescribePartnersOutputMessageTypeDef,
|
|
774
|
-
DescribeScheduledActionsMessageDescribeScheduledActionsPaginateTypeDef,
|
|
775
|
-
DescribeScheduledActionsMessageRequestTypeDef,
|
|
776
|
-
EndpointAuthorizationListTypeDef,
|
|
777
|
-
EventCategoriesMapTypeDef,
|
|
778
|
-
EventsMessageTypeDef,
|
|
779
|
-
VpcEndpointTypeDef,
|
|
780
|
-
NodeConfigurationOptionsMessageTypeDef,
|
|
781
|
-
ReservedNodeOfferingTypeDef,
|
|
782
|
-
ReservedNodeTypeDef,
|
|
783
|
-
RestoreTableFromClusterSnapshotResultTypeDef,
|
|
784
|
-
TableRestoreStatusMessageTypeDef,
|
|
785
|
-
ScheduledActionTypeTypeDef,
|
|
786
|
-
UpdateTargetTypeDef,
|
|
787
|
-
AccountAttributeListTypeDef,
|
|
788
|
-
OrderableClusterOptionTypeDef,
|
|
789
|
-
SubnetTypeDef,
|
|
790
|
-
ClusterDbRevisionsMessageTypeDef,
|
|
791
|
-
DescribeDefaultClusterParametersResultTypeDef,
|
|
792
|
-
ClusterParameterGroupsMessageTypeDef,
|
|
793
|
-
CreateClusterParameterGroupResultTypeDef,
|
|
794
|
-
CreateEventSubscriptionResultTypeDef,
|
|
795
|
-
EventSubscriptionsMessageTypeDef,
|
|
796
|
-
ModifyEventSubscriptionResultTypeDef,
|
|
797
|
-
CreateHsmClientCertificateResultTypeDef,
|
|
798
|
-
HsmClientCertificateMessageTypeDef,
|
|
799
|
-
CreateHsmConfigurationResultTypeDef,
|
|
800
|
-
HsmConfigurationMessageTypeDef,
|
|
801
|
-
ClusterSecurityGroupTypeDef,
|
|
802
|
-
CreateSnapshotCopyGrantResultTypeDef,
|
|
803
|
-
SnapshotCopyGrantMessageTypeDef,
|
|
804
|
-
DescribeSnapshotSchedulesOutputMessageTypeDef,
|
|
805
|
-
AuthorizeSnapshotAccessResultTypeDef,
|
|
806
|
-
CopyClusterSnapshotResultTypeDef,
|
|
807
|
-
CreateClusterSnapshotResultTypeDef,
|
|
808
|
-
DeleteClusterSnapshotResultTypeDef,
|
|
809
|
-
ModifyClusterSnapshotResultTypeDef,
|
|
810
|
-
RevokeSnapshotAccessResultTypeDef,
|
|
811
|
-
SnapshotMessageTypeDef,
|
|
812
|
-
TaggedResourceListMessageTypeDef,
|
|
813
|
-
UsageLimitListTypeDef,
|
|
814
|
-
DescribeDataSharesForConsumerResultTypeDef,
|
|
815
|
-
DescribeDataSharesForProducerResultTypeDef,
|
|
816
|
-
DescribeDataSharesResultTypeDef,
|
|
817
|
-
EventCategoriesMessageTypeDef,
|
|
818
|
-
EndpointAccessResponseMetadataTypeDef,
|
|
819
|
-
EndpointAccessTypeDef,
|
|
820
|
-
EndpointTypeDef,
|
|
821
|
-
GetReservedNodeExchangeOfferingsOutputMessageTypeDef,
|
|
822
|
-
ReservedNodeOfferingsMessageTypeDef,
|
|
823
|
-
AcceptReservedNodeExchangeOutputMessageTypeDef,
|
|
824
|
-
PurchaseReservedNodeOfferingResultTypeDef,
|
|
825
|
-
ReservedNodeConfigurationOptionTypeDef,
|
|
826
|
-
ReservedNodesMessageTypeDef,
|
|
827
|
-
CreateScheduledActionMessageRequestTypeDef,
|
|
828
|
-
ModifyScheduledActionMessageRequestTypeDef,
|
|
829
|
-
ScheduledActionResponseMetadataTypeDef,
|
|
830
|
-
ScheduledActionTypeDef,
|
|
831
|
-
MaintenanceTrackTypeDef,
|
|
832
|
-
OrderableClusterOptionsMessageTypeDef,
|
|
833
|
-
ClusterSubnetGroupTypeDef,
|
|
834
|
-
AuthorizeClusterSecurityGroupIngressResultTypeDef,
|
|
835
|
-
ClusterSecurityGroupMessageTypeDef,
|
|
836
|
-
CreateClusterSecurityGroupResultTypeDef,
|
|
837
|
-
RevokeClusterSecurityGroupIngressResultTypeDef,
|
|
838
|
-
EndpointAccessListTypeDef,
|
|
839
|
-
ClusterTypeDef,
|
|
840
|
-
GetReservedNodeExchangeConfigurationOptionsOutputMessageTypeDef,
|
|
841
|
-
ScheduledActionsMessageTypeDef,
|
|
842
|
-
TrackListMessageTypeDef,
|
|
843
|
-
ClusterSubnetGroupMessageTypeDef,
|
|
844
|
-
CreateClusterSubnetGroupResultTypeDef,
|
|
845
|
-
ModifyClusterSubnetGroupResultTypeDef,
|
|
846
|
-
ClustersMessageTypeDef,
|
|
847
|
-
CreateClusterResultTypeDef,
|
|
848
|
-
DeleteClusterResultTypeDef,
|
|
849
|
-
DisableSnapshotCopyResultTypeDef,
|
|
850
|
-
EnableSnapshotCopyResultTypeDef,
|
|
851
|
-
ModifyClusterDbRevisionResultTypeDef,
|
|
852
|
-
ModifyClusterIamRolesResultTypeDef,
|
|
853
|
-
ModifyClusterMaintenanceResultTypeDef,
|
|
854
|
-
ModifyClusterResultTypeDef,
|
|
855
|
-
ModifySnapshotCopyRetentionPeriodResultTypeDef,
|
|
856
|
-
PauseClusterResultTypeDef,
|
|
857
|
-
RebootClusterResultTypeDef,
|
|
858
|
-
ResizeClusterResultTypeDef,
|
|
859
|
-
RestoreFromClusterSnapshotResultTypeDef,
|
|
860
|
-
ResumeClusterResultTypeDef,
|
|
861
|
-
RotateEncryptionKeyResultTypeDef,
|
|
862
|
-
)
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
def get_structure() -> AcceptReservedNodeExchangeInputMessageRequestTypeDef:
|
|
866
|
-
return {...}
|
|
867
|
-
```
|
|
868
|
-
|
|
869
|
-
<a id="how-it-works"></a>
|
|
870
|
-
|
|
871
|
-
## How it works
|
|
872
|
-
|
|
873
|
-
Fully automated
|
|
874
|
-
[mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
|
|
875
|
-
generates type annotations for each service, patiently waiting for `boto3`
|
|
876
|
-
updates. It delivers a drop-in type annotations for you and makes sure that:
|
|
877
|
-
|
|
878
|
-
- All available `boto3` services are covered.
|
|
879
|
-
- Each public class and method of every `boto3` service gets valid type
|
|
880
|
-
annotations extracted from the documentation (blame `botocore` docs if types
|
|
881
|
-
are incorrect).
|
|
882
|
-
- Type annotations include up-to-date documentation.
|
|
883
|
-
- Link to documentation is provided for every method.
|
|
884
|
-
- Code is processed by [black](https://github.com/psf/black) and
|
|
885
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
886
|
-
|
|
887
|
-
<a id="what's-new"></a>
|
|
888
|
-
|
|
889
|
-
## What's new
|
|
890
|
-
|
|
891
|
-
<a id="implemented-features"></a>
|
|
892
|
-
|
|
893
|
-
### Implemented features
|
|
894
|
-
|
|
895
|
-
- Fully type annotated `boto3`, `botocore` and `aiobotocore` libraries
|
|
896
|
-
- `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
|
|
897
|
-
compatibility
|
|
898
|
-
- `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
|
|
899
|
-
annotations for each service
|
|
900
|
-
- Generated `TypeDefs` for each service
|
|
901
|
-
- Generated `Literals` for each service
|
|
902
|
-
- Auto discovery of types for `boto3.client` and `boto3.session` calls
|
|
903
|
-
- Auto discovery of types for `session.client` and `session.session` calls
|
|
904
|
-
- Auto discovery of types for `client.get_waiter` and `client.get_paginator`
|
|
905
|
-
calls
|
|
906
|
-
- Auto discovery of types for `ServiceResource` and `Resource` collections
|
|
907
|
-
- Auto discovery of types for `aiobotocore.Session.create_client` calls
|
|
908
|
-
|
|
909
|
-
<a id="latest-changes"></a>
|
|
910
|
-
|
|
911
|
-
### Latest changes
|
|
912
|
-
|
|
913
|
-
Builder changelog can be found in
|
|
914
|
-
[Releases](https://github.com/youtype/mypy_boto3_builder/releases).
|
|
915
|
-
|
|
916
|
-
<a id="versioning"></a>
|
|
917
|
-
|
|
918
|
-
## Versioning
|
|
919
|
-
|
|
920
|
-
`mypy-boto3-redshift` version is the same as related `boto3` version and
|
|
921
|
-
follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
|
|
922
|
-
|
|
923
|
-
<a id="thank-you"></a>
|
|
924
|
-
|
|
925
|
-
## Thank you
|
|
926
|
-
|
|
927
|
-
- [Allie Fitter](https://github.com/alliefitter) for
|
|
928
|
-
[boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
|
|
929
|
-
this package is based on top of his work
|
|
930
|
-
- [black](https://github.com/psf/black) developers for an awesome formatting
|
|
931
|
-
tool
|
|
932
|
-
- [Timothy Edmund Crosley](https://github.com/timothycrosley) for
|
|
933
|
-
[isort](https://github.com/PyCQA/isort) and how flexible it is
|
|
934
|
-
- [mypy](https://github.com/python/mypy) developers for doing all dirty work
|
|
935
|
-
for us
|
|
936
|
-
- [pyright](https://github.com/microsoft/pyright) team for the new era of typed
|
|
937
|
-
Python
|
|
938
|
-
|
|
939
|
-
<a id="documentation"></a>
|
|
940
|
-
|
|
941
|
-
## Documentation
|
|
942
|
-
|
|
943
|
-
All services type annotations can be found in
|
|
944
|
-
[boto3 docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_redshift/)
|
|
945
|
-
|
|
946
|
-
<a id="support-and-contributing"></a>
|
|
947
|
-
|
|
948
|
-
## Support and contributing
|
|
949
|
-
|
|
950
|
-
This package is auto-generated. Please reports any bugs or request new features
|
|
951
|
-
in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
|
|
952
|
-
repository.
|