Questions tagged [amazon-aws]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
54 views

Heap size error while uploading file from salesforce to AWS S3

I am integrating AWS with salesforce now I try to upload the file to AWS S3 Server from salesforce, But I am facing the error after uploading the file as "Error while uploading file to AWS. ...
1
vote
0answers
30 views

Does Declarative Amazon Signatue Version 4 Named Credential Work At All With External Services and Flow

Can anyone confirm if they have EVER used declarative AWS Signature Version 4 as a Named Credential with External Services and Flow in Salesforce for ANY reason? Not Apex Classes to set these. A ...
0
votes
0answers
16 views

How to make Websocket Connection from Salesforce [duplicate]

I am trying to connect to AWS through websocket connection from Salesforce. Request some inputs on how to establish websocket connection from Salesforce.
1
vote
1answer
254 views

AWS S3 JavaScript SDK with Lightning Web Component issue Resource violated directive 'connect-src 'self'

Well I am not able to figure out whats went wrong in this code. I want to list all available documents from my bucket on a button click. I am calling this listS3Objects method but throwing CSP14312: ...
0
votes
0answers
37 views

Sending triggeredsend using python sdk in lambda gives time out

I can successfully send emails using the python sdk through my local machine but when I move the same code to aws lambda it times out(tried for 6 minutes max) and I do not get any error or email. ...
0
votes
1answer
63 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
56 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
1k 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
245 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
1k views

AWS Signature Version 4 Using Named Credentials [duplicate]

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
231 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
334 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
799 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
310 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
461 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 ...