The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $route53 = Paws->service('Route53');
    my $ListHostedZonesByNameResponse = $route53->ListHostedZonesByName(
      DNSName      => 'MyDNSName',         # OPTIONAL
      HostedZoneId => 'MyResourceId',      # OPTIONAL
      MaxItems     => 'MyPageMaxItems',    # OPTIONAL
    );

    # Results:
    my $DNSName          = $ListHostedZonesByNameResponse->DNSName;
    my $HostedZoneId     = $ListHostedZonesByNameResponse->HostedZoneId;
    my $HostedZones      = $ListHostedZonesByNameResponse->HostedZones;
    my $IsTruncated      = $ListHostedZonesByNameResponse->IsTruncated;
    my $MaxItems         = $ListHostedZonesByNameResponse->MaxItems;
    my $NextDNSName      = $ListHostedZonesByNameResponse->NextDNSName;
    my $NextHostedZoneId = $ListHostedZonesByNameResponse->NextHostedZoneId;

    # Returns a L<Paws::Route53::ListHostedZonesByNameResponse> 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 https://docs.aws.amazon.com/goto/WebAPI/route53/ListHostedZonesByName

ATTRIBUTES

DNSName => Str

(Optional) For your first request to ListHostedZonesByName, include the dnsname parameter only if you want to specify the name of the first hosted zone in the response. If you don't include the dnsname parameter, Amazon Route 53 returns all of the hosted zones that were created by the current AWS account, in ASCII order. For subsequent requests, include both dnsname and hostedzoneid parameters. For dnsname, specify the value of NextDNSName from the previous response.

HostedZoneId => Str

(Optional) For your first request to ListHostedZonesByName, do not include the hostedzoneid parameter.

If you have more hosted zones than the value of maxitems, ListHostedZonesByName returns only the first maxitems hosted zones. To get the next group of maxitems hosted zones, submit another request to ListHostedZonesByName and include both dnsname and hostedzoneid parameters. For the value of hostedzoneid, specify the value of the NextHostedZoneId element from the previous response.

MaxItems => Str

The maximum number of hosted zones to be included in the response body for this request. If you have more than maxitems hosted zones, then the value of the IsTruncated element in the response is true, and the values of NextDNSName and NextHostedZoneId specify the first hosted zone in the next group of maxitems hosted zones.

SEE ALSO

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

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues