Skip to content

Delete Traffic Policy

route53_delete_traffic_policy R Documentation

Deletes a traffic policy

Description

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 list_traffic_policies.

  • 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 get_traffic_policy.

Usage

route53_delete_traffic_policy(Id, Version)

Arguments

Id

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

Version

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

Value

An empty list.

Request syntax

svc$delete_traffic_policy(
  Id = "string",
  Version = 123
)