blib/lib/Paws/Route53/UpdateTrafficPolicyInstance.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53::UpdateTrafficPolicyInstance;
3 use Moose;
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  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateTrafficPolicyInstance');
13 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstance/{Id}');
14 class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::UpdateTrafficPolicyInstanceResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 class_has _top_level_element => (isa => 'Str', is => 'ro', default => 'UpdateTrafficPolicyInstanceRequest');
18 class_has _top_level_namespace => (isa => 'Str', is => 'ro', default => 'https://route53.amazonaws.com/doc/2013-04-01/');
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::Route53::UpdateTrafficPolicyInstance - Arguments for method UpdateTrafficPolicyInstance on L<Paws::Route53>
26  
27 =head1 DESCRIPTION
28  
29 This class represents the parameters used for calling the method UpdateTrafficPolicyInstance on the
30 L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class
31 as arguments to method UpdateTrafficPolicyInstance.
32  
33 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateTrafficPolicyInstance.
34  
35 =head1 SYNOPSIS
36  
37 my $route53 = Paws->service('Route53');
38 my $UpdateTrafficPolicyInstanceResponse =
39 $route53->UpdateTrafficPolicyInstance(
40 Id => 'MyTrafficPolicyInstanceId',
41 TTL => 1,
42 TrafficPolicyId => 'MyTrafficPolicyId',
43 TrafficPolicyVersion => 1,
44  
45 );
46  
47 # Results:
48 my $TrafficPolicyInstance =
49 $UpdateTrafficPolicyInstanceResponse->TrafficPolicyInstance;
50  
51 # Returns a L<Paws::Route53::UpdateTrafficPolicyInstanceResponse> object.
52  
53 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.
54 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/UpdateTrafficPolicyInstance>
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 B<REQUIRED> Id => Str
60  
61 The ID of the traffic policy instance that you want to update.
62  
63  
64  
65 =head2 B<REQUIRED> TrafficPolicyId => Str
66  
67 The ID of the traffic policy that you want Amazon Route 53 to use to
68 update resource record sets for the specified traffic policy instance.
69  
70  
71  
72 =head2 B<REQUIRED> TrafficPolicyVersion => Int
73  
74 The version of the traffic policy that you want Amazon Route 53 to use
75 to update resource record sets for the specified traffic policy
76 instance.
77  
78  
79  
80 =head2 B<REQUIRED> TTL => Int
81  
82 The TTL that you want Amazon Route 53 to assign to all of the updated
83 resource record sets.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method UpdateTrafficPolicyInstance in L<Paws::Route53>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99