Questions tagged [amazon-aws]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
47 views

How to make a trigger callout to delete files from AWS?

Please help me with my problem.. what I should do is when a user deletes a file, a trigger will check if there is existing file ID (File_Id__c) in the Custom_Object__c, if so, delete it in AWSS3 as ...
0
votes
1answer
29 views

Batch callout: How to upload Attachments from multiple objects (dynamically)?

I am trying to upload an Atttachments based on the selection and criteria from Lightning Component that will be saved to Custom Setting. For example, the criteria is Opportunity - Stage - Closed Won, ...
0
votes
0answers
24 views

How to fix callout error — You have uncommitted work pending. Please commit or rollback before calling out? [duplicate]

I'm doing an upload attachment to AWS, but I'm getting this error -- 'You have uncommitted work pending. Please commit or rollback before calling out' How do I fix this? @AuraEnabled public ...
1
vote
1answer
46 views

Authenticate aws to salesforce and access api endpoint

I have an aws lambda that when called needs to pass a json object to a SFDC endpoint. I’d like to avoid using the jForce library to handle authentication as I don’t want to set username and password ...
5
votes
1answer
212 views

AWS Signature Version 4 Using Named Credentials

Anyone tried Summer '19 Named Credentials using AWS Signature Version 4 successfully? Trying again to use External Services and first step is the Credentials. I created an IAM user with the ...
1
vote
0answers
76 views

Amazon S3 Rest API Integration Error

I am new to AWS. I am sending attachment data from Salesforce to AWS S3 using Rest API. But it is giving following error : The authorization mechanism you have provided is not supported. Please use ...
0
votes
0answers
68 views

request signature does not match with the provided signature in execute-api service of AWS

String dateStamp = EncodingUtil.urlEncode( System.now().formatGmt('yyyyMMdd'), 'UTF-8'); System.debug('dateStamp>>' + dateStamp); String dateTimeStamp = EncodingUtil.urlEncode(System.now()....
1
vote
1answer
370 views

Not able to authenticate aws from apex

Below is the code I'm running from apex execute. Error received - signature mismatch error... Able to authenticate using postman String formattedDateString = Datetime.now().formatgmt('yyyyMMdd\'T\'...
1
vote
0answers
177 views

Salesforce to aws Dynamodb connection using Apex [closed]

I am trying to connect SFDC with aws Dynamodb from last few days using query string parameter but not able to generate signature correctly. I have followed steps mentioned in amazon document still I ...
0
votes
1answer
207 views

Amazon SNS into Salesforce

Has anyone worked with Amazon SNS to Salesforce? I see that I can subscribe to a topic which will forward an https request, however, it seems like SNS will only send one https request per message ...