{"id":24750,"library":"types-aiobotocore-bedrock-agentcore","title":"types-aiobotocore-bedrock-agentcore","description":"Type annotations for aiobotocore BedrockAgentCore service (v3.5.0), generated with mypy-boto3-builder 8.12.0. This package provides static type checking support for code using the Bedrock Agent Core client from aiobotocore. It is part of the types-aiobotocore ecosystem and requires Python >=3.9. Releases follow aiobotocore service version updates.","status":"active","version":"3.5.0","language":"python","source_language":"en","source_url":"https://github.com/youtype/mypy_boto3_builder","tags":["types","aiobotocore","bedrock-agent-core","stubs","mypy","type-annotations"],"install":[{"cmd":"pip install types-aiobotocore-bedrock-agentcore","lang":"bash","label":"pip install"}],"dependencies":[{"reason":"Runtime dependency for the Bedrock Agent Core client; types are generated for aiobotocore.","package":"aiobotocore","optional":false},{"reason":"Required for Python <3.10 to support newer typing constructs used in stubs.","package":"typing-extensions","optional":true}],"imports":[{"note":"The module provides type stubs, not a runtime service. Use aiobotocore to create the client, then import types for type hints.","wrong":"import types_aiobotocore_bedrock_agentcore","symbol":"bedrock_agent_core","correct":"import aiobotocore; from types_aiobotocore_bedrock_agentcore import type_defs, client"}],"quickstart":{"code":"import asyncio\nfrom aiobotocore.session import get_session\nfrom types_aiobotocore_bedrock_agentcore import BedrockAgentCoreClient\n\nasync def main():\n    session = get_session()\n    async with session.create_client('bedrock-agent-core', region_name='us-east-1') as client:\n        # client is of type BedrockAgentCoreClient\n        print(type(client).__name__)\n\nasyncio.run(main())","lang":"python","description":"Create a Bedrock Agent Core client and verify the type annotation is applied."},"warnings":[{"fix":"Upgrade Python to 3.9+ or pin dependency to <3.5.0.","message":"Version 3.5.0 drops Python 3.8 support (requires >=3.9). If your project is on Python 3.8, pin to an older version (e.g., types-aiobotocore-bedrock-agentcore<3.5.0).","severity":"breaking","affected_versions":">=3.5.0"},{"fix":"Always import the client type directly from the top-level module as shown in the quickstart.","message":"Old import paths like 'types_aiobotocore_bedrock_agentcore.client' may change in future releases. Use 'from types_aiobotocore_bedrock_agentcore import BedrockAgentCoreClient' for the client type.","severity":"deprecated","affected_versions":"All"},{"fix":"Use aiobotocore's session.create_client('bedrock-agent-core') to get the client, then leverage the type stubs for static analysis.","message":"The package only provides type stubs; it does not contain runtime implementations. Attempting to instantiate classes directly (e.g., BedrockAgentCoreClient(...)) will fail 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-bedrock-agentcore' in the correct Python environment.","cause":"Package not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'types_aiobotocore_bedrock_agentcore'"},{"fix":"Use 'from types_aiobotocore_bedrock_agentcore import BedrockAgentCoreClient'. Ensure package version >=3.5.0.","cause":"Trying to import the client type incorrectly, or the version is too old.","error":"AttributeError: module 'types_aiobotocore_bedrock_agentcore' has no attribute 'BedrockAgentCoreClient'"},{"fix":"Do not instantiate BedrockAgentCoreClient directly. Use 'await session.create_client('bedrock-agent-core')'.","cause":"Attempting to call the class directly instead of using aiobotocore session.","error":"TypeError: 'BedrockAgentCoreClient' object is not callable"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}