80 releases (34 stable)

new 1.29.2 Apr 25, 2024
1.25.0 Mar 26, 2024
1.10.0 Dec 21, 2023
1.3.0 Nov 27, 2023
0.0.0 May 8, 2021

#1518 in Network programming

Download history 4340/week @ 2024-01-03 4317/week @ 2024-01-10 4960/week @ 2024-01-17 4557/week @ 2024-01-24 4190/week @ 2024-01-31 3819/week @ 2024-02-07 5767/week @ 2024-02-14 8257/week @ 2024-02-21 7278/week @ 2024-02-28 6948/week @ 2024-03-06 7377/week @ 2024-03-13 6024/week @ 2024-03-20 6919/week @ 2024-03-27 8526/week @ 2024-04-03 6120/week @ 2024-04-10 5590/week @ 2024-04-17

28,246 downloads per month
Used in 3 crates

Apache-2.0

18MB
223K SLoC

aws-sdk-rds

Amazon Relational Database Service (Amazon RDS) is a web service that makes it easier to set up, operate, and scale a relational database in the cloud. It provides cost-efficient, resizeable capacity for an industry-standard relational database and manages common database administration tasks, freeing up developers to focus on what makes their applications and businesses unique.

Amazon RDS gives you access to the capabilities of a MySQL, MariaDB, PostgreSQL, Microsoft SQL Server, Oracle, Db2, or Amazon Aurora database server. These capabilities mean that the code, applications, and tools you already use today with your existing databases work with Amazon RDS without modification. Amazon RDS automatically backs up your database and maintains the database software that powers your DB instance. Amazon RDS is flexible: you can scale your DB instance's compute resources and storage capacity to meet your application's demand. As with all Amazon Web Services, there are no up-front investments, and you pay only for the resources you use.

This interface reference for Amazon RDS contains documentation for a programming or command line interface you can use to manage Amazon RDS. Amazon RDS is asynchronous, which means that some interfaces might require techniques such as polling or callback functions to determine when a command has been applied. In this reference, the parameter descriptions indicate whether a command is applied immediately, on the next instance reboot, or during the maintenance window. The reference structure is as follows, and we list following some related topics from the user guide.

Amazon RDS API Reference

Amazon RDS User Guide

Getting Started

Examples are available for many services and operations, check out the examples folder in GitHub.

The SDK provides one crate per AWS service. You must add Tokio as a dependency within your Rust project to execute asynchronous code. To add aws-sdk-rds to your project, add the following to your Cargo.toml file:

[dependencies]
aws-config = { version = "1.1.7", features = ["behavior-version-latest"] }
aws-sdk-rds = "1.29.2"
tokio = { version = "1", features = ["full"] }

Then in code, a client can be created with the following:

use aws_sdk_rds as rds;

#[::tokio::main]
async fn main() -> Result<(), rds::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_rds::Client::new(&config);

    // ... make some calls with the client

    Ok(())
}

See the client documentation for information on what calls can be made, and the inputs and outputs for each of those calls.

Using the SDK

Until the SDK is released, we will be adding information about using the SDK to the Developer Guide. Feel free to suggest additional sections for the guide by opening an issue and describing what you are trying to do.

Getting Help

License

This project is licensed under the Apache-2.0 License.

Dependencies

~8–20MB
~272K SLoC