How to obtain the state of execution of a lambda

Hello community, I hope everyone here is doing great,

I bring you one of my doubts, I have been testing and consuming or invoking aws Lambda services sending its two parameters by default (payload-nameLambda) with cucumber, screeampla and java language, and I want to validate the state of this service either running state or success, I only managed to run it but I have not managed to validate its state, someone has already worked with the subject or any example or documentation you have can share it with me, please.


Not sure I understand your question. How is this related to Temporal?

hey, I found the solution; I was not clear in my question, thousand apologies community.

 res = awsLambda.invoke(request);
            String value = res.getPayload().toString();
               //res.getStatusCode() --Solution