{"id":23178,"library":"types-aiobotocore-securityhub","title":"types-aiobotocore-securityhub","description":"Type annotations for aiobotocore SecurityHub 3.5.0 service, generated with mypy-boto3-builder 8.12.0. Provides static typing support for aiobotocore's SecurityHub client, paginators, and waiters. Current version: 3.5.0. Released as part of the mypy-boto3-builder ecosystem, updates follow aiobotocore releases.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["types","aiobotocore","securityhub","aws","type-hints","mypy"],"install":[{"cmd":"pip install types-aiobotocore-securityhub","lang":"bash","label":"Install with pip"}],"dependencies":[{"reason":"Core types for aiobotocore; required for the base client.","package":"types-aiobotocore","optional":false},{"reason":"Used for type annotations, especially for Python <3.11.","package":"typing-extensions","optional":false}],"imports":[{"note":"aiobotocore does not expose typed client classes; import the type stub.","wrong":"from aiobotocore.client import SecurityHubClient","symbol":"SecurityHubClient","correct":"from types_aiobotocore_securityhub import SecurityHubClient"},{"note":"","wrong":"","symbol":"SecurityHubServiceResource","correct":"from types_aiobotocore_securityhub import SecurityHubServiceResource"},{"note":"Direct paginator class import from stubs for type checking.","wrong":"from aiobotocore.paginate import Paginator","symbol":"ListMembersPaginator","correct":"from types_aiobotocore_securityhub.paginator import ListMembersPaginator"}],"quickstart":{"code":"import asyncio\nfrom types_aiobotocore_securityhub import SecurityHubClient\n\nasync def main():\n    session = ...  # your aiobotocore session\n    async with session.create_client('securityhub', region_name='us-east-1') as client:\n        # client is type-annotated as SecurityHubClient\n        response = await client.get_findings()\n        print(response)\n\nasyncio.run(main())","lang":"python","description":"Basic usage: import the typed client and use it with aiobotocore session."},"warnings":[{"fix":"Upgrade to Python 3.9+.","message":"Python 3.8 support removed in version 8.12.0 of the builder (which generates this package).","severity":"deprecated","affected_versions":">=3.5.0 (or builder 8.12.0+)"},{"fix":"Update your type imports to use shorter names (e.g., 'CreateDistributionRequestTypeDef' instead of 'CreateDistributionRequestRequestTypeDef').","message":"In builder version 8.9.0, TypeDef names for packed method arguments were shortened, potentially breaking imports of specific type definitions.","severity":"breaking","affected_versions":">=8.9.0 of the builder (package versions based on builder)"},{"fix":"Install aiobotocore (e.g., 'pip install aiobotocore').","message":"This package only provides type annotations; you must still install aiobotocore and botocore at runtime.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install types-aiobotocore-securityhub'.","cause":"Package not installed or misspelled.","error":"ModuleNotFoundError: No module named 'types_aiobotocore_securityhub'"},{"fix":"Verify the exact name: 'SecurityHubClient' (capitalization). Check stub files if needed.","cause":"Incorrect import path; maybe the class name differs.","error":"Cannot import name 'SecurityHubClient' from 'types_aiobotocore_securityhub'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}