1 Antwort
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
2
You need to create a Data event on the S3 bucket to trigger your lambda function. Parse the Event to read the bucket and key information in the Lambda Function.. https://docs.aws.amazon.com/AmazonS3/latest/userguide/EventNotifications.html
ie
import urllib.parse
bucket = event['Records'][0]['s3']['bucket']['name']
key = urllib.parse.unquote_plus(event['Records'][0]['s3']['object']['key'], encoding='utf-8')
filename_json = key.split("-")
Your Lambda function can then create the appropiate opportunity in your partner portal.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor einem Jahr
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Thank you sir, Could you please give some reference for the function to create opportunity
Afraid I do not have any reference for creating Partner oppertunties in code.. Its not something I have used. We use the partner portal currently