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:



151
152
153
# File 'lib/aws-sdk-wafv2/errors.rb', line 151

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

Instance Method Details

#fieldString

Returns:

  • (String)


161
162
163
# File 'lib/aws-sdk-wafv2/errors.rb', line 161

def field
  @data[:field]
end

#messageString

Returns:

  • (String)


156
157
158
# File 'lib/aws-sdk-wafv2/errors.rb', line 156

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

#parameterString

Returns:

  • (String)


166
167
168
# File 'lib/aws-sdk-wafv2/errors.rb', line 166

def parameter
  @data[:parameter]
end

#reasonString

Returns:

  • (String)


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

def reason
  @data[:reason]
end