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