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

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Route53Resolver::ListFirewallRules;
3 use Moose;
4 has Action => (is => 'ro', isa => 'Str');
5 has FirewallRuleGroupId => (is => 'ro', isa => 'Str', required => 1);
6 has MaxResults => (is => 'ro', isa => 'Int');
7 has NextToken => (is => 'ro', isa => 'Str');
8 has Priority => (is => 'ro', isa => 'Int');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListFirewallRules');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Route53Resolver::ListFirewallRulesResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Route53Resolver::ListFirewallRules - Arguments for method ListFirewallRules on L<Paws::Route53Resolver>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListFirewallRules on the
26 L<Amazon Route 53 Resolver|Paws::Route53Resolver> service. Use the attributes of this class
27 as arguments to method ListFirewallRules.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListFirewallRules.
30  
31 =head1 SYNOPSIS
32  
33 my $route53resolver = Paws->service('Route53Resolver');
34 my $ListFirewallRulesResponse = $route53resolver->ListFirewallRules(
35 FirewallRuleGroupId => 'MyResourceId',
36 Action => 'ALLOW', # OPTIONAL
37 MaxResults => 1, # OPTIONAL
38 NextToken => 'MyNextToken', # OPTIONAL
39 Priority => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $FirewallRules = $ListFirewallRulesResponse->FirewallRules;
44 my $NextToken = $ListFirewallRulesResponse->NextToken;
45  
46 # Returns a L<Paws::Route53Resolver::ListFirewallRulesResponse> object.
47  
48 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.
49 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/route53resolver/ListFirewallRules>
50  
51 =head1 ATTRIBUTES
52  
53  
54 =head2 Action => Str
55  
56 Optional additional filter for the rules to retrieve.
57  
58 The action that DNS Firewall should take on a DNS query when it matches
59 one of the domains in the rule's domain list:
60  
61 =over
62  
63 =item *
64  
65 C<ALLOW> - Permit the request to go through.
66  
67 =item *
68  
69 C<ALERT> - Permit the request to go through but send an alert to the
70 logs.
71  
72 =item *
73  
74 C<BLOCK> - Disallow the request. If this is specified, additional
75 handling details are provided in the rule's C<BlockResponse> setting.
76  
77 =back
78  
79  
80 Valid values are: C<"ALLOW">, C<"BLOCK">, C<"ALERT">
81  
82 =head2 B<REQUIRED> FirewallRuleGroupId => Str
83  
84 The unique identifier of the firewall rule group that you want to
85 retrieve the rules for.
86  
87  
88  
89 =head2 MaxResults => Int
90  
91 The maximum number of objects that you want Resolver to return for this
92 request. If more objects are available, in the response, Resolver
93 provides a C<NextToken> value that you can use in a subsequent call to
94 get the next batch of objects.
95  
96 If you don't specify a value for C<MaxResults>, Resolver returns up to
97 100 objects.
98  
99  
100  
101 =head2 NextToken => Str
102  
103 For the first call to this list request, omit this value.
104  
105 When you request a list of objects, Resolver returns at most the number
106 of objects specified in C<MaxResults>. If more objects are available
107 for retrieval, Resolver returns a C<NextToken> value in the response.
108 To retrieve the next batch of objects, use the token that was returned
109 for the prior request in your next request.
110  
111  
112  
113 =head2 Priority => Int
114  
115 Optional additional filter for the rules to retrieve.
116  
117 The setting that determines the processing order of the rules in a rule
118 group. DNS Firewall processes the rules in a rule group by order of
119 priority, starting from the lowest setting.
120  
121  
122  
123  
124 =head1 SEE ALSO
125  
126 This class forms part of L<Paws>, documenting arguments for method ListFirewallRules in L<Paws::Route53Resolver>
127  
128 =head1 BUGS and CONTRIBUTIONS
129  
130 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
131  
132 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
133  
134 =cut
135