AWS Bedrock SDK (boto3)
Point boto3 bedrock-runtime at DeepintShield for Converse and Invoke calls.
Keep boto3 bedrock-runtime code and route it through DeepintShield, which applies Virtual Key budgets, guardrails and logging.
What works
- Converse and Invoke
converse_streamandinvoke_model_with_response_stream- Tools (
toolConfig,toolUse,toolResult) and multimodal responses where the model supports them - Files through an S3-compatible client at
/bedrock/filesand the Bedrock batch API at/bedrock
Limits to know: File content download is supported for Bedrock only.
How to connect
Create the client with endpoint_url="https://app.deepintshield.com/bedrock", placeholder AWS credentials and your Virtual Key injected through a boto3 event hook, or use shield.bedrock(region_name=...) with deepintshield[bedrock]==3.2.3.