mypy-boto3-timestream-write 1.19.9__py3-none-any.whl → 1.41.0__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.
- mypy_boto3_timestream_write/__init__.py +8 -5
- mypy_boto3_timestream_write/__init__.pyi +8 -5
- mypy_boto3_timestream_write/__main__.py +13 -9
- mypy_boto3_timestream_write/client.py +175 -115
- mypy_boto3_timestream_write/client.pyi +193 -114
- mypy_boto3_timestream_write/literals.py +185 -27
- mypy_boto3_timestream_write/literals.pyi +185 -27
- mypy_boto3_timestream_write/type_defs.py +457 -309
- mypy_boto3_timestream_write/type_defs.pyi +423 -338
- mypy_boto3_timestream_write/version.py +4 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/METADATA +452 -0
- mypy_boto3_timestream_write-1.41.0.dist-info/RECORD +16 -0
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/WHEEL +1 -1
- mypy_boto3_timestream_write-1.41.0.dist-info/licenses/LICENSE +21 -0
- mypy_boto3_timestream_write-1.19.9.dist-info/METADATA +0 -268
- mypy_boto3_timestream_write-1.19.9.dist-info/RECORD +0 -15
- {mypy_boto3_timestream_write-1.19.9.dist-info → mypy_boto3_timestream_write-1.41.0.dist-info}/top_level.txt +0 -0
|
@@ -1,268 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: mypy-boto3-timestream-write
|
|
3
|
-
Version: 1.19.9
|
|
4
|
-
Summary: Type annotations for boto3.TimestreamWrite 1.19.9 service, generated by mypy-boto3-builder 6.0.2
|
|
5
|
-
Home-page: https://github.com/vemel/mypy_boto3_builder
|
|
6
|
-
Author: Vlad Emelianov
|
|
7
|
-
Author-email: vlad.emelianov.nz@gmail.com
|
|
8
|
-
License: MIT License
|
|
9
|
-
Project-URL: Documentation, https://mypy-boto3-builder.readthedocs.io/en/latest/
|
|
10
|
-
Project-URL: Source, https://github.com/vemel/mypy_boto3_builder
|
|
11
|
-
Project-URL: Tracker, https://github.com/vemel/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 timestream-write type-annotations boto3-stubs mypy typeshed autocomplete
|
|
13
|
-
Platform: UNKNOWN
|
|
14
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
15
|
-
Classifier: Intended Audience :: Developers
|
|
16
|
-
Classifier: Environment :: Console
|
|
17
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
18
|
-
Classifier: Natural Language :: English
|
|
19
|
-
Classifier: Operating System :: OS Independent
|
|
20
|
-
Classifier: Programming Language :: Python :: 3
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
24
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
25
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
26
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Typing :: Typed
|
|
29
|
-
Requires-Python: >=3.6
|
|
30
|
-
Description-Content-Type: text/markdown
|
|
31
|
-
Requires-Dist: typing-extensions ; python_version < "3.9"
|
|
32
|
-
|
|
33
|
-
<a id="mypy-boto3-timestream-write"></a>
|
|
34
|
-
|
|
35
|
-
# mypy-boto3-timestream-write
|
|
36
|
-
|
|
37
|
-
[](https://pypi.org/project/mypy-boto3-timestream-write)
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-timestream-write)
|
|
39
|
-
[](https://mypy-boto3-builder.readthedocs.io/)
|
|
40
|
-
[](https://pypistats.org/packages/mypy-boto3-timestream-write)
|
|
41
|
-
|
|
42
|
-

|
|
43
|
-
|
|
44
|
-
Type annotations for
|
|
45
|
-
[boto3.TimestreamWrite 1.19.9](https://boto3.amazonaws.com/v1/documentation/api/1.19.9/reference/services/timestream-write.html#TimestreamWrite)
|
|
46
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
47
|
-
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
48
|
-
[Emacs](https://www.gnu.org/software/emacs/),
|
|
49
|
-
[Sublime Text](https://www.sublimetext.com/),
|
|
50
|
-
[mypy](https://github.com/python/mypy),
|
|
51
|
-
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
52
|
-
|
|
53
|
-
Generated by
|
|
54
|
-
[mypy-boto3-builder 6.0.2](https://github.com/vemel/mypy_boto3_builder).
|
|
55
|
-
|
|
56
|
-
More information can be found on
|
|
57
|
-
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
58
|
-
[mypy-boto3-timestream-write docs](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/)
|
|
59
|
-
|
|
60
|
-
See how it helps to find and fix potential bugs:
|
|
61
|
-
|
|
62
|
-

|
|
63
|
-
|
|
64
|
-
- [mypy-boto3-timestream-write](#mypy-boto3-timestream-write)
|
|
65
|
-
- [How to install](#how-to-install)
|
|
66
|
-
- [Usage](#usage)
|
|
67
|
-
- [VSCode](#vscode)
|
|
68
|
-
- [PyCharm](#pycharm)
|
|
69
|
-
- [Other IDEs](#other-ides)
|
|
70
|
-
- [mypy](#mypy)
|
|
71
|
-
- [pyright](#pyright)
|
|
72
|
-
- [Explicit type annotations](#explicit-type-annotations)
|
|
73
|
-
- [Client annotations](#client-annotations)
|
|
74
|
-
- [Literals](#literals)
|
|
75
|
-
- [Typed dictionaries](#typed-dictionaries)
|
|
76
|
-
- [Versioning](#versioning)
|
|
77
|
-
- [Documentation](#documentation)
|
|
78
|
-
- [Support and contributing](#support-and-contributing)
|
|
79
|
-
|
|
80
|
-
<a id="how-to-install"></a>
|
|
81
|
-
|
|
82
|
-
## How to install
|
|
83
|
-
|
|
84
|
-
Install `boto3-stubs` for `TimestreamWrite` service.
|
|
85
|
-
|
|
86
|
-
```bash
|
|
87
|
-
python -m pip install boto3-stubs[timestream-write]
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
<a id="usage"></a>
|
|
91
|
-
|
|
92
|
-
## Usage
|
|
93
|
-
|
|
94
|
-
<a id="vscode"></a>
|
|
95
|
-
|
|
96
|
-
### VSCode
|
|
97
|
-
|
|
98
|
-
- Install
|
|
99
|
-
[Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
|
|
100
|
-
- Install
|
|
101
|
-
[Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
|
|
102
|
-
- Set `Pylance` as your Python Language Server
|
|
103
|
-
- Install `boto-stubs[timestream-write]` in your environment:
|
|
104
|
-
`python -m pip install 'boto3-stubs[timestream-write]'`
|
|
105
|
-
|
|
106
|
-
Both type checking and auto-complete should work for `TimestreamWrite` service.
|
|
107
|
-
No explicit type annotations required, write your `boto3` code as usual.
|
|
108
|
-
|
|
109
|
-
<a id="pycharm"></a>
|
|
110
|
-
|
|
111
|
-
### PyCharm
|
|
112
|
-
|
|
113
|
-
- Install `boto-stubs[timestream-write]` in your environment:
|
|
114
|
-
`python -m pip install 'boto3-stubs[timestream-write]'`
|
|
115
|
-
|
|
116
|
-
Both type checking and auto-complete should work for `TimestreamWrite` service.
|
|
117
|
-
No explicit type annotations required, write your `boto3` code as usual.
|
|
118
|
-
Auto-complete can be slow on big projects or if you have a lot of installed
|
|
119
|
-
`boto3-stubs` submodules.
|
|
120
|
-
|
|
121
|
-
<a id="other-ides"></a>
|
|
122
|
-
|
|
123
|
-
### Other IDEs
|
|
124
|
-
|
|
125
|
-
Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
|
|
126
|
-
should work.
|
|
127
|
-
|
|
128
|
-
<a id="mypy"></a>
|
|
129
|
-
|
|
130
|
-
### mypy
|
|
131
|
-
|
|
132
|
-
- Install `mypy`: `python -m pip install mypy`
|
|
133
|
-
- Install `boto-stubs[timestream-write]` in your environment:
|
|
134
|
-
`python -m pip install 'boto3-stubs[timestream-write]'`
|
|
135
|
-
- Run `mypy` as usual
|
|
136
|
-
|
|
137
|
-
Type checking should work for `TimestreamWrite` service. No explicit type
|
|
138
|
-
annotations required, write your `boto3` code as usual.
|
|
139
|
-
|
|
140
|
-
<a id="pyright"></a>
|
|
141
|
-
|
|
142
|
-
### pyright
|
|
143
|
-
|
|
144
|
-
- Install `pyright`: `yarn global add pyright`
|
|
145
|
-
- Install `boto-stubs[timestream-write]` in your environment:
|
|
146
|
-
`python -m pip install 'boto3-stubs[timestream-write]'`
|
|
147
|
-
- Optionally, you can install `boto3-stubs` to `typings` folder.
|
|
148
|
-
|
|
149
|
-
Type checking should work for `TimestreamWrite` service. No explicit type
|
|
150
|
-
annotations required, write your `boto3` code as usual.
|
|
151
|
-
|
|
152
|
-
<a id="explicit-type-annotations"></a>
|
|
153
|
-
|
|
154
|
-
## Explicit type annotations
|
|
155
|
-
|
|
156
|
-
<a id="client-annotations"></a>
|
|
157
|
-
|
|
158
|
-
### Client annotations
|
|
159
|
-
|
|
160
|
-
`TimestreamWriteClient` provides annotations for
|
|
161
|
-
`boto3.client("timestream-write")`.
|
|
162
|
-
|
|
163
|
-
```python
|
|
164
|
-
import boto3
|
|
165
|
-
|
|
166
|
-
from mypy_boto3_timestream_write import TimestreamWriteClient
|
|
167
|
-
|
|
168
|
-
client: TimestreamWriteClient = boto3.client("timestream-write")
|
|
169
|
-
|
|
170
|
-
# now client usage is checked by mypy and IDE should provide code auto-complete
|
|
171
|
-
|
|
172
|
-
# works for session as well
|
|
173
|
-
session = boto3.session.Session(region="us-west-1")
|
|
174
|
-
session_client: TimestreamWriteClient = session.client("timestream-write")
|
|
175
|
-
```
|
|
176
|
-
|
|
177
|
-
<a id="literals"></a>
|
|
178
|
-
|
|
179
|
-
### Literals
|
|
180
|
-
|
|
181
|
-
`mypy_boto3_timestream_write.literals` module contains literals extracted from
|
|
182
|
-
shapes that can be used in user code for type checking.
|
|
183
|
-
|
|
184
|
-
```python
|
|
185
|
-
from mypy_boto3_timestream_write.literals import (
|
|
186
|
-
DimensionValueTypeType,
|
|
187
|
-
MeasureValueTypeType,
|
|
188
|
-
TableStatusType,
|
|
189
|
-
TimeUnitType,
|
|
190
|
-
ServiceName,
|
|
191
|
-
)
|
|
192
|
-
|
|
193
|
-
def check_value(value: DimensionValueTypeType) -> bool:
|
|
194
|
-
...
|
|
195
|
-
```
|
|
196
|
-
|
|
197
|
-
<a id="typed-dictionaries"></a>
|
|
198
|
-
|
|
199
|
-
### Typed dictionaries
|
|
200
|
-
|
|
201
|
-
`mypy_boto3_timestream_write.type_defs` module contains structures and shapes
|
|
202
|
-
assembled to typed dictionaries for additional type checking.
|
|
203
|
-
|
|
204
|
-
```python
|
|
205
|
-
from mypy_boto3_timestream_write.type_defs import (
|
|
206
|
-
CreateDatabaseRequestRequestTypeDef,
|
|
207
|
-
CreateDatabaseResponseTypeDef,
|
|
208
|
-
CreateTableRequestRequestTypeDef,
|
|
209
|
-
CreateTableResponseTypeDef,
|
|
210
|
-
DatabaseTypeDef,
|
|
211
|
-
DeleteDatabaseRequestRequestTypeDef,
|
|
212
|
-
DeleteTableRequestRequestTypeDef,
|
|
213
|
-
DescribeDatabaseRequestRequestTypeDef,
|
|
214
|
-
DescribeDatabaseResponseTypeDef,
|
|
215
|
-
DescribeEndpointsResponseTypeDef,
|
|
216
|
-
DescribeTableRequestRequestTypeDef,
|
|
217
|
-
DescribeTableResponseTypeDef,
|
|
218
|
-
DimensionTypeDef,
|
|
219
|
-
EndpointTypeDef,
|
|
220
|
-
ListDatabasesRequestRequestTypeDef,
|
|
221
|
-
ListDatabasesResponseTypeDef,
|
|
222
|
-
ListTablesRequestRequestTypeDef,
|
|
223
|
-
ListTablesResponseTypeDef,
|
|
224
|
-
ListTagsForResourceRequestRequestTypeDef,
|
|
225
|
-
ListTagsForResourceResponseTypeDef,
|
|
226
|
-
RecordTypeDef,
|
|
227
|
-
ResponseMetadataTypeDef,
|
|
228
|
-
RetentionPropertiesTypeDef,
|
|
229
|
-
TableTypeDef,
|
|
230
|
-
TagResourceRequestRequestTypeDef,
|
|
231
|
-
TagTypeDef,
|
|
232
|
-
UntagResourceRequestRequestTypeDef,
|
|
233
|
-
UpdateDatabaseRequestRequestTypeDef,
|
|
234
|
-
UpdateDatabaseResponseTypeDef,
|
|
235
|
-
UpdateTableRequestRequestTypeDef,
|
|
236
|
-
UpdateTableResponseTypeDef,
|
|
237
|
-
WriteRecordsRequestRequestTypeDef,
|
|
238
|
-
)
|
|
239
|
-
|
|
240
|
-
def get_structure() -> CreateDatabaseRequestRequestTypeDef:
|
|
241
|
-
return {
|
|
242
|
-
...
|
|
243
|
-
}
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
<a id="versioning"></a>
|
|
247
|
-
|
|
248
|
-
## Versioning
|
|
249
|
-
|
|
250
|
-
`mypy-boto3-timestream-write` version is the same as related `boto3` version
|
|
251
|
-
and follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
|
|
252
|
-
|
|
253
|
-
<a id="documentation"></a>
|
|
254
|
-
|
|
255
|
-
## Documentation
|
|
256
|
-
|
|
257
|
-
All type annotations can be found in
|
|
258
|
-
[mypy-boto3-timestream-write docs](https://vemel.github.io/boto3_stubs_docs/mypy_boto3_timestream_write/)
|
|
259
|
-
|
|
260
|
-
<a id="support-and-contributing"></a>
|
|
261
|
-
|
|
262
|
-
## Support and contributing
|
|
263
|
-
|
|
264
|
-
This package is auto-generated. Please reports any bugs or request new features
|
|
265
|
-
in [mypy-boto3-builder](https://github.com/vemel/mypy_boto3_builder/issues/)
|
|
266
|
-
repository.
|
|
267
|
-
|
|
268
|
-
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
mypy_boto3_timestream_write/__init__.py,sha256=vhCKbslGKW32wqLSyFPMLl6Zk-SJNxHpXziLW6BCBD0,503
|
|
2
|
-
mypy_boto3_timestream_write/__init__.pyi,sha256=jtGDae9-r-uH87olvFI_YLrdVCDJ3WciFYBj3_dpj_8,502
|
|
3
|
-
mypy_boto3_timestream_write/__main__.py,sha256=v5naMCSZg0SmTnaZildXl83OjtJfXIwC8RXANlw69yU,927
|
|
4
|
-
mypy_boto3_timestream_write/client.py,sha256=hIFLVbm_cinKQkEupIiYl0eDJbpqrBI0-s2Ts2Ct36k,11415
|
|
5
|
-
mypy_boto3_timestream_write/client.pyi,sha256=2XwCowhkMBMRyENQwRxerLoybv6ogDoWUoAv8yxAGFg,11393
|
|
6
|
-
mypy_boto3_timestream_write/literals.py,sha256=SWPFstrm-gAWxbDsbOW7JIMRSjbQ54IXG4K9AajWvYA,6200
|
|
7
|
-
mypy_boto3_timestream_write/literals.pyi,sha256=6TNGM70FytxTH7VdhDyDExWIB0aOa40JJc_j4iOu6CM,6198
|
|
8
|
-
mypy_boto3_timestream_write/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
9
|
-
mypy_boto3_timestream_write/type_defs.py,sha256=chrrMrFb1a4LPTpOVxknQJFBO4GQ7xEk4EyIjT1cUro,9238
|
|
10
|
-
mypy_boto3_timestream_write/type_defs.pyi,sha256=yZbywWPFGZ_ogiPTP_BAxdDBQs1oujcsoeUnfpJVFSE,9230
|
|
11
|
-
mypy_boto3_timestream_write/version.py,sha256=XFMWXRMs1ZablzoJEtSukcDut5l5hoMiuWDp2I718qA,60
|
|
12
|
-
mypy_boto3_timestream_write-1.19.9.dist-info/METADATA,sha256=f4aiAuzpDBW-zbL8Xq89ySPe8pH6aVe9Y69F91x4h_w,8863
|
|
13
|
-
mypy_boto3_timestream_write-1.19.9.dist-info/WHEEL,sha256=ewwEueio1C2XeHTvT17n8dZUJgOvyCWCt0WVNLClP9o,92
|
|
14
|
-
mypy_boto3_timestream_write-1.19.9.dist-info/top_level.txt,sha256=g0nGBj3bO-9Vwwsr8V_FiQKyD6j_DiiQwWVAEYq4lR8,28
|
|
15
|
-
mypy_boto3_timestream_write-1.19.9.dist-info/RECORD,,
|
|
File without changes
|