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

SYNOPSIS

    my $hostedzone = Net::Amazon::Route53::HostedZone->new(...);
    # use methods on $hostedzone

ATTRIBUTES

route53

A Net::Amazon::Route53 object, needed and used to perform requests to Amazon's Route 53 service

id

The hosted zone's id

name

The hosted zone's name; ends in a dot, i.e.

    example.com.

callerreference

The CallerReference attribute for the hosted zone

comment

Any Comment given when the zone is created

nameservers

Lazily loaded, returns a list of the nameservers authoritative for this zone

resource_record_sets

Lazily loaded, returns a list of the resource record sets (Net::Amazon::Route53::ResourceRecordSet objects) for this zone.

METHODS

create

Creates a new zone. Needs all the attributes (name, callerreference and comment).

Takes an optional boolean parameter, wait, to indicate whether the request should return straightaway (default, or when wait is 0) or it should wait until the request is INSYNC according to the Change's status.

Returns a Net::Amazon::Route53::Change object representing the change requested.

delete

Deletes the zone. A zone can only be deleted by Amazon's Route 53 service if it contains no records other than a SOA or NS.

Takes an optional boolean parameter, wait, to indicate whether the request should return straightaway (default, or when wait is 0) or it should wait until the request is INSYNC according to the Change's status.

Returns a Net::Amazon::Route53::Change object representing the change requested.

AUTHOR

Marco FONTANI <mfontani@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Marco FONTANI.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.