Package software.amazon.awssdk.services.dynamodb
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database, so that you don't have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling.
With DynamoDB, you can create database tables that can store and retrieve any amount of data, and serve any level of request traffic. You can scale up or scale down your tables' throughput capacity without downtime or performance degradation, and use the Amazon Web Services Management Console to monitor resource utilization and performance metrics.
DynamoDB automatically spreads the data and traffic for your tables over a sufficient number of servers to handle your throughput and storage requirements, while maintaining consistent and fast performance. All of your data is stored on solid state disks (SSDs) and automatically replicated across multiple Availability Zones in an Amazon Web Services Region, providing built-in high availability and data durability.
Code Examples
For code examples demonstrating how to use this service with the AWS SDK for Java v2, see:
Getting Started
Basics
API Actions
- Use CreateTable
- Use BatchGetItem
- Use DescribeTable
- Use BatchWriteItem
- Use DeleteTable
- Use PutItem
- Use GetItem
- Use UpdateItem
- Use DeleteItem
- Use ListTables
- Use Query
- Use Scan
- Use UpdateTimeToLive
- Use DescribeTimeToLive
Scenarios
- Create a photo asset management application that lets users manage photos using labels
- Create a web application to track DynamoDB data
- Build an application to submit data to a DynamoDB table
- Use API Gateway to invoke a Lambda function
- Use scheduled events to invoke a Lambda function
- Use Step Functions to invoke Lambda functions
- Detect PPE in images with Amazon Rekognition using an AWS SDK
- Monitor performance of Amazon DynamoDB using an AWS SDK
- Query a DynamoDB table using PartiQL and an AWS SDK
- Query a DynamoDB table by using batches of PartiQL statements and an AWS SDK
- Create a DynamoDB item with a TTL using an AWS SDK
- Update a DynamoDB item with a TTL using an AWS SDK
- Conditionally update a DynamoDB item with a TTL using an AWS SDK
- Query a DynamoDB table for TTL items using an AWS SDK
- Create a DynamoDB table with warm throughput setting using an AWS SDK
- Update a DynamoDB table setting with warm throughput using an AWS SDK
- Create a DynamoDB table with a Global Secondary Index using the AWS SDK
- Query a DynamoDB table with strongly consistent reads using an AWS SDK
- Query a DynamoDB table using a Global Secondary Index with an AWS SDK
- Query a DynamoDB table using a begins_with condition with an AWS SDK
- Query a DynamoDB table using a date range in the sort key with an AWS SDK
- Query a DynamoDB table with a complex filter expression with an AWS SDK
- Query a DynamoDB table with a dynamic filter expression with an AWS SDK
- Query a DynamoDB table with a filter expression and limit with an AWS SDK
- Query a DynamoDB table with pagination using an AWS SDK
- Query a DynamoDB table with nested attributes using an AWS SDK
- Perform advanced DynamoDB query operations using an AWS SDK
- Query DynamoDB tables using date and time patterns with an AWS SDK
- Use atomic counter operations in DynamoDB with an AWS SDK
- Compare multiple values with a single attribute in DynamoDB with an AWS SDK
- Use conditional operations in DynamoDB with an AWS SDK
- Use expression attribute names in DynamoDB with an AWS SDK
- Count expression operators in DynamoDB with an AWS SDK
- Perform list operations in DynamoDB with an AWS SDK
- Perform map operations in DynamoDB with an AWS SDK
- Perform set operations in DynamoDB with an AWS SDK
- Understand update expression order in DynamoDB with an AWS SDK
- Create and manage DynamoDB global tables with Multi-Region Strong Consistency using an AWS SDK
- Create and manage DynamoDB global tables demonstrating MREC using an AWS SDK
Serverless Examples
- Invoke a Lambda function from a DynamoDB trigger
- Reporting batch item failures for Lambda functions with a DynamoDB trigger
TributaryLite
-
ClassDescriptionService client for accessing DynamoDB asynchronously.A builder for creating an instance of
DynamoDbAsyncClient.This includes configuration specific to DynamoDB that is supported by bothDynamoDbClientBuilderandDynamoDbAsyncClientBuilder.Service client for accessing DynamoDB.A builder for creating an instance ofDynamoDbClient.Class to expose the service client settings to the user.A builder for creating aDynamoDbServiceClientConfiguration