blib/lib/Paws/Route53Resolver/Filter.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Route53Resolver::Filter;
3 use Moose;
4 has Name => (is => 'ro', isa => 'Str');
5 has Values => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Route53Resolver::Filter
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::Route53Resolver::Filter object:
25  
26 $service_obj->Method(Att1 => { Name => $value, ..., Values => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::Route53Resolver::Filter object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Name
34  
35 =head1 DESCRIPTION
36  
37 For Resolver list operations (ListResolverEndpoints
38 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html),
39 ListResolverRules
40 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html),
41 ListResolverRuleAssociations
42 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html),
43 ListResolverQueryLogConfigs
44 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html),
45 ListResolverQueryLogConfigAssociations
46 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html)),
47 and ListResolverDnssecConfigs
48 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverDnssecConfigs.html)),
49 an optional specification to return a subset of objects.
50  
51 To filter objects, such as Resolver endpoints or Resolver rules, you
52 specify C<Name> and C<Values>. For example, to list only inbound
53 Resolver endpoints, specify C<Direction> for C<Name> and specify
54 C<INBOUND> for C<Values>.
55  
56 =head1 ATTRIBUTES
57  
58  
59 =head2 Name => Str
60  
61 The name of the parameter that you want to use to filter objects.
62  
63 The valid values for C<Name> depend on the action that you're including
64 the filter in, ListResolverEndpoints
65 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverEndpoints.html),
66 ListResolverRules
67 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRules.html),
68 ListResolverRuleAssociations
69 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverRuleAssociations.html),
70 ListResolverQueryLogConfigs
71 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigs.html),
72 or ListResolverQueryLogConfigAssociations
73 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ListResolverQueryLogConfigAssociations.html).
74  
75 In early versions of Resolver, values for C<Name> were listed as
76 uppercase, with underscore (_) delimiters. For example,
77 C<CreatorRequestId> was originally listed as C<CREATOR_REQUEST_ID>.
78 Uppercase values for C<Name> are still supported.
79  
80 B<ListResolverEndpoints>
81  
82 Valid values for C<Name> include the following:
83  
84 =over
85  
86 =item *
87  
88 C<CreatorRequestId>: The value that you specified when you created the
89 Resolver endpoint.
90  
91 =item *
92  
93 C<Direction>: Whether you want to return inbound or outbound Resolver
94 endpoints. If you specify C<DIRECTION> for C<Name>, specify C<INBOUND>
95 or C<OUTBOUND> for C<Values>.
96  
97 =item *
98  
99 C<HostVpcId>: The ID of the VPC that inbound DNS queries pass through
100 on the way from your network to your VPCs in a region, or the VPC that
101 outbound queries pass through on the way from your VPCs to your
102 network. In a CreateResolverEndpoint
103 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_CreateResolverEndpoint.html)
104 request, C<SubnetId> indirectly identifies the VPC. In a
105 GetResolverEndpoint
106 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_GetResolverEndpoint.html)
107 request, the VPC ID for a Resolver endpoint is returned in the
108 C<HostVPCId> element.
109  
110 =item *
111  
112 C<IpAddressCount>: The number of IP addresses that you have associated
113 with the Resolver endpoint.
114  
115 =item *
116  
117 C<Name>: The name of the Resolver endpoint.
118  
119 =item *
120  
121 C<SecurityGroupIds>: The IDs of the VPC security groups that you
122 specified when you created the Resolver endpoint.
123  
124 =item *
125  
126 C<Status>: The status of the Resolver endpoint. If you specify
127 C<Status> for C<Name>, specify one of the following status codes for
128 C<Values>: C<CREATING>, C<OPERATIONAL>, C<UPDATING>,
129 C<AUTO_RECOVERING>, C<ACTION_NEEDED>, or C<DELETING>. For more
130 information, see C<Status> in ResolverEndpoint
131 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverEndpoint.html).
132  
133 =back
134  
135 B<ListResolverRules>
136  
137 Valid values for C<Name> include the following:
138  
139 =over
140  
141 =item *
142  
143 C<CreatorRequestId>: The value that you specified when you created the
144 Resolver rule.
145  
146 =item *
147  
148 C<DomainName>: The domain name for which Resolver is forwarding DNS
149 queries to your network. In the value that you specify for C<Values>,
150 include a trailing dot (.) after the domain name. For example, if the
151 domain name is example.com, specify the following value. Note the "."
152 after C<com>:
153  
154 C<example.com.>
155  
156 =item *
157  
158 C<Name>: The name of the Resolver rule.
159  
160 =item *
161  
162 C<ResolverEndpointId>: The ID of the Resolver endpoint that the
163 Resolver rule is associated with.
164  
165 You can filter on the Resolver endpoint only for rules that have a
166 value of C<FORWARD> for C<RuleType>.
167  
168 =item *
169  
170 C<Status>: The status of the Resolver rule. If you specify C<Status>
171 for C<Name>, specify one of the following status codes for C<Values>:
172 C<COMPLETE>, C<DELETING>, C<UPDATING>, or C<FAILED>.
173  
174 =item *
175  
176 C<Type>: The type of the Resolver rule. If you specify C<TYPE> for
177 C<Name>, specify C<FORWARD> or C<SYSTEM> for C<Values>.
178  
179 =back
180  
181 B<ListResolverRuleAssociations>
182  
183 Valid values for C<Name> include the following:
184  
185 =over
186  
187 =item *
188  
189 C<Name>: The name of the Resolver rule association.
190  
191 =item *
192  
193 C<ResolverRuleId>: The ID of the Resolver rule that is associated with
194 one or more VPCs.
195  
196 =item *
197  
198 C<Status>: The status of the Resolver rule association. If you specify
199 C<Status> for C<Name>, specify one of the following status codes for
200 C<Values>: C<CREATING>, C<COMPLETE>, C<DELETING>, or C<FAILED>.
201  
202 =item *
203  
204 C<VPCId>: The ID of the VPC that the Resolver rule is associated with.
205  
206 =back
207  
208 B<ListResolverQueryLogConfigs>
209  
210 Valid values for C<Name> include the following:
211  
212 =over
213  
214 =item *
215  
216 C<Arn>: The ARN for the query logging configuration.
217  
218 =item *
219  
220 C<AssociationCount>: The number of VPCs that are associated with the
221 query logging configuration.
222  
223 =item *
224  
225 C<CreationTime>: The date and time that the query logging configuration
226 was created, in Unix time format and Coordinated Universal Time (UTC).
227  
228 =item *
229  
230 C<CreatorRequestId>: A unique string that identifies the request that
231 created the query logging configuration.
232  
233 =item *
234  
235 C<Destination>: The AWS service that you want to forward query logs to.
236 Valid values include the following:
237  
238 =over
239  
240 =item *
241  
242 C<S3>
243  
244 =item *
245  
246 C<CloudWatchLogs>
247  
248 =item *
249  
250 C<KinesisFirehose>
251  
252 =back
253  
254 =item *
255  
256 C<DestinationArn>: The ARN of the location that Resolver is sending
257 query logs to. This value can be the ARN for an S3 bucket, a CloudWatch
258 Logs log group, or a Kinesis Data Firehose delivery stream.
259  
260 =item *
261  
262 C<Id>: The ID of the query logging configuration
263  
264 =item *
265  
266 C<Name>: The name of the query logging configuration
267  
268 =item *
269  
270 C<OwnerId>: The AWS account ID for the account that created the query
271 logging configuration.
272  
273 =item *
274  
275 C<ShareStatus>: An indication of whether the query logging
276 configuration is shared with other AWS accounts, or was shared with the
277 current account by another AWS account. Valid values include:
278 C<NOT_SHARED>, C<SHARED_WITH_ME>, or C<SHARED_BY_ME>.
279  
280 =item *
281  
282 C<Status>: The status of the query logging configuration. If you
283 specify C<Status> for C<Name>, specify the applicable status code for
284 C<Values>: C<CREATING>, C<CREATED>, C<DELETING>, or C<FAILED>. For more
285 information, see Status
286 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfig.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfig-Status).
287  
288 =back
289  
290 B<ListResolverQueryLogConfigAssociations>
291  
292 Valid values for C<Name> include the following:
293  
294 =over
295  
296 =item *
297  
298 C<CreationTime>: The date and time that the VPC was associated with the
299 query logging configuration, in Unix time format and Coordinated
300 Universal Time (UTC).
301  
302 =item *
303  
304 C<Error>: If the value of C<Status> is C<FAILED>, specify the cause:
305 C<DESTINATION_NOT_FOUND> or C<ACCESS_DENIED>.
306  
307 =item *
308  
309 C<Id>: The ID of the query logging association.
310  
311 =item *
312  
313 C<ResolverQueryLogConfigId>: The ID of the query logging configuration
314 that a VPC is associated with.
315  
316 =item *
317  
318 C<ResourceId>: The ID of the Amazon VPC that is associated with the
319 query logging configuration.
320  
321 =item *
322  
323 C<Status>: The status of the query logging association. If you specify
324 C<Status> for C<Name>, specify the applicable status code for
325 C<Values>: C<CREATING>, C<CREATED>, C<DELETING>, or C<FAILED>. For more
326 information, see Status
327 (https://docs.aws.amazon.com/Route53/latest/APIReference/API_route53resolver_ResolverQueryLogConfigAssociation.html#Route53Resolver-Type-route53resolver_ResolverQueryLogConfigAssociation-Status).
328  
329 =back
330  
331  
332  
333 =head2 Values => ArrayRef[Str|Undef]
334  
335 When you're using a C<List> operation and you want the operation to
336 return a subset of objects, such as Resolver endpoints or Resolver
337 rules, the value of the parameter that you want to use to filter
338 objects. For example, to list only inbound Resolver endpoints, specify
339 C<Direction> for C<Name> and specify C<INBOUND> for C<Values>.
340  
341  
342  
343 =head1 SEE ALSO
344  
345 This class forms part of L<Paws>, describing an object used in L<Paws::Route53Resolver>
346  
347 =head1 BUGS and CONTRIBUTIONS
348  
349 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
350  
351 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
352  
353 =cut
354