The following code examples show how to use Amazon Bedrock Runtime with AWS SDKs.
Converse
ConverseStream
Document understanding
InvokeModel
InvokeModelWithResponseStream
Reasoning
Reasoning with a streaming response
Scenario: Tool use with the Converse API
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.