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.
172 173 174 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 172 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#field ⇒ String
182 183 184 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 182 def field @data[:field] end |
#message ⇒ String
177 178 179 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 177 def || @data[:message] end |
#parameter ⇒ String
187 188 189 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 187 def parameter @data[:parameter] end |
#reason ⇒ String
192 193 194 |
# File 'lib/aws-sdk-wafv2/errors.rb', line 192 def reason @data[:reason] end |