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

Class: Aws::Route53::Types::ListResourceRecordSetsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ListResourceRecordSetsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  hosted_zone_id: "ResourceId", # required
  start_record_name: "DNSName",
  start_record_type: "SOA", # accepts SOA, A, TXT, NS, CNAME, MX, NAPTR, PTR, SRV, SPF, AAAA, CAA
  start_record_identifier: "ResourceRecordSetIdentifier",
  max_items: 1,
}

A request for the resource record sets that are associated with a specified hosted zone.

Instance Attribute Summary collapse

Instance Attribute Details

#hosted_zone_idString

The ID of the hosted zone that contains the resource record sets that you want to list.

Returns:

  • (String)

    The ID of the hosted zone that contains the resource record sets that you want to list.

#max_itemsInteger

(Optional) The maximum number of resource records sets to include in the response body for this request. If the response includes more than maxitems resource record sets, the value of the IsTruncated element in the response is true, and the values of the NextRecordName and NextRecordType elements in the response identify the first resource record set in the next group of maxitems resource record sets.

Returns:

  • (Integer)

    (Optional) The maximum number of resource records sets to include in the response body for this request.

#start_record_identifierString

Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

Returns:

  • (String)

    Weighted resource record sets only: If results were truncated for a given DNS name and type, specify the value of NextRecordIdentifier from the previous response to get the next resource record set that has the current DNS name and type.

#start_record_nameString

The first name in the lexicographic ordering of resource record sets that you want to list.

Returns:

  • (String)

    The first name in the lexicographic ordering of resource record sets that you want to list.

#start_record_typeString

The type of resource record set to begin the record listing from.

Valid values for basic resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | NS | PTR | SOA | SPF | SRV | TXT

Values for weighted, latency, geo, and failover resource record sets: A | AAAA | CAA | CNAME | MX | NAPTR | PTR | SPF | SRV | TXT

Values for alias resource record sets:

  • CloudFront distribution: A or AAAA

  • Elastic Beanstalk environment that has a regionalized subdomain: A

  • ELB load balancer: A | AAAA

  • Amazon S3 bucket: A

  • Another resource record set in this hosted zone: The type of the resource record set that the alias references.

Constraint: Specifying type without specifying name returns an InvalidInput error.

Possible values:

  • SOA
  • A
  • TXT
  • NS
  • CNAME
  • MX
  • NAPTR
  • PTR
  • SRV
  • SPF
  • AAAA
  • CAA

Returns:

  • (String)

    The type of resource record set to begin the record listing from.