File Coverage

blib/lib/Paws/WAFRegional/SqlInjectionMatchSet.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::WAFRegional::SqlInjectionMatchSet;
2 1     1   591 use Moose;
  1         4  
  1         9  
3             has Name => (is => 'ro', isa => 'Str');
4             has SqlInjectionMatchSetId => (is => 'ro', isa => 'Str', required => 1);
5             has SqlInjectionMatchTuples => (is => 'ro', isa => 'ArrayRef[Paws::WAFRegional::SqlInjectionMatchTuple]', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::WAFRegional::SqlInjectionMatchSet
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::WAFRegional::SqlInjectionMatchSet object:
24              
25             $service_obj->Method(Att1 => { Name => $value, ..., SqlInjectionMatchTuples => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::WAFRegional::SqlInjectionMatchSet object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Name
33              
34             =head1 DESCRIPTION
35              
36             A complex type that contains C<SqlInjectionMatchTuple> objects, which
37             specify the parts of web requests that you want AWS WAF to inspect for
38             snippets of malicious SQL code and, if you want AWS WAF to inspect a
39             header, the name of the header. If a C<SqlInjectionMatchSet> contains
40             more than one C<SqlInjectionMatchTuple> object, a request needs to
41             include snippets of SQL code in only one of the specified parts of the
42             request to be considered a match.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Name => Str
48              
49             The name, if any, of the C<SqlInjectionMatchSet>.
50              
51              
52             =head2 B<REQUIRED> SqlInjectionMatchSetId => Str
53              
54             A unique identifier for a C<SqlInjectionMatchSet>. You use
55             C<SqlInjectionMatchSetId> to get information about a
56             C<SqlInjectionMatchSet> (see GetSqlInjectionMatchSet), update a
57             C<SqlInjectionMatchSet> (see UpdateSqlInjectionMatchSet), insert a
58             C<SqlInjectionMatchSet> into a C<Rule> or delete one from a C<Rule>
59             (see UpdateRule), and delete a C<SqlInjectionMatchSet> from AWS WAF
60             (see DeleteSqlInjectionMatchSet).
61              
62             C<SqlInjectionMatchSetId> is returned by CreateSqlInjectionMatchSet and
63             by ListSqlInjectionMatchSets.
64              
65              
66             =head2 B<REQUIRED> SqlInjectionMatchTuples => ArrayRef[L<Paws::WAFRegional::SqlInjectionMatchTuple>]
67              
68             Specifies the parts of web requests that you want to inspect for
69             snippets of malicious SQL code.
70              
71              
72              
73             =head1 SEE ALSO
74              
75             This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
76              
77             =head1 BUGS and CONTRIBUTIONS
78              
79             The source code is located here: https://github.com/pplu/aws-sdk-perl
80              
81             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
82              
83             =cut
84