66 releases (21 stable)

new 1.22.0 Apr 22, 2024
1.19.0 Mar 26, 2024
1.10.0 Dec 29, 2023
1.3.0 Nov 27, 2023
0.0.26-alpha Nov 24, 2021

#2471 in Network programming

Download history 9/week @ 2024-01-07 6/week @ 2024-01-21 228/week @ 2024-02-18 127/week @ 2024-02-25 12/week @ 2024-03-03 184/week @ 2024-03-10 42/week @ 2024-03-17 79/week @ 2024-03-24 46/week @ 2024-03-31 177/week @ 2024-04-07 23/week @ 2024-04-14

334 downloads per month

Apache-2.0

3MB
42K SLoC

aws-sdk-apprunner

App Runner is an application service that provides a fast, simple, and cost-effective way to go directly from an existing container image or source code to a running service in the Amazon Web Services Cloud in seconds. You don't need to learn new technologies, decide which compute service to use, or understand how to provision and configure Amazon Web Services resources.

App Runner connects directly to your container registry or source code repository. It provides an automatic delivery pipeline with fully managed operations, high performance, scalability, and security.

For more information about App Runner, see the App Runner Developer Guide. For release information, see the App Runner Release Notes.

To install the Software Development Kits (SDKs), Integrated Development Environment (IDE) Toolkits, and command line tools that you can use to access the API, see Tools for Amazon Web Services.

Endpoints

For a list of Region-specific endpoints that App Runner supports, see App Runner endpoints and quotas in the Amazon Web Services General Reference.

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-apprunner to your project, add the following to your Cargo.toml file:

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

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

use aws_sdk_apprunner as apprunner;

#[::tokio::main]
async fn main() -> Result<(), apprunner::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_apprunner::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–21MB
~273K SLoC