Skip to content

Meet DeepintShield at Bengaluru Tech Summit 2026, 17 to 19 November, BIEC Hall 1, booth H1A106. Book 20 minutes

Start For Free

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_stream and invoke_model_with_response_stream
  • Tools (toolConfig, toolUse, toolResult) and multimodal responses where the model supports them
  • Files through an S3-compatible client at /bedrock/files and 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.

Read the Bedrock SDK integration docs.

Read the integration docs

Start For Free