Package: types-aiobotocore-cloudformation
types-aiobotocore-cloudformationType annotations foraiobotocore.CloudFormation 2.12.0service compatible withVSCode,PyCharm,Emacs,Sublime Text,mypy,pyrightand other tools.Generated bymypy-boto3-builder 7.23.2.More information can be found ontypes-aiobotocorepage and intypes-aiobotocore-cloudformation docs.See how it helps to find and fix potential bugs:types-aiobotocore-cloudformationHow to installFrom PyPI with pipHow to uninstallUsageVSCodePyCharmEmacsSublime TextOther IDEsmypypyrightExplicit type annotationsClient annotationsPaginators annotationsWaiters annotationsService Resource annotationsOther resources annotationsCollections annotationsLiteralsType definitionsHow it worksWhat's newImplemented featuresLatest changesVersioningThank youDocumentationSupport and contributingHow to installFrom PyPI with pipInstalltypes-aiobotocoreforCloudFormationservice.# install with aiobotocore type annotationspython-mpipinstall'types-aiobotocore[cloudformation]'# Lite version does not provide session.client/resource overloads# it is more RAM-friendly, but requires explicit type annotationspython-mpipinstall'types-aiobotocore-lite[cloudformation]'# standalone installationpython-mpipinstalltypes-aiobotocore-cloudformationHow to uninstallpython-mpipuninstall-ytypes-aiobotocore-cloudformationUsageVSCodeInstallPython extensionInstallPylance extensionSetPylanceas your Python Language ServerInstalltypes-aiobotocore[cloudformation]in your environment:python-mpipinstall'types-aiobotocore[cloudformation]'Both type checking and code completion should now work. No explicit type
annotations required, write youraiobotocorecode as usual.PyCharmInstalltypes-aiobotocore-lite[cloudformation]in your environment:python-mpipinstall'types-aiobotocore-lite[cloudformation]'`Both type checking and code completion should now work. Explicit type
annotationsare required.Usetypes-aiobotocorepackage instead for implicit type discovery.EmacsInstalltypes-aiobotocorewith services you use in your environment:python-mpipinstall'types-aiobotocore[cloudformation]'Installuse-package,lsp,companyandflycheckpackagesInstalllsp-pyrightpackage(use-packagelsp-pyright:ensuret:hook(python-mode.(lambda()(require'lsp-pyright)(lsp))); or lsp-deferred:init(when(executable-find"python3")(setqlsp-pyright-python-executable-cmd"python3")))Make sure emacs uses the environment where you have installedtypes-aiobotocoreType checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Sublime TextInstalltypes-aiobotocore[cloudformation]with services you use in your
environment:python-mpipinstall'types-aiobotocore[cloudformation]'InstallLSP-pyrightpackageType checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Other IDEsNot tested, but as long as your IDE supportsmypyorpyright, everything
should work.mypyInstallmypy:python -m pip install mypyInstalltypes-aiobotocore[cloudformation]in your environment:python-mpipinstall'types-aiobotocore[cloudformation]'`Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.pyrightInstallpyright:npm i -g pyrightInstalltypes-aiobotocore[cloudformation]in your environment:python-mpipinstall'types-aiobotocore[cloudformation]'Optionally, you can installtypes-aiobotocoretotypingsfolder.Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Explicit type annotationsClient annotationsCloudFormationClientprovides annotations forsession.create_client("cloudformation").fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformationimportCloudFormationClientsession=get_session()asyncwithsession.create_client("cloudformation")asclient:client:CloudFormationClient# now client usage is checked by mypy and IDE should provide code completionPaginators annotationstypes_aiobotocore_cloudformation.paginatormodule contains type annotations
for all paginators.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformationimportCloudFormationClientfromtypes_aiobotocore_cloudformation.paginatorimport(DescribeAccountLimitsPaginator,DescribeChangeSetPaginator,DescribeStackEventsPaginator,DescribeStacksPaginator,ListChangeSetsPaginator,ListExportsPaginator,ListGeneratedTemplatesPaginator,ListImportsPaginator,ListResourceScanRelatedResourcesPaginator,ListResourceScanResourcesPaginator,ListResourceScansPaginator,ListStackInstancesPaginator,ListStackResourcesPaginator,ListStackSetOperationResultsPaginator,ListStackSetOperationsPaginator,ListStackSetsPaginator,ListStacksPaginator,ListTypesPaginator,)session=get_session()asyncwithsession.create_client("cloudformation")asclient:client:CloudFormationClient# Explicit type annotations are optional here# Types should be correctly discovered by mypy and IDEsdescribe_account_limits_paginator:DescribeAccountLimitsPaginator=client.get_paginator("describe_account_limits")describe_change_set_paginator:DescribeChangeSetPaginator=client.get_paginator("describe_change_set")describe_stack_events_paginator:DescribeStackEventsPaginator=client.get_paginator("describe_stack_events")describe_stacks_paginator:DescribeStacksPaginator=client.get_paginator("describe_stacks")list_change_sets_paginator:ListChangeSetsPaginator=client.get_paginator("list_change_sets")list_exports_paginator:ListExportsPaginator=client.get_paginator("list_exports")list_generated_templates_paginator:ListGeneratedTemplatesPaginator=client.get_paginator("list_generated_templates")list_imports_paginator:ListImportsPaginator=client.get_paginator("list_imports")list_resource_scan_related_resources_paginator:ListResourceScanRelatedResourcesPaginator=(client.get_paginator("list_resource_scan_related_resources"))list_resource_scan_resources_paginator:ListResourceScanResourcesPaginator=(client.get_paginator("list_resource_scan_resources"))list_resource_scans_paginator:ListResourceScansPaginator=client.get_paginator("list_resource_scans")list_stack_instances_paginator:ListStackInstancesPaginator=client.get_paginator("list_stack_instances")list_stack_resources_paginator:ListStackResourcesPaginator=client.get_paginator("list_stack_resources")list_stack_set_operation_results_paginator:ListStackSetOperationResultsPaginator=(client.get_paginator("list_stack_set_operation_results"))list_stack_set_operations_paginator:ListStackSetOperationsPaginator=client.get_paginator("list_stack_set_operations")list_stack_sets_paginator:ListStackSetsPaginator=client.get_paginator("list_stack_sets")list_stacks_paginator:ListStacksPaginator=client.get_paginator("list_stacks")list_types_paginator:ListTypesPaginator=client.get_paginator("list_types")Waiters annotationstypes_aiobotocore_cloudformation.waitermodule contains type annotations for
all waiters.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformation.clientimportCloudFormationClientfromtypes_aiobotocore_cloudformation.waiterimport(ChangeSetCreateCompleteWaiter,StackCreateCompleteWaiter,StackDeleteCompleteWaiter,StackExistsWaiter,StackImportCompleteWaiter,StackRollbackCompleteWaiter,StackUpdateCompleteWaiter,TypeRegistrationCompleteWaiter,)session=get_session()asyncwithsession.create_client("cloudformation")asclient:client:CloudFormationClient# Explicit type annotations are optional here# Types should be correctly discovered by mypy and IDEschange_set_create_complete_waiter:ChangeSetCreateCompleteWaiter=client.get_waiter("change_set_create_complete")stack_create_complete_waiter:StackCreateCompleteWaiter=client.get_waiter("stack_create_complete")stack_delete_complete_waiter:StackDeleteCompleteWaiter=client.get_waiter("stack_delete_complete")stack_exists_waiter:StackExistsWaiter=client.get_waiter("stack_exists")stack_import_complete_waiter:StackImportCompleteWaiter=client.get_waiter("stack_import_complete")stack_rollback_complete_waiter:StackRollbackCompleteWaiter=client.get_waiter("stack_rollback_complete")stack_update_complete_waiter:StackUpdateCompleteWaiter=client.get_waiter("stack_update_complete")type_registration_complete_waiter:TypeRegistrationCompleteWaiter=client.get_waiter("type_registration_complete")Service Resource annotationsCloudFormationServiceResourceprovides annotations foraiobotocore.resource("cloudformation").fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformationimportCloudFormationServiceResourcesession=get_session()asyncwithsession.resource("cloudformation")asresource:resource:CloudFormationServiceResource# now resource usage is checked by mypy and IDE should provide code completionOther resources annotationstypes_aiobotocore_cloudformation.service_resourcemodule contains type
annotations for all resources.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformationimportCloudFormationServiceResourcefromtypes_aiobotocore_cloudformation.service_resourceimport(Event,Stack,StackResource,StackResourceSummary,)session=get_session()asyncwithsession.resource("cloudformation")asresource:resource:CloudFormationServiceResource# Explicit type annotations are optional here# Type should be correctly discovered by mypy and IDEsmy_event:Event=resource.Event(...)my_stack:Stack=resource.Stack(...)my_stack_resource:StackResource=resource.StackResource(...)my_stack_resource_summary:StackResourceSummary=resource.StackResourceSummary(...)Collections annotationstypes_aiobotocore_cloudformation.service_resourcemodule contains type
annotations for allCloudFormationServiceResourcecollections.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_cloudformationimportCloudFormationServiceResourcefromtypes_aiobotocore_cloudformation.service_resourceimportServiceResourceStacksCollectionsession=get_session()asyncwithsession.resource("cloudformation")asresource:resource:CloudFormationServiceResource# Explicit type annotations are optional here# Type should be correctly discovered by mypy and IDEsstacks:cloudformation_resources.ServiceResourceStacksCollection=resource.stacksLiteralstypes_aiobotocore_cloudformation.literalsmodule contains literals extracted
from shapes that can be used in user code for type checking.Full list ofCloudFormationLiterals can be found indocs.fromtypes_aiobotocore_cloudformation.literalsimportAccountFilterTypeTypedefcheck_value(value:AccountFilterTypeType)->bool:...Type definitionstypes_aiobotocore_cloudformation.type_defsmodule contains structures and
shapes assembled to typed dictionaries and unions for additional type checking.Full list ofCloudFormationTypeDefs can be found indocs.fromtypes_aiobotocore_cloudformation.type_defsimportAccountGateResultTypeDefdefget_value()->AccountGateResultTypeDef:return{...}How it worksFully automatedmypy-boto3-buildercarefully
generates type annotations for each service, patiently waiting foraiobotocoreupdates. It delivers drop-in type annotations for you and makes
sure that:All availableaiobotocoreservices are covered.Each public class and method of everyaiobotocoreservice gets valid type
annotations extracted frombotocoreschemas.Type annotations include up-to-date documentation.Link to documentation is provided for every method.Code is processed byblackandisortfor readability.What's newImplemented featuresFully type annotatedboto3,botocore,aiobotocoreandaioboto3librariesmypy,pyright,VSCode,PyCharm,Sublime TextandEmacscompatibilityClient,ServiceResource,Resource,WaiterPaginatortype
annotations for each serviceGeneratedTypeDefsfor each serviceGeneratedLiteralsfor each serviceAuto discovery of types forboto3.clientandboto3.resourcecallsAuto discovery of types forsession.clientandsession.resourcecallsAuto discovery of types forclient.get_waiterandclient.get_paginatorcallsAuto discovery of types forServiceResourceandResourcecollectionsAuto discovery of types foraiobotocore.Session.create_clientcallsLatest changesBuilder changelog can be found inReleases.Versioningtypes-aiobotocore-cloudformationversion is the same as relatedaiobotocoreversion and followsPEP 440format.Thank youAllie Fitterforboto3-type-annotations,
this package is based on top of his workblackdevelopers for an awesome formatting
toolTimothy Edmund Crosleyforisortand how flexible it ismypydevelopers for doing all dirty work
for uspyrightteam for the new era of typed
PythonDocumentationAll services type annotations can be found inaiobotocore docsSupport and contributingThis package is auto-generated. Please reports any bugs or request new features
inmypy-boto3-builderrepository.