These examples demonstrate how to perform AWS Global Accelerator operations using the AWS SDK for Rust.
AWS Global Accelerator is a networking service that improves the performance of your users’ traffic by up to 60% using Amazon Web Services’ global network infrastructure.
- Displays the names and ARNs of your accelerators (ListAccelerators)
- We recommend that you grant this code least privilege, or at most the minimum permissions required to perform the task. For more information, see Grant Least Privilege in the AWS Identity and Access Management User Guide.
- This code has not been tested in all AWS Regions. Some AWS services are available only in specific Regions.
- Running this code might result in charges to your AWS account.
You must have an AWS account, and have configured your default credentials and AWS Region as described in https://github.com/awslabs/aws-sdk-rust.
This example lists your Global Accelerator accelerator names and ARNs.
cargo run --bin globalaccelerator-helloworld [-v]
- -v displays additional information.
- AWS SDK for Rust repo
- AWS SDK for Rust API Reference for Global Accelerator
- AWS SDK for Rust API Reference Guide
To propose a new code example to the AWS documentation team, see CONTRIBUTING.md. The team prefers to create code examples that show broad scenarios rather than individual API calls.
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. SPDX-License-Identifier: Apache-2.0