Serializable, ToCopyableBuilder<WAFInvalidParameterException.Builder,WAFInvalidParameterException>@Generated("software.amazon.awssdk:codegen") public class WAFInvalidParameterException extends WAFException implements ToCopyableBuilder<WAFInvalidParameterException.Builder,WAFInvalidParameterException>
The operation failed because AWS WAF didn't recognize a parameter in the request. For example:
You specified an invalid parameter name.
You specified an invalid value.
You tried to update an object (ByteMatchSet, IPSet, Rule, or
WebACL) using an action other than INSERT or DELETE.
You tried to create a WebACL with a DefaultAction Type other than
ALLOW, BLOCK, or COUNT.
You tried to create a RateBasedRule with a RateKey value other than IP.
You tried to update a WebACL with a WafAction Type other than
ALLOW, BLOCK, or COUNT.
You tried to update a ByteMatchSet with a FieldToMatch Type other than HEADER,
QUERY_STRING, or URI.
You tried to update a ByteMatchSet with a Field of HEADER but no value for
Data.
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.
| Modifier and Type | Class | Description |
|---|---|---|
static interface |
WAFInvalidParameterException.Builder |
AmazonServiceException.ErrorType| Modifier and Type | Method | Description |
|---|---|---|
static WAFInvalidParameterException.Builder |
builder() |
|
String |
field() |
|
String |
parameter() |
|
String |
reason() |
|
static Class<? extends WAFInvalidParameterException.Builder> |
serializableBuilderClass() |
|
WAFInvalidParameterException.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
isRetryablegetErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeequals, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic WAFInvalidParameterException.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<WAFInvalidParameterException.Builder,WAFInvalidParameterException>public static WAFInvalidParameterException.Builder builder()
public static Class<? extends WAFInvalidParameterException.Builder> serializableBuilderClass()
public String field()
ParameterExceptionFieldpublic String parameter()
public String reason()
ParameterExceptionReasonCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.