1 個回答
- 最新
- 最多得票
- 最多評論
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.
相關內容
- 已提問 2 天前
- 已提問 6 個月前
- AWS 官方已更新 2 年前
- AWS 官方已更新 2 年前
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