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
  • 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.

    Declaration

    Swift

    public let ruleNameWithinRuleGroup: 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. 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.

    Declaration

    Swift

    public let weight: Int64
  • Undocumented

    Declaration

    Swift

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