Route53.Client.
delete_traffic_policy
(**kwargs)¶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:
See also: AWS API Documentation
Request Syntax
response = client.delete_traffic_policy(
Id='string',
Version=123
)
[REQUIRED]
The ID of the traffic policy that you want to delete.
[REQUIRED]
The version number of the traffic policy that you want to delete.
dict
Response Syntax
{}
Response Structure
(dict) --
An empty element.
Exceptions
Route53.Client.exceptions.NoSuchTrafficPolicy
Route53.Client.exceptions.InvalidInput
Route53.Client.exceptions.TrafficPolicyInUse
Route53.Client.exceptions.ConcurrentModification