module Aws::ClientStubs
def convert_stub(operation_name, stub)
def convert_stub(operation_name, stub) case stub when Proc then stub when Exception, Class then { error: stub } when String then service_error_stub(stub) when Hash then http_response_stub(operation_name, stub) else { data: stub } end end