my $resource = Net::Amazon::Route53::ResourceRecordSet->new(...); # use methods on $resource
A Net::Amazon::Route53 object, needed and used to perform requests to Amazon's Route 53 service
The Net::Amazon::Route53::HostedZone object this hosted zone refers to
The name for this resource record
The TTL associated with this resource record
The type of this resource record (A, AAAA, NS, etc)
A
AAAA
NS
The values associated with this resource record.
my $record = Net::Amazon::Route53::ResourceRecordSet->new( ... ); $record->create;
Creates a new record. Needs all the attributes (name, ttl, type and values).
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.
wait
0
INSYNC
Returns a Net::Amazon::Route53::Change object representing the change requested.
$rrs->delete();
Asks Route 53 to delete the associated record. This should be used only when you want to delete the resource, not when changing a resource. In that case, use the change method instead, which takes care of creating a unique change in which the record is first deleted with the current details and then created with the new details.
change
Marco FONTANI <mfontani@cpan.org>
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.
To install Net::Amazon::Route53, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::Amazon::Route53
CPAN shell
perl -MCPAN -e shell install Net::Amazon::Route53
For more information on module installation, please visit the detailed CPAN module installation guide.