in lib/echotestrpc/model_utils.ts [79:126]
function createOperationMap() : Map<string, eventstream_rpc.EventstreamRpcServiceModelOperation> {
return new Map<string, eventstream_rpc.EventstreamRpcServiceModelOperation>([
["awstest#CauseServiceError", {
requestShape: "awstest#CauseServiceErrorRequest",
responseShape: "awstest#CauseServiceErrorResponse",
errorShapes: new Set<string>([
"awstest#ServiceError"
])
}],
["awstest#CauseStreamServiceToError", {
requestShape: "awstest#EchoStreamingRequest",
responseShape: "awstest#EchoStreamingResponse",
outboundMessageShape: "awstest#EchoStreamingMessage",
inboundMessageShape: "awstest#EchoStreamingMessage",
errorShapes: new Set<string>([
"awstest#ServiceError"
])
}],
["awstest#EchoMessage", {
requestShape: "awstest#EchoMessageRequest",
responseShape: "awstest#EchoMessageResponse",
errorShapes: new Set<string>([
])
}],
["awstest#EchoStreamMessages", {
requestShape: "awstest#EchoStreamingRequest",
responseShape: "awstest#EchoStreamingResponse",
outboundMessageShape: "awstest#EchoStreamingMessage",
inboundMessageShape: "awstest#EchoStreamingMessage",
errorShapes: new Set<string>([
])
}],
["awstest#GetAllCustomers", {
requestShape: "awstest#GetAllCustomersRequest",
responseShape: "awstest#GetAllCustomersResponse",
errorShapes: new Set<string>([
"awstest#ServiceError"
])
}],
["awstest#GetAllProducts", {
requestShape: "awstest#GetAllProductsRequest",
responseShape: "awstest#GetAllProductsResponse",
errorShapes: new Set<string>([
"awstest#ServiceError"
])
}]
]);
}