C# Class Amazon.Internal.RegionEndpointProviderV2.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.
Inheritance: IRegionEndpoint
Afficher le fichier Open project: aws/aws-sdk-net

Méthodes publiques

Méthode Description
GetBySystemName ( string systemName ) : RegionEndpoint

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

GetEndpointForService ( string serviceName, bool dualStack ) : Amazon.RegionEndpoint.Endpoint

Gets the endpoint for a service in a region.

LoadEndpointDefinitions ( string endpointsPath ) : void
ToString ( ) : string
UnloadEndpointDefinitions ( ) : void

This is a testing method and should not be called by production applications.

Private Methods

Méthode Description
GetEndpointRule ( string serviceName ) : JsonData
LoadEndpointDefinitionFromFilePath ( string path ) : void
LoadEndpointDefinitionFromWeb ( string url ) : void
LoadEndpointDefinitions ( ) : void
LoadEndpointDefinitionsFromEmbeddedResource ( ) : void
NewEndpoint ( string systemName, string displayName ) : RegionEndpoint
ReadEndpointFile ( Stream stream ) : void
RegionEndpoint ( string systemName, string displayName ) : System
TryLoadEndpointDefinitionsFromAssemblyDir ( ) : bool

Method Details

GetBySystemName() public static méthode

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"
Résultat RegionEndpoint

GetEndpointForService() public méthode

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, bool dualStack ) : Amazon.RegionEndpoint.Endpoint
serviceName string The services system name.
dualStack bool If true returns the endpoint for dualstack
Résultat Amazon.RegionEndpoint.Endpoint

LoadEndpointDefinitions() public static méthode

public static LoadEndpointDefinitions ( string endpointsPath ) : void
endpointsPath string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

UnloadEndpointDefinitions() public static méthode

This is a testing method and should not be called by production applications.
public static UnloadEndpointDefinitions ( ) : void
Résultat void