Class: Aws::WAFV2::Errors::WAFInvalidParameterException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WAFV2::Errors::WAFInvalidParameterException
- Defined in:
- lib/aws-sdk-wafv2/errors.rb
Instance Method Summary collapse
- #field ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFInvalidParameterException
constructor
A new instance of WAFInvalidParameterException.
- #message ⇒ String
- #parameter ⇒ String
- #reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ WAFInvalidParameterException
Returns a new instance of WAFInvalidParameterException.
151 152 153 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 151 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#field ⇒ String
161 162 163 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 161 def field @data[:field] end |
#message ⇒ String
156 157 158 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 156 def @message || @data[:message] end |
#parameter ⇒ String
166 167 168 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 166 def parameter @data[:parameter] end |
#reason ⇒ String
171 172 173 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 171 def reason @data[:reason] end |