File Coverage

blib/lib/Paws/Route53/ListTrafficPolicyInstancesByPolicy.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::ListTrafficPolicyInstancesByPolicy;
3 1     1   293 use Moose;
  1         3  
  1         5  
4             has HostedZoneIdMarker => (is => 'ro', isa => 'Str', query_name => 'hostedzoneid', traits => ['ParamInQuery']);
5             has MaxItems => (is => 'ro', isa => 'Str', query_name => 'maxitems', traits => ['ParamInQuery']);
6             has TrafficPolicyId => (is => 'ro', isa => 'Str', query_name => 'id', traits => ['ParamInQuery'], required => 1);
7             has TrafficPolicyInstanceNameMarker => (is => 'ro', isa => 'Str', query_name => 'trafficpolicyinstancename', traits => ['ParamInQuery']);
8             has TrafficPolicyInstanceTypeMarker => (is => 'ro', isa => 'Str', query_name => 'trafficpolicyinstancetype', traits => ['ParamInQuery']);
9             has TrafficPolicyVersion => (is => 'ro', isa => 'Int', query_name => 'version', traits => ['ParamInQuery'], required => 1);
10              
11 1     1   5344 use MooseX::ClassAttribute;
  1         3  
  1         8  
12              
13             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrafficPolicyInstancesByPolicy');
14             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstances/trafficpolicy');
15             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListTrafficPolicyInstancesByPolicyResponse');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18            
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::Route53::ListTrafficPolicyInstancesByPolicy - Arguments for method ListTrafficPolicyInstancesByPolicy on Paws::Route53
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method ListTrafficPolicyInstancesByPolicy on the
30             Amazon Route 53 service. Use the attributes of this class
31             as arguments to method ListTrafficPolicyInstancesByPolicy.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyInstancesByPolicy.
34              
35             As an example:
36              
37             $service_obj->ListTrafficPolicyInstancesByPolicy(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 HostedZoneIdMarker => Str
45              
46             If the value of C<IsTruncated> in the previous response was C<true>,
47             you have more traffic policy instances. To get more traffic policy
48             instances, submit another C<ListTrafficPolicyInstancesByPolicy>
49             request.
50              
51             For the value of C<hostedzoneid>, specify the value of
52             C<HostedZoneIdMarker> from the previous response, which is the hosted
53             zone ID of the first traffic policy instance that Amazon Route 53 will
54             return if you submit another request.
55              
56             If the value of C<IsTruncated> in the previous response was C<false>,
57             there are no more traffic policy instances to get.
58              
59              
60              
61             =head2 MaxItems => Str
62              
63             The maximum number of traffic policy instances to be included in the
64             response body for this request. If you have more than C<MaxItems>
65             traffic policy instances, the value of the C<IsTruncated> element in
66             the response is C<true>, and the values of C<HostedZoneIdMarker>,
67             C<TrafficPolicyInstanceNameMarker>, and
68             C<TrafficPolicyInstanceTypeMarker> represent the first traffic policy
69             instance that Amazon Route 53 will return if you submit another
70             request.
71              
72              
73              
74             =head2 B<REQUIRED> TrafficPolicyId => Str
75              
76             The ID of the traffic policy for which you want to list traffic policy
77             instances.
78              
79              
80              
81             =head2 TrafficPolicyInstanceNameMarker => Str
82              
83             If the value of C<IsTruncated> in the previous response was C<true>,
84             you have more traffic policy instances. To get more traffic policy
85             instances, submit another C<ListTrafficPolicyInstancesByPolicy>
86             request.
87              
88             For the value of C<trafficpolicyinstancename>, specify the value of
89             C<TrafficPolicyInstanceNameMarker> from the previous response, which is
90             the name of the first traffic policy instance that Amazon Route 53 will
91             return if you submit another request.
92              
93             If the value of C<IsTruncated> in the previous response was C<false>,
94             there are no more traffic policy instances to get.
95              
96              
97              
98             =head2 TrafficPolicyInstanceTypeMarker => Str
99              
100             If the value of C<IsTruncated> in the previous response was C<true>,
101             you have more traffic policy instances. To get more traffic policy
102             instances, submit another C<ListTrafficPolicyInstancesByPolicy>
103             request.
104              
105             For the value of C<trafficpolicyinstancetype>, specify the value of
106             C<TrafficPolicyInstanceTypeMarker> from the previous response, which is
107             the name of the first traffic policy instance that Amazon Route 53 will
108             return if you submit another request.
109              
110             If the value of C<IsTruncated> in the previous response was C<false>,
111             there are no more traffic policy instances to get.
112              
113             Valid values are: C<"SOA">, C<"A">, C<"TXT">, C<"NS">, C<"CNAME">, C<"MX">, C<"NAPTR">, C<"PTR">, C<"SRV">, C<"SPF">, C<"AAAA">, C<"CAA">
114              
115             =head2 B<REQUIRED> TrafficPolicyVersion => Int
116              
117             The version of the traffic policy for which you want to list traffic
118             policy instances. The version must be associated with the traffic
119             policy that is specified by C<TrafficPolicyId>.
120              
121              
122              
123              
124             =head1 SEE ALSO
125              
126             This class forms part of L<Paws>, documenting arguments for method ListTrafficPolicyInstancesByPolicy in L<Paws::Route53>
127              
128             =head1 BUGS and CONTRIBUTIONS
129              
130             The source code is located here: https://github.com/pplu/aws-sdk-perl
131              
132             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
133              
134             =cut
135