Class RegionEndpointProviderV3
[Obsolete("This class is obsoleted because as of version 3.7.100 endpoint is resolved using a newer system that uses request level parameters to resolve the endpoint.")]
public class RegionEndpointProviderV3 : IRegionEndpointProvider, IDisposable
- Inheritance
-
RegionEndpointProviderV3
- Implements
- Inherited Members
Constructors
RegionEndpointProviderV3()
public RegionEndpointProviderV3()
RegionEndpointProviderV3(JsonData)
public RegionEndpointProviderV3(JsonData root)
Parameters
root
JsonData
Properties
AllRegionEndpoints
public IEnumerable<IRegionEndpoint> AllRegionEndpoints { get; }
Property Value
AllRegionRegex
public IEnumerable<string> AllRegionRegex { get; }
Property Value
Methods
Dispose()
public void Dispose()
Dispose(bool)
protected virtual void Dispose(bool disposing)
Parameters
disposing
bool
GetDnsSuffixForPartition(string)
Returns the DNS suffix for the given partition, or an empty string if a matching partition was not found in endpoints.json
public string GetDnsSuffixForPartition(string partition)
Parameters
partition
stringpartition
Returns
- string
DNS suffix for the given partition, empty string if a matching partition was not found
GetRegionEndpoint(string)
public IRegionEndpoint GetRegionEndpoint(string regionName)
Parameters
regionName
string