Class: Aws::WAFV2::Errors::WAFInvalidParameterException

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-wafv2/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFInvalidParameterException

Returns a new instance of WAFInvalidParameterException.

Parameters:



172
173
174
# File 'lib/aws-sdk-wafv2/errors.rb', line 172

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#fieldString

Returns:

  • (String)


182
183
184
# File 'lib/aws-sdk-wafv2/errors.rb', line 182

def field
  @data[:field]
end

#messageString

Returns:

  • (String)


177
178
179
# File 'lib/aws-sdk-wafv2/errors.rb', line 177

def message
  @message || @data[:message]
end

#parameterString

Returns:

  • (String)


187
188
189
# File 'lib/aws-sdk-wafv2/errors.rb', line 187

def parameter
  @data[:parameter]
end

#reasonString

Returns:

  • (String)


192
193
194
# File 'lib/aws-sdk-wafv2/errors.rb', line 192

def reason
  @data[:reason]
end