@Generated(value="software.amazon.awssdk:codegen") public final class WafInvalidParameterException extends Wafv2Exception implements ToCopyableBuilder<WafInvalidParameterException.Builder,WafInvalidParameterException>
The operation failed because WAF didn't recognize a parameter in the request. For example:
You specified a parameter name or value that isn't valid.
Your nested statement isn't valid. You might have tried to nest a statement that can’t be nested.
You tried to update a WebACL with a DefaultAction that isn't among the types available at
DefaultAction.
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL can't be associated.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WafInvalidParameterException.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WafInvalidParameterException.Builder |
builder() |
ParameterExceptionField |
field()
The settings where the invalid parameter was found.
|
String |
fieldAsString()
The settings where the invalid parameter was found.
|
String |
parameter()
The invalid parameter that resulted in the exception.
|
String |
reason()
Additional information about the exception.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WafInvalidParameterException.Builder> |
serializableBuilderClass() |
WafInvalidParameterException.Builder |
toBuilder() |
awsErrorDetails, getMessage, isClockSkewException, isThrottlingExceptionextendedRequestId, requestId, statusCodecreate, retryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopyequalsBySdkFieldspublic WafInvalidParameterException.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WafInvalidParameterException.Builder,WafInvalidParameterException>toBuilder in class Wafv2Exceptionpublic static WafInvalidParameterException.Builder builder()
public static Class<? extends WafInvalidParameterException.Builder> serializableBuilderClass()
public ParameterExceptionField field()
The settings where the invalid parameter was found.
If the service returns an enum value that is not available in the current SDK version, field will return
ParameterExceptionField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
ParameterExceptionFieldpublic String fieldAsString()
The settings where the invalid parameter was found.
If the service returns an enum value that is not available in the current SDK version, field will return
ParameterExceptionField.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
fieldAsString().
ParameterExceptionFieldpublic String parameter()
The invalid parameter that resulted in the exception.
public String reason()
Additional information about the exception.
Copyright © 2023. All rights reserved.