« blib/lib/Paws/WAFRegional/UpdateRateBasedRuleResponse.pm
↑ Summary
blib/lib/Paws/WAFRegional/UpdateRegexMatchSetResponse.pm »
| 1 | |||
| 2 | package Paws::WAFRegional::UpdateRegexMatchSet; | ||
| 3 | use Moose; | ||
| 4 | has ChangeToken => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has RegexMatchSetId => (is => 'ro', isa => 'Str', required => 1); | ||
| 6 | has Updates => (is => 'ro', isa => 'ArrayRef[Paws::WAFRegional::RegexMatchSetUpdate]', required => 1); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateRegexMatchSet'); | ||
| 11 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFRegional::UpdateRegexMatchSetResponse'); | ||
| 12 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 13 | 1; | ||
| 14 | |||
| 15 | ### main pod documentation begin ### | ||
| 16 | |||
| 17 | =head1 NAME | ||
| 18 | |||
| 19 | Paws::WAFRegional::UpdateRegexMatchSet - Arguments for method UpdateRegexMatchSet on L<Paws::WAFRegional> | ||
| 20 | |||
| 21 | =head1 DESCRIPTION | ||
| 22 | |||
| 23 | This class represents the parameters used for calling the method UpdateRegexMatchSet on the | ||
| 24 | L<AWS WAF Regional|Paws::WAFRegional> service. Use the attributes of this class | ||
| 25 | as arguments to method UpdateRegexMatchSet. | ||
| 26 | |||
| 27 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateRegexMatchSet. | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $waf-regional = Paws->service('WAFRegional'); | ||
| 32 | my $UpdateRegexMatchSetResponse = $waf -regional->UpdateRegexMatchSet( | ||
| 33 | ChangeToken => 'MyChangeToken', | ||
| 34 | RegexMatchSetId => 'MyResourceId', | ||
| 35 | Updates => [ | ||
| 36 | { | ||
| 37 | Action => 'INSERT', # values: INSERT, DELETE | ||
| 38 | RegexMatchTuple => { | ||
| 39 | FieldToMatch => { | ||
| 40 | Type => 'URI' | ||
| 41 | , # values: URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS | ||
| 42 | Data => 'MyMatchFieldData', # min: 1, max: 128; OPTIONAL | ||
| 43 | }, | ||
| 44 | RegexPatternSetId => 'MyResourceId', # min: 1, max: 128 | ||
| 45 | TextTransformation => 'NONE' | ||
| 46 | , # values: NONE, COMPRESS_WHITE_SPACE, HTML_ENTITY_DECODE, LOWERCASE, CMD_LINE, URL_DECODE | ||
| 47 | |||
| 48 | }, | ||
| 49 | |||
| 50 | }, | ||
| 51 | ... | ||
| 52 | ], | ||
| 53 | |||
| 54 | ); | ||
| 55 | |||
| 56 | # Results: | ||
| 57 | my $ChangeToken = $UpdateRegexMatchSetResponse->ChangeToken; | ||
| 58 | |||
| 59 | # Returns a L<Paws::WAFRegional::UpdateRegexMatchSetResponse> object. | ||
| 60 | |||
| 61 | 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. | ||
| 62 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/waf-regional/UpdateRegexMatchSet> | ||
| 63 | |||
| 64 | =head1 ATTRIBUTES | ||
| 65 | |||
| 66 | |||
| 67 | =head2 B<REQUIRED> ChangeToken => Str | ||
| 68 | |||
| 69 | The value returned by the most recent call to GetChangeToken. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head2 B<REQUIRED> RegexMatchSetId => Str | ||
| 74 | |||
| 75 | The C<RegexMatchSetId> of the RegexMatchSet that you want to update. | ||
| 76 | C<RegexMatchSetId> is returned by CreateRegexMatchSet and by | ||
| 77 | ListRegexMatchSets. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 B<REQUIRED> Updates => ArrayRef[L<Paws::WAFRegional::RegexMatchSetUpdate>] | ||
| 82 | |||
| 83 | An array of C<RegexMatchSetUpdate> objects that you want to insert into | ||
| 84 | or delete from a RegexMatchSet. For more information, see | ||
| 85 | RegexMatchTuple. | ||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | |||
| 90 | =head1 SEE ALSO | ||
| 91 | |||
| 92 | This class forms part of L<Paws>, documenting arguments for method UpdateRegexMatchSet in L<Paws::WAFRegional> | ||
| 93 | |||
| 94 | =head1 BUGS and CONTRIBUTIONS | ||
| 95 | |||
| 96 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 97 | |||
| 98 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 99 | |||
| 100 | =cut | ||
| 101 |