I'm new to lambda, I tried invoking a lambda function with another lambda using the following script
import boto3 region = 'ca-central-1'
def lambda_handler(event,context): client.boto3('lambda' , region_name='region') response = client.invoke(FunctionName='xyz',LogType='None') print(response)
but im getting "EndpointConnectionError : unable to connect to endpoint https://lambda-xyz/wehwk.com
I also tagged lambda full access policy to this lambda function.
Am I missing something ? Thanks in advance