AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
This is AWS WAF Classic documentation. For more information, see AWS
WAF Classic in the developer guide.
For the latest version of AWS WAF, use the AWS WAFV2 API and see the AWS
WAF Developer Guide. With the latest version, AWS WAF has a single set of endpoints
for regional and global use.
The response from a GetSampledRequests request includes an HTTPRequest
complex type that appears as Request
in the response syntax. HTTPRequest
contains information about one of the web requests that were returned by GetSampledRequests
.
Namespace: Amazon.WAF.Model
Assembly: AWSSDK.WAF.dll
Version: 3.x.y.z
public class HTTPRequest
The HTTPRequest type exposes the following members
Name | Description | |
---|---|---|
HTTPRequest() |
Name | Type | Description | |
---|---|---|---|
ClientIP | System.String |
Gets and sets the property ClientIP.
The IP address that the request originated from. If the
|
|
Country | System.String |
Gets and sets the property Country. The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2. |
|
Headers | System.Collections.Generic.List<Amazon.WAF.Model.HTTPHeader> |
Gets and sets the property Headers. A complex type that contains two values for each header in the sampled web request: the name of the header and the value of the header. |
|
HTTPVersion | System.String |
Gets and sets the property HTTPVersion.
The HTTP version specified in the sampled web request, for example, |
|
Method | System.String |
Gets and sets the property Method.
The HTTP method specified in the sampled web request. CloudFront supports the following
methods: |
|
URI | System.String |
Gets and sets the property URI.
The part of a web request that identifies the resource, for example, |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5