blib/lib/Paws/WAFV2/GetRateBasedStatementManagedKeys.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::WAFV2::GetRateBasedStatementManagedKeys;
3 use Moose;
4 has RuleName => (is => 'ro', isa => 'Str', required => 1);
5 has Scope => (is => 'ro', isa => 'Str', required => 1);
6 has WebACLId => (is => 'ro', isa => 'Str', required => 1);
7 has WebACLName => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetRateBasedStatementManagedKeys');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFV2::GetRateBasedStatementManagedKeysResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::WAFV2::GetRateBasedStatementManagedKeys - Arguments for method GetRateBasedStatementManagedKeys on L<Paws::WAFV2>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method GetRateBasedStatementManagedKeys on the
25 L<AWS WAFV2|Paws::WAFV2> service. Use the attributes of this class
26 as arguments to method GetRateBasedStatementManagedKeys.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetRateBasedStatementManagedKeys.
29  
30 =head1 SYNOPSIS
31  
32 my $wafv2 = Paws->service('WAFV2');
33 my $GetRateBasedStatementManagedKeysResponse =
34 $wafv2->GetRateBasedStatementManagedKeys(
35 RuleName => 'MyEntityName',
36 Scope => 'CLOUDFRONT',
37 WebACLId => 'MyEntityId',
38 WebACLName => 'MyEntityName',
39  
40 );
41  
42 # Results:
43 my $ManagedKeysIPV4 =
44 $GetRateBasedStatementManagedKeysResponse->ManagedKeysIPV4;
45 my $ManagedKeysIPV6 =
46 $GetRateBasedStatementManagedKeysResponse->ManagedKeysIPV6;
47  
48 # Returns a L<Paws::WAFV2::GetRateBasedStatementManagedKeysResponse> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/wafv2/GetRateBasedStatementManagedKeys>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 B<REQUIRED> RuleName => Str
57  
58 The name of the rate-based rule to get the keys for.
59  
60  
61  
62 =head2 B<REQUIRED> Scope => Str
63  
64 Specifies whether this is for an Amazon CloudFront distribution or for
65 a regional application. A regional application can be an Application
66 Load Balancer (ALB), an Amazon API Gateway REST API, or an AppSync
67 GraphQL API.
68  
69 To work with CloudFront, you must also specify the Region US East (N.
70 Virginia) as follows:
71  
72 =over
73  
74 =item *
75  
76 CLI - Specify the Region when you use the CloudFront scope:
77 C<--scope=CLOUDFRONT --region=us-east-1>.
78  
79 =item *
80  
81 API and SDKs - For all calls, use the Region endpoint us-east-1.
82  
83 =back
84  
85  
86 Valid values are: C<"CLOUDFRONT">, C<"REGIONAL">
87  
88 =head2 B<REQUIRED> WebACLId => Str
89  
90 The unique identifier for the web ACL. This ID is returned in the
91 responses to create and list commands. You provide it to operations
92 like update and delete.
93  
94  
95  
96 =head2 B<REQUIRED> WebACLName => Str
97  
98 The name of the web ACL. You cannot change the name of a web ACL after
99 you create it.
100  
101  
102  
103  
104 =head1 SEE ALSO
105  
106 This class forms part of L<Paws>, documenting arguments for method GetRateBasedStatementManagedKeys in L<Paws::WAFV2>
107  
108 =head1 BUGS and CONTRIBUTIONS
109  
110 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
111  
112 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
113  
114 =cut
115