NAME

Paws::WAFV2::SampledHTTPRequest

USAGE

This class represents one of two things:

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  });

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

DESCRIPTION

Represents a single sampled web request. The response from GetSampledRequests includes a SampledHTTPRequests complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests contains an array of SampledHTTPRequest objects.

ATTRIBUTES

Action => Str

The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.

Labels => ArrayRef[Paws::WAFV2::Label]

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, awswaf:111122223333:myRuleGroup:testRules:testNS1:testNS2:labelNameA or awswaf:managed:aws:managed-rule-set:header:encoding:utf8.

REQUIRED Request => Paws::WAFV2::HTTPRequest

A complex type that contains detailed information about the request.

RequestHeadersInserted => ArrayRef[Paws::WAFV2::HTTPHeader]

Custom request headers inserted by WAF into the request, according to the custom request configuration for the matching rule action.

ResponseCodeSent => Int

The response code that was sent for the request.

RuleNameWithinRuleGroup => Str

The name of the Rule that the request matched. For managed rule groups, the format for this name is <vendor name>#<managed rule group name>#<rule name>. For your own rule groups, the format for this name is <rule group name>#<rule name>. If the rule is not in a rule group, this field is absent.

Timestamp => Str

The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in seconds).

REQUIRED 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 2 represents roughly twice as many web requests as a result that has a weight of 1.

SEE ALSO

This class forms part of Paws, describing an object used in Paws::WAFV2

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues