postInvocationResponse method
Post the invocation response to the AWS Lambda Runtime Interface.
Implementation
Future<http.Response> postInvocationResponse(
String? requestId, dynamic payload) async {
return await _client.post(
Uri.parse(
'http://$runtimeApi/$runtimeApiVersion/runtime/invocation/$requestId/response',
),
body: jsonEncode(payload),
);
}