All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.wafv2.model.SampledHTTPRequest Maven / Gradle / Ivy

/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.wafv2.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

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

* * @see AWS API * Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class SampledHTTPRequest implements Serializable, Cloneable, StructuredPojo { /** *

* A complex type that contains detailed information about the request. *

*/ private HTTPRequest request; /** *

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

*/ private Long weight; /** *

* The time at which WAF received the request from your Amazon Web Services resource, in Unix time format (in * seconds). *

*/ private java.util.Date timestamp; /** *

* The action that WAF applied to the request. *

*/ private String action; /** *

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

*/ private String ruleNameWithinRuleGroup; /** *

* Custom request headers inserted by WAF into the request, according to the custom request configuration for the * matching rule action. *

*/ private java.util.List requestHeadersInserted; /** *

* The response code that was sent for the request. *

*/ private Integer responseCodeSent; /** *

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

*/ private java.util.List




© 2015 - 2024 Weber Informatics LLC | Privacy Policy