# Generated by default/object.tt package Paws::WAFV2::SampledHTTPRequest; use Moose; has Action => (is => 'ro', isa => 'Str'); has Labels => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::Label]'); has Request => (is => 'ro', isa => 'Paws::WAFV2::HTTPRequest', required => 1); has RequestHeadersInserted => (is => 'ro', isa => 'ArrayRef[Paws::WAFV2::HTTPHeader]'); has ResponseCodeSent => (is => 'ro', isa => 'Int'); has RuleNameWithinRuleGroup => (is => 'ro', isa => 'Str'); has Timestamp => (is => 'ro', isa => 'Str'); has Weight => (is => 'ro', isa => 'Int', required => 1); 1; ### main pod documentation begin ### =head1 NAME Paws::WAFV2::SampledHTTPRequest =head1 USAGE This class represents one of two things: =head3 Arguments in a call to a service Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. Each attribute should be used as a named argument in the calls that expect this type of object. As an example, if Att1 is expected to be a Paws::WAFV2::SampledHTTPRequest object: $service_obj->Method(Att1 => { Action => $value, ..., Weight => $value }); =head3 Results returned from an API call Use accessors for each attribute. If Att1 is expected to be an Paws::WAFV2::SampledHTTPRequest object: $result = $service_obj->Method(...); $result->Att1->Action =head1 DESCRIPTION Represents a single sampled web request. The response from GetSampledRequests includes a C complex type that appears as C in the response syntax. C contains an array of C objects. =head1 ATTRIBUTES =head2 Action => Str The action for the C that the request matched: C, C, or C. =head2 Labels => ArrayRef[L] Labels applied to the web request by matching rules. WAF applies fully qualified labels to matching web requests. A fully qualified label is the concatenation of a label namespace and a rule label. The rule's rule group or web ACL defines the label namespace. For example, C or C. =head2 B Request => L A complex type that contains detailed information about the request. =head2 RequestHeadersInserted => ArrayRef[L] Custom request headers inserted by WAF into the request, according to the custom request configuration for the matching rule action. =head2 ResponseCodeSent => Int The response code that was sent for the request. =head2 RuleNameWithinRuleGroup => Str The name of the C that the request matched. For managed rule groups, the format for this name is Cvendor nameE#Emanaged rule group nameE#Erule nameE>. For your own rule groups, the format for this name is Crule group nameE#Erule nameE>. If the rule is not in a rule group, this field is absent. =head2 Timestamp => Str The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in seconds). =head2 B Weight => Int A value that indicates how one result in the response relates proportionally to other results in the response. For example, a result that has a weight of C<2> represents roughly twice as many web requests as a result that has a weight of C<1>. =head1 SEE ALSO This class forms part of L, describing an object used in L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut