26 breaking releases

new 0.28.0 May 24, 2023
0.26.0 Apr 12, 2023
0.25.0 Mar 30, 2023
0.22.0 Dec 14, 2022
0.0.0 May 7, 2021

#214 in Network programming

Download history 29/week @ 2023-02-05 61/week @ 2023-02-12 54/week @ 2023-02-19 55/week @ 2023-02-26 1/week @ 2023-03-19 27/week @ 2023-03-26 19/week @ 2023-04-02 73/week @ 2023-04-09 13/week @ 2023-04-16 2/week @ 2023-04-23 311/week @ 2023-04-30 109/week @ 2023-05-07 1/week @ 2023-05-14 24/week @ 2023-05-21

445 downloads per month


41K 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.

Identity and Access Management Access Analyzer helps identify potential resource-access risks by enabling you to identify any policies that grant access to an external principal. It does this by using logic-based reasoning to analyze resource-based policies in your Amazon Web Services environment. An external principal can be another Amazon Web Services account, a root user, an IAM user or role, a federated user, an Amazon Web Services service, or an anonymous user. You can also use IAM Access Analyzer to preview and validate public and cross-account access to your resources before deploying permissions changes. This guide describes the Identity and Access Management Access Analyzer operations that you can call programmatically. For general information about IAM Access Analyzer, see Identity and Access Management Access Analyzer in the IAM User Guide.

To start using IAM Access Analyzer, you first need to create an analyzer.

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

aws-config = "0.55.3"
aws-sdk-accessanalyzer = "0.28.0"
tokio = { version = "1", features = ["full"] }

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

use aws_sdk_accessanalyzer as accessanalyzer;

async fn main() -> Result<(), accessanalyzer::Error> {
    let config = ::aws_config::load_from_env().await;
    let client = accessanalyzer::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.


~351K SLoC