AWS SDK Version 3 for .NET
API Reference

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.

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.

Inheritance Hierarchy

System.Object
  Amazon.WAF.Model.SampledHTTPRequest

Namespace: Amazon.WAF.Model
Assembly: AWSSDK.WAF.dll
Version: 3.x.y.z

Syntax

C#
public class SampledHTTPRequest

The SampledHTTPRequest type exposes the following members

Constructors

NameDescription
Public Method SampledHTTPRequest()

Properties

NameTypeDescription
Public Property Action System.String

Gets and sets the property Action.

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

Public Property Request Amazon.WAF.Model.HTTPRequest

Gets and sets the property Request.

A complex type that contains detailed information about the request.

Public Property Timestamp System.DateTime

Gets and sets the property Timestamp.

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

Public Property Weight System.Int64

Gets and sets the property 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.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms