{"id":24754,"library":"types-aiobotocore-iot-data","title":"types-aiobotocore-iot-data","description":"Type annotations for aiobotocore IoTDataPlane 3.5.0 service generated with mypy-boto3-builder 8.12.0. Provides static type checking support for the AWS IoT Data Plane service using aiobotocore. Current version: 3.5.0. Release cadence: follows aiobotocore releases, updated automatically.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["type-hints","aws","aiobotocore","iot-data","mypy"],"install":[{"cmd":"pip install types-aiobotocore[iot-data]","lang":"bash","label":"Install with service extra"},{"cmd":"pip install types-aiobotocore-iot-data","lang":"bash","label":"Install standalone package"}],"dependencies":[{"reason":"Required for runtime usage of the typed client.","package":"aiobotocore","optional":false},{"reason":"Required for type annotations on Python <3.11.","package":"typing-extensions","optional":false}],"imports":[{"note":"The type hints are used via aiobotocore's client factory, not directly imported from the types package.","wrong":"from types_aiobotocore_iot_data import IoTDataPlaneClient","symbol":"IoTDataPlaneClient","correct":"from aiobotocore.client import AioBaseClient"},{"note":"TypeDefs are in the literals module for service-specific types.","wrong":"from types_aiobotocore_iot_data.type_defs import GetThingShadowResponseTypeDef","symbol":"GetThingShadowResponseTypeDef","correct":"from types_aiobotocore_iot_data.literals import GetThingShadowResponseTypeDef"}],"quickstart":{"code":"import asyncio\nfrom aiobotocore.session import get_session\n\nasync def main():\n    session = get_session()\n    async with session.create_client('iot-data', region_name='us-east-1') as client:\n        # For type hints, use the client's methods directly\n        response = await client.get_thing_shadow(thingName='MyThing')\n        print(response)\n\nasyncio.run(main())","lang":"python","description":"Basic usage of the IoT Data Plane client with aiobotocore. Type hints are automatically available when the types package is installed."},"warnings":[{"fix":"Update imports to use shorter TypeDef names.","message":"Version 8.9.0 renamed TypeDefs to shorter names, e.g., 'CreateDistributionRequestRequestTypeDef' -> 'CreateDistributionRequestTypeDef'. This may break existing imports.","severity":"breaking","affected_versions":">=8.9.0"},{"fix":"Upgrade to Python 3.9 or later.","message":"Version 8.12.0 removed support for Python 3.8. Requires Python >= 3.9.","severity":"breaking","affected_versions":">=8.12.0"},{"fix":"Replace 'sms-voice' with 'pinpoint-sms-voice' in client creation.","message":"The 'sms-voice' service was removed in version 8.11.0; use 'pinpoint-sms-voice' instead.","severity":"deprecated","affected_versions":">=8.11.0"},{"fix":"Use response.get('PaginationToken') instead of direct key access.","message":"TypeDefs for paginated operations may have 'PaginationToken' marked as 'NotRequired' since version 8.10.1. Access it safely with .get().","severity":"gotcha","affected_versions":">=8.10.1"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Install the package with 'pip install types-aiobotocore-iot-data' and import via aiobotocore; do not import directly from types_aiobotocore_iot_data.","cause":"The standalone package is not installed, or the wrong import path is used.","error":"ModuleNotFoundError: No module named 'types_aiobotocore_iot_data'"},{"fix":"Ensure the types package is installed and use the client factory from aiobotocore; type hints are automatically picked up.","cause":"IDEs may not resolve the type hints if the types package is not installed or if imports are done incorrectly.","error":"Cannot find reference 'IoTDataPlaneClient' in '__init__.py'"},{"fix":"Use the correct service name 'iot-data' and ensure the client is properly typed by installing the types package.","cause":"The client may be created with a wrong service name or the method is called on an untyped object.","error":"AttributeError: 'IoTDataPlaneClient' object has no attribute 'get_thing_shadow'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}