Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can click “Customize cookies” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To continue without accepting these cookies, click “Continue without accepting.” To make more detailed choices or learn more, click “Customize cookies.”

Skip to content

/AWS1/CL_R53=>CREATETRAFFICPOLICYVERSION()

About CreateTrafficPolicyVersion

Creates a new version of an existing traffic policy. When you create a new version of a traffic policy, you specify the ID of the traffic policy that you want to update and a JSON-formatted document that describes the new version. You use traffic policies to create multiple DNS resource record sets for one domain name (such as example.com) or one subdomain name (such as www.example.com). You can create a maximum of 1000 versions of a traffic policy. If you reach the limit and need to create another version, you'll need to start a new traffic policy.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/R53TRAFFICPOLICYID /AWS1/R53TRAFFICPOLICYID

The ID of the traffic policy for which you want to create a new version.

IV_DOCUMENT TYPE /AWS1/R53TRAFFICPOLICYDOCUMENT /AWS1/R53TRAFFICPOLICYDOCUMENT

The definition of this version of the traffic policy, in JSON format. You specified the JSON in the CreateTrafficPolicyVersion request. For more information about the JSON format, see CreateTrafficPolicy.

Optional arguments:

IV_COMMENT TYPE /AWS1/R53TRAFFICPOLICYCOMMENT /AWS1/R53TRAFFICPOLICYCOMMENT

The comment that you specified in the CreateTrafficPolicyVersion request, if any.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_R53CRETRAFPLYVRSRSP /AWS1/CL_R53CRETRAFPLYVRSRSP

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC