Class: Aws::WAFRegional::Types::WAFInvalidParameterException

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-wafregional/types.rb

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fieldString

Returns:

  • (String)

7181
7182
7183
7184
7185
7186
7187
# File 'lib/aws-sdk-wafregional/types.rb', line 7181

class WAFInvalidParameterException < Struct.new(
  :field,
  :parameter,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#parameterString

Returns:

  • (String)

7181
7182
7183
7184
7185
7186
7187
# File 'lib/aws-sdk-wafregional/types.rb', line 7181

class WAFInvalidParameterException < Struct.new(
  :field,
  :parameter,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end

#reasonString

Returns:

  • (String)

7181
7182
7183
7184
7185
7186
7187
# File 'lib/aws-sdk-wafregional/types.rb', line 7181

class WAFInvalidParameterException < Struct.new(
  :field,
  :parameter,
  :reason)
  SENSITIVE = []
  include Aws::Structure
end