types-aiobotocore-opensearchserverless 3.4.0__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.

Potentially problematic release.


This version of types-aiobotocore-opensearchserverless might be problematic. Click here for more details.

Files changed (21) hide show
  1. types_aiobotocore_opensearchserverless-3.4.0/LICENSE +21 -0
  2. types_aiobotocore_opensearchserverless-3.4.0/PKG-INFO +446 -0
  3. types_aiobotocore_opensearchserverless-3.4.0/README.md +413 -0
  4. types_aiobotocore_opensearchserverless-3.4.0/pyproject.toml +61 -0
  5. types_aiobotocore_opensearchserverless-3.4.0/setup.cfg +4 -0
  6. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/__init__.py +30 -0
  7. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/__init__.pyi +29 -0
  8. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/__main__.py +43 -0
  9. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/client.py +638 -0
  10. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/client.pyi +635 -0
  11. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/literals.py +508 -0
  12. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/literals.pyi +506 -0
  13. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/py.typed +0 -0
  14. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/type_defs.py +1184 -0
  15. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/type_defs.pyi +1095 -0
  16. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless/version.py +7 -0
  17. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless.egg-info/PKG-INFO +446 -0
  18. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless.egg-info/SOURCES.txt +19 -0
  19. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless.egg-info/dependency_links.txt +1 -0
  20. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless.egg-info/requires.txt +3 -0
  21. types_aiobotocore_opensearchserverless-3.4.0/types_aiobotocore_opensearchserverless.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 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,446 @@
1
+ Metadata-Version: 2.4
2
+ Name: types-aiobotocore-opensearchserverless
3
+ Version: 3.4.0
4
+ Summary: Type annotations for aiobotocore OpenSearchServiceServerless 3.4.0 service generated with mypy-boto3-builder 8.12.0
5
+ Author-email: Vlad Emelianov <vlad.emelianov.nz@gmail.com>
6
+ License-Expression: MIT
7
+ Project-URL: Homepage, https://github.com/youtype/mypy_boto3_builder
8
+ Project-URL: Documentation, https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_opensearchserverless/
9
+ Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
10
+ Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
11
+ Keywords: aiobotocore,opensearchserverless,aiobotocore-stubs,type-annotations,mypy,typeshed,autocomplete
12
+ Platform: any
13
+ Classifier: Development Status :: 5 - Production/Stable
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: Environment :: Console
16
+ Classifier: Natural Language :: English
17
+ Classifier: Operating System :: OS Independent
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3 :: Only
26
+ Classifier: Programming Language :: Python :: Implementation :: CPython
27
+ Classifier: Typing :: Stubs Only
28
+ Requires-Python: >=3.9
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE
31
+ Requires-Dist: typing-extensions; python_version < "3.12"
32
+ Dynamic: license-file
33
+
34
+ <a id="types-aiobotocore-opensearchserverless"></a>
35
+
36
+ # types-aiobotocore-opensearchserverless
37
+
38
+ [![PyPI - types-aiobotocore-opensearchserverless](https://img.shields.io/pypi/v/types-aiobotocore-opensearchserverless.svg?color=blue)](https://pypi.org/project/types-aiobotocore-opensearchserverless/)
39
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-aiobotocore-opensearchserverless.svg?color=blue)](https://pypi.org/project/types-aiobotocore-opensearchserverless/)
40
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_aiobotocore_docs/)
41
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-aiobotocore-opensearchserverless)](https://pypistats.org/packages/types-aiobotocore-opensearchserverless)
42
+
43
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
+
45
+ Type annotations for
46
+ [aiobotocore OpenSearchServiceServerless 3.4.0](https://pypi.org/project/aiobotocore/)
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 with
55
+ [mypy-boto3-builder 8.12.0](https://github.com/youtype/mypy_boto3_builder).
56
+
57
+ More information can be found on
58
+ [types-aiobotocore](https://pypi.org/project/types-aiobotocore/) page and in
59
+ [types-aiobotocore-opensearchserverless docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_opensearchserverless/).
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-aiobotocore-opensearchserverless](#types-aiobotocore-opensearchserverless)
66
+ - [How to install](#how-to-install)
67
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
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
+ - [Literals](#literals)
82
+ - [Type definitions](#type-definitions)
83
+ - [How it works](#how-it-works)
84
+ - [What's new](#what's-new)
85
+ - [Implemented features](#implemented-features)
86
+ - [Latest changes](#latest-changes)
87
+ - [Versioning](#versioning)
88
+ - [Thank you](#thank-you)
89
+ - [Documentation](#documentation)
90
+ - [Support and contributing](#support-and-contributing)
91
+
92
+ <a id="how-to-install"></a>
93
+
94
+ ## How to install
95
+
96
+ <a id="generate-locally-(recommended)"></a>
97
+
98
+ ### Generate locally (recommended)
99
+
100
+ You can generate type annotations for `aiobotocore` package locally with
101
+ `mypy-boto3-builder`. Use
102
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
103
+ isolation.
104
+
105
+ 1. Run mypy-boto3-builder in your package root directory:
106
+ `uvx --with 'aiobotocore==3.4.0' mypy-boto3-builder`
107
+ 2. Select `aiobotocore` AWS SDK.
108
+ 3. Add `OpenSearchServiceServerless` service.
109
+ 4. Use provided commands to install generated packages.
110
+
111
+ <a id="from-pypi-with-pip"></a>
112
+
113
+ ### From PyPI with pip
114
+
115
+ Install `types-aiobotocore` for `OpenSearchServiceServerless` service.
116
+
117
+ ```bash
118
+ # install with aiobotocore type annotations
119
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
120
+
121
+ # Lite version does not provide session.client/resource overloads
122
+ # it is more RAM-friendly, but requires explicit type annotations
123
+ python -m pip install 'types-aiobotocore-lite[opensearchserverless]'
124
+
125
+ # standalone installation
126
+ python -m pip install types-aiobotocore-opensearchserverless
127
+ ```
128
+
129
+ <a id="how-to-uninstall"></a>
130
+
131
+ ## How to uninstall
132
+
133
+ ```bash
134
+ python -m pip uninstall -y types-aiobotocore-opensearchserverless
135
+ ```
136
+
137
+ <a id="usage"></a>
138
+
139
+ ## Usage
140
+
141
+ <a id="vscode"></a>
142
+
143
+ ### VSCode
144
+
145
+ - Install
146
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
147
+ - Install
148
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
149
+ - Set `Pylance` as your Python Language Server
150
+ - Install `types-aiobotocore[opensearchserverless]` in your environment:
151
+
152
+ ```bash
153
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
154
+ ```
155
+
156
+ Both type checking and code completion should now work. No explicit type
157
+ annotations required, write your `aiobotocore` code as usual.
158
+
159
+ <a id="pycharm"></a>
160
+
161
+ ### PyCharm
162
+
163
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
164
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
165
+ > to use
166
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/)
167
+ > until the issue is resolved.
168
+
169
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
170
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
171
+ > [pyright](https://github.com/microsoft/pyright) instead.
172
+
173
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
174
+ > `types-aiobotocore` with
175
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/):
176
+
177
+ ```bash
178
+ pip uninstall types-aiobotocore
179
+ pip install types-aiobotocore-lite
180
+ ```
181
+
182
+ Install `types-aiobotocore[opensearchserverless]` in your environment:
183
+
184
+ ```bash
185
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
186
+ ```
187
+
188
+ Both type checking and code completion should now work.
189
+
190
+ <a id="emacs"></a>
191
+
192
+ ### Emacs
193
+
194
+ - Install `types-aiobotocore` with services you use in your environment:
195
+
196
+ ```bash
197
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
198
+ ```
199
+
200
+ - Install [use-package](https://github.com/jwiegley/use-package),
201
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
202
+ [company](https://github.com/company-mode/company-mode) and
203
+ [flycheck](https://github.com/flycheck/flycheck) packages
204
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
205
+
206
+ ```elisp
207
+ (use-package lsp-pyright
208
+ :ensure t
209
+ :hook (python-mode . (lambda ()
210
+ (require 'lsp-pyright)
211
+ (lsp))) ; or lsp-deferred
212
+ :init (when (executable-find "python3")
213
+ (setq lsp-pyright-python-executable-cmd "python3"))
214
+ )
215
+ ```
216
+
217
+ - Make sure emacs uses the environment where you have installed
218
+ `types-aiobotocore`
219
+
220
+ Type checking should now work. No explicit type annotations required, write
221
+ your `aiobotocore` code as usual.
222
+
223
+ <a id="sublime-text"></a>
224
+
225
+ ### Sublime Text
226
+
227
+ - Install `types-aiobotocore[opensearchserverless]` with services you use in
228
+ your environment:
229
+
230
+ ```bash
231
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
232
+ ```
233
+
234
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
235
+
236
+ Type checking should now work. No explicit type annotations required, write
237
+ your `aiobotocore` code as usual.
238
+
239
+ <a id="other-ides"></a>
240
+
241
+ ### Other IDEs
242
+
243
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
244
+ should work.
245
+
246
+ <a id="mypy"></a>
247
+
248
+ ### mypy
249
+
250
+ - Install `mypy`: `python -m pip install mypy`
251
+ - Install `types-aiobotocore[opensearchserverless]` in your environment:
252
+
253
+ ```bash
254
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
255
+ ```
256
+
257
+ Type checking should now work. No explicit type annotations required, write
258
+ your `aiobotocore` code as usual.
259
+
260
+ <a id="pyright"></a>
261
+
262
+ ### pyright
263
+
264
+ - Install `pyright`: `npm i -g pyright`
265
+ - Install `types-aiobotocore[opensearchserverless]` in your environment:
266
+
267
+ ```bash
268
+ python -m pip install 'types-aiobotocore[opensearchserverless]'
269
+ ```
270
+
271
+ Optionally, you can install `types-aiobotocore` to `typings` directory.
272
+
273
+ Type checking should now work. No explicit type annotations required, write
274
+ your `aiobotocore` code as usual.
275
+
276
+ <a id="pylint-compatibility"></a>
277
+
278
+ ### Pylint compatibility
279
+
280
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
281
+ `types-aiobotocore-opensearchserverless` dependency in production. However,
282
+ there is an issue in `pylint` that it complains about undefined variables. To
283
+ fix it, set all types to `object` in non-`TYPE_CHECKING` mode.
284
+
285
+ ```python
286
+ from typing import TYPE_CHECKING
287
+
288
+ if TYPE_CHECKING:
289
+ from types_aiobotocore_ec2 import EC2Client, EC2ServiceResource
290
+ from types_aiobotocore_ec2.waiters import BundleTaskCompleteWaiter
291
+ from types_aiobotocore_ec2.paginators import DescribeVolumesPaginator
292
+ else:
293
+ EC2Client = object
294
+ EC2ServiceResource = object
295
+ BundleTaskCompleteWaiter = object
296
+ DescribeVolumesPaginator = object
297
+
298
+ ...
299
+ ```
300
+
301
+ <a id="explicit-type-annotations"></a>
302
+
303
+ ## Explicit type annotations
304
+
305
+ <a id="client-annotations"></a>
306
+
307
+ ### Client annotations
308
+
309
+ `OpenSearchServiceServerlessClient` provides annotations for
310
+ `session.create_client("opensearchserverless")`.
311
+
312
+ ```python
313
+ from aiobotocore.session import get_session
314
+
315
+ from types_aiobotocore_opensearchserverless import OpenSearchServiceServerlessClient
316
+
317
+ session = get_session()
318
+ async with session.create_client("opensearchserverless") as client:
319
+ client: OpenSearchServiceServerlessClient
320
+ # now client usage is checked by mypy and IDE should provide code completion
321
+ ```
322
+
323
+ <a id="literals"></a>
324
+
325
+ ### Literals
326
+
327
+ `types_aiobotocore_opensearchserverless.literals` module contains literals
328
+ extracted from shapes that can be used in user code for type checking.
329
+
330
+ Full list of `OpenSearchServiceServerless` Literals can be found in
331
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_opensearchserverless/literals/).
332
+
333
+ ```python
334
+ from types_aiobotocore_opensearchserverless.literals import AccessPolicyTypeType
335
+
336
+
337
+ def check_value(value: AccessPolicyTypeType) -> bool: ...
338
+ ```
339
+
340
+ <a id="type-definitions"></a>
341
+
342
+ ### Type definitions
343
+
344
+ `types_aiobotocore_opensearchserverless.type_defs` module contains structures
345
+ and shapes assembled to typed dictionaries and unions for additional type
346
+ checking.
347
+
348
+ Full list of `OpenSearchServiceServerless` TypeDefs can be found in
349
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_opensearchserverless/type_defs/).
350
+
351
+ ```python
352
+ # TypedDict usage example
353
+ from types_aiobotocore_opensearchserverless.type_defs import AccessPolicyDetailTypeDef
354
+
355
+
356
+ def get_value() -> AccessPolicyDetailTypeDef:
357
+ return {
358
+ "type": ...,
359
+ }
360
+ ```
361
+
362
+ <a id="how-it-works"></a>
363
+
364
+ ## How it works
365
+
366
+ Fully automated
367
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
368
+ generates type annotations for each service, patiently waiting for
369
+ `aiobotocore` updates. It delivers drop-in type annotations for you and makes
370
+ sure that:
371
+
372
+ - All available `aiobotocore` services are covered.
373
+ - Each public class and method of every `aiobotocore` service gets valid type
374
+ annotations extracted from `botocore` schemas.
375
+ - Type annotations include up-to-date documentation.
376
+ - Link to documentation is provided for every method.
377
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
378
+
379
+ <a id="what's-new"></a>
380
+
381
+ ## What's new
382
+
383
+ <a id="implemented-features"></a>
384
+
385
+ ### Implemented features
386
+
387
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
388
+ libraries
389
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
390
+ compatibility
391
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
392
+ annotations for each service
393
+ - Generated `TypeDefs` for each service
394
+ - Generated `Literals` for each service
395
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
396
+ - Auto discovery of types for `session.client` and `session.resource` calls
397
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
398
+ calls
399
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
400
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
401
+
402
+ <a id="latest-changes"></a>
403
+
404
+ ### Latest changes
405
+
406
+ Builder changelog can be found in
407
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
408
+
409
+ <a id="versioning"></a>
410
+
411
+ ## Versioning
412
+
413
+ `types-aiobotocore-opensearchserverless` version is the same as related
414
+ `aiobotocore` version and follows
415
+ [Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
416
+
417
+ <a id="thank-you"></a>
418
+
419
+ ## Thank you
420
+
421
+ - [Allie Fitter](https://github.com/alliefitter) for
422
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
423
+ this package is based on top of his work
424
+ - [black](https://github.com/psf/black) developers for an awesome formatting
425
+ tool
426
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
427
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
428
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
429
+ for us
430
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
431
+ Python
432
+
433
+ <a id="documentation"></a>
434
+
435
+ ## Documentation
436
+
437
+ All services type annotations can be found in
438
+ [aiobotocore docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_opensearchserverless/)
439
+
440
+ <a id="support-and-contributing"></a>
441
+
442
+ ## Support and contributing
443
+
444
+ This package is auto-generated. Please reports any bugs or request new features
445
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
446
+ repository.