Class: Aws::AccessAnalyzer::Errors::ValidationException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ValidationException.

Parameters:



227
228
229
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 227

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

Instance Method Details

#field_listString

Returns:

  • (String)


242
243
244
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 242

def field_list
  @data[:field_list]
end

#messageString

Returns:

  • (String)


232
233
234
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 232

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

#reasonString

Returns:

  • (String)


237
238
239
# File 'gems/aws-sdk-accessanalyzer/lib/aws-sdk-accessanalyzer/errors.rb', line 237

def reason
  @data[:reason]
end