AWS SDK Version 2 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.

.NET Framework 4.5
 
Use this action to create or change your authoritative DNS information. To use this action, send a POST request to the
/Route 53 API version/hostedzone/hosted
            Zone ID/rrset
resource. The request body must include a document with a ChangeResourceRecordSetsRequest element.

Changes are a list of change items and are considered transactional. For more information on transactional changes, also known as change batches, see POST ChangeResourceRecordSets in the Amazon Route 53 API Reference.

Due to the nature of transactional changes, you cannot delete the same resource record set more than once in a single change batch. If you attempt to delete the same change batch more than once, Amazon Route 53 returns an InvalidChangeBatch error.

In response to a ChangeResourceRecordSets request, your DNS data is changed on all Amazon Route 53 DNS servers. Initially, the status of a change is PENDING. This means the change has not yet propagated to all the authoritative Amazon Route 53 DNS servers. When the change is propagated to all hosts, the change returns a status of INSYNC.

Note the following limitations on a ChangeResourceRecordSets request:

Namespace: Amazon.Route53
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public abstract ChangeResourceRecordSetsResponse ChangeResourceRecordSets(
         ChangeResourceRecordSetsRequest request
)

Parameters

request
Type: Amazon.Route53.Model.ChangeResourceRecordSetsRequest

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

Return Value
Type: Amazon.Route53.Model.ChangeResourceRecordSetsResponse
The response from the ChangeResourceRecordSets service method, as returned by Route53.

Exceptions

ExceptionCondition
InvalidChangeBatchException This error contains a list of one or more error messages. Each error message indicates one error in the change batch. For more information, see Example InvalidChangeBatch Errors.
InvalidInputException Some value specified in the request is invalid or the XML document is malformed.
NoSuchHealthCheckException The health check you are trying to get or delete does not exist.
NoSuchHostedZoneException
PriorRequestNotCompleteException The request was rejected because Amazon Route 53 was still processing a prior request.

Version Information

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