« blib/lib/Paws/WAF/SizeConstraintSetSummary.pm
↑ Summary
blib/lib/Paws/WAF/SqlInjectionMatchSet.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WAF::SizeConstraintSetUpdate; | ||
| 3 | use Moose; | ||
| 4 | has Action => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has SizeConstraint => (is => 'ro', isa => 'Paws::WAF::SizeConstraint', required => 1); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::WAF::SizeConstraintSetUpdate | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::WAF::SizeConstraintSetUpdate object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { Action => $value, ..., SizeConstraint => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::WAF::SizeConstraintSetUpdate object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->Action | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | This is B<AWS WAF Classic> documentation. For more information, see AWS | ||
| 38 | WAF Classic | ||
| 39 | (https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html) | ||
| 40 | in the developer guide. | ||
| 41 | |||
| 42 | B<For the latest version of AWS WAF>, use the AWS WAFV2 API and see the | ||
| 43 | AWS WAF Developer Guide | ||
| 44 | (https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html). | ||
| 45 | With the latest version, AWS WAF has a single set of endpoints for | ||
| 46 | regional and global use. | ||
| 47 | |||
| 48 | Specifies the part of a web request that you want to inspect the size | ||
| 49 | of and indicates whether you want to add the specification to a | ||
| 50 | SizeConstraintSet or delete it from a C<SizeConstraintSet>. | ||
| 51 | |||
| 52 | =head1 ATTRIBUTES | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Action => Str | ||
| 56 | |||
| 57 | Specify C<INSERT> to add a SizeConstraintSetUpdate to a | ||
| 58 | SizeConstraintSet. Use C<DELETE> to remove a C<SizeConstraintSetUpdate> | ||
| 59 | from a C<SizeConstraintSet>. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 B<REQUIRED> SizeConstraint => L<Paws::WAF::SizeConstraint> | ||
| 63 | |||
| 64 | Specifies a constraint on the size of a part of the web request. AWS | ||
| 65 | WAF uses the C<Size>, C<ComparisonOperator>, and C<FieldToMatch> to | ||
| 66 | build an expression in the form of "C<Size> C<ComparisonOperator> size | ||
| 67 | in bytes of C<FieldToMatch>". If that expression is true, the | ||
| 68 | C<SizeConstraint> is considered to match. | ||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, describing an object used in L<Paws::WAF> | ||
| 75 | |||
| 76 | =head1 BUGS and CONTRIBUTIONS | ||
| 77 | |||
| 78 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 79 | |||
| 80 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 81 | |||
| 82 | =cut | ||
| 83 |