| 511 | } |
| 512 | |
| 513 | AWS_LAMBDA_RUNTIME_API |
| 514 | invocation_response invocation_response::success(std::string payload, std::string content_type) |
| 515 | { |
| 516 | invocation_response r; |
| 517 | r.m_success = true; |
| 518 | r.m_content_type = std::move(content_type); |
| 519 | r.m_payload = std::move(payload); |
| 520 | return r; |
| 521 | } |
| 522 | |
| 523 | AWS_LAMBDA_RUNTIME_API |
| 524 | invocation_response invocation_response::failure(std::string const& error_message, std::string const& error_type) |
nothing calls this directly
no outgoing calls
no test coverage detected