class AWS::Core::RESTJSONClient
def self.request_builder_for api_config, operation
def self.request_builder_for api_config, operation Core::RESTRequestBuilder.new(operation, :format => :json) end
def self.response_parser_for api_config, operation
def self.response_parser_for api_config, operation Core::RESTResponseParser.new(operation, :format => :json) end
def extract_error_details response
def extract_error_details response if response.http_response.status >= 300 and body = response.http_response.body and json = (::JSON.load(body) rescue nil) then [json['code'], json['message']] end end