SampledHTTPRequest

public struct SampledHTTPRequest : AWSShape

Undocumented

  • Declaration

    Swift

    public static var _members: [AWSShapeMember]
  • The action for the Rule that the request matched: ALLOW, BLOCK, or COUNT.

    Declaration

    Swift

    public let action: String?
  • A complex type that contains detailed information about the request.

    Declaration

    Swift

    public let request: HTTPRequest
  • 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.

    Declaration

    Swift

    public let ruleWithinRuleGroup: String?
  • The time at which AWS WAF received the request from your AWS resource, in Unix time format (in seconds).

    Declaration

    Swift

    public let timestamp: TimeStamp?
  • 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.

    Declaration

    Swift

    public let weight: Int64
  • Undocumented

    Declaration

    Swift

    public init(action: String? = nil, request: HTTPRequest, ruleWithinRuleGroup: String? = nil, timestamp: TimeStamp? = nil, weight: Int64)