types-aiobotocore-ram 2.25.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. types_aiobotocore_ram-2.25.2/LICENSE +21 -0
  2. types_aiobotocore_ram-2.25.2/PKG-INFO +486 -0
  3. types_aiobotocore_ram-2.25.2/README.md +453 -0
  4. types_aiobotocore_ram-2.25.2/pyproject.toml +61 -0
  5. types_aiobotocore_ram-2.25.2/setup.cfg +4 -0
  6. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/__init__.py +60 -0
  7. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/__init__.pyi +59 -0
  8. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/__main__.py +43 -0
  9. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/client.py +628 -0
  10. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/client.pyi +625 -0
  11. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/literals.py +533 -0
  12. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/literals.pyi +531 -0
  13. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/paginator.py +201 -0
  14. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/paginator.pyi +182 -0
  15. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/py.typed +0 -0
  16. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/type_defs.py +762 -0
  17. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/type_defs.pyi +676 -0
  18. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram/version.py +7 -0
  19. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram.egg-info/PKG-INFO +486 -0
  20. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram.egg-info/SOURCES.txt +21 -0
  21. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram.egg-info/dependency_links.txt +1 -0
  22. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram.egg-info/requires.txt +3 -0
  23. types_aiobotocore_ram-2.25.2/types_aiobotocore_ram.egg-info/top_level.txt +1 -0
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 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,486 @@
1
+ Metadata-Version: 2.4
2
+ Name: types-aiobotocore-ram
3
+ Version: 2.25.2
4
+ Summary: Type annotations for aiobotocore RAM 2.25.2 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_ram/
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,ram,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-ram"></a>
35
+
36
+ # types-aiobotocore-ram
37
+
38
+ [![PyPI - types-aiobotocore-ram](https://img.shields.io/pypi/v/types-aiobotocore-ram.svg?color=blue)](https://pypi.org/project/types-aiobotocore-ram/)
39
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-aiobotocore-ram.svg?color=blue)](https://pypi.org/project/types-aiobotocore-ram/)
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-ram)](https://pypistats.org/packages/types-aiobotocore-ram)
42
+
43
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
+
45
+ Type annotations for
46
+ [aiobotocore RAM 2.25.2](https://pypi.org/project/aiobotocore/) compatible with
47
+ [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-ram docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_ram/).
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-ram](#types-aiobotocore-ram)
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
+ - [Paginators annotations](#paginators-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="generate-locally-(recommended)"></a>
98
+
99
+ ### Generate locally (recommended)
100
+
101
+ You can generate type annotations for `aiobotocore` package locally with
102
+ `mypy-boto3-builder`. Use
103
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
104
+ isolation.
105
+
106
+ 1. Run mypy-boto3-builder in your package root directory:
107
+ `uvx --with 'aiobotocore==2.25.2' mypy-boto3-builder`
108
+ 2. Select `aiobotocore` AWS SDK.
109
+ 3. Add `RAM` service.
110
+ 4. Use provided commands to install generated packages.
111
+
112
+ <a id="from-pypi-with-pip"></a>
113
+
114
+ ### From PyPI with pip
115
+
116
+ Install `types-aiobotocore` for `RAM` service.
117
+
118
+ ```bash
119
+ # install with aiobotocore type annotations
120
+ python -m pip install 'types-aiobotocore[ram]'
121
+
122
+ # Lite version does not provide session.client/resource overloads
123
+ # it is more RAM-friendly, but requires explicit type annotations
124
+ python -m pip install 'types-aiobotocore-lite[ram]'
125
+
126
+ # standalone installation
127
+ python -m pip install types-aiobotocore-ram
128
+ ```
129
+
130
+ <a id="how-to-uninstall"></a>
131
+
132
+ ## How to uninstall
133
+
134
+ ```bash
135
+ python -m pip uninstall -y types-aiobotocore-ram
136
+ ```
137
+
138
+ <a id="usage"></a>
139
+
140
+ ## Usage
141
+
142
+ <a id="vscode"></a>
143
+
144
+ ### VSCode
145
+
146
+ - Install
147
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
148
+ - Install
149
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
150
+ - Set `Pylance` as your Python Language Server
151
+ - Install `types-aiobotocore[ram]` in your environment:
152
+
153
+ ```bash
154
+ python -m pip install 'types-aiobotocore[ram]'
155
+ ```
156
+
157
+ Both type checking and code completion should now work. No explicit type
158
+ annotations required, write your `aiobotocore` code as usual.
159
+
160
+ <a id="pycharm"></a>
161
+
162
+ ### PyCharm
163
+
164
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
165
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
166
+ > to use
167
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/)
168
+ > until the issue is resolved.
169
+
170
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
171
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
172
+ > [pyright](https://github.com/microsoft/pyright) instead.
173
+
174
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
175
+ > `types-aiobotocore` with
176
+ > [types-aiobotocore-lite](https://pypi.org/project/types-aiobotocore-lite/):
177
+
178
+ ```bash
179
+ pip uninstall types-aiobotocore
180
+ pip install types-aiobotocore-lite
181
+ ```
182
+
183
+ Install `types-aiobotocore[ram]` in your environment:
184
+
185
+ ```bash
186
+ python -m pip install 'types-aiobotocore[ram]'
187
+ ```
188
+
189
+ Both type checking and code completion should now work.
190
+
191
+ <a id="emacs"></a>
192
+
193
+ ### Emacs
194
+
195
+ - Install `types-aiobotocore` with services you use in your environment:
196
+
197
+ ```bash
198
+ python -m pip install 'types-aiobotocore[ram]'
199
+ ```
200
+
201
+ - Install [use-package](https://github.com/jwiegley/use-package),
202
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
203
+ [company](https://github.com/company-mode/company-mode) and
204
+ [flycheck](https://github.com/flycheck/flycheck) packages
205
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
206
+
207
+ ```elisp
208
+ (use-package lsp-pyright
209
+ :ensure t
210
+ :hook (python-mode . (lambda ()
211
+ (require 'lsp-pyright)
212
+ (lsp))) ; or lsp-deferred
213
+ :init (when (executable-find "python3")
214
+ (setq lsp-pyright-python-executable-cmd "python3"))
215
+ )
216
+ ```
217
+
218
+ - Make sure emacs uses the environment where you have installed
219
+ `types-aiobotocore`
220
+
221
+ Type checking should now work. No explicit type annotations required, write
222
+ your `aiobotocore` code as usual.
223
+
224
+ <a id="sublime-text"></a>
225
+
226
+ ### Sublime Text
227
+
228
+ - Install `types-aiobotocore[ram]` with services you use in your environment:
229
+
230
+ ```bash
231
+ python -m pip install 'types-aiobotocore[ram]'
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[ram]` in your environment:
252
+
253
+ ```bash
254
+ python -m pip install 'types-aiobotocore[ram]'
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[ram]` in your environment:
266
+
267
+ ```bash
268
+ python -m pip install 'types-aiobotocore[ram]'
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-ram` dependency in production. However, there is an issue in
282
+ `pylint` that it complains about undefined variables. To fix it, set all types
283
+ 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
+ `RAMClient` provides annotations for `session.create_client("ram")`.
310
+
311
+ ```python
312
+ from aiobotocore.session import get_session
313
+
314
+ from types_aiobotocore_ram import RAMClient
315
+
316
+ session = get_session()
317
+ async with session.create_client("ram") as client:
318
+ client: RAMClient
319
+ # now client usage is checked by mypy and IDE should provide code completion
320
+ ```
321
+
322
+ <a id="paginators-annotations"></a>
323
+
324
+ ### Paginators annotations
325
+
326
+ `types_aiobotocore_ram.paginator` module contains type annotations for all
327
+ paginators.
328
+
329
+ ```python
330
+ from aiobotocore.session import get_session
331
+
332
+ from types_aiobotocore_ram import RAMClient
333
+ from types_aiobotocore_ram.paginator import (
334
+ GetResourcePoliciesPaginator,
335
+ GetResourceShareAssociationsPaginator,
336
+ GetResourceShareInvitationsPaginator,
337
+ GetResourceSharesPaginator,
338
+ ListPrincipalsPaginator,
339
+ ListResourcesPaginator,
340
+ )
341
+
342
+ session = get_session()
343
+ async with session.create_client("ram") as client:
344
+ client: RAMClient
345
+
346
+ # Explicit type annotations are optional here
347
+ # Types should be correctly discovered by mypy and IDEs
348
+ get_resource_policies_paginator: GetResourcePoliciesPaginator = client.get_paginator(
349
+ "get_resource_policies"
350
+ )
351
+ get_resource_share_associations_paginator: GetResourceShareAssociationsPaginator = (
352
+ client.get_paginator("get_resource_share_associations")
353
+ )
354
+ get_resource_share_invitations_paginator: GetResourceShareInvitationsPaginator = (
355
+ client.get_paginator("get_resource_share_invitations")
356
+ )
357
+ get_resource_shares_paginator: GetResourceSharesPaginator = client.get_paginator(
358
+ "get_resource_shares"
359
+ )
360
+ list_principals_paginator: ListPrincipalsPaginator = client.get_paginator("list_principals")
361
+ list_resources_paginator: ListResourcesPaginator = client.get_paginator("list_resources")
362
+ ```
363
+
364
+ <a id="literals"></a>
365
+
366
+ ### Literals
367
+
368
+ `types_aiobotocore_ram.literals` module contains literals extracted from shapes
369
+ that can be used in user code for type checking.
370
+
371
+ Full list of `RAM` Literals can be found in
372
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_ram/literals/).
373
+
374
+ ```python
375
+ from types_aiobotocore_ram.literals import GetResourcePoliciesPaginatorName
376
+
377
+
378
+ def check_value(value: GetResourcePoliciesPaginatorName) -> bool: ...
379
+ ```
380
+
381
+ <a id="type-definitions"></a>
382
+
383
+ ### Type definitions
384
+
385
+ `types_aiobotocore_ram.type_defs` module contains structures and shapes
386
+ assembled to typed dictionaries and unions for additional type checking.
387
+
388
+ Full list of `RAM` TypeDefs can be found in
389
+ [docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_ram/type_defs/).
390
+
391
+ ```python
392
+ # TypedDict usage example
393
+ from types_aiobotocore_ram.type_defs import AcceptResourceShareInvitationRequestTypeDef
394
+
395
+
396
+ def get_value() -> AcceptResourceShareInvitationRequestTypeDef:
397
+ return {
398
+ "resourceShareInvitationArn": ...,
399
+ }
400
+ ```
401
+
402
+ <a id="how-it-works"></a>
403
+
404
+ ## How it works
405
+
406
+ Fully automated
407
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
408
+ generates type annotations for each service, patiently waiting for
409
+ `aiobotocore` updates. It delivers drop-in type annotations for you and makes
410
+ sure that:
411
+
412
+ - All available `aiobotocore` services are covered.
413
+ - Each public class and method of every `aiobotocore` service gets valid type
414
+ annotations extracted from `botocore` schemas.
415
+ - Type annotations include up-to-date documentation.
416
+ - Link to documentation is provided for every method.
417
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
418
+
419
+ <a id="what's-new"></a>
420
+
421
+ ## What's new
422
+
423
+ <a id="implemented-features"></a>
424
+
425
+ ### Implemented features
426
+
427
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
428
+ libraries
429
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
430
+ compatibility
431
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
432
+ annotations for each service
433
+ - Generated `TypeDefs` for each service
434
+ - Generated `Literals` for each service
435
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
436
+ - Auto discovery of types for `session.client` and `session.resource` calls
437
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
438
+ calls
439
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
440
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
441
+
442
+ <a id="latest-changes"></a>
443
+
444
+ ### Latest changes
445
+
446
+ Builder changelog can be found in
447
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
448
+
449
+ <a id="versioning"></a>
450
+
451
+ ## Versioning
452
+
453
+ `types-aiobotocore-ram` version is the same as related `aiobotocore` version
454
+ and follows
455
+ [Python Packaging version specifiers](https://packaging.python.org/en/latest/specifications/version-specifiers/).
456
+
457
+ <a id="thank-you"></a>
458
+
459
+ ## Thank you
460
+
461
+ - [Allie Fitter](https://github.com/alliefitter) for
462
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
463
+ this package is based on top of his work
464
+ - [black](https://github.com/psf/black) developers for an awesome formatting
465
+ tool
466
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
467
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
468
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
469
+ for us
470
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
471
+ Python
472
+
473
+ <a id="documentation"></a>
474
+
475
+ ## Documentation
476
+
477
+ All services type annotations can be found in
478
+ [aiobotocore docs](https://youtype.github.io/types_aiobotocore_docs/types_aiobotocore_ram/)
479
+
480
+ <a id="support-and-contributing"></a>
481
+
482
+ ## Support and contributing
483
+
484
+ This package is auto-generated. Please reports any bugs or request new features
485
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
486
+ repository.