
Aws Sdk Java V2 Bedrock
This one gives you the full AWS SDK for Java 2.x patterns for calling Bedrock foundation models. You get client setup, model-specific payload builders for Claude, Llama, and Titan, streaming response handlers with exponential backoff, and embeddings for RAG workflows. The examples cover practical scenarios like multi-model invocation with proper JSON formatting for each provider and retry logic for throttling. Honestly the most useful part is the streaming implementation with error recovery, since that's where most Bedrock integrations get messy. If you're building Java microservices that need to talk to Claude or other Bedrock models, this handles the boilerplate and edge cases so you don't have to hunt through AWS docs.
- skills.sh installs
- 3.8K
- GitHub stars
- 369
- last updated
- Aug 21, 2026
Install
$ npx -y skills add giuseppe-trisciuoglio/developer-kit --skill aws-sdk-java-v2-bedrock --agent claude-codeInstalls into .claude/skills of the current project.
Files
AWS SDK for Java 2.x - Amazon Bedrock
Overview
Invokes foundation models through AWS SDK for Java 2.x. Configures clients, builds model-specific JSON payloads, handles streaming responses with error recovery, creates embeddings for RAG, integrates generative AI into Spring Boot applications, and implements exponential backoff for resilience.
When to Use
- Invoke Claude, Llama, Titan, or Stable Diffusion for text/image generation
- Configure BedrockClient and BedrockRuntimeClient instances
- Build and parse model-specific payloads (Claude, Titan, Llama formats)
- Stream real-time AI responses with async handlers and error recovery
- Create embeddings for retrieval-augmented generation
- Integrate generative AI into Spring Boot microservices
- Handle throttling with exponential backoff retry logic
Quick Start
Dependencies
<!-- Bedrock (model management) -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bedrock</artifactId>
</dependency>
<!-- Bedrock Runtime (model invocation) -->
<dependency>
<groupId>software.amazon.awssdk</groupId>
<artifactId>bedrockruntime</artifactId>
</dependency>
Sponsors
Details
- Repository
- github.com/giuseppe-trisciuoglio/developer-kit
- Categories
- AI & Agent Building, Cloud & Infrastructure, Java & JVM
- First seen
- May 16, 2026
More from giuseppe-trisciuoglio/developer-kit
All 102- Aws Sdk Java V2 Messaging3.8K
- Aws Sdk Java V2 Secrets Manager3.8K
- Aws Sdk Java V2 Kms3.8K
- Aws Sdk Java V2 Rds3.8K
- Nestjs Drizzle Crud Generator3.8K
- Aws Lambda Python Integration3.8K
- Aws Lambda Typescript Integration3.7K
- Sonarqube Mcp3.7K
- Better Auth3.7K
- Aws Lambda Java Integration3.7K
- Aws Lambda Php Integration3.7K
- Spring Boot Project Creator3.7K
- Docs Updater3.7K
- Notebooklm3.7K
- Github Issue Workflow3.6K
- Dynamodb Toolbox Patterns3.6K
- Memory Md Management3.6K
- Graalvm Native Image3.6K
- Adr Drafting3.6K
- Gemini3.6K
- Copilot Cli3.6K
- Codex3.5K
- Wiremock Standalone Docker3.5K
- Aws Cdk3.5K