22 breaking releases

0.24.0 Jan 26, 2023
0.22.0 Dec 14, 2022
0.21.0 Oct 26, 2022
0.16.0 Jul 22, 2022
0.0.0 May 7, 2021

#179 in Network programming

Download history 537/week @ 2022-11-29 621/week @ 2022-12-06 479/week @ 2022-12-13 307/week @ 2022-12-20 64/week @ 2022-12-27 256/week @ 2023-01-03 310/week @ 2023-01-10 420/week @ 2023-01-17 393/week @ 2023-01-24 403/week @ 2023-01-31 354/week @ 2023-02-07 348/week @ 2023-02-14 382/week @ 2023-02-21 426/week @ 2023-02-28 419/week @ 2023-03-07 288/week @ 2023-03-14

1,580 downloads per month


121K SLoC


Please Note: The SDK is currently in Developer Preview and is intended strictly for feedback purposes only. Do not use this SDK for production workloads.

This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer 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-cloudfront to your project, add the following to your Cargo.toml file:

aws-config = "0.54.1"
aws-sdk-cloudfront = "0.24.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_cloudfront as cloudfront;

async fn main() -> Result<(), cloudfront::Error> {
    let config = aws_config::load_from_env().await;
    let client = cloudfront::Client::new(&config);

    // ... make some calls with the client


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


This project is licensed under the Apache-2.0 License.


~344K SLoC