Paws::Route53::ListResourceRecordSets - Arguments for method ListResourceRecordSets on Paws::Route53


This class represents the parameters used for calling the method ListResourceRecordSets on the Amazon Route 53 service. Use the attributes of this class as arguments to method ListResourceRecordSets.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListResourceRecordSets.


    my $route53 = Paws->service('Route53');
    my $ListResourceRecordSetsResponse = $route53->ListResourceRecordSets(
      HostedZoneId          => 'MyResourceId',
      MaxItems              => 'MyPageMaxItems',                   # OPTIONAL
      StartRecordIdentifier => 'MyResourceRecordSetIdentifier',    # OPTIONAL
      StartRecordName       => 'MyDNSName',                        # OPTIONAL
      StartRecordType       => 'SOA',                              # OPTIONAL

    # Results:
    my $IsTruncated = $ListResourceRecordSetsResponse->IsTruncated;
    my $MaxItems    = $ListResourceRecordSetsResponse->MaxItems;
    my $NextRecordIdentifier =
    my $NextRecordName = $ListResourceRecordSetsResponse->NextRecordName;
    my $NextRecordType = $ListResourceRecordSetsResponse->NextRecordType;
    my $ResourceRecordSets =

    # Returns a L<Paws::Route53::ListResourceRecordSetsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED HostedZoneId => Str

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

MaxItems => Str

(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.

StartRecordIdentifier => Str

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.

StartRecordName => Str

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

StartRecordType => Str

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, geolocation, 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.

Valid values are: "SOA", "A", "TXT", "NS", "CNAME", "MX", "NAPTR", "PTR", "SRV", "SPF", "AAAA", "CAA"


This class forms part of Paws, documenting arguments for method ListResourceRecordSets in Paws::Route53


The source code is located here:

Please report bugs to: