
上QQ阅读APP看书,第一时间看更新
Integrating DynamoDB into an application
The following diagram provides a high-level overview of integration between your application and DynamoDB:

Please perform the following steps to understand this integration:
- Your application in your programming language which is using an AWS SDK.
- DynamoDB can work with one or more programmatic interfaces provided by AWS SDK.
- From your programming language, AWS SDK will constructs an HTTP or HTTPS request with a DynamoDB low-level API.
- The AWS SDK will send a request to the DynamoDB endpoint.
- DynamoDB will process the request and send the response back to the AWS SDK. If the request is executed successfully, it will return HTTP 200 (OK) response code. If the request is not successful, it will return HTTP error code and error message.
- The AWS SDK will process the response and send the result back to the application.
The AWS SDK provides three kinds of interfaces to connect with DynamoDB. These interfaces are as follows:
- Low-level interface
- Document interface
- Object persistence (high-level) interface
Let's explore all three interfaces. The following diagram is the Movies table, which is created in DynamoDB and used in all our examples:
