File Coverage

blib/lib/Paws/Route53/ListTrafficPolicyVersions.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::ListTrafficPolicyVersions;
3 1     1   292 use Moose;
  1         3  
  1         6  
4             has Id => (is => 'ro', isa => 'Str', uri_name => 'Id', traits => ['ParamInURI'], required => 1);
5             has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']);
6             has TrafficPolicyVersionMarker => (is => 'ro', isa => 'Str', query_name => 'trafficpolicyversion', traits => ['ParamInQuery']);
7              
8 1     1   5510 use MooseX::ClassAttribute;
  1         3  
  1         8  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrafficPolicyVersions');
11             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicies/{Id}/versions');
12             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListTrafficPolicyVersionsResponse');
14             class_has _result_key => (isa => 'Str', is => 'ro');
15            
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Route53::ListTrafficPolicyVersions - Arguments for method ListTrafficPolicyVersions on Paws::Route53
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListTrafficPolicyVersions on the
27             Amazon Route 53 service. Use the attributes of this class
28             as arguments to method ListTrafficPolicyVersions.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyVersions.
31              
32             As an example:
33              
34             $service_obj->ListTrafficPolicyVersions(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> Id => Str
42              
43             Specify the value of C<Id> of the traffic policy for which you want to
44             list all versions.
45              
46              
47              
48             =head2 MaxItems => Str
49              
50             The maximum number of traffic policy versions that you want Amazon
51             Route 53 to include in the response body for this request. If the
52             specified traffic policy has more than C<MaxItems> versions, the value
53             of C<IsTruncated> in the response is C<true>, and the value of the
54             C<TrafficPolicyVersionMarker> element is the ID of the first version
55             that Amazon Route 53 will return if you submit another request.
56              
57              
58              
59             =head2 TrafficPolicyVersionMarker => Str
60              
61             For your first request to C<ListTrafficPolicyVersions>, don't include
62             the C<TrafficPolicyVersionMarker> parameter.
63              
64             If you have more traffic policy versions than the value of C<MaxItems>,
65             C<ListTrafficPolicyVersions> returns only the first group of
66             C<MaxItems> versions. To get more traffic policy versions, submit
67             another C<ListTrafficPolicyVersions> request. For the value of
68             C<TrafficPolicyVersionMarker>, specify the value of
69             C<TrafficPolicyVersionMarker> in the previous response.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method ListTrafficPolicyVersions in L<Paws::Route53>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85