94 releases (50 stable)

1.50.0 Nov 6, 2024
1.45.0 Sep 27, 2024
1.37.0 Jul 22, 2024
1.18.0 Mar 26, 2024
0.0.0 May 7, 2021

#2589 in Network programming

Download history 87/week @ 2024-07-23 230/week @ 2024-07-30 124/week @ 2024-08-06 320/week @ 2024-08-13 5/week @ 2024-08-20 155/week @ 2024-08-27 147/week @ 2024-09-03 157/week @ 2024-09-10 204/week @ 2024-09-17 243/week @ 2024-09-24 162/week @ 2024-10-01 199/week @ 2024-10-08 20/week @ 2024-10-15 101/week @ 2024-10-22 156/week @ 2024-10-29 197/week @ 2024-11-05

485 downloads per month

Apache-2.0

1.5MB
20K SLoC

aws-sdk-support

The Amazon Web Services Support API Reference is intended for programmers who need detailed information about the Amazon Web Services Support operations and data types. You can use the API to manage your support cases programmatically. The Amazon Web Services Support API uses HTTP methods that return results in JSON format.

You can also use the Amazon Web Services Support API to access features for Trusted Advisor. You can return a list of checks and their descriptions, get check results, specify checks to refresh, and get the refresh status of checks.

You can manage your support cases with the following Amazon Web Services Support API operations:

  • The CreateCase, DescribeCases, DescribeAttachment, and ResolveCase operations create Amazon Web Services Support cases, retrieve information about cases, and resolve cases.
  • The DescribeCommunications, AddCommunicationToCase, and AddAttachmentsToSet operations retrieve and add communications and attachments to Amazon Web Services Support cases.
  • The DescribeServices and DescribeSeverityLevels operations return Amazon Web Service names, service codes, service categories, and problem severity levels. You use these values when you call the CreateCase operation.

You can also use the Amazon Web Services Support API to call the Trusted Advisor operations. For more information, see Trusted Advisor in the Amazon Web Services Support User Guide.

For authentication of requests, Amazon Web Services Support uses Signature Version 4 Signing Process.

For more information about this service and the endpoints to use, see About the Amazon Web Services Support API in the Amazon Web Services Support 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-support to your project, add the following to your Cargo.toml file:

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

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

use aws_sdk_support as support;

#[::tokio::main]
async fn main() -> Result<(), support::Error> {
    let config = aws_config::load_from_env().await;
    let client = aws_sdk_support::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
~285K SLoC