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 information about a specific traffic policy version.

For information about how of deleting a traffic policy affects the response from GetTrafficPolicy, see DeleteTrafficPolicy.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to GetTrafficPolicyAsync.

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

Syntax

C#
public virtual GetTrafficPolicyResponse GetTrafficPolicy(
         GetTrafficPolicyRequest request
)

Parameters

request
Type: Amazon.Route53.Model.GetTrafficPolicyRequest

Container for the necessary parameters to execute the GetTrafficPolicy service method.

Return Value


The response from the GetTrafficPolicy service method, as returned by Route53.

Exceptions

ExceptionCondition
InvalidInputException The input is not valid.
NoSuchTrafficPolicyException No traffic policy exists with the specified ID.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also