File Coverage

blib/lib/Paws/WAFRegional/XssMatchSet.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::XssMatchSet;
2 1     1   677 use Moose;
  1         3  
  1         10  
3             has Name => (is => 'ro', isa => 'Str');
4             has XssMatchSetId => (is => 'ro', isa => 'Str', required => 1);
5             has XssMatchTuples => (is => 'ro', isa => 'ArrayRef[Paws::WAFRegional::XssMatchTuple]', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::WAFRegional::XssMatchSet
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::XssMatchSet object:
24              
25             $service_obj->Method(Att1 => { Name => $value, ..., XssMatchTuples => $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::XssMatchSet object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->Name
33              
34             =head1 DESCRIPTION
35              
36             A complex type that contains C<XssMatchTuple> objects, which specify
37             the parts of web requests that you want AWS WAF to inspect for
38             cross-site scripting attacks and, if you want AWS WAF to inspect a
39             header, the name of the header. If a C<XssMatchSet> contains more than
40             one C<XssMatchTuple> object, a request needs to include cross-site
41             scripting attacks in only one of the specified parts of the request to
42             be considered a match.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 Name => Str
48              
49             The name, if any, of the C<XssMatchSet>.
50              
51              
52             =head2 B<REQUIRED> XssMatchSetId => Str
53              
54             A unique identifier for an C<XssMatchSet>. You use C<XssMatchSetId> to
55             get information about an C<XssMatchSet> (see GetXssMatchSet), update an
56             C<XssMatchSet> (see UpdateXssMatchSet), insert an C<XssMatchSet> into a
57             C<Rule> or delete one from a C<Rule> (see UpdateRule), and delete an
58             C<XssMatchSet> from AWS WAF (see DeleteXssMatchSet).
59              
60             C<XssMatchSetId> is returned by CreateXssMatchSet and by
61             ListXssMatchSets.
62              
63              
64             =head2 B<REQUIRED> XssMatchTuples => ArrayRef[L<Paws::WAFRegional::XssMatchTuple>]
65              
66             Specifies the parts of web requests that you want to inspect for
67             cross-site scripting attacks.
68              
69              
70              
71             =head1 SEE ALSO
72              
73             This class forms part of L<Paws>, describing an object used in L<Paws::WAFRegional>
74              
75             =head1 BUGS and CONTRIBUTIONS
76              
77             The source code is located here: https://github.com/pplu/aws-sdk-perl
78              
79             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
80              
81             =cut
82