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.
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
public virtual GetTrafficPolicyResponse GetTrafficPolicy( GetTrafficPolicyRequest request )
Container for the necessary parameters to execute the GetTrafficPolicy service method.
Exception | Condition |
---|---|
InvalidInputException | The input is not valid. |
NoSuchTrafficPolicyException | No traffic policy exists with the specified ID. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5