in awslambdaric/lambda_runtime_client.py [0:0]
def report_restore_error(self, restore_error_data):
import http
endpoint = "/2018-06-01/runtime/restore/error"
headers = {ERROR_TYPE_HEADER: FaultException.AFTER_RESTORE_ERROR}
self.call_rapid(
"POST", endpoint, http.HTTPStatus.ACCEPTED, restore_error_data, headers
)