{"id":24749,"library":"types-aiobotocore-bedrock-agent","title":"types-aiobotocore-bedrock-agent","description":"Type annotations for aiobotocore Agents for Bedrock service, auto-generated by mypy-boto3-builder. Version 3.5.0 requires Python >= 3.9. This package provides static type hints for the bedrock-agent client of aiobotocore, enabling type checking and IDE autocompletion.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["type-annotations","aws","bedrock-agent","aiobotocore","stubs"],"install":[{"cmd":"pip install types-aiobotocore[bedrock-agent]","lang":"bash","label":"Install with service extra"},{"cmd":"pip install types-aiobotocore-bedrock-agent","lang":"bash","label":"Install standalone package"}],"dependencies":[{"reason":"Runtime dependency for the underlying async AWS SDK client","package":"aiobotocore","optional":false},{"reason":"Required for Python <3.11 for TypedDict and Literal support","package":"typing-extensions","optional":true}],"imports":[{"note":"Official type for the bedrock-agent service client","symbol":"BedrockAgentClient","correct":"from types_aiobotocore_bedrock_agent import BedrockAgentClient"},{"note":"Example of a TypedDict input type from the service module","symbol":"CreateAgentInput","correct":"from types_aiobotocore_bedrock_agent.literals import CreateAgentInput"}],"quickstart":{"code":"import os\nfrom types_aiobotocore_bedrock_agent import BedrockAgentClient\nfrom aiobotocore.session import get_session\n\nasync def main():\n    session = get_session()\n    async with session.create_client('bedrock-agent', region_name='us-east-1') as client:\n        # client is type-annotated\n        response = await client.list_agents()\n        print(response)\n\nif __name__ == '__main__':\n    import asyncio\n    asyncio.run(main())","lang":"python","description":"Basic async client usage with type annotations"},"warnings":[{"fix":"Check the version table in the GitHub README or use the service extra (types-aiobotocore[bedrock-agent]) to get compatible versions.","message":"The generated package version number is separate from aiobotocore/boto3. Ensure you install the version matching your aiobotocore version.","severity":"breaking","affected_versions":"all"},{"fix":"Upgrade to Python >=3.9 or use types-aiobotocore-bedrock-agent <=3.4.0 (if available).","message":"Python 3.8 support removed since mypy_boto3_builder 8.12.0. If you still use Python 3.8, pin to an older version (<=8.11.0).","severity":"deprecated","affected_versions":">=8.12.0"},{"fix":"If you encounter a missing or incorrect type, open an issue at https://github.com/youtype/mypy_boto3_builder","message":"The types package is auto-generated; some type definitions may be incomplete or contain issues. Report problems to the mypy_boto3_builder repo.","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-bedrock-agent. Then import: from types_aiobotocore_bedrock_agent import ...","cause":"The standalone package is not installed or import name is misspelled (underscore vs hyphen).","error":"ModuleNotFoundError: No module named 'types_aiobotocore_bedrock_agent'"},{"fix":"Check the available exports: from types_aiobotocore_bedrock_agent import BedrockAgentClient (note capital B). If using older version, use client = await session.create_client('bedrock-agent') and annotate with 'BedrockAgentClient' after importing.","cause":"Client class name may differ from the service name or is not directly exported.","error":"Cannot import name 'BedrockAgentClient' from 'types_aiobotocore_bedrock_agent'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}