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