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.

Deletes a traffic policy instance and all of the resource record sets that Amazon Route 53 created when you created the instance.

In the Route 53 console, traffic policy instances are known as policy records.

Note:

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

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

Syntax

C#
public abstract DeleteTrafficPolicyInstanceResponse DeleteTrafficPolicyInstance(
         DeleteTrafficPolicyInstanceRequest request
)

Parameters

request
Type: Amazon.Route53.Model.DeleteTrafficPolicyInstanceRequest

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

Return Value


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

Exceptions

ExceptionCondition
InvalidInputException The input is not valid.
NoSuchTrafficPolicyInstanceException No traffic policy instance exists with the specified ID.
PriorRequestNotCompleteException If Amazon Route 53 can't process a request before the next request arrives, it will reject subsequent requests for the same hosted zone and return an HTTP 400 error (Bad request). If Route 53 returns this error repeatedly for the same request, we recommend that you wait, in intervals of increasing duration, before you try the request again.

Version Information

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

See Also