Class: Aws::WAFV2::Types::SampledHTTPRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WAFV2::Types::SampledHTTPRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-wafv2/types.rb
Overview
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.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#action ⇒ String
The action that WAF applied to the request.
-
#captcha_response ⇒ Types::CaptchaResponse
The ‘CAPTCHA` response for the request.
-
#challenge_response ⇒ Types::ChallengeResponse
The ‘Challenge` response for the request.
-
#labels ⇒ Array<Types::Label>
Labels applied to the web request by matching rules.
-
#overridden_action ⇒ String
Used only for rule group rules that have a rule action override in place in the web ACL.
-
#request ⇒ Types::HTTPRequest
A complex type that contains detailed information about the request.
-
#request_headers_inserted ⇒ Array<Types::HTTPHeader>
Custom request headers inserted by WAF into the request, according to the custom request configuration for the matching rule action.
-
#response_code_sent ⇒ Integer
The response code that was sent for the request.
-
#rule_name_within_rule_group ⇒ String
The name of the ‘Rule` that the request matched.
-
#timestamp ⇒ Time
The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in seconds).
-
#weight ⇒ Integer
A value that indicates how one result in the response relates proportionally to other results in the response.
Instance Attribute Details
#action ⇒ String
The action that WAF applied to the request.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#captcha_response ⇒ Types::CaptchaResponse
The ‘CAPTCHA` response for the request.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#challenge_response ⇒ Types::ChallengeResponse
The ‘Challenge` response for the request.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#labels ⇒ Array<Types::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`.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#overridden_action ⇒ String
Used only for rule group rules that have a rule action override in place in the web ACL. This is the action that the rule group rule is configured for, and not the action that was applied to the request. The action that WAF applied is the ‘Action` value.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#request ⇒ Types::HTTPRequest
A complex type that contains detailed information about the request.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#request_headers_inserted ⇒ Array<Types::HTTPHeader>
Custom request headers inserted by WAF into the request, according to the custom request configuration for the matching rule action.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#response_code_sent ⇒ Integer
The response code that was sent for the request.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#rule_name_within_rule_group ⇒ 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.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#timestamp ⇒ Time
The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in seconds).
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |
#weight ⇒ Integer
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`.
8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 |
# File 'lib/aws-sdk-wafv2/types.rb', line 8047 class SampledHTTPRequest < Struct.new( :request, :weight, :timestamp, :action, :rule_name_within_rule_group, :request_headers_inserted, :response_code_sent, :labels, :captcha_response, :challenge_response, :overridden_action) SENSITIVE = [] include Aws::Structure end |