AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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.

Note:

For PCL this operation is only available in asynchronous form. Please refer to CreateTrafficPolicyVersionAsync.

Namespace: Amazon.Route53
Assembly: AWSSDK.Route53.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreateTrafficPolicyVersionResponse CreateTrafficPolicyVersion(
         CreateTrafficPolicyVersionRequest request
)
Parameters
request
Type: Amazon.Route53.Model.CreateTrafficPolicyVersionRequest

Container for the necessary parameters to execute the CreateTrafficPolicyVersion service method.

Return Value
The response from the CreateTrafficPolicyVersion service method, as returned by Route53.

Exceptions

ExceptionCondition
ConcurrentModificationException Another user submitted a request to create, update, or delete the object at the same time that you did. Retry the request.
InvalidInputException The input is not valid.
InvalidTrafficPolicyDocumentException The format of the traffic policy document that you specified in the Document element is invalid.
NoSuchTrafficPolicyException No traffic policy exists with the specified ID.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms

See Also