Package: types-aiobotocore-iot
types-aiobotocore-iotType annotations foraiobotocore.IoT 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-iot docs.See how it helps to find and fix potential bugs:types-aiobotocore-iotHow to installFrom PyPI with pipHow to uninstallUsageVSCodePyCharmEmacsSublime TextOther IDEsmypypyrightExplicit type annotationsClient annotationsPaginators annotationsLiteralsType definitionsHow it worksWhat's newImplemented featuresLatest changesVersioningThank youDocumentationSupport and contributingHow to installFrom PyPI with pipInstalltypes-aiobotocoreforIoTservice.# install with aiobotocore type annotationspython-mpipinstall'types-aiobotocore[iot]'# Lite version does not provide session.client/resource overloads# it is more RAM-friendly, but requires explicit type annotationspython-mpipinstall'types-aiobotocore-lite[iot]'# standalone installationpython-mpipinstalltypes-aiobotocore-iotHow to uninstallpython-mpipuninstall-ytypes-aiobotocore-iotUsageVSCodeInstallPython extensionInstallPylance extensionSetPylanceas your Python Language ServerInstalltypes-aiobotocore[iot]in your environment:python-mpipinstall'types-aiobotocore[iot]'Both type checking and code completion should now work. No explicit type
annotations required, write youraiobotocorecode as usual.PyCharmInstalltypes-aiobotocore-lite[iot]in your environment:python-mpipinstall'types-aiobotocore-lite[iot]'`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[iot]'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[iot]with services you use in your environment:python-mpipinstall'types-aiobotocore[iot]'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[iot]in your environment:python-mpipinstall'types-aiobotocore[iot]'`Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.pyrightInstallpyright:npm i -g pyrightInstalltypes-aiobotocore[iot]in your environment:python-mpipinstall'types-aiobotocore[iot]'Optionally, you can installtypes-aiobotocoretotypingsfolder.Type checking should now work. No explicit type annotations required, write
youraiobotocorecode as usual.Explicit type annotationsClient annotationsIoTClientprovides annotations forsession.create_client("iot").fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_iotimportIoTClientsession=get_session()asyncwithsession.create_client("iot")asclient:client:IoTClient# now client usage is checked by mypy and IDE should provide code completionPaginators annotationstypes_aiobotocore_iot.paginatormodule contains type annotations for all
paginators.fromaiobotocore.sessionimportget_sessionfromtypes_aiobotocore_iotimportIoTClientfromtypes_aiobotocore_iot.paginatorimport(GetBehaviorModelTrainingSummariesPaginator,ListActiveViolationsPaginator,ListAttachedPoliciesPaginator,ListAuditFindingsPaginator,ListAuditMitigationActionsExecutionsPaginator,ListAuditMitigationActionsTasksPaginator,ListAuditSuppressionsPaginator,ListAuditTasksPaginator,ListAuthorizersPaginator,ListBillingGroupsPaginator,ListCACertificatesPaginator,ListCertificatesPaginator,ListCertificatesByCAPaginator,ListCustomMetricsPaginator,ListDetectMitigationActionsExecutionsPaginator,ListDetectMitigationActionsTasksPaginator,ListDimensionsPaginator,ListDomainConfigurationsPaginator,ListFleetMetricsPaginator,ListIndicesPaginator,ListJobExecutionsForJobPaginator,ListJobExecutionsForThingPaginator,ListJobTemplatesPaginator,ListJobsPaginator,ListManagedJobTemplatesPaginator,ListMetricValuesPaginator,ListMitigationActionsPaginator,ListOTAUpdatesPaginator,ListOutgoingCertificatesPaginator,ListPackageVersionsPaginator,ListPackagesPaginator,ListPoliciesPaginator,ListPolicyPrincipalsPaginator,ListPrincipalPoliciesPaginator,ListPrincipalThingsPaginator,ListProvisioningTemplateVersionsPaginator,ListProvisioningTemplatesPaginator,ListRelatedResourcesForAuditFindingPaginator,ListRoleAliasesPaginator,ListScheduledAuditsPaginator,ListSecurityProfilesPaginator,ListSecurityProfilesForTargetPaginator,ListStreamsPaginator,ListTagsForResourcePaginator,ListTargetsForPolicyPaginator,ListTargetsForSecurityProfilePaginator,ListThingGroupsPaginator,ListThingGroupsForThingPaginator,ListThingPrincipalsPaginator,ListThingRegistrationTaskReportsPaginator,ListThingRegistrationTasksPaginator,ListThingTypesPaginator,ListThingsPaginator,ListThingsInBillingGroupPaginator,ListThingsInThingGroupPaginator,ListTopicRuleDestinationsPaginator,ListTopicRulesPaginator,ListV2LoggingLevelsPaginator,ListViolationEventsPaginator,)session=get_session()asyncwithsession.create_client("iot")asclient:client:IoTClient# Explicit type annotations are optional here# Types should be correctly discovered by mypy and IDEsget_behavior_model_training_summaries_paginator:GetBehaviorModelTrainingSummariesPaginator=(client.get_paginator("get_behavior_model_training_summaries"))list_active_violations_paginator:ListActiveViolationsPaginator=client.get_paginator("list_active_violations")list_attached_policies_paginator:ListAttachedPoliciesPaginator=client.get_paginator("list_attached_policies")list_audit_findings_paginator:ListAuditFindingsPaginator=client.get_paginator("list_audit_findings")list_audit_mitigation_actions_executions_paginator:(ListAuditMitigationActionsExecutionsPaginator)=client.get_paginator("list_audit_mitigation_actions_executions")list_audit_mitigation_actions_tasks_paginator:ListAuditMitigationActionsTasksPaginator=(client.get_paginator("list_audit_mitigation_actions_tasks"))list_audit_suppressions_paginator:ListAuditSuppressionsPaginator=client.get_paginator("list_audit_suppressions")list_audit_tasks_paginator:ListAuditTasksPaginator=client.get_paginator("list_audit_tasks")list_authorizers_paginator:ListAuthorizersPaginator=client.get_paginator("list_authorizers")list_billing_groups_paginator:ListBillingGroupsPaginator=client.get_paginator("list_billing_groups")list_ca_certificates_paginator:ListCACertificatesPaginator=client.get_paginator("list_ca_certificates")list_certificates_paginator:ListCertificatesPaginator=client.get_paginator("list_certificates")list_certificates_by_ca_paginator:ListCertificatesByCAPaginator=client.get_paginator("list_certificates_by_ca")list_custom_metrics_paginator:ListCustomMetricsPaginator=client.get_paginator("list_custom_metrics")list_detect_mitigation_actions_executions_paginator:(ListDetectMitigationActionsExecutionsPaginator)=client.get_paginator("list_detect_mitigation_actions_executions")list_detect_mitigation_actions_tasks_paginator:ListDetectMitigationActionsTasksPaginator=(client.get_paginator("list_detect_mitigation_actions_tasks"))list_dimensions_paginator:ListDimensionsPaginator=client.get_paginator("list_dimensions")list_domain_configurations_paginator:ListDomainConfigurationsPaginator=client.get_paginator("list_domain_configurations")list_fleet_metrics_paginator:ListFleetMetricsPaginator=client.get_paginator("list_fleet_metrics")list_indices_paginator:ListIndicesPaginator=client.get_paginator("list_indices")list_job_executions_for_job_paginator:ListJobExecutionsForJobPaginator=client.get_paginator("list_job_executions_for_job")list_job_executions_for_thing_paginator:ListJobExecutionsForThingPaginator=(client.get_paginator("list_job_executions_for_thing"))list_job_templates_paginator:ListJobTemplatesPaginator=client.get_paginator("list_job_templates")list_jobs_paginator:ListJobsPaginator=client.get_paginator("list_jobs")list_managed_job_templates_paginator:ListManagedJobTemplatesPaginator=client.get_paginator("list_managed_job_templates")list_metric_values_paginator:ListMetricValuesPaginator=client.get_paginator("list_metric_values")list_mitigation_actions_paginator:ListMitigationActionsPaginator=client.get_paginator("list_mitigation_actions")list_ota_updates_paginator:ListOTAUpdatesPaginator=client.get_paginator("list_ota_updates")list_outgoing_certificates_paginator:ListOutgoingCertificatesPaginator=client.get_paginator("list_outgoing_certificates")list_package_versions_paginator:ListPackageVersionsPaginator=client.get_paginator("list_package_versions")list_packages_paginator:ListPackagesPaginator=client.get_paginator("list_packages")list_policies_paginator:ListPoliciesPaginator=client.get_paginator("list_policies")list_policy_principals_paginator:ListPolicyPrincipalsPaginator=client.get_paginator("list_policy_principals")list_principal_policies_paginator:ListPrincipalPoliciesPaginator=client.get_paginator("list_principal_policies")list_principal_things_paginator:ListPrincipalThingsPaginator=client.get_paginator("list_principal_things")list_provisioning_template_versions_paginator:ListProvisioningTemplateVersionsPaginator=(client.get_paginator("list_provisioning_template_versions"))list_provisioning_templates_paginator:ListProvisioningTemplatesPaginator=(client.get_paginator("list_provisioning_templates"))list_related_resources_for_audit_finding_paginator:(ListRelatedResourcesForAuditFindingPaginator)=client.get_paginator("list_related_resources_for_audit_finding")list_role_aliases_paginator:ListRoleAliasesPaginator=client.get_paginator("list_role_aliases")list_scheduled_audits_paginator:ListScheduledAuditsPaginator=client.get_paginator("list_scheduled_audits")list_security_profiles_paginator:ListSecurityProfilesPaginator=client.get_paginator("list_security_profiles")list_security_profiles_for_target_paginator:ListSecurityProfilesForTargetPaginator=(client.get_paginator("list_security_profiles_for_target"))list_streams_paginator:ListStreamsPaginator=client.get_paginator("list_streams")list_tags_for_resource_paginator:ListTagsForResourcePaginator=client.get_paginator("list_tags_for_resource")list_targets_for_policy_paginator:ListTargetsForPolicyPaginator=client.get_paginator("list_targets_for_policy")list_targets_for_security_profile_paginator:ListTargetsForSecurityProfilePaginator=(client.get_paginator("list_targets_for_security_profile"))list_thing_groups_paginator:ListThingGroupsPaginator=client.get_paginator("list_thing_groups")list_thing_groups_for_thing_paginator:ListThingGroupsForThingPaginator=client.get_paginator("list_thing_groups_for_thing")list_thing_principals_paginator:ListThingPrincipalsPaginator=client.get_paginator("list_thing_principals")list_thing_registration_task_reports_paginator:ListThingRegistrationTaskReportsPaginator=(client.get_paginator("list_thing_registration_task_reports"))list_thing_registration_tasks_paginator:ListThingRegistrationTasksPaginator=(client.get_paginator("list_thing_registration_tasks"))list_thing_types_paginator:ListThingTypesPaginator=client.get_paginator("list_thing_types")list_things_paginator:ListThingsPaginator=client.get_paginator("list_things")list_things_in_billing_group_paginator:ListThingsInBillingGroupPaginator=(client.get_paginator("list_things_in_billing_group"))list_things_in_thing_group_paginator:ListThingsInThingGroupPaginator=client.get_paginator("list_things_in_thing_group")list_topic_rule_destinations_paginator:ListTopicRuleDestinationsPaginator=(client.get_paginator("list_topic_rule_destinations"))list_topic_rules_paginator:ListTopicRulesPaginator=client.get_paginator("list_topic_rules")list_v2_logging_levels_paginator:ListV2LoggingLevelsPaginator=client.get_paginator("list_v2_logging_levels")list_violation_events_paginator:ListViolationEventsPaginator=client.get_paginator("list_violation_events")Literalstypes_aiobotocore_iot.literalsmodule contains literals extracted from shapes
that can be used in user code for type checking.Full list ofIoTLiterals can be found indocs.fromtypes_aiobotocore_iot.literalsimportAbortActionTypedefcheck_value(value:AbortActionType)->bool:...Type definitionstypes_aiobotocore_iot.type_defsmodule contains structures and shapes
assembled to typed dictionaries and unions for additional type checking.Full list ofIoTTypeDefs can be found indocs.fromtypes_aiobotocore_iot.type_defsimportAbortCriteriaTypeDefdefget_value()->AbortCriteriaTypeDef: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-iotversion 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.