View definition

(*Route53).UpdateTrafficPolicyInstance

Defined in github.com/aws/aws-sdk-go/service/route53/api.go

Description

Updates the resource record sets in a specified hosted zone that were created based on the settings in a specified traffic policy version.

Send a POST request to the /Amazon Route 53 API version/trafficpolicyinstance/traffic policy ID resource. The request body must include a document with an UpdateTrafficPolicyInstanceRequest element.

When you update a traffic policy instance, Amazon Route 53 continues to respond to DNS queries for the root resource record set name (such as example.com) while it replaces one group of resource record sets with another. Amazon Route 53 performs the following operations:

Amazon Route 53 creates a new group of resource record sets based on the

specified traffic policy. This is true regardless of how substantial the differences are between the existing resource record sets and the new resource record sets.

When all of the new resource record sets have been created, Amazon Route

53 starts to respond to DNS queries for the root resource record set name (such as example.com) by using the new resource record sets.

Amazon Route 53 deletes the old group of resource record sets that are

associated with the root resource record set name.

UpdateTrafficPolicyInstance is referenced in 2 repositories

github.com/aws/aws-sdk-go gopkg.in/aws/aws-sdk-go.v1