skip to Main Content

Amazon web services – Unable to Trigger Lambda function using Python code from my local setup

I am trying to trigger a Lambda function using Python code as below import boto3 from botocore.exceptions import NoCredentialsError, PartialCredentialsError def get_lambda_client(): return boto3.client('lambda') def invoke_lambda(): lambda_client = get_lambda_client() if lambda_client: try: response = lambda_client.invoke( FunctionName='MyLambdaFunctionName', InvocationType='RequestResponse', # or 'event…

VIEW QUESTION

can't install mysql-connector with my pip

I'm trying to install mysql connector using pip but it keeps showing me this error:connection broken by 'ProxyError('Cannot connect to proxy.', TimeoutError('timed out'))': /simple/mysqlx-connector/ I think it could be a result of filtering in my region since I'm a beginner…

VIEW QUESTION
Back To Top
Search