« blib/lib/Paws/WAFV2/OverrideAction.pm
↑ Summary
blib/lib/Paws/WAFV2/PutLoggingConfigurationResponse.pm »
| 1 | |||
| 2 | package Paws::WAFV2::PutLoggingConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has LoggingConfiguration => (is => 'ro', isa => 'Paws::WAFV2::LoggingConfiguration', required => 1); | ||
| 5 | |||
| 6 | use MooseX::ClassAttribute; | ||
| 7 | |||
| 8 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'PutLoggingConfiguration'); | ||
| 9 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WAFV2::PutLoggingConfigurationResponse'); | ||
| 10 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 11 | 1; | ||
| 12 | |||
| 13 | ### main pod documentation begin ### | ||
| 14 | |||
| 15 | =head1 NAME | ||
| 16 | |||
| 17 | Paws::WAFV2::PutLoggingConfiguration - Arguments for method PutLoggingConfiguration on L<Paws::WAFV2> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method PutLoggingConfiguration on the | ||
| 22 | L<AWS WAFV2|Paws::WAFV2> service. Use the attributes of this class | ||
| 23 | as arguments to method PutLoggingConfiguration. | ||
| 24 | |||
| 25 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to PutLoggingConfiguration. | ||
| 26 | |||
| 27 | =head1 SYNOPSIS | ||
| 28 | |||
| 29 | my $wafv2 = Paws->service('WAFV2'); | ||
| 30 | my $PutLoggingConfigurationResponse = $wafv2->PutLoggingConfiguration( | ||
| 31 | LoggingConfiguration => { | ||
| 32 | LogDestinationConfigs => [ | ||
| 33 | 'MyResourceArn', ... # min: 20, max: 2048 | ||
| 34 | ], # min: 1, max: 100 | ||
| 35 | ResourceArn => 'MyResourceArn', # min: 20, max: 2048 | ||
| 36 | LoggingFilter => { | ||
| 37 | DefaultBehavior => 'KEEP', # values: KEEP, DROP | ||
| 38 | Filters => [ | ||
| 39 | { | ||
| 40 | Behavior => 'KEEP', # values: KEEP, DROP | ||
| 41 | Conditions => [ | ||
| 42 | { | ||
| 43 | ActionCondition => { | ||
| 44 | Action => 'ALLOW', # values: ALLOW, BLOCK, COUNT | ||
| 45 | |||
| 46 | }, # OPTIONAL | ||
| 47 | LabelNameCondition => { | ||
| 48 | LabelName => 'MyLabelName', # min: 1, max: 1024 | ||
| 49 | |||
| 50 | }, # OPTIONAL | ||
| 51 | }, | ||
| 52 | ... | ||
| 53 | ], # min: 1 | ||
| 54 | Requirement => 'MEETS_ALL', # values: MEETS_ALL, MEETS_ANY | ||
| 55 | |||
| 56 | }, | ||
| 57 | ... | ||
| 58 | ], # min: 1 | ||
| 59 | |||
| 60 | }, # OPTIONAL | ||
| 61 | ManagedByFirewallManager => 1, # OPTIONAL | ||
| 62 | RedactedFields => [ | ||
| 63 | { | ||
| 64 | AllQueryArguments => { | ||
| 65 | |||
| 66 | }, # OPTIONAL | ||
| 67 | Body => { | ||
| 68 | |||
| 69 | }, # OPTIONAL | ||
| 70 | JsonBody => { | ||
| 71 | MatchPattern => { | ||
| 72 | All => { | ||
| 73 | |||
| 74 | }, # OPTIONAL | ||
| 75 | IncludedPaths => [ | ||
| 76 | 'MyJsonPointerPath', ... # min: 1, max: 512 | ||
| 77 | ], # min: 1; OPTIONAL | ||
| 78 | }, | ||
| 79 | MatchScope => 'ALL', # values: ALL, KEY, VALUE | ||
| 80 | InvalidFallbackBehavior => | ||
| 81 | 'MATCH', # values: MATCH, NO_MATCH, EVALUATE_AS_STRING; OPTIONAL | ||
| 82 | }, # OPTIONAL | ||
| 83 | Method => { | ||
| 84 | |||
| 85 | }, # OPTIONAL | ||
| 86 | QueryString => { | ||
| 87 | |||
| 88 | }, # OPTIONAL | ||
| 89 | SingleHeader => { | ||
| 90 | Name => 'MyFieldToMatchData', # min: 1, max: 64 | ||
| 91 | |||
| 92 | }, # OPTIONAL | ||
| 93 | SingleQueryArgument => { | ||
| 94 | Name => 'MyFieldToMatchData', # min: 1, max: 64 | ||
| 95 | |||
| 96 | }, # OPTIONAL | ||
| 97 | UriPath => { | ||
| 98 | |||
| 99 | }, # OPTIONAL | ||
| 100 | }, | ||
| 101 | ... | ||
| 102 | ], # max: 100; OPTIONAL | ||
| 103 | }, | ||
| 104 | |||
| 105 | ); | ||
| 106 | |||
| 107 | # Results: | ||
| 108 | my $LoggingConfiguration = | ||
| 109 | $PutLoggingConfigurationResponse->LoggingConfiguration; | ||
| 110 | |||
| 111 | # Returns a L<Paws::WAFV2::PutLoggingConfigurationResponse> object. | ||
| 112 | |||
| 113 | 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. | ||
| 114 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/wafv2/PutLoggingConfiguration> | ||
| 115 | |||
| 116 | =head1 ATTRIBUTES | ||
| 117 | |||
| 118 | |||
| 119 | =head2 B<REQUIRED> LoggingConfiguration => L<Paws::WAFV2::LoggingConfiguration> | ||
| 120 | |||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | =head1 SEE ALSO | ||
| 127 | |||
| 128 | This class forms part of L<Paws>, documenting arguments for method PutLoggingConfiguration in L<Paws::WAFV2> | ||
| 129 | |||
| 130 | =head1 BUGS and CONTRIBUTIONS | ||
| 131 | |||
| 132 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 133 | |||
| 134 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 135 | |||
| 136 | =cut | ||
| 137 |