C# Class Amazon.RegionEndpoint

This class contains the endpoints available to the AWS clients. The static constants representing the regions can be used while constructing the AWS client instead of looking up the exact endpoint URL.
Mostrar archivo Open project: aws/aws-sdk-net Class Usage Examples

Public Properties

Property Type Description
APNortheast1 RegionEndpoint
APNortheast2 RegionEndpoint
APSouth1 RegionEndpoint
APSoutheast1 RegionEndpoint
APSoutheast2 RegionEndpoint
CACentral1 RegionEndpoint
CNNorth1 RegionEndpoint
EUCentral1 RegionEndpoint
EUWest1 RegionEndpoint
EUWest2 RegionEndpoint
SAEast1 RegionEndpoint
USEast1 RegionEndpoint
USEast2 RegionEndpoint
USGovCloudWest1 RegionEndpoint
USWest1 RegionEndpoint
USWest2 RegionEndpoint

Private Properties

Property Type Description
NewEndpoint RegionEndpoint
RegionEndpoint Amazon.Internal

Public Methods

Method Description
GetBySystemName ( string systemName ) : RegionEndpoint

Gets the region based on its system name like "us-west-1"

GetEndpointForService ( string serviceName ) : Endpoint

Gets the endpoint for a service in a region.

GetEndpointForService ( string serviceName, bool dualStack ) : Endpoint

Gets the endpoint for a service in a region, optionally selecting a dualstack compatible endpoint.

ToString ( ) : string

Private Methods

Method Description
NewEndpoint ( string systemName, string displayName ) : RegionEndpoint
RegionEndpoint ( string systemName, string displayName ) : Amazon.Internal

Method Details

GetBySystemName() public static method

Gets the region based on its system name like "us-west-1"
public static GetBySystemName ( string systemName ) : RegionEndpoint
systemName string The system name of the service like "us-west-1"
return RegionEndpoint

GetEndpointForService() public method

Gets the endpoint for a service in a region.
Thrown when the request service does not have a valid endpoint in the region.
public GetEndpointForService ( string serviceName ) : Endpoint
serviceName string The services system name.
return Endpoint

GetEndpointForService() public method

Gets the endpoint for a service in a region, optionally selecting a dualstack compatible endpoint.
Thrown when the request service does not have a valid endpoint in the region.
public GetEndpointForService ( string serviceName, bool dualStack ) : Endpoint
serviceName string The services system name.
dualStack bool /// If true a dualstack endpoint is returned. It is the user's responsibility to verify that the given service /// supports a dualstack endpoint for the region. ///
return Endpoint

ToString() public method

public ToString ( ) : string
return string

Property Details

APNortheast1 public_oe static_oe property

The Asia Pacific (Tokyo) endpoint.
public static RegionEndpoint,Amazon APNortheast1
return RegionEndpoint

APNortheast2 public_oe static_oe property

The Asia Pacific (Seoul) endpoint.
public static RegionEndpoint,Amazon APNortheast2
return RegionEndpoint

APSouth1 public_oe static_oe property

The Asia Pacific (Mumbai) endpoint.
public static RegionEndpoint,Amazon APSouth1
return RegionEndpoint

APSoutheast1 public_oe static_oe property

The Asia Pacific (Singapore) endpoint.
public static RegionEndpoint,Amazon APSoutheast1
return RegionEndpoint

APSoutheast2 public_oe static_oe property

The Asia Pacific (Sydney) endpoint.
public static RegionEndpoint,Amazon APSoutheast2
return RegionEndpoint

CACentral1 public_oe static_oe property

The Canada (Central) endpoint.
public static RegionEndpoint,Amazon CACentral1
return RegionEndpoint

CNNorth1 public_oe static_oe property

The China (Beijing) endpoint.
public static RegionEndpoint,Amazon CNNorth1
return RegionEndpoint

EUCentral1 public_oe static_oe property

The EU Central (Frankfurt) endpoint.
public static RegionEndpoint,Amazon EUCentral1
return RegionEndpoint

EUWest1 public_oe static_oe property

The EU West (Ireland) endpoint.
public static RegionEndpoint,Amazon EUWest1
return RegionEndpoint

EUWest2 public_oe static_oe property

The EU West (London) endpoint.
public static RegionEndpoint,Amazon EUWest2
return RegionEndpoint

SAEast1 public_oe static_oe property

The South America (Sao Paulo) endpoint.
public static RegionEndpoint,Amazon SAEast1
return RegionEndpoint

USEast1 public_oe static_oe property

The US East (Virginia) endpoint.
public static RegionEndpoint,Amazon USEast1
return RegionEndpoint

USEast2 public_oe static_oe property

The US East (Ohio) endpoint.
public static RegionEndpoint,Amazon USEast2
return RegionEndpoint

USGovCloudWest1 public_oe static_oe property

The US GovCloud West (Oregon) endpoint.
public static RegionEndpoint,Amazon USGovCloudWest1
return RegionEndpoint

USWest1 public_oe static_oe property

The US West (N. California) endpoint.
public static RegionEndpoint,Amazon USWest1
return RegionEndpoint

USWest2 public_oe static_oe property

The US West (Oregon) endpoint.
public static RegionEndpoint,Amazon USWest2
return RegionEndpoint