The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::WAF::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::WAF::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::WAF::SampledHTTPRequest object:

  $result = $service_obj->Method(...);
  $result->Att1->Action

DESCRIPTION

The response from a GetSampledRequests request includes a SampledHTTPRequests complex type that appears as SampledRequests in the response syntax. SampledHTTPRequests contains one SampledHTTPRequest object for each web request that is returned by GetSampledRequests.

ATTRIBUTES

Action => Str

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

REQUIRED Request => Paws::WAF::HTTPRequest

  A complex type that contains detailed information about the request.

RuleWithinRuleGroup => Str

  This value is returned if the C<GetSampledRequests> request specifies
the ID of a C<RuleGroup> rather than the ID of an individual rule.
C<RuleWithinRuleGroup> is the rule within the specified C<RuleGroup>
that matched the request listed in the response.

Timestamp => Str

  The time at which AWS WAF received the request from your AWS 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. A result that has a
weight of C<2> represents roughly twice as many CloudFront web requests
as a result that has a weight of C<1>.

SEE ALSO

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

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