Menu
AWS WAF
API Reference

SampledHTTPRequest

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.

Contents

Action

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

Type: String

Required: No

Request

A complex type that contains detailed information about the request.

Type: HTTPRequest object

Required: Yes

RuleWithinRuleGroup

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

Type: String

Length Constraints: Minimum length of 1. Maximum length of 128.

Required: No

Timestamp

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

Type: Timestamp

Required: No

Weight

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

Type: Long

Valid Range: Minimum value of 0.

Required: Yes

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

On this page: