class Aws::Stubbing::Protocols::RpcV2
def stub_data(_api, operation, data)
def stub_data(_api, operation, data) resp = Seahorse::Client::Http::Response.new resp.status_code = 200 resp.headers['Smithy-Protocol'] = 'rpc-v2-cbor' resp.headers['Content-Type'] = 'application/cbor' resp.headers['x-amzn-RequestId'] = 'stubbed-request-id' resp.body = build_body(operation, data) resp end