C# Class Amazon.Runtime.EnvironmentVariableAWSRegion

Determines region based on an environment variable. If the environment does not contain the region setting key an InvalidOperationException is thrown.
Inheritance: AWSRegion
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
EnvironmentVariableAWSRegion ( ) : System

Attempts to construct an instance of EnvironmentVariableAWSRegion. If no region is found in the environment then an InvalidOperationException is thrown.

Method Details

EnvironmentVariableAWSRegion() public method

Attempts to construct an instance of EnvironmentVariableAWSRegion. If no region is found in the environment then an InvalidOperationException is thrown.
public EnvironmentVariableAWSRegion ( ) : System
return System