I have a simple lambda function that returns a dict response and another lambda function invokes that function and prints the response.
lambda function A
try: data = invoke_response['Payload'].read() read() because it is a StreamingBody object
data = invoke_response['Payload'].read()
It is in the boto3 docs. You can find more details about this here: https://boto3.amazonaws.com/v1/documentation/api/latest/guide/resources.html#actions