blib/lib/Paws/Route53/Change.pm

filter: Statementstmt 100% 6 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 7 / 7 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/RedShift/VpcSecurityGroupMembership.pm ↑ Summary blib/lib/Paws/Route53/ChangeBatch.pm »
1 # Generated by default/object.tt
2 package Paws::Route53::Change;
3 2 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 2 has Action => (is => 'ro', isa => 'Str', required => 1);
5 2 has ResourceRecordSet => (is => 'ro', isa => 'Paws::Route53::ResourceRecordSet', required => 1);
6  
7 2 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Route53::Change
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Route53::Change object:
25  
26 $service_obj->Method(Att1 => { Action => $value, ..., ResourceRecordSet => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Route53::Change object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Action
34  
35 =head1 DESCRIPTION
36  
37 The information for each resource record set that you want to change.
38  
39 =head1 ATTRIBUTES
40  
41  
42 =head2 B<REQUIRED> Action => Str
43  
44 The action to perform:
45  
46 =over
47  
48 =item *
49  
50 C<CREATE>: Creates a resource record set that has the specified values.
51  
52 =item *
53  
54 C<DELETE>: Deletes a existing resource record set.
55  
56 To delete the resource record set that is associated with a traffic
57 policy instance, use DeleteTrafficPolicyInstance
58 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_DeleteTrafficPolicyInstance.html).
59 Amazon Route 53 will delete the resource record set automatically. If
60 you delete the resource record set by using
61 C<ChangeResourceRecordSets>, Route 53 doesn't automatically delete the
62 traffic policy instance, and you'll continue to be charged for it even
63 though it's no longer in use.
64  
65 =item *
66  
67 C<UPSERT>: If a resource record set doesn't already exist, Route 53
68 creates it. If a resource record set does exist, Route 53 updates it
69 with the values in the request.
70  
71 =back
72  
73  
74  
75 =head2 B<REQUIRED> ResourceRecordSet => L<Paws::Route53::ResourceRecordSet>
76  
77 Information about the resource record set to create, delete, or update.
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, describing an object used in L<Paws::Route53>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92  
« blib/lib/Paws/RedShift/VpcSecurityGroupMembership.pm ↑ Summary blib/lib/Paws/Route53/ChangeBatch.pm »