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
Region that covers North-East part of America
ApNortheast2
Region that covers North-East America
ApSouth1
Region that covers South America
ApSoutheast1
Region that covers South-East America
ApSoutheast2
Region that covers South-East America
CaCentral1
Region that covers Central America
EuCentral1
Region that covers Central Europe
EuWest1
Region that covers West Europe
EuWest2
Region that covers West Europe
SaEast1
Region that covers South-East Europe
UsEast1
Region that covers East part of America
UsEast2
Region that covers East part of America
UsWest1
Region that covers West part of America
UsWest2
Region that covers North-East part of America
CnNorth1
Region that covers North Canada
Custom(String)
Specifies a custom region, such as a local Ceph target
Trait Implementations
impl Clone for Region
[src]
fn clone(&self) -> Region
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Region
[src]
impl PartialEq for Region
[src]
fn eq(&self, __arg_0: &Region) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Region) -> bool
[src]
This method tests for !=
.
impl Serialize for Region
[src]
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error> where
S: Serializer,
[src]
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl<'de> Deserialize<'de> for Region
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Display for Region
[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), FmtError>
[src]
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>
[src]
Parses a string s
to return a value of this type. Read more