Enum rusoto_core::region::Region
[−]
[src]
pub enum Region { ApNortheast1, ApNortheast2, ApSouth1, ApSoutheast1, ApSoutheast2, CaCentral1, EuCentral1, EuWest1, EuWest2, SaEast1, UsEast1, UsEast2, UsWest1, UsWest2, CnNorth1, Custom(String), }
An AWS region.
Custom
can be used to use a local or otherwise non-AWS endpoint. This may be used for API-compatible services, such as DynamoDB Local or Ceph.
Example: Region::Custom("http://localhost:8000".to_owned())
instead of Region::UsEast1
.
CnNorth1
is currently untested due to Rusoto maintainers not having access to AWS China.
Variants
ApNortheast1
ApNortheast2
ApSouth1
ApSoutheast1
ApSoutheast2
CaCentral1
EuCentral1
EuWest1
EuWest2
SaEast1
UsEast1
UsEast2
UsWest1
UsWest2
CnNorth1
Custom(String)
Trait Implementations
impl Clone for Region
[src]
fn clone(&self) -> Region
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for Region
[src]
impl PartialEq for Region
[src]
fn eq(&self, __arg_0: &Region) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Region) -> bool
This method tests for !=
.
impl Display for Region
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError>
Formats the value using the given formatter. Read more
impl FromStr for Region
[src]
type Err = ParseRegionError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Region, ParseRegionError>
Parses a string s
to return a value of this type. Read more