Class: Aws::MWAA::Errors::RestApiServerException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RestApiServerException.

Parameters:



114
115
116
# File 'lib/aws-sdk-mwaa/errors.rb', line 114

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

Instance Method Details

#rest_api_responseString

Returns:

  • (String)


124
125
126
# File 'lib/aws-sdk-mwaa/errors.rb', line 124

def rest_api_response
  @data[:rest_api_response]
end

#rest_api_status_codeString

Returns:

  • (String)


119
120
121
# File 'lib/aws-sdk-mwaa/errors.rb', line 119

def rest_api_status_code
  @data[:rest_api_status_code]
end