blib/lib/Paws/NetworkFirewall/ListFirewalls.pm untested

filter: Statementstmt 0.0% 0 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::NetworkFirewall::ListFirewalls;
3 use Moose;
4 has MaxResults => (is => 'ro', isa => 'Int');
5 has NextToken => (is => 'ro', isa => 'Str');
6 has VpcIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7  
8 use MooseX::ClassAttribute;
9  
10 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListFirewalls');
11 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::NetworkFirewall::ListFirewallsResponse');
12 class_has _result_key => (isa => 'Str', is => 'ro');
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::NetworkFirewall::ListFirewalls - Arguments for method ListFirewalls on L<Paws::NetworkFirewall>
20  
21 =head1 DESCRIPTION
22  
23 This class represents the parameters used for calling the method ListFirewalls on the
24 L<AWS Network Firewall|Paws::NetworkFirewall> service. Use the attributes of this class
25 as arguments to method ListFirewalls.
26  
27 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListFirewalls.
28  
29 =head1 SYNOPSIS
30  
31 my $network-firewall = Paws->service('NetworkFirewall');
32 my $ListFirewallsResponse = $network -firewall->ListFirewalls(
33 MaxResults => 1, # OPTIONAL
34 NextToken => 'MyPaginationToken', # OPTIONAL
35 VpcIds => [
36 'MyVpcId', ... # min: 1, max: 128
37 ], # OPTIONAL
38 );
39  
40 # Results:
41 my $Firewalls = $ListFirewallsResponse->Firewalls;
42 my $NextToken = $ListFirewallsResponse->NextToken;
43  
44 # Returns a L<Paws::NetworkFirewall::ListFirewallsResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/network-firewall/ListFirewalls>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 MaxResults => Int
53  
54 The maximum number of objects that you want Network Firewall to return
55 for this request. If more objects are available, in the response,
56 Network Firewall provides a C<NextToken> value that you can use in a
57 subsequent call to get the next batch of objects.
58  
59  
60  
61 =head2 NextToken => Str
62  
63 When you request a list of objects with a C<MaxResults> setting, if the
64 number of objects that are still available for retrieval exceeds the
65 maximum you requested, Network Firewall returns a C<NextToken> value in
66 the response. To retrieve the next batch of objects, use the token
67 returned from the prior request in your next request.
68  
69  
70  
71 =head2 VpcIds => ArrayRef[Str|Undef]
72  
73 The unique identifiers of the VPCs that you want Network Firewall to
74 retrieve the firewalls for. Leave this blank to retrieve all firewalls
75 that you have defined.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method ListFirewalls in L<Paws::NetworkFirewall>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91