C# Класс 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.
Наследование: IRegionEndpoint
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

GetBySystemName() публичный статический Метод

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"
Результат RegionEndpoint

GetEndpointForService() публичный Метод

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
Результат Amazon.RegionEndpoint.Endpoint

LoadEndpointDefinitions() публичный статический Метод

public static LoadEndpointDefinitions ( string endpointsPath ) : void
endpointsPath string
Результат void

ToString() публичный Метод

public ToString ( ) : string
Результат string

UnloadEndpointDefinitions() публичный статический Метод

This is a testing method and should not be called by production applications.
public static UnloadEndpointDefinitions ( ) : void
Результат void