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

filter: Statementstmt 0.0% 0 / 23 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 25 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53::ListTrafficPolicyInstancesByPolicy;
3 use Moose;
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  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTrafficPolicyInstancesByPolicy');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2013-04-01/trafficpolicyinstances/trafficpolicy');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53::ListTrafficPolicyInstancesByPolicyResponse');
18 class_has _result_key => (isa => 'Str', is => 'ro');
19
20
21 1;
22  
23 ### main pod documentation begin ###
24  
25 =head1 NAME
26  
27 Paws::Route53::ListTrafficPolicyInstancesByPolicy - Arguments for method ListTrafficPolicyInstancesByPolicy on L<Paws::Route53>
28  
29 =head1 DESCRIPTION
30  
31 This class represents the parameters used for calling the method ListTrafficPolicyInstancesByPolicy on the
32 L<Amazon Route 53|Paws::Route53> service. Use the attributes of this class
33 as arguments to method ListTrafficPolicyInstancesByPolicy.
34  
35 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTrafficPolicyInstancesByPolicy.
36  
37 =head1 SYNOPSIS
38  
39 my $route53 = Paws->service('Route53');
40 my $ListTrafficPolicyInstancesByPolicyResponse =
41 $route53->ListTrafficPolicyInstancesByPolicy(
42 TrafficPolicyId => 'MyTrafficPolicyId',
43 TrafficPolicyVersion => 1,
44 HostedZoneIdMarker => 'MyResourceId', # OPTIONAL
45 MaxItems => 'MyPageMaxItems', # OPTIONAL
46 TrafficPolicyInstanceNameMarker => 'MyDNSName', # OPTIONAL
47 TrafficPolicyInstanceTypeMarker => 'SOA', # OPTIONAL
48 );
49  
50 # Results:
51 my $HostedZoneIdMarker =
52 $ListTrafficPolicyInstancesByPolicyResponse->HostedZoneIdMarker;
53 my $IsTruncated = $ListTrafficPolicyInstancesByPolicyResponse->IsTruncated;
54 my $MaxItems = $ListTrafficPolicyInstancesByPolicyResponse->MaxItems;
55 my $TrafficPolicyInstanceNameMarker =
56 $ListTrafficPolicyInstancesByPolicyResponse
57 ->TrafficPolicyInstanceNameMarker;
58 my $TrafficPolicyInstanceTypeMarker =
59 $ListTrafficPolicyInstancesByPolicyResponse
60 ->TrafficPolicyInstanceTypeMarker;
61 my $TrafficPolicyInstances =
62 $ListTrafficPolicyInstancesByPolicyResponse->TrafficPolicyInstances;
63  
64 # Returns a L<Paws::Route53::ListTrafficPolicyInstancesByPolicyResponse> object.
65  
66 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.
67 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53/ListTrafficPolicyInstancesByPolicy>
68  
69 =head1 ATTRIBUTES
70  
71  
72 =head2 HostedZoneIdMarker => Str
73  
74 If the value of C<IsTruncated> in the previous response was C<true>,
75 you have more traffic policy instances. To get more traffic policy
76 instances, submit another C<ListTrafficPolicyInstancesByPolicy>
77 request.
78  
79 For the value of C<hostedzoneid>, specify the value of
80 C<HostedZoneIdMarker> from the previous response, which is the hosted
81 zone ID of the first traffic policy instance that Amazon Route 53 will
82 return if you submit another request.
83  
84 If the value of C<IsTruncated> in the previous response was C<false>,
85 there are no more traffic policy instances to get.
86  
87  
88  
89 =head2 MaxItems => Str
90  
91 The maximum number of traffic policy instances to be included in the
92 response body for this request. If you have more than C<MaxItems>
93 traffic policy instances, the value of the C<IsTruncated> element in
94 the response is C<true>, and the values of C<HostedZoneIdMarker>,
95 C<TrafficPolicyInstanceNameMarker>, and
96 C<TrafficPolicyInstanceTypeMarker> represent the first traffic policy
97 instance that Amazon Route 53 will return if you submit another
98 request.
99  
100  
101  
102 =head2 B<REQUIRED> TrafficPolicyId => Str
103  
104 The ID of the traffic policy for which you want to list traffic policy
105 instances.
106  
107  
108  
109 =head2 TrafficPolicyInstanceNameMarker => Str
110  
111 If the value of C<IsTruncated> in the previous response was C<true>,
112 you have more traffic policy instances. To get more traffic policy
113 instances, submit another C<ListTrafficPolicyInstancesByPolicy>
114 request.
115  
116 For the value of C<trafficpolicyinstancename>, specify the value of
117 C<TrafficPolicyInstanceNameMarker> from the previous response, which is
118 the name of the first traffic policy instance that Amazon Route 53 will
119 return if you submit another request.
120  
121 If the value of C<IsTruncated> in the previous response was C<false>,
122 there are no more traffic policy instances to get.
123  
124  
125  
126 =head2 TrafficPolicyInstanceTypeMarker => Str
127  
128 If the value of C<IsTruncated> in the previous response was C<true>,
129 you have more traffic policy instances. To get more traffic policy
130 instances, submit another C<ListTrafficPolicyInstancesByPolicy>
131 request.
132  
133 For the value of C<trafficpolicyinstancetype>, specify the value of
134 C<TrafficPolicyInstanceTypeMarker> from the previous response, which is
135 the name of the first traffic policy instance that Amazon Route 53 will
136 return if you submit another request.
137  
138 If the value of C<IsTruncated> in the previous response was C<false>,
139 there are no more traffic policy instances to get.
140  
141 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">, C<"DS">
142  
143 =head2 B<REQUIRED> TrafficPolicyVersion => Int
144  
145 The version of the traffic policy for which you want to list traffic
146 policy instances. The version must be associated with the traffic
147 policy that is specified by C<TrafficPolicyId>.
148  
149  
150  
151  
152 =head1 SEE ALSO
153  
154 This class forms part of L<Paws>, documenting arguments for method ListTrafficPolicyInstancesByPolicy in L<Paws::Route53>
155  
156 =head1 BUGS and CONTRIBUTIONS
157  
158 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
159  
160 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
161  
162 =cut
163