AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
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, METHOD, QUERY_STRING, URI, or BODY.
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.
Namespace: Amazon.WAF.Model
Assembly: AWSSDK.WAF.dll
Version: 3.x.y.z
public class WAFInvalidParameterException : AmazonWAFException _Exception, ISerializable
The WAFInvalidParameterException type exposes the following members
Name | Description | |
---|---|---|
WAFInvalidParameterException(string) |
Constructs a new WAFInvalidParameterException with the specified error message. |
|
WAFInvalidParameterException(string, Exception) |
Construct instance of WAFInvalidParameterException |
|
WAFInvalidParameterException(Exception) |
Construct instance of WAFInvalidParameterException |
|
WAFInvalidParameterException(string, Exception, ErrorType, string, string, HttpStatusCode) |
Construct instance of WAFInvalidParameterException |
|
WAFInvalidParameterException(string, ErrorType, string, string, HttpStatusCode) |
Construct instance of WAFInvalidParameterException |
Name | Type | Description | |
---|---|---|---|
Data | System.Collections.IDictionary | Inherited from System.Exception. | |
ErrorCode | System.String | Inherited from Amazon.Runtime.AmazonServiceException. | |
ErrorType | Amazon.Runtime.ErrorType | Inherited from Amazon.Runtime.AmazonServiceException. | |
Field | Amazon.WAF.ParameterExceptionField |
Gets and sets the property Field. |
|
HelpLink | System.String | Inherited from System.Exception. | |
HResult | System.Int32 | Inherited from System.Exception. | |
InnerException | System.Exception | Inherited from System.Exception. | |
Message | System.String | Inherited from System.Exception. | |
Parameter | System.String |
Gets and sets the property Parameter. |
|
Reason | Amazon.WAF.ParameterExceptionReason |
Gets and sets the property Reason. |
|
RequestId | System.String | Inherited from Amazon.Runtime.AmazonServiceException. | |
Retryable | Amazon.Runtime.RetryableDetails | Inherited from Amazon.Runtime.AmazonServiceException. | |
Source | System.String | Inherited from System.Exception. | |
StackTrace | System.String | Inherited from System.Exception. | |
StatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonServiceException. | |
TargetSite | System.Reflection.MethodBase | Inherited from System.Exception. |
Name | Description | |
---|---|---|
GetObjectData(SerializationInfo, StreamingContext) |
Sets the System.Runtime.Serialization.SerializationInfo with information about the exception. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5