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:



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

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

Instance Method Details

#rest_api_responseString

Returns:

  • (String)


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

def rest_api_response
  @data[:rest_api_response]
end

#rest_api_status_codeString

Returns:

  • (String)


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

def rest_api_status_code
  @data[:rest_api_status_code]
end