Amazon Bedrock AgentCore is in preview release and is subject to change.
Step 1: Import Identity and Auth modules
Add this import statement to your Python file:
from bedrock_agentcore.services.identity import IdentityClient from bedrock_agentcore.identity.auth import requires_access_token, requires_api_key