delete_traffic_policy_instance

Route53.Client.delete_traffic_policy_instance(**kwargs)

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

Note

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

See also: AWS API Documentation

Request Syntax

response = client.delete_traffic_policy_instance(
    Id='string'
)
Parameters
Id (string) --

[REQUIRED]

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

Warning

When you delete a traffic policy instance, Amazon Route 53 also deletes all of the resource record sets that were created when you created the traffic policy instance.

Return type
dict
Returns
Response Syntax
{}

Response Structure

  • (dict) --

    An empty element.

Exceptions

  • Route53.Client.exceptions.NoSuchTrafficPolicyInstance
  • Route53.Client.exceptions.InvalidInput
  • Route53.Client.exceptions.PriorRequestNotComplete