paws.networking (version 0.1.6)

route53_create_traffic_policy_version: Creates a new version of an existing traffic policy

Description

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.

Usage

route53_create_traffic_policy_version(Id, Document, Comment)

Arguments

Id

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

Document

[required] 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.

Comment

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

Request syntax

svc$create_traffic_policy_version(
  Id = "string",
  Document = "string",
  Comment = "string"
)