You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::Route53::Types::ChangeBatch

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb

Overview

Note:

When making an API call, you may pass ChangeBatch data as a hash:

{
  comment: "ResourceDescription",
  changes: [ # required
    {
      action: "CREATE", # required, accepts CREATE, DELETE, UPSERT
      resource_record_set: { # required
        name: "DNSName", # required
        type: "SOA", # required, accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
        set_identifier: "ResourceRecordSetIdentifier",
        weight: 1,
        region: "us-east-1", # accepts us-east-1, us-east-2, us-west-1, us-west-2, ca-central-1, eu-west-1, eu-west-2, eu-central-1, ap-southeast-1, ap-southeast-2, ap-northeast-1, ap-northeast-2, sa-east-1, cn-north-1, ap-south-1
        geo_location: {
          continent_code: "GeoLocationContinentCode",
          country_code: "GeoLocationCountryCode",
          subdivision_code: "GeoLocationSubdivisionCode",
        },
        failover: "PRIMARY", # accepts PRIMARY, SECONDARY
        multi_value_answer: false,
        ttl: 1,
        resource_records: [
          {
            value: "RData", # required
          },
        ],
        alias_target: {
          hosted_zone_id: "ResourceId", # required
          dns_name: "DNSName", # required
          evaluate_target_health: false, # required
        },
        health_check_id: "HealthCheckId",
        traffic_policy_instance_id: "TrafficPolicyInstanceId",
      },
    },
  ],
}

The information for a change request.

Instance Attribute Summary collapse

Instance Attribute Details

#changesArray<Types::Change>

Information about the changes to make to the record sets.

Returns:



549
550
551
552
553
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 549

class ChangeBatch < Struct.new(
  :comment,
  :changes)
  include Aws::Structure
end

#commentString

Optional: Any comments you want to include about a change batch request.

Returns:

  • (String)


549
550
551
552
553
# File 'gems/aws-sdk-route53/lib/aws-sdk-route53/types.rb', line 549

class ChangeBatch < Struct.new(
  :comment,
  :changes)
  include Aws::Structure
end