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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53::ListTrafficPolicyVersions;
3 use Moose;
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  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrafficPolicyVersions');
12 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicies/{Id}/versions');
13 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListTrafficPolicyVersionsResponse');
15 class_has _result_key => (isa => 'Str', is => 'ro');
16
17
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::Route53::ListTrafficPolicyVersions - Arguments for method ListTrafficPolicyVersions on L<Paws::Route53>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListTrafficPolicyVersions on the
29 L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class
30 as arguments to method ListTrafficPolicyVersions.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyVersions.
33  
34 =head1 SYNOPSIS
35  
36 my $route53 = Paws->service('Route53');
37 my $ListTrafficPolicyVersionsResponse = $route53->ListTrafficPolicyVersions(
38 Id => 'MyTrafficPolicyId',
39 MaxItems => 'MyPageMaxItems', # OPTIONAL
40 TrafficPolicyVersionMarker => 'MyTrafficPolicyVersionMarker', # OPTIONAL
41 );
42  
43 # Results:
44 my $IsTruncated = $ListTrafficPolicyVersionsResponse->IsTruncated;
45 my $MaxItems = $ListTrafficPolicyVersionsResponse->MaxItems;
46 my $TrafficPolicies = $ListTrafficPolicyVersionsResponse->TrafficPolicies;
47 my $TrafficPolicyVersionMarker =
48 $ListTrafficPolicyVersionsResponse->TrafficPolicyVersionMarker;
49  
50 # Returns a L<Paws::Route53::ListTrafficPolicyVersionsResponse> object.
51  
52 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.
53 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/ListTrafficPolicyVersions>
54  
55 =head1 ATTRIBUTES
56  
57  
58 =head2 B<REQUIRED> Id => Str
59  
60 Specify the value of C<Id> of the traffic policy for which you want to
61 list all versions.
62  
63  
64  
65 =head2 MaxItems => Str
66  
67 The maximum number of traffic policy versions that you want Amazon
68 Route 53 to include in the response body for this request. If the
69 specified traffic policy has more than C<MaxItems> versions, the value
70 of C<IsTruncated> in the response is C<true>, and the value of the
71 C<TrafficPolicyVersionMarker> element is the ID of the first version
72 that Route 53 will return if you submit another request.
73  
74  
75  
76 =head2 TrafficPolicyVersionMarker => Str
77  
78 For your first request to C<ListTrafficPolicyVersions>, don't include
79 the C<TrafficPolicyVersionMarker> parameter.
80  
81 If you have more traffic policy versions than the value of C<MaxItems>,
82 C<ListTrafficPolicyVersions> returns only the first group of
83 C<MaxItems> versions. To get more traffic policy versions, submit
84 another C<ListTrafficPolicyVersions> request. For the value of
85 C<TrafficPolicyVersionMarker>, specify the value of
86 C<TrafficPolicyVersionMarker> in the previous response.
87  
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, documenting arguments for method ListTrafficPolicyVersions in L<Paws::Route53>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102