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

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-wafv2/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:



117
118
119
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/errors.rb', line 117

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

Instance Method Details

#fieldString

Returns:

  • (String)


127
128
129
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/errors.rb', line 127

def field
  @data[:field]
end

#messageString

Returns:

  • (String)


122
123
124
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/errors.rb', line 122

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

#parameterString

Returns:

  • (String)


132
133
134
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/errors.rb', line 132

def parameter
  @data[:parameter]
end

#reasonString

Returns:

  • (String)


137
138
139
# File 'gems/aws-sdk-wafv2/lib/aws-sdk-wafv2/errors.rb', line 137

def reason
  @data[:reason]
end