SampledHTTPRequest class

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.

Constructors

SampledHTTPRequest({required HTTPRequest request, required int weight, String? action, String? ruleNameWithinRuleGroup, DateTime? timestamp})
SampledHTTPRequest.fromJson(Map<String, dynamic> json)
factory

Properties

action String?
The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.
final
hashCode int
The hash code for this object.
no setterinherited
request HTTPRequest
A complex type that contains detailed information about the request.
final
ruleNameWithinRuleGroup String?
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.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime?
The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).
final
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.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited