{"id":22486,"library":"types-aiobotocore-bedrock","title":"types-aiobotocore-bedrock","description":"Type annotations for aiobotocore Bedrock service, generated by mypy-boto3-builder. Version 3.5.0 requires Python >=3.9 and provides static typing support for the Bedrock client. Released as part of the mypy_boto3_builder ecosystem.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["type-annotations","aiobotocore","bedrock","aws","stubs"],"install":[{"cmd":"pip install types-aiobotocore-bedrock","lang":"bash","label":"Install from PyPI"}],"dependencies":[{"reason":"Runtime dependency for type stubs; install aiobotocore with bedrock extra","package":"aiobotocore","optional":false}],"imports":[{"note":"","wrong":"","symbol":"BedrockClient","correct":"from types_aiobotocore_bedrock import BedrockClient"}],"quickstart":{"code":"import asyncio\nfrom types_aiobotocore_bedrock import BedrockClient\nfrom aiobotocore.session import get_session\n\nasync def main():\n    session = get_session()\n    async with session.create_client('bedrock', region_name='us-east-1') as client:\n        # client is type-annotated as BedrockClient\n        response = await client.list_foundation_models()\n        print(response)\n\nasyncio.run(main())","lang":"python","description":"Initialize a typed Bedrock client using aiobotocore session."},"warnings":[{"fix":"Use Python 3.9+ or pin to types-aiobotocore-bedrock==3.4.0.","message":"Python 3.8 support removed in v3.5.0 (mypy-boto3-builder 8.12.0). Upgrade to Python >=3.9.","severity":"breaking","affected_versions":">=3.5.0"},{"fix":"Install aiobotocore with bedrock extra: pip install aiobotocore[bedrock].","message":"These are type stubs only; runtime type checking is not provided. They must be used with aiobotocore installed.","severity":"gotcha","affected_versions":"all"},{"fix":"Update type references to shorter names. Check your usage of *RequestTypeDef, *OutputTypeDef.","message":"TypeDef naming changed in mypy-boto3-builder 8.9.0: e.g., ListFoundationModelsRequestRequestTypeDef became ListFoundationModelsRequestTypeDef. May break existing type alias references.","severity":"deprecated","affected_versions":">=3.0.0 <3.5.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Run pip install types-aiobotocore-bedrock in your active environment.","cause":"Package not installed or wrong Python environment.","error":"ModuleNotFoundError: No module named 'types_aiobotocore_bedrock'"},{"fix":"Use from types_aiobotocore_bedrock import BedrockClient; check that package version matches aiobotocore.","cause":"Incorrect import path or package version mismatch.","error":"cannot import name 'BedrockClient' from 'types_aiobotocore_bedrock'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}