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