File Coverage

blib/lib/Paws/Route53/UpdateTrafficPolicyInstance.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              
2             package Paws::Route53::UpdateTrafficPolicyInstance;
3 1     1   495 use Moose;
  1         3  
  1         7  
4             has Id => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1);
5             has TrafficPolicyId => (is => 'ro', isa => 'Str', required => 1);
6             has TrafficPolicyVersion => (is => 'ro', isa => 'Int', required => 1);
7             has TTL => (is => 'ro', isa => 'Int', required => 1);
8              
9 1     1   6115 use MooseX::ClassAttribute;
  1         3  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTrafficPolicyInstance');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstance/{Id}');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::UpdateTrafficPolicyInstanceResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16            
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::Route53::UpdateTrafficPolicyInstance - Arguments for method UpdateTrafficPolicyInstance on Paws::Route53
24              
25             =head1 DESCRIPTION
26              
27             This class represents the parameters used for calling the method UpdateTrafficPolicyInstance on the
28             Amazon Route 53 service. Use the attributes of this class
29             as arguments to method UpdateTrafficPolicyInstance.
30              
31             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTrafficPolicyInstance.
32              
33             As an example:
34              
35             $service_obj->UpdateTrafficPolicyInstance(Att1 => $value1, Att2 => $value2, ...);
36              
37             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.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 B<REQUIRED> Id => Str
43              
44             The ID of the traffic policy instance that you want to update.
45              
46              
47              
48             =head2 B<REQUIRED> TrafficPolicyId => Str
49              
50             The ID of the traffic policy that you want Amazon Route 53 to use to
51             update resource record sets for the specified traffic policy instance.
52              
53              
54              
55             =head2 B<REQUIRED> TrafficPolicyVersion => Int
56              
57             The version of the traffic policy that you want Amazon Route 53 to use
58             to update resource record sets for the specified traffic policy
59             instance.
60              
61              
62              
63             =head2 B<REQUIRED> TTL => Int
64              
65             The TTL that you want Amazon Route 53 to assign to all of the updated
66             resource record sets.
67              
68              
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, documenting arguments for method UpdateTrafficPolicyInstance in L<Paws::Route53>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82