- Navigation GuideYou are on a type information page within a Client package. Return to the Client landing page
@aws-sdk/client-waf
WAFInvalidParameterException Class
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
, orWebACL
) using an action other thanINSERT
orDELETE
. -
You tried to create a
WebACL
with aDefaultAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to create a
RateBasedRule
with aRateKey
value other thanIP
. -
You tried to update a
WebACL
with aWafAction
Type
other thanALLOW
,BLOCK
, orCOUNT
. -
You tried to update a
ByteMatchSet
with aFieldToMatch
Type
other than HEADER, METHOD, QUERY_STRING, URI, or BODY. -
You tried to update a
ByteMatchSet
with aField
ofHEADER
but no value forData
. -
Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.
Members
Name | Type | Details |
---|---|---|
$fault Required | "client" | |
$metadata Required | ResponseMetadata | |
$response Required | HttpResponse | |
$retryable Required | RetryableTrait | |
(constructor) Required | constructor(options: ServiceExceptionOptions) | Constructs a new instance of the ServiceException class |
[Symbol.hasInstance] Required | static Symbol.hasInstance: boolean | Custom instanceof check to support the operator for ServiceException base class |
field Required | ParameterExceptionField | undefined | |
isInstance Required | static isInstance(value: unknown): value is ServiceException | Checks if a value is an instance of ServiceException (duck typed) |
name Required | "WAFInvalidParameterException" | |
parameter Required | string | undefined | |
reason Required | ParameterExceptionReason | undefined |
Full Signature
export declare class WAFInvalidParameterException extends WAFServiceException