Table of Contents

Class RegionEndpointV3

Namespace
Amazon.Internal
Assembly
AWSSDK.Core.dll
[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 RegionEndpointV3 : IRegionEndpoint
Inheritance
RegionEndpointV3
Implements
Inherited Members

Constructors

RegionEndpointV3(string, string, JsonData, JsonData)

public RegionEndpointV3(string regionName, string displayName, JsonData partition, JsonData services)

Parameters

regionName string
displayName string
partition JsonData
services JsonData

Properties

DisplayName

public string DisplayName { get; }

Property Value

string

PartitionDnsSuffix

public string PartitionDnsSuffix { get; }

Property Value

string

PartitionName

public string PartitionName { get; }

Property Value

string

RegionName

public string RegionName { get; }

Property Value

string

Methods

GetEndpointForService(string, GetEndpointForServiceOptions)

Retrieves the endpoint for the given service in the current region

public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, GetEndpointForServiceOptions options)

Parameters

serviceName string

Name of the service in endpoints.json

options GetEndpointForServiceOptions

Specify additional requirements on the RegionEndpoint.Endpoint to be returned.

Returns

RegionEndpoint.Endpoint

Matching endpoint from endpoints.json, or a computed endpoint if possible

GetEndpointForService(string, bool)

Retrieves the endpoint for the given service in the current region

[Obsolete("Use GetEndpointForService(string serviceName, GetEndpointForServiceOptions options) instead", false)]
public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, bool dualStack)

Parameters

serviceName string

Name of the service in endpoints.json

dualStack bool

Whether to retrieve the dual-stack variant

Returns

RegionEndpoint.Endpoint

Matching endpoint from endpoints.json, or a computed endpoint if possible

GetEndpointForService(string, HashSet<string>)

Retrieves the endpoint for the given service in the current region

public RegionEndpoint.Endpoint GetEndpointForService(string serviceName, HashSet<string> variants)

Parameters

serviceName string

Name of the service in endpoints.json

variants HashSet<string>

Set of tags describing an endpoint variant

Returns

RegionEndpoint.Endpoint

Matching endpoint from endpoints.json, or a computed endpoint if possible