Creates resource record sets in a specified hosted zone based on the settings in a specified traffic policy version. In addition,
CreateTrafficPolicyInstance
associates the resource record sets with a specified domain name (such as example.com) or subdomain name (such as www.example.com). Amazon Route 53 responds to DNS queries for the domain or subdomain name by using the resource record sets that
CreateTrafficPolicyInstance
created.
Send a POST
request to the /2013-04-01/trafficpolicyinstance
resource. The request body must include a document with a CreateTrafficPolicyRequest
element. The response returns the CreateTrafficPolicyInstanceResponse
element, which contains information about the traffic policy instance.
/// The input is not valid.
///
/// No hosted zone exists with the ID that you specified.
///
/// No traffic policy exists with the specified ID.
///
/// You've created the maximum number of traffic policy instances that can be created
/// for the current AWS account. You can request an increase to the limit on the
Contact
/// Us page.
///
/// Traffic policy instance with given Id already exists.
///