| 1 | |||
| 2 | package Paws::WAF::PutLoggingConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has LoggingConfiguration => (is => 'ro', isa => 'Paws::WAF::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::WAF::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::WAF::PutLoggingConfiguration - Arguments for method PutLoggingConfiguration on L<Paws::WAF> | ||
| 18 | |||
| 19 | =head1 DESCRIPTION | ||
| 20 | |||
| 21 | This class represents the parameters used for calling the method PutLoggingConfiguration on the | ||
| 22 | L<AWS WAF|Paws::WAF> 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 $waf = Paws->service('WAF'); | ||
| 30 | my $PutLoggingConfigurationResponse = $waf->PutLoggingConfiguration( | ||
| 31 | LoggingConfiguration => { | ||
| 32 | LogDestinationConfigs => [ | ||
| 33 | 'MyResourceArn', ... # min: 1, max: 1224 | ||
| 34 | ], # min: 1, max: 1 | ||
| 35 | ResourceArn => 'MyResourceArn', # min: 1, max: 1224 | ||
| 36 | RedactedFields => [ | ||
| 37 | { | ||
| 38 | Type => 'URI' | ||
| 39 | , # values: URI, QUERY_STRING, HEADER, METHOD, BODY, SINGLE_QUERY_ARG, ALL_QUERY_ARGS | ||
| 40 | Data => 'MyMatchFieldData', # min: 1, max: 128; OPTIONAL | ||
| 41 | }, | ||
| 42 | ... | ||
| 43 | ], # OPTIONAL | ||
| 44 | }, | ||
| 45 | |||
| 46 | ); | ||
| 47 | |||
| 48 | # Results: | ||
| 49 | my $LoggingConfiguration = | ||
| 50 | $PutLoggingConfigurationResponse->LoggingConfiguration; | ||
| 51 | |||
| 52 | # Returns a L<Paws::WAF::PutLoggingConfigurationResponse> object. | ||
| 53 | |||
| 54 | 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. | ||
| 55 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/waf/PutLoggingConfiguration> | ||
| 56 | |||
| 57 | =head1 ATTRIBUTES | ||
| 58 | |||
| 59 | |||
| 60 | =head2 B<REQUIRED> LoggingConfiguration => L<Paws::WAF::LoggingConfiguration> | ||
| 61 | |||
| 62 | The Amazon Kinesis Data Firehose that contains the inspected traffic | ||
| 63 | information, the redacted fields details, and the Amazon Resource Name | ||
| 64 | (ARN) of the web ACL to monitor. | ||
| 65 | |||
| 66 | When specifying C<Type> in C<RedactedFields>, you must use one of the | ||
| 67 | following values: C<URI>, C<QUERY_STRING>, C<HEADER>, or C<METHOD>. | ||
| 68 | |||
| 69 | |||
| 70 | |||
| 71 | |||
| 72 | =head1 SEE ALSO | ||
| 73 | |||
| 74 | This class forms part of L<Paws>, documenting arguments for method PutLoggingConfiguration 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 |