File Coverage

blib/lib/Paws/Route53/Change.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1             package Paws::Route53::Change;
2 1     1   450 use Moose;
  1     1   2  
  1         7  
  1         525  
  1         2  
  1         6  
3             has Action => (is => 'ro', isa => 'Str', required => 1);
4             has ResourceRecordSet => (is => 'ro', isa => 'Paws::Route53::ResourceRecordSet', required => 1);
5             1;
6              
7             ### main pod documentation begin ###
8              
9             =head1 NAME
10              
11             Paws::Route53::Change
12              
13             =head1 USAGE
14              
15             This class represents one of two things:
16              
17             =head3 Arguments in a call to a service
18              
19             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
20             Each attribute should be used as a named argument in the calls that expect this type of object.
21              
22             As an example, if Att1 is expected to be a Paws::Route53::Change object:
23              
24             $service_obj->Method(Att1 => { Action => $value, ..., ResourceRecordSet => $value });
25              
26             =head3 Results returned from an API call
27              
28             Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::Change object:
29              
30             $result = $service_obj->Method(...);
31             $result->Att1->Action
32              
33             =head1 DESCRIPTION
34              
35             The information for each resource record set that you want to change.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 B<REQUIRED> Action => Str
41              
42             The action to perform:
43              
44             =over
45              
46             =item *
47              
48             C<CREATE>: Creates a resource record set that has the specified values.
49              
50             =item *
51              
52             C<DELETE>: Deletes a existing resource record set.
53              
54             To delete the resource record set that is associated with a traffic
55             policy instance, use C< DeleteTrafficPolicyInstance >. Amazon Route 53
56             will delete the resource record set automatically. If you delete the
57             resource record set by using C<ChangeResourceRecordSets>, Amazon Route
58             53 doesn't automatically delete the traffic policy instance, and you'll
59             continue to be charged for it even though it's no longer in use.
60              
61             =item *
62              
63             C<UPSERT>: If a resource record set doesn't already exist, Amazon Route
64             53 creates it. If a resource record set does exist, Amazon Route 53
65             updates it with the values in the request.
66              
67             =back
68              
69             The values that you need to include in the request depend on the type
70             of resource record set that you're creating, deleting, or updating:
71              
72             B<Basic resource record sets (excluding alias, failover, geolocation,
73             latency, and weighted resource record sets)>
74              
75             =over
76              
77             =item *
78              
79             C<Name>
80              
81             =item *
82              
83             C<Type>
84              
85             =item *
86              
87             C<TTL>
88              
89             =back
90              
91             B<Failover, geolocation, latency, or weighted resource record sets
92             (excluding alias resource record sets)>
93              
94             =over
95              
96             =item *
97              
98             C<Name>
99              
100             =item *
101              
102             C<Type>
103              
104             =item *
105              
106             C<TTL>
107              
108             =item *
109              
110             C<SetIdentifier>
111              
112             =back
113              
114             B<Alias resource record sets (including failover alias, geolocation
115             alias, latency alias, and weighted alias resource record sets)>
116              
117             =over
118              
119             =item *
120              
121             C<Name>
122              
123             =item *
124              
125             C<Type>
126              
127             =item *
128              
129             C<AliasTarget> (includes C<DNSName>, C<EvaluateTargetHealth>, and
130             C<HostedZoneId>)
131              
132             =item *
133              
134             C<SetIdentifier> (for failover, geolocation, latency, and weighted
135             resource record sets)
136              
137             =back
138              
139              
140              
141             =head2 B<REQUIRED> ResourceRecordSet => L<Paws::Route53::ResourceRecordSet>
142              
143             Information about the resource record set to create, delete, or update.
144              
145              
146              
147             =head1 SEE ALSO
148              
149             This class forms part of L<Paws>, describing an object used in L<Paws::Route53>
150              
151             =head1 BUGS and CONTRIBUTIONS
152              
153             The source code is located here: https://github.com/pplu/aws-sdk-perl
154              
155             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
156              
157             =cut
158