IoT module#
Index > IoT
Auto-generated documentation for IoT type annotations stubs module mypy-boto3-iot.
How to install#
VSCode extension#
Add AWS Boto3
extension to your VSCode and run AWS boto3: Quick Start
command.
Click Modify
and select boto3 common
and IoT
.
From PyPI with pip#
Install boto3-stubs
for IoT
service.
# install with boto3 type annotations
python -m pip install 'boto3-stubs[iot]'
# Lite version does not provide session.client/resource overloads
# it is more RAM-friendly, but requires explicit type annotations
python -m pip install 'boto3-stubs-lite[iot]'
# standalone installation
python -m pip install mypy-boto3-iot
How to uninstall#
python -m pip uninstall -y mypy-boto3-iot
Usage#
Code samples can be found in Examples.
IoTClient#
Type annotations and code completion for boto3.client("iot")
as IoTClient
boto3 documentation
# IoTClient usage example
from boto3.session import Session
from mypy_boto3_iot.client import IoTClient
def get_client() -> IoTClient:
return Session().client("iot")
Paginators#
Type annotations and code completion for paginators
from boto3.client("iot").get_paginator("...")
.
# GetBehaviorModelTrainingSummariesPaginator usage example
from boto3.session import Session
from mypy_boto3_iot.paginator import GetBehaviorModelTrainingSummariesPaginator
def get_get_behavior_model_training_summaries_paginator() -> GetBehaviorModelTrainingSummariesPaginator:
return Session().client("iot").get_paginator("get_behavior_model_training_summaries"))
- 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
Literals#
Type annotations for literals used in methods and schema.
# AbortActionType usage example
from mypy_boto3_iot.literals import AbortActionType
def get_value() -> AbortActionType:
return "CANCEL"
- AbortActionType
- ActionTypeType
- AggregationTypeNameType
- AlertTargetTypeType
- AuditCheckRunStatusType
- AuditFindingSeverityType
- AuditFrequencyType
- AuditMitigationActionsExecutionStatusType
- AuditMitigationActionsTaskStatusType
- AuditNotificationTypeType
- AuditTaskStatusType
- AuditTaskTypeType
- AuthDecisionType
- AuthorizerStatusType
- AutoRegistrationStatusType
- AwsJobAbortCriteriaAbortActionType
- AwsJobAbortCriteriaFailureTypeType
- BehaviorCriteriaTypeType
- CACertificateStatusType
- CACertificateUpdateActionType
- CannedAccessControlListType
- CertificateModeType
- CertificateProviderOperationType
- CertificateStatusType
- ComparisonOperatorType
- ConfidenceLevelType
- CustomMetricTypeType
- DayOfWeekType
- DetectMitigationActionExecutionStatusType
- DetectMitigationActionsTaskStatusType
- DeviceCertificateUpdateActionType
- DeviceDefenderIndexingModeType
- DimensionTypeType
- DimensionValueOperatorType
- DomainConfigurationStatusType
- DomainTypeType
- DynamicGroupStatusType
- DynamoKeyTypeType
- EventTypeType
- FieldTypeType
- FleetMetricUnitType
- GetBehaviorModelTrainingSummariesPaginatorName
- IndexStatusType
- JobEndBehaviorType
- JobExecutionFailureTypeType
- JobExecutionStatusType
- JobStatusType
- ListActiveViolationsPaginatorName
- ListAttachedPoliciesPaginatorName
- ListAuditFindingsPaginatorName
- ListAuditMitigationActionsExecutionsPaginatorName
- ListAuditMitigationActionsTasksPaginatorName
- ListAuditSuppressionsPaginatorName
- ListAuditTasksPaginatorName
- ListAuthorizersPaginatorName
- ListBillingGroupsPaginatorName
- ListCACertificatesPaginatorName
- ListCertificatesByCAPaginatorName
- ListCertificatesPaginatorName
- ListCustomMetricsPaginatorName
- ListDetectMitigationActionsExecutionsPaginatorName
- ListDetectMitigationActionsTasksPaginatorName
- ListDimensionsPaginatorName
- ListDomainConfigurationsPaginatorName
- ListFleetMetricsPaginatorName
- ListIndicesPaginatorName
- ListJobExecutionsForJobPaginatorName
- ListJobExecutionsForThingPaginatorName
- ListJobTemplatesPaginatorName
- ListJobsPaginatorName
- ListManagedJobTemplatesPaginatorName
- ListMetricValuesPaginatorName
- ListMitigationActionsPaginatorName
- ListOTAUpdatesPaginatorName
- ListOutgoingCertificatesPaginatorName
- ListPackageVersionsPaginatorName
- ListPackagesPaginatorName
- ListPoliciesPaginatorName
- ListPolicyPrincipalsPaginatorName
- ListPrincipalPoliciesPaginatorName
- ListPrincipalThingsPaginatorName
- ListProvisioningTemplateVersionsPaginatorName
- ListProvisioningTemplatesPaginatorName
- ListRelatedResourcesForAuditFindingPaginatorName
- ListRoleAliasesPaginatorName
- ListScheduledAuditsPaginatorName
- ListSecurityProfilesForTargetPaginatorName
- ListSecurityProfilesPaginatorName
- ListStreamsPaginatorName
- ListTagsForResourcePaginatorName
- ListTargetsForPolicyPaginatorName
- ListTargetsForSecurityProfilePaginatorName
- ListThingGroupsForThingPaginatorName
- ListThingGroupsPaginatorName
- ListThingPrincipalsPaginatorName
- ListThingRegistrationTaskReportsPaginatorName
- ListThingRegistrationTasksPaginatorName
- ListThingTypesPaginatorName
- ListThingsInBillingGroupPaginatorName
- ListThingsInThingGroupPaginatorName
- ListThingsPaginatorName
- ListTopicRuleDestinationsPaginatorName
- ListTopicRulesPaginatorName
- ListV2LoggingLevelsPaginatorName
- ListViolationEventsPaginatorName
- LogLevelType
- LogTargetTypeType
- MessageFormatType
- MitigationActionTypeType
- ModelStatusType
- NamedShadowIndexingModeType
- OTAUpdateStatusType
- PackageVersionActionType
- PackageVersionStatusType
- PolicyTemplateNameType
- ProtocolType
- ReportTypeType
- ResourceTypeType
- RetryableFailureTypeType
- ServerCertificateStatusType
- ServiceTypeType
- StatusType
- TargetFieldOrderType
- TargetSelectionType
- TemplateTypeType
- ThingConnectivityIndexingModeType
- ThingGroupIndexingModeType
- ThingIndexingModeType
- TopicRuleDestinationStatusType
- VerificationStateType
- ViolationEventTypeType
- IoTServiceName
- ServiceName
- ResourceServiceName
- PaginatorName
- RegionName
Type definitions#
Type annotations for type definitions used in methods and schema.
- AbortCriteriaTypeDef
- AcceptCertificateTransferRequestRequestTypeDef
- CloudwatchAlarmActionTypeDef
- CloudwatchLogsActionTypeDef
- CloudwatchMetricActionTypeDef
- DynamoDBActionTypeDef
- ElasticsearchActionTypeDef
- FirehoseActionTypeDef
- IotAnalyticsActionTypeDef
- IotEventsActionTypeDef
- KinesisActionTypeDef
- LambdaActionTypeDef
- OpenSearchActionTypeDef
- S3ActionTypeDef
- SalesforceActionTypeDef
- SnsActionTypeDef
- SqsActionTypeDef
- StepFunctionsActionTypeDef
- MetricValueOutputTypeDef
- ViolationEventAdditionalInfoTypeDef
- AddThingToBillingGroupRequestRequestTypeDef
- AddThingToThingGroupRequestRequestTypeDef
- AddThingsToThingGroupParamsExtraOutputTypeDef
- AddThingsToThingGroupParamsOutputTypeDef
- AddThingsToThingGroupParamsTypeDef
- AggregationTypeOutputTypeDef
- AggregationTypeTypeDef
- AlertTargetTypeDef
- PolicyTypeDef
- AssetPropertyTimestampTypeDef
- AssetPropertyVariantTypeDef
- AssociateTargetsWithJobRequestRequestTypeDef
- ResponseMetadataTypeDef
- AttachPolicyRequestRequestTypeDef
- AttachPrincipalPolicyRequestRequestTypeDef
- AttachSecurityProfileRequestRequestTypeDef
- AttachThingPrincipalRequestRequestTypeDef
- AttributePayloadOutputTypeDef
- AttributePayloadTypeDef
- AuditCheckConfigurationTypeDef
- AuditCheckDetailsTypeDef
- AuditMitigationActionExecutionMetadataTypeDef
- AuditMitigationActionsTaskMetadataTypeDef
- AuditMitigationActionsTaskTargetOutputTypeDef
- AuditMitigationActionsTaskTargetTypeDef
- AuditNotificationTargetTypeDef
- AuditTaskMetadataTypeDef
- AuthInfoOutputTypeDef
- AuthInfoTypeDef
- AuthorizerConfigTypeDef
- AuthorizerDescriptionTypeDef
- AuthorizerSummaryTypeDef
- AwsJobAbortCriteriaTypeDef
- AwsJobRateIncreaseCriteriaTypeDef
- AwsJobPresignedUrlConfigTypeDef
- AwsJobTimeoutConfigTypeDef
- MachineLearningDetectionConfigTypeDef
- MetricValueExtraOutputTypeDef
- StatisticalThresholdTypeDef
- MetricValueTypeDef
- MetricDimensionTypeDef
- BehaviorModelTrainingSummaryTypeDef
- BillingGroupMetadataTypeDef
- BillingGroupPropertiesTypeDef
- BlobTypeDef
- BucketTypeDef
- TermsAggregationTypeDef
- CertificateValidityTypeDef
- CACertificateTypeDef
- CancelAuditMitigationActionsTaskRequestRequestTypeDef
- CancelAuditTaskRequestRequestTypeDef
- CancelCertificateTransferRequestRequestTypeDef
- CancelDetectMitigationActionsTaskRequestRequestTypeDef
- CancelJobExecutionRequestRequestTypeDef
- CancelJobRequestRequestTypeDef
- TransferDataTypeDef
- CertificateProviderSummaryTypeDef
- CertificateTypeDef
- CodeSigningCertificateChainTypeDef
- CodeSigningSignatureOutputTypeDef
- ConfigurationTypeDef
- ConfirmTopicRuleDestinationRequestRequestTypeDef
- TimestampTypeDef
- TagTypeDef
- CreateCertificateFromCsrRequestRequestTypeDef
- ServerCertificateConfigTypeDef
- TlsConfigTypeDef
- PresignedUrlConfigTypeDef
- TimeoutConfigTypeDef
- MaintenanceWindowTypeDef
- CreateKeysAndCertificateRequestRequestTypeDef
- KeyPairTypeDef
- CreatePackageRequestRequestTypeDef
- CreatePackageVersionRequestRequestTypeDef
- CreatePolicyVersionRequestRequestTypeDef
- CreateProvisioningClaimRequestRequestTypeDef
- ProvisioningHookTypeDef
- CreateProvisioningTemplateVersionRequestRequestTypeDef
- MetricsExportConfigTypeDef
- ThingTypePropertiesTypeDef
- DeleteAccountAuditConfigurationRequestRequestTypeDef
- DeleteAuthorizerRequestRequestTypeDef
- DeleteBillingGroupRequestRequestTypeDef
- DeleteCACertificateRequestRequestTypeDef
- DeleteCertificateProviderRequestRequestTypeDef
- DeleteCertificateRequestRequestTypeDef
- DeleteCustomMetricRequestRequestTypeDef
- DeleteDimensionRequestRequestTypeDef
- DeleteDomainConfigurationRequestRequestTypeDef
- DeleteDynamicThingGroupRequestRequestTypeDef
- DeleteFleetMetricRequestRequestTypeDef
- DeleteJobExecutionRequestRequestTypeDef
- DeleteJobRequestRequestTypeDef
- DeleteJobTemplateRequestRequestTypeDef
- DeleteMitigationActionRequestRequestTypeDef
- DeleteOTAUpdateRequestRequestTypeDef
- DeletePackageRequestRequestTypeDef
- DeletePackageVersionRequestRequestTypeDef
- DeletePolicyRequestRequestTypeDef
- DeletePolicyVersionRequestRequestTypeDef
- DeleteProvisioningTemplateRequestRequestTypeDef
- DeleteProvisioningTemplateVersionRequestRequestTypeDef
- DeleteRoleAliasRequestRequestTypeDef
- DeleteScheduledAuditRequestRequestTypeDef
- DeleteSecurityProfileRequestRequestTypeDef
- DeleteStreamRequestRequestTypeDef
- DeleteThingGroupRequestRequestTypeDef
- DeleteThingRequestRequestTypeDef
- DeleteThingTypeRequestRequestTypeDef
- DeleteTopicRuleDestinationRequestRequestTypeDef
- DeleteTopicRuleRequestRequestTypeDef
- DeleteV2LoggingLevelRequestRequestTypeDef
- DeprecateThingTypeRequestRequestTypeDef
- DescribeAuditFindingRequestRequestTypeDef
- DescribeAuditMitigationActionsTaskRequestRequestTypeDef
- TaskStatisticsForAuditCheckTypeDef
- DescribeAuditTaskRequestRequestTypeDef
- TaskStatisticsTypeDef
- DescribeAuthorizerRequestRequestTypeDef
- DescribeBillingGroupRequestRequestTypeDef
- DescribeCACertificateRequestRequestTypeDef
- RegistrationConfigTypeDef
- DescribeCertificateProviderRequestRequestTypeDef
- DescribeCertificateRequestRequestTypeDef
- DescribeCustomMetricRequestRequestTypeDef
- DescribeDetectMitigationActionsTaskRequestRequestTypeDef
- DescribeDimensionRequestRequestTypeDef
- DescribeDomainConfigurationRequestRequestTypeDef
- ServerCertificateSummaryTypeDef
- DescribeEndpointRequestRequestTypeDef
- DescribeFleetMetricRequestRequestTypeDef
- DescribeIndexRequestRequestTypeDef
- DescribeJobExecutionRequestRequestTypeDef
- DescribeJobRequestRequestTypeDef
- DescribeJobTemplateRequestRequestTypeDef
- DescribeManagedJobTemplateRequestRequestTypeDef
- DocumentParameterTypeDef
- DescribeMitigationActionRequestRequestTypeDef
- DescribeProvisioningTemplateRequestRequestTypeDef
- DescribeProvisioningTemplateVersionRequestRequestTypeDef
- DescribeRoleAliasRequestRequestTypeDef
- RoleAliasDescriptionTypeDef
- DescribeScheduledAuditRequestRequestTypeDef
- DescribeSecurityProfileRequestRequestTypeDef
- DescribeStreamRequestRequestTypeDef
- DescribeThingGroupRequestRequestTypeDef
- DescribeThingRegistrationTaskRequestRequestTypeDef
- DescribeThingRequestRequestTypeDef
- DescribeThingTypeRequestRequestTypeDef
- ThingTypeMetadataTypeDef
- ThingTypePropertiesOutputTypeDef
- S3DestinationTypeDef
- DetachPolicyRequestRequestTypeDef
- DetachPrincipalPolicyRequestRequestTypeDef
- DetachSecurityProfileRequestRequestTypeDef
- DetachThingPrincipalRequestRequestTypeDef
- DetectMitigationActionExecutionTypeDef
- DetectMitigationActionsTaskStatisticsTypeDef
- DetectMitigationActionsTaskTargetOutputTypeDef
- ViolationEventOccurrenceRangeOutputTypeDef
- DetectMitigationActionsTaskTargetExtraOutputTypeDef
- DetectMitigationActionsTaskTargetTypeDef
- DisableTopicRuleRequestRequestTypeDef
- DomainConfigurationSummaryTypeDef
- PutItemInputTypeDef
- EffectivePolicyTypeDef
- EnableIoTLoggingParamsTypeDef
- EnableTopicRuleRequestRequestTypeDef
- ErrorInfoTypeDef
- RateIncreaseCriteriaTypeDef
- FieldTypeDef
- S3LocationTypeDef
- StreamTypeDef
- FleetMetricNameAndArnTypeDef
- GeoLocationTargetTypeDef
- PaginatorConfigTypeDef
- GetBehaviorModelTrainingSummariesRequestRequestTypeDef
- GetCardinalityRequestRequestTypeDef
- GetEffectivePoliciesRequestRequestTypeDef
- GetJobDocumentRequestRequestTypeDef
- GetOTAUpdateRequestRequestTypeDef
- VersionUpdateByJobsConfigTypeDef
- GetPackageRequestRequestTypeDef
- GetPackageVersionRequestRequestTypeDef
- GetPercentilesRequestRequestTypeDef
- PercentPairTypeDef
- GetPolicyRequestRequestTypeDef
- GetPolicyVersionRequestRequestTypeDef
- GetStatisticsRequestRequestTypeDef
- StatisticsTypeDef
- GetTopicRuleDestinationRequestRequestTypeDef
- GetTopicRuleRequestRequestTypeDef
- GroupNameAndArnTypeDef
- HttpActionHeaderTypeDef
- SigV4AuthorizationTypeDef
- HttpContextTypeDef
- HttpUrlDestinationConfigurationTypeDef
- HttpUrlDestinationPropertiesTypeDef
- HttpUrlDestinationSummaryTypeDef
- IssuerCertificateIdentifierTypeDef
- JobExecutionStatusDetailsTypeDef
- JobExecutionSummaryTypeDef
- RetryCriteriaTypeDef
- JobProcessDetailsTypeDef
- JobSummaryTypeDef
- JobTemplateSummaryTypeDef
- ScheduledJobRolloutTypeDef
- KafkaActionHeaderTypeDef
- ListActiveViolationsRequestRequestTypeDef
- ListAttachedPoliciesRequestRequestTypeDef
- ListAuditMitigationActionsExecutionsRequestRequestTypeDef
- ListAuthorizersRequestRequestTypeDef
- ListBillingGroupsRequestRequestTypeDef
- ListCACertificatesRequestRequestTypeDef
- ListCertificateProvidersRequestRequestTypeDef
- ListCertificatesByCARequestRequestTypeDef
- ListCertificatesRequestRequestTypeDef
- ListCustomMetricsRequestRequestTypeDef
- ListDimensionsRequestRequestTypeDef
- ListDomainConfigurationsRequestRequestTypeDef
- ListFleetMetricsRequestRequestTypeDef
- ListIndicesRequestRequestTypeDef
- ListJobExecutionsForJobRequestRequestTypeDef
- ListJobExecutionsForThingRequestRequestTypeDef
- ListJobTemplatesRequestRequestTypeDef
- ListJobsRequestRequestTypeDef
- ListManagedJobTemplatesRequestRequestTypeDef
- ManagedJobTemplateSummaryTypeDef
- ListMitigationActionsRequestRequestTypeDef
- MitigationActionIdentifierTypeDef
- ListOTAUpdatesRequestRequestTypeDef
- OTAUpdateSummaryTypeDef
- ListOutgoingCertificatesRequestRequestTypeDef
- OutgoingCertificateTypeDef
- ListPackageVersionsRequestRequestTypeDef
- PackageVersionSummaryTypeDef
- ListPackagesRequestRequestTypeDef
- PackageSummaryTypeDef
- ListPoliciesRequestRequestTypeDef
- ListPolicyPrincipalsRequestRequestTypeDef
- ListPolicyVersionsRequestRequestTypeDef
- PolicyVersionTypeDef
- ListPrincipalPoliciesRequestRequestTypeDef
- ListPrincipalThingsRequestRequestTypeDef
- ListProvisioningTemplateVersionsRequestRequestTypeDef
- ProvisioningTemplateVersionSummaryTypeDef
- ListProvisioningTemplatesRequestRequestTypeDef
- ProvisioningTemplateSummaryTypeDef
- ListRelatedResourcesForAuditFindingRequestRequestTypeDef
- ListRoleAliasesRequestRequestTypeDef
- ListScheduledAuditsRequestRequestTypeDef
- ScheduledAuditMetadataTypeDef
- ListSecurityProfilesForTargetRequestRequestTypeDef
- ListSecurityProfilesRequestRequestTypeDef
- SecurityProfileIdentifierTypeDef
- ListStreamsRequestRequestTypeDef
- StreamSummaryTypeDef
- ListTagsForResourceRequestRequestTypeDef
- ListTargetsForPolicyRequestRequestTypeDef
- ListTargetsForSecurityProfileRequestRequestTypeDef
- SecurityProfileTargetTypeDef
- ListThingGroupsForThingRequestRequestTypeDef
- ListThingGroupsRequestRequestTypeDef
- ListThingPrincipalsRequestRequestTypeDef