Module rusoto_core::region [] [src]

AWS Regions and helper functions.

Mostly used for translating the Region enum to a string AWS accepts.

For example: UsEast1 to "us-east-1"

Structs

ParseRegionError

An error produced when attempting to convert a str into a Region fails.

Enums

Region

An AWS region. CnNorth1 is currently untested due to Rusoto maintainers not having access to AWS China.

Functions

default_region

Get the region from AWS_DEFAULT_REGION environment variable. Uses us-east-1 if not set or value is malformed.