Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_R53=>DELETETRAFFICPOLICY()

About DeleteTrafficPolicy

Deletes a traffic policy.

When you delete a traffic policy, Route 53 sets a flag on the policy to indicate that it has been deleted. However, Route 53 never fully deletes the traffic policy. Note the following:

  • Deleted traffic policies aren't listed if you run ListTrafficPolicies.

  • There's no way to get a list of deleted policies.

  • If you retain the ID of the policy, you can get information about the policy, including the traffic policy document, by running GetTrafficPolicy.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/R53TRAFFICPOLICYID /AWS1/R53TRAFFICPOLICYID

The ID of the traffic policy that you want to delete.

IV_VERSION TYPE /AWS1/R53TRAFFICPOLICYVERSION /AWS1/R53TRAFFICPOLICYVERSION

The version number of the traffic policy that you want to delete.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R53DELETETRAFPLYRSP /AWS1/CL_R53DELETETRAFPLYRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC