4 stable releases

new 1.3.0 May 1, 2024
1.2.0 Apr 22, 2024
1.1.0 Apr 12, 2024
1.0.0 Apr 8, 2024

#2322 in Network programming

Download history 161/week @ 2024-04-08 10/week @ 2024-04-15 105/week @ 2024-04-22

276 downloads per month

Apache-2.0

445KB
7K SLoC

aws-sdk-controlcatalog

Welcome to the Amazon Web Services Control Catalog API reference. This guide is for developers who need detailed information about how to programmatically identify and filter the common controls and related metadata that are available to Amazon Web Services customers. This API reference provides descriptions, syntax, and usage examples for each of the actions and data types that are supported by Amazon Web Services Control Catalog.

Use the following links to get started with the Amazon Web Services Control Catalog API:

  • Actions: An alphabetical list of all Control Catalog API operations.
  • Data types: An alphabetical list of all Control Catalog data types.
  • Common parameters: Parameters that all operations can use.
  • Common errors: Client and server errors that all operations can return.

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

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

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

use aws_sdk_controlcatalog as controlcatalog;

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