AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Gets the endpoint for a service in a region.

For forwards compatibility, if the service being requested for isn't known in the region, this method will generate an endpoint using the AWS endpoint heuristics. In this case, it is not guaranteed the endpoint will point to a valid service endpoint.

Namespace: Amazon
Assembly: AWSSDK.Core.dll
Version: 3.x.y.z

Syntax

C#
public RegionEndpoint.Endpoint GetEndpointForService(
         String serviceName,
         GetEndpointForServiceOptions options
)

Parameters

serviceName
Type: System.String

The services system name. Service system names can be obtained from the RegionEndpointServiceName member of the ClientConfig-derived class for the service.

options
Type: Amazon.Internal.GetEndpointForServiceOptions

Specify additional requirements on the to be returned.

Return Value


Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5