types-boto3-cloudformation 1.35.93__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 (28) hide show
  1. types_boto3_cloudformation-1.35.93/LICENSE +21 -0
  2. types_boto3_cloudformation-1.35.93/PKG-INFO +639 -0
  3. types_boto3_cloudformation-1.35.93/README.md +605 -0
  4. types_boto3_cloudformation-1.35.93/setup.cfg +4 -0
  5. types_boto3_cloudformation-1.35.93/setup.py +54 -0
  6. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/__init__.py +153 -0
  7. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/__init__.pyi +150 -0
  8. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/__main__.py +43 -0
  9. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/client.py +1435 -0
  10. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/client.pyi +1432 -0
  11. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/literals.py +833 -0
  12. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/literals.pyi +831 -0
  13. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/paginator.py +512 -0
  14. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/paginator.pyi +457 -0
  15. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/py.typed +0 -0
  16. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/service_resource.py +549 -0
  17. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/service_resource.pyi +532 -0
  18. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/type_defs.py +2351 -0
  19. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/type_defs.pyi +2101 -0
  20. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/version.py +7 -0
  21. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/waiter.py +186 -0
  22. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation/waiter.pyi +169 -0
  23. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.egg-info/PKG-INFO +639 -0
  24. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.egg-info/SOURCES.txt +26 -0
  25. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.egg-info/dependency_links.txt +1 -0
  26. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.egg-info/not-zip-safe +1 -0
  27. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.egg-info/requires.txt +3 -0
  28. types_boto3_cloudformation-1.35.93/types_boto3_cloudformation.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,639 @@
1
+ Metadata-Version: 2.1
2
+ Name: types-boto3-cloudformation
3
+ Version: 1.35.93
4
+ Summary: Type annotations for boto3 CloudFormation 1.35.93 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_cloudformation/
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 cloudformation 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
+
35
+ <a id="types-boto3-cloudformation"></a>
36
+
37
+ # types-boto3-cloudformation
38
+
39
+ [![PyPI - types-boto3-cloudformation](https://img.shields.io/pypi/v/types-boto3-cloudformation.svg?color=blue)](https://pypi.org/project/types-boto3-cloudformation/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/types-boto3-cloudformation.svg?color=blue)](https://pypi.org/project/types-boto3-cloudformation/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/types_boto3_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/types-boto3-cloudformation)](https://pypistats.org/packages/types-boto3-cloudformation)
43
+
44
+ ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
45
+
46
+ Type annotations for
47
+ [boto3 CloudFormation 1.35.93](https://pypi.org/project/boto3/) compatible with
48
+ [VSCode](https://code.visualstudio.com/),
49
+ [PyCharm](https://www.jetbrains.com/pycharm/),
50
+ [Emacs](https://www.gnu.org/software/emacs/),
51
+ [Sublime Text](https://www.sublimetext.com/),
52
+ [mypy](https://github.com/python/mypy),
53
+ [pyright](https://github.com/microsoft/pyright) and other tools.
54
+
55
+ Generated with
56
+ [mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
57
+
58
+ More information can be found on
59
+ [types-boto3](https://pypi.org/project/types-boto3/) page and in
60
+ [types-boto3-cloudformation docs](https://youtype.github.io/types_boto3_docs/types_boto3_cloudformation/).
61
+
62
+ See how it helps you find and fix potential bugs:
63
+
64
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
65
+
66
+ - [types-boto3-cloudformation](#types-boto3-cloudformation)
67
+ - [How to install](#how-to-install)
68
+ - [Generate locally (recommended)](<#generate-locally-(recommended)>)
69
+ - [VSCode extension](#vscode-extension)
70
+ - [From PyPI with pip](#from-pypi-with-pip)
71
+ - [How to uninstall](#how-to-uninstall)
72
+ - [Usage](#usage)
73
+ - [VSCode](#vscode)
74
+ - [PyCharm](#pycharm)
75
+ - [Emacs](#emacs)
76
+ - [Sublime Text](#sublime-text)
77
+ - [Other IDEs](#other-ides)
78
+ - [mypy](#mypy)
79
+ - [pyright](#pyright)
80
+ - [Pylint compatibility](#pylint-compatibility)
81
+ - [Explicit type annotations](#explicit-type-annotations)
82
+ - [Client annotations](#client-annotations)
83
+ - [Paginators annotations](#paginators-annotations)
84
+ - [Waiters annotations](#waiters-annotations)
85
+ - [Service Resource annotations](#service-resource-annotations)
86
+ - [Other resources annotations](#other-resources-annotations)
87
+ - [Collections annotations](#collections-annotations)
88
+ - [Literals](#literals)
89
+ - [Type definitions](#type-definitions)
90
+ - [How it works](#how-it-works)
91
+ - [What's new](#what's-new)
92
+ - [Implemented features](#implemented-features)
93
+ - [Latest changes](#latest-changes)
94
+ - [Versioning](#versioning)
95
+ - [Thank you](#thank-you)
96
+ - [Documentation](#documentation)
97
+ - [Support and contributing](#support-and-contributing)
98
+
99
+ <a id="how-to-install"></a>
100
+
101
+ ## How to install
102
+
103
+ <a id="generate-locally-(recommended)"></a>
104
+
105
+ ### Generate locally (recommended)
106
+
107
+ You can generate type annotations for `boto3` package locally with
108
+ `mypy_boto3_builder`. Use
109
+ [uv](https://docs.astral.sh/uv/getting-started/installation/) for build
110
+ isolation.
111
+
112
+ 1. Run mypy-boto3-builder in your package root directory:
113
+ `uvx --with 'boto3==1.35.93' mypy_boto3_builder`
114
+ 2. Select `boto3` AWS SDK.
115
+ 3. Add `CloudFormation` service.
116
+ 4. Use provided commands to install generated packages.
117
+
118
+ <a id="vscode-extension"></a>
119
+
120
+ ### VSCode extension
121
+
122
+ Add
123
+ [AWS Boto3](https://marketplace.visualstudio.com/items?itemName=Boto3typed.boto3-ide)
124
+ extension to your VSCode and run `AWS boto3: Quick Start` command.
125
+
126
+ Click `Modify` and select `boto3 common` and `CloudFormation`.
127
+
128
+ <a id="from-pypi-with-pip"></a>
129
+
130
+ ### From PyPI with pip
131
+
132
+ Install `types-boto3` for `CloudFormation` service.
133
+
134
+ ```bash
135
+ # install with boto3 type annotations
136
+ python -m pip install 'types-boto3[cloudformation]'
137
+
138
+ # Lite version does not provide session.client/resource overloads
139
+ # it is more RAM-friendly, but requires explicit type annotations
140
+ python -m pip install 'types-boto3-lite[cloudformation]'
141
+
142
+ # standalone installation
143
+ python -m pip install types-boto3-cloudformation
144
+ ```
145
+
146
+ <a id="how-to-uninstall"></a>
147
+
148
+ ## How to uninstall
149
+
150
+ ```bash
151
+ python -m pip uninstall -y types-boto3-cloudformation
152
+ ```
153
+
154
+ <a id="usage"></a>
155
+
156
+ ## Usage
157
+
158
+ <a id="vscode"></a>
159
+
160
+ ### VSCode
161
+
162
+ - Install
163
+ [Python extension](https://marketplace.visualstudio.com/items?itemName=ms-python.python)
164
+ - Install
165
+ [Pylance extension](https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance)
166
+ - Set `Pylance` as your Python Language Server
167
+ - Install `types-boto3[cloudformation]` in your environment:
168
+
169
+ ```bash
170
+ python -m pip install 'types-boto3[cloudformation]'
171
+ ```
172
+
173
+ Both type checking and code completion should now work. No explicit type
174
+ annotations required, write your `boto3` code as usual.
175
+
176
+ <a id="pycharm"></a>
177
+
178
+ ### PyCharm
179
+
180
+ > ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
181
+ > [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
182
+ > to use [types-boto3-lite](https://pypi.org/project/types-boto3-lite/) until
183
+ > the issue is resolved.
184
+
185
+ > ⚠️ If you experience slow performance and high CPU usage, try to disable
186
+ > `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
187
+ > [pyright](https://github.com/microsoft/pyright) instead.
188
+
189
+ > ⚠️ To continue using `PyCharm` type checker, you can try to replace
190
+ > `types-boto3` with
191
+ > [types-boto3-lite](https://pypi.org/project/types-boto3-lite/):
192
+
193
+ ```bash
194
+ pip uninstall types-boto3
195
+ pip install types-boto3-lite
196
+ ```
197
+
198
+ Install `types-boto3[cloudformation]` in your environment:
199
+
200
+ ```bash
201
+ python -m pip install 'types-boto3[cloudformation]'
202
+ ```
203
+
204
+ Both type checking and code completion should now work.
205
+
206
+ <a id="emacs"></a>
207
+
208
+ ### Emacs
209
+
210
+ - Install `types-boto3` with services you use in your environment:
211
+
212
+ ```bash
213
+ python -m pip install 'types-boto3[cloudformation]'
214
+ ```
215
+
216
+ - Install [use-package](https://github.com/jwiegley/use-package),
217
+ [lsp](https://github.com/emacs-lsp/lsp-mode/),
218
+ [company](https://github.com/company-mode/company-mode) and
219
+ [flycheck](https://github.com/flycheck/flycheck) packages
220
+ - Install [lsp-pyright](https://github.com/emacs-lsp/lsp-pyright) package
221
+
222
+ ```elisp
223
+ (use-package lsp-pyright
224
+ :ensure t
225
+ :hook (python-mode . (lambda ()
226
+ (require 'lsp-pyright)
227
+ (lsp))) ; or lsp-deferred
228
+ :init (when (executable-find "python3")
229
+ (setq lsp-pyright-python-executable-cmd "python3"))
230
+ )
231
+ ```
232
+
233
+ - Make sure emacs uses the environment where you have installed `types-boto3`
234
+
235
+ Type checking should now work. No explicit type annotations required, write
236
+ your `boto3` code as usual.
237
+
238
+ <a id="sublime-text"></a>
239
+
240
+ ### Sublime Text
241
+
242
+ - Install `types-boto3[cloudformation]` with services you use in your
243
+ environment:
244
+
245
+ ```bash
246
+ python -m pip install 'types-boto3[cloudformation]'
247
+ ```
248
+
249
+ - Install [LSP-pyright](https://github.com/sublimelsp/LSP-pyright) package
250
+
251
+ Type checking should now work. No explicit type annotations required, write
252
+ your `boto3` code as usual.
253
+
254
+ <a id="other-ides"></a>
255
+
256
+ ### Other IDEs
257
+
258
+ Not tested, but as long as your IDE supports `mypy` or `pyright`, everything
259
+ should work.
260
+
261
+ <a id="mypy"></a>
262
+
263
+ ### mypy
264
+
265
+ - Install `mypy`: `python -m pip install mypy`
266
+ - Install `types-boto3[cloudformation]` in your environment:
267
+
268
+ ```bash
269
+ python -m pip install 'types-boto3[cloudformation]'
270
+ ```
271
+
272
+ Type checking should now work. No explicit type annotations required, write
273
+ your `boto3` code as usual.
274
+
275
+ <a id="pyright"></a>
276
+
277
+ ### pyright
278
+
279
+ - Install `pyright`: `npm i -g pyright`
280
+ - Install `types-boto3[cloudformation]` in your environment:
281
+
282
+ ```bash
283
+ python -m pip install 'types-boto3[cloudformation]'
284
+ ```
285
+
286
+ Optionally, you can install `types-boto3` to `typings` directory.
287
+
288
+ Type checking should now work. No explicit type annotations required, write
289
+ your `boto3` code as usual.
290
+
291
+ <a id="pylint-compatibility"></a>
292
+
293
+ ### Pylint compatibility
294
+
295
+ It is totally safe to use `TYPE_CHECKING` flag in order to avoid
296
+ `types-boto3-cloudformation` dependency in production. However, there is an
297
+ issue in `pylint` that it complains about undefined variables. To fix it, set
298
+ all types to `object` in non-`TYPE_CHECKING` mode.
299
+
300
+ ```python
301
+ from typing import TYPE_CHECKING
302
+
303
+ if TYPE_CHECKING:
304
+ from types_boto3_ec2 import EC2Client, EC2ServiceResource
305
+ from types_boto3_ec2.waiters import BundleTaskCompleteWaiter
306
+ from types_boto3_ec2.paginators import DescribeVolumesPaginator
307
+ else:
308
+ EC2Client = object
309
+ EC2ServiceResource = object
310
+ BundleTaskCompleteWaiter = object
311
+ DescribeVolumesPaginator = object
312
+
313
+ ...
314
+ ```
315
+
316
+ <a id="explicit-type-annotations"></a>
317
+
318
+ ## Explicit type annotations
319
+
320
+ <a id="client-annotations"></a>
321
+
322
+ ### Client annotations
323
+
324
+ `CloudFormationClient` provides annotations for
325
+ `boto3.client("cloudformation")`.
326
+
327
+ ```python
328
+ from boto3.session import Session
329
+
330
+ from types_boto3_cloudformation import CloudFormationClient
331
+
332
+ client: CloudFormationClient = Session().client("cloudformation")
333
+
334
+ # now client usage is checked by mypy and IDE should provide code completion
335
+ ```
336
+
337
+ <a id="paginators-annotations"></a>
338
+
339
+ ### Paginators annotations
340
+
341
+ `types_boto3_cloudformation.paginator` module contains type annotations for all
342
+ paginators.
343
+
344
+ ```python
345
+ from boto3.session import Session
346
+
347
+ from types_boto3_cloudformation import CloudFormationClient
348
+ from types_boto3_cloudformation.paginator import (
349
+ DescribeAccountLimitsPaginator,
350
+ DescribeChangeSetPaginator,
351
+ DescribeStackEventsPaginator,
352
+ DescribeStacksPaginator,
353
+ ListChangeSetsPaginator,
354
+ ListExportsPaginator,
355
+ ListGeneratedTemplatesPaginator,
356
+ ListImportsPaginator,
357
+ ListResourceScanRelatedResourcesPaginator,
358
+ ListResourceScanResourcesPaginator,
359
+ ListResourceScansPaginator,
360
+ ListStackInstancesPaginator,
361
+ ListStackResourcesPaginator,
362
+ ListStackSetOperationResultsPaginator,
363
+ ListStackSetOperationsPaginator,
364
+ ListStackSetsPaginator,
365
+ ListStacksPaginator,
366
+ ListTypesPaginator,
367
+ )
368
+
369
+ client: CloudFormationClient = Session().client("cloudformation")
370
+
371
+ # Explicit type annotations are optional here
372
+ # Types should be correctly discovered by mypy and IDEs
373
+ describe_account_limits_paginator: DescribeAccountLimitsPaginator = client.get_paginator(
374
+ "describe_account_limits"
375
+ )
376
+ describe_change_set_paginator: DescribeChangeSetPaginator = client.get_paginator(
377
+ "describe_change_set"
378
+ )
379
+ describe_stack_events_paginator: DescribeStackEventsPaginator = client.get_paginator(
380
+ "describe_stack_events"
381
+ )
382
+ describe_stacks_paginator: DescribeStacksPaginator = client.get_paginator("describe_stacks")
383
+ list_change_sets_paginator: ListChangeSetsPaginator = client.get_paginator("list_change_sets")
384
+ list_exports_paginator: ListExportsPaginator = client.get_paginator("list_exports")
385
+ list_generated_templates_paginator: ListGeneratedTemplatesPaginator = client.get_paginator(
386
+ "list_generated_templates"
387
+ )
388
+ list_imports_paginator: ListImportsPaginator = client.get_paginator("list_imports")
389
+ list_resource_scan_related_resources_paginator: ListResourceScanRelatedResourcesPaginator = (
390
+ client.get_paginator("list_resource_scan_related_resources")
391
+ )
392
+ list_resource_scan_resources_paginator: ListResourceScanResourcesPaginator = client.get_paginator(
393
+ "list_resource_scan_resources"
394
+ )
395
+ list_resource_scans_paginator: ListResourceScansPaginator = client.get_paginator(
396
+ "list_resource_scans"
397
+ )
398
+ list_stack_instances_paginator: ListStackInstancesPaginator = client.get_paginator(
399
+ "list_stack_instances"
400
+ )
401
+ list_stack_resources_paginator: ListStackResourcesPaginator = client.get_paginator(
402
+ "list_stack_resources"
403
+ )
404
+ list_stack_set_operation_results_paginator: ListStackSetOperationResultsPaginator = (
405
+ client.get_paginator("list_stack_set_operation_results")
406
+ )
407
+ list_stack_set_operations_paginator: ListStackSetOperationsPaginator = client.get_paginator(
408
+ "list_stack_set_operations"
409
+ )
410
+ list_stack_sets_paginator: ListStackSetsPaginator = client.get_paginator("list_stack_sets")
411
+ list_stacks_paginator: ListStacksPaginator = client.get_paginator("list_stacks")
412
+ list_types_paginator: ListTypesPaginator = client.get_paginator("list_types")
413
+ ```
414
+
415
+ <a id="waiters-annotations"></a>
416
+
417
+ ### Waiters annotations
418
+
419
+ `types_boto3_cloudformation.waiter` module contains type annotations for all
420
+ waiters.
421
+
422
+ ```python
423
+ from boto3.session import Session
424
+
425
+ from types_boto3_cloudformation import CloudFormationClient
426
+ from types_boto3_cloudformation.waiter import (
427
+ ChangeSetCreateCompleteWaiter,
428
+ StackCreateCompleteWaiter,
429
+ StackDeleteCompleteWaiter,
430
+ StackExistsWaiter,
431
+ StackImportCompleteWaiter,
432
+ StackRollbackCompleteWaiter,
433
+ StackUpdateCompleteWaiter,
434
+ TypeRegistrationCompleteWaiter,
435
+ )
436
+
437
+ client: CloudFormationClient = Session().client("cloudformation")
438
+
439
+ # Explicit type annotations are optional here
440
+ # Types should be correctly discovered by mypy and IDEs
441
+ change_set_create_complete_waiter: ChangeSetCreateCompleteWaiter = client.get_waiter(
442
+ "change_set_create_complete"
443
+ )
444
+ stack_create_complete_waiter: StackCreateCompleteWaiter = client.get_waiter("stack_create_complete")
445
+ stack_delete_complete_waiter: StackDeleteCompleteWaiter = client.get_waiter("stack_delete_complete")
446
+ stack_exists_waiter: StackExistsWaiter = client.get_waiter("stack_exists")
447
+ stack_import_complete_waiter: StackImportCompleteWaiter = client.get_waiter("stack_import_complete")
448
+ stack_rollback_complete_waiter: StackRollbackCompleteWaiter = client.get_waiter(
449
+ "stack_rollback_complete"
450
+ )
451
+ stack_update_complete_waiter: StackUpdateCompleteWaiter = client.get_waiter("stack_update_complete")
452
+ type_registration_complete_waiter: TypeRegistrationCompleteWaiter = client.get_waiter(
453
+ "type_registration_complete"
454
+ )
455
+ ```
456
+
457
+ <a id="service-resource-annotations"></a>
458
+
459
+ ### Service Resource annotations
460
+
461
+ `CloudFormationServiceResource` provides annotations for
462
+ `boto3.resource("cloudformation")`.
463
+
464
+ ```python
465
+ from boto3.session import Session
466
+
467
+ from types_boto3_cloudformation import CloudFormationServiceResource
468
+
469
+ resource: CloudFormationServiceResource = Session().resource("cloudformation")
470
+
471
+ # now resource usage is checked by mypy and IDE should provide code completion
472
+ ```
473
+
474
+ <a id="other-resources-annotations"></a>
475
+
476
+ ### Other resources annotations
477
+
478
+ `types_boto3_cloudformation.service_resource` module contains type annotations
479
+ for all resources.
480
+
481
+ ```python
482
+ from boto3.session import Session
483
+
484
+ from types_boto3_cloudformation import CloudFormationServiceResource
485
+ from types_boto3_cloudformation.service_resource import (
486
+ Event,
487
+ Stack,
488
+ StackResource,
489
+ StackResourceSummary,
490
+ )
491
+
492
+ resource: CloudFormationServiceResource = Session().resource("cloudformation")
493
+
494
+ # Explicit type annotations are optional here
495
+ # Type should be correctly discovered by mypy and IDEs
496
+ my_event: Event = resource.Event(...)
497
+ my_stack: Stack = resource.Stack(...)
498
+ my_stack_resource: StackResource = resource.StackResource(...)
499
+ my_stack_resource_summary: StackResourceSummary = resource.StackResourceSummary(...)
500
+ ```
501
+
502
+ <a id="collections-annotations"></a>
503
+
504
+ ### Collections annotations
505
+
506
+ `types_boto3_cloudformation.service_resource` module contains type annotations
507
+ for all `CloudFormationServiceResource` collections.
508
+
509
+ ```python
510
+ from boto3.session import Session
511
+
512
+ from types_boto3_cloudformation import CloudFormationServiceResource
513
+ from types_boto3_cloudformation.service_resource import ServiceResourceStacksCollection
514
+
515
+ resource: CloudFormationServiceResource = Session().resource("cloudformation")
516
+
517
+ # Explicit type annotations are optional here
518
+ # Type should be correctly discovered by mypy and IDEs
519
+ stacks: cloudformation_resources.ServiceResourceStacksCollection = resource.stacks
520
+ ```
521
+
522
+ <a id="literals"></a>
523
+
524
+ ### Literals
525
+
526
+ `types_boto3_cloudformation.literals` module contains literals extracted from
527
+ shapes that can be used in user code for type checking.
528
+
529
+ Full list of `CloudFormation` Literals can be found in
530
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_cloudformation/literals/).
531
+
532
+ ```python
533
+ from types_boto3_cloudformation.literals import AccountFilterTypeType
534
+
535
+
536
+ def check_value(value: AccountFilterTypeType) -> bool: ...
537
+ ```
538
+
539
+ <a id="type-definitions"></a>
540
+
541
+ ### Type definitions
542
+
543
+ `types_boto3_cloudformation.type_defs` module contains structures and shapes
544
+ assembled to typed dictionaries and unions for additional type checking.
545
+
546
+ Full list of `CloudFormation` TypeDefs can be found in
547
+ [docs](https://youtype.github.io/types_boto3_docs/types_boto3_cloudformation/type_defs/).
548
+
549
+ ```python
550
+ from types_boto3_cloudformation.type_defs import AccountGateResultTypeDef
551
+
552
+
553
+ def get_value() -> AccountGateResultTypeDef:
554
+ return {...}
555
+ ```
556
+
557
+ <a id="how-it-works"></a>
558
+
559
+ ## How it works
560
+
561
+ Fully automated
562
+ [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder) carefully
563
+ generates type annotations for each service, patiently waiting for `boto3`
564
+ updates. It delivers drop-in type annotations for you and makes sure that:
565
+
566
+ - All available `boto3` services are covered.
567
+ - Each public class and method of every `boto3` service gets valid type
568
+ annotations extracted from `botocore` schemas.
569
+ - Type annotations include up-to-date documentation.
570
+ - Link to documentation is provided for every method.
571
+ - Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
572
+
573
+ <a id="what's-new"></a>
574
+
575
+ ## What's new
576
+
577
+ <a id="implemented-features"></a>
578
+
579
+ ### Implemented features
580
+
581
+ - Fully type annotated `boto3`, `botocore`, `aiobotocore` and `aioboto3`
582
+ libraries
583
+ - `mypy`, `pyright`, `VSCode`, `PyCharm`, `Sublime Text` and `Emacs`
584
+ compatibility
585
+ - `Client`, `ServiceResource`, `Resource`, `Waiter` `Paginator` type
586
+ annotations for each service
587
+ - Generated `TypeDefs` for each service
588
+ - Generated `Literals` for each service
589
+ - Auto discovery of types for `boto3.client` and `boto3.resource` calls
590
+ - Auto discovery of types for `session.client` and `session.resource` calls
591
+ - Auto discovery of types for `client.get_waiter` and `client.get_paginator`
592
+ calls
593
+ - Auto discovery of types for `ServiceResource` and `Resource` collections
594
+ - Auto discovery of types for `aiobotocore.Session.create_client` calls
595
+
596
+ <a id="latest-changes"></a>
597
+
598
+ ### Latest changes
599
+
600
+ Builder changelog can be found in
601
+ [Releases](https://github.com/youtype/mypy_boto3_builder/releases).
602
+
603
+ <a id="versioning"></a>
604
+
605
+ ## Versioning
606
+
607
+ `types-boto3-cloudformation` version is the same as related `boto3` version and
608
+ follows [PEP 440](https://www.python.org/dev/peps/pep-0440/) format.
609
+
610
+ <a id="thank-you"></a>
611
+
612
+ ## Thank you
613
+
614
+ - [Allie Fitter](https://github.com/alliefitter) for
615
+ [boto3-type-annotations](https://pypi.org/project/boto3-type-annotations/),
616
+ this package is based on top of his work
617
+ - [black](https://github.com/psf/black) developers for an awesome formatting
618
+ tool
619
+ - [Timothy Edmund Crosley](https://github.com/timothycrosley) for
620
+ [isort](https://github.com/PyCQA/isort) and how flexible it is
621
+ - [mypy](https://github.com/python/mypy) developers for doing all dirty work
622
+ for us
623
+ - [pyright](https://github.com/microsoft/pyright) team for the new era of typed
624
+ Python
625
+
626
+ <a id="documentation"></a>
627
+
628
+ ## Documentation
629
+
630
+ All services type annotations can be found in
631
+ [boto3 docs](https://youtype.github.io/types_boto3_docs/types_boto3_cloudformation/)
632
+
633
+ <a id="support-and-contributing"></a>
634
+
635
+ ## Support and contributing
636
+
637
+ This package is auto-generated. Please reports any bugs or request new features
638
+ in [mypy-boto3-builder](https://github.com/youtype/mypy_boto3_builder/issues/)
639
+ repository.