Questions tagged [aws]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
11 views

AWS Signature version 4 using Named Credentials callouts - how to add request parameters

Name- aws_WScallout url - https://servicename.amazonaws.com Identity Type - Named Principal Authentication Protocol - AWS Signature Version 4 AWS Access Key ID - ****** AWS Secret Access Key - ********...
0
votes
0answers
38 views

Consuming platform events on AWS

Salesforce and Amazon announced earlier this year there is a partnership to allow easier sync between the two tech stacks. I recall in a YouTube video AWS product engineers will be able to consume ...
2
votes
1answer
75 views

Named credential AWS Signature V4 - incorrect signature

I am trying to make a callout to AWS S3 using named credentials and Apex The named credential is set up as follows Label: AWS S3 Name: AWS_S3 URL: https://bucket-name.s3.amazonaws.com - Certificate: ...
1
vote
1answer
169 views

How to use AWS S3 JavaScript SDK with Lightning Web Components as 3rd party library

I am trying to initialize the AWS constant in my LWC component but always it is undefined. import { LightningElement, track } from 'lwc'; import { loadScript } from 'lightning/platformResourceLoader';...
0
votes
0answers
136 views

Subscriptions not seen in Salesforce platform events

I am trying to subscribe to Salesforce Platform Events in my Developer Edition through AWS Lambda via Connected App(Using nforce SDK). Code is as follows: var AWS = require('aws-sdk'); //Importing ...
5
votes
1answer
477 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
1answer
124 views

REST Request - AWS Access Key ID and AWS Secret Access Key [closed]

I am reading this document Authenticating Rest Requests The first paragraph says .. Every non-anonymous request to S3 must contain authentication information to establish the identity of the ...
0
votes
1answer
192 views

Are there governance limits on lightning web components

Was curious. Client wants us to render data from an external database in a lightning web component data table. In this situation, as a front ender, I would typically just make an API call out from the ...
0
votes
1answer
181 views

Integration between AWS Salesforce communities

We want to integrate between Salesforce communities and AWS. We have files that come and sit in Amazon S3 (reports) , a community users logins to the portal and has to access the reports. I want to ...
2
votes
2answers
2k views

Using AWS Lambda to query SalesForce

I'm working on a AWS serverless app that will need to query SalesForce from AWS Lambdas to receive it's data and I'm struggling with how to authorize my Lambdas to talk to SalesForce. Most of my ...
0
votes
1answer
103 views

Mass Update Records - AWS S3

Currently, I utilize an AWS endpoint that returns a small JSON response based on my request. I am considering updating all of my records (300,000+) daily. My AWS counterparts can generate a JSON ...
2
votes
0answers
203 views

Salesforce OAuth2 invalid_grant: user hasn't aproved this consumer on AWS

I have developed a client application that accesses Salesforce REST API through OAuth 2 using the Go programming language. Everything works fine locally: I have a correct token, client ID, client ...
1
vote
0answers
203 views

Building a RSA-SHA1 Signature from Apex

I'm trying to sign a request from apex using RSA-SHA1 algorithm. I'm following the Amazon web service requirements to build the signature as i'm actually generating a cloudfront signed url. The ...
1
vote
0answers
228 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
277 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 ...
8
votes
2answers
391 views

AWS Cloudfront Signed URL from Apex

We are trying to access S3 resources via Cloudfront inside a VF page in Salesforce. The S3 bucket, folder & files are all marked private and the access is granted only via Cloudfront. We already ...
1
vote
0answers
243 views

Sample Mule flow to get data from Amazon s3 to Salesforce

I have an s3 bucket where a csv file is present which holds certain data about an object. I would like to dump that file data into salesforce using the Mule ESB. I was able to connect salesforce and ...
1
vote
1answer
84 views

How can I call a Python Script (with params) running on AWS EC2 from Salesforce?

I have built a Python script on an Ubuntu EC2 instance (AWS). How can I use a callout (or URL) on Salesforce.com to kickoff that script in the easiest way possible - what I mean is, I do not want to ...
1
vote
0answers
46 views

Cannot install AWS Toolkit in sandbox

I want to install Force.com for AWS through the AppExchange in sandbox. I went through the below link for https://developer.salesforce.com/page/Installing_Force_for_Amazon_Web_Services for step by ...
-1
votes
1answer
456 views

Error while uploading File to S3 from Apex

I am using the below code to upload file to Amazon S3 from Apex class. public void uploadToAmazonS3 () { String filename = this.record.File_Name__c; String attachmentBody = EncodingUtil....
6
votes
1answer
491 views

How to run Lightning Test Service (LTS) from Jenkins hosted on AWS against e.g. BrowserStack?

We run Karma and Protractor Angular tests from a Jenkins continuous integration (CI) server hosted on AWS. Those two frameworks allow the browser to be run remotely in e.g. https://www.browserstack....
0
votes
1answer
107 views

Need some help in fixing this error related to S3 document upload

I am trying to upload documents into S3 and receiving status as Forbidden. Here is the error I am receiving The request signature we calculated does not match the signature you provided. Check your ...
1
vote
0answers
477 views

Connecting Salesforce Marketing Cloud to Amazon Web Service (AWS/S3) [closed]

I want to import files that are located in a Bucket on AWS S3 scheduled into the Marketing Cloud, but can not get this running. What would be the correct file location to choose and how would the set ...
2
votes
1answer
819 views

Javascript ajax call get access is denied error in IE11

Originally I think this question is purely a stackoverflow question about AWS S3, javascript and IE11. And I have posted it in stackoverflow but got no answer. Then I realised this might have ...
1
vote
0answers
32 views

Can ServiceMAX access shared folder on EC2 server by API?

we have four serves, server C and S are EC2, and server B and F are out of AWS, all of them are at the same domain. At the moment, S will get files from shard folder on C and compress to zip, then B ...
0
votes
0answers
1k views

APex-AWS callouts Exception:System.CalloutException: Unexpected end of file from server

Below code when i execting its gives Error Error: Exception USER:System.CalloutException: Unexpected end of file from server Here Is code String endpoint = bucketname+ '.' + host + '/' + filename;...
1
vote
0answers
106 views

Getting SignatureDoesNotMatch error while trying to Request GET Service Amazon S3 bucket

I'm getting a SignatureDoesNotMatch error while trying to Request GET Service Amazon S3 bucket, with the following code: String S3SECRET = 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX'; String S3BUCKET = '...
3
votes
1answer
539 views

Cannot list objects using AWS S3

For some reason, I cannot list objects within my S3 bucket. Here's the steps that I've taken: I've viewed this question and copied this gist from sfdcfox into my org. Here's my AWSS3_GetService ...
3
votes
3answers
3k views

Upload/Download files to and from AWS using Apex

We have a requirement to upload files/attachments on CASE record (using custom drag and drop section) from Service Cloud to AWS S3. We ran into file size limit issue with files bigger than 12 MB. ...
1
vote
0answers
175 views

File upload to Amazon S3 from a visualforce/lightning page? [closed]

Is there any way to transfer files from my VF page directly to S3 server? Any good resource or unmanaged package is welcome.
1
vote
1answer
469 views

How to generate AWS cloudfront signed url in apex?

I am trying to generate AWS Cloudfront signed url using apex but every time get Access Denied. public url is working fine. i.e. jueh890044563.cloudfront.net/test.pdf But I need a signed url of ...
3
votes
1answer
3k views

Exposing Amazon RDS hosted table as OData service

I am new to AWS so please be easy on me.. I have a PostgreSQL DB hosted on Amazon RDS and would to expose few tables of the PostgreSQL database through OData service. The goal is to use these ...
1
vote
1answer
1k views

Amazon S3 - Specifying SSE-S3 with pre-signed URL's usingAPEX

Has anybody worked with creating pre-signed urls for Amazon S3 within APEX along with specifying server side encryption? Currently I am generating pre-signed urls for uploading and downloading files ...
1
vote
1answer
402 views

salesforce saving multiple files large in size to amazon s3.

I am using Soap request in apex to save files in amazon s3.But I cannot upload the files larger than 1Mb. Is there any way to upload multiple files larger than 1Mb directly in s3 from a visual Force ...
1
vote
0answers
362 views

Machine Learning Predictions Repeating

I have to integrate AWS Machine Learning service with Salesforce. I implemented JavaScript SDK http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/MachineLearning.html#predict-property and it ...
0
votes
1answer
169 views

Is it possible to POST content from SMS to Amazon S3 bucket in AMPScript?

Has anyone tried to use the AMPScript HTTPPostfunction to upload message content to amazon S3? Set @AWSpost = HttpPost(@url, "text/html", @messageInfo)]%% I'm wondering if I can pass in parameters ...
20
votes
3answers
4k views

AWS Signature (version 4) in Apex

Over the past few days I have been struggling to create the AWS signature version 4 in Apex to send a request via query string, I have followed the step-by-step instructions for signing aws requests, ...
0
votes
1answer
69 views

Problem S3 AWS Get list of bject

I am trying to get the list of objects exists in my bucket but I am getting "The request signature we calculated does not match the signature you provided. Check your key and signing method." What ...
3
votes
2answers
1k views

Rendering an image from Amazon S3 on VF page

Iam using Amazon toolkit to integrate SF with Amazon S3. I want to render the content(image) of files in a bucket when bucket is selected from a selectlist. Like ListBucket, I am calling a method ...
1
vote
1answer
175 views

Unable to load the image

I'm getting a GET error and the image doesn't show up . It is unable to load the image . Banging my head on this . Please help. The error is below, 403 (Forbidden) GET https://s3.amazonaws....
2
votes
0answers
381 views

Get file from AWS (S3) using Force.com toolkit

I'm using the toolkit to access S3, uploading documents, creating buckets etc all works fine. However, I'm struggling with accessing files in S3 so i can work with them in apex and haven't been able ...
1
vote
1answer
65 views

Unable to install AWS toolkit

I am trying to install AWS toolkit for Salesforce on DEV account. I cannot install it as I am getting the following errors. Your requested install failed. Please try this again. I am referring ...
2
votes
2answers
1k views

Creating Amazon S3 Signing Key using Apex

I had an Apex class in which I could connect to my Amazon S3 bucket by creating a request using Sig v.2 for AWS. I now need to change my code to Sig V.4 to connect to a different S3 region. I've ...
1
vote
1answer
565 views

Is it possible to set Amazon S3 CORS programmatically?

Is it possible to set Amazon S3 CORS programmatically (from Apex)? I'm coming up with a salesforce (force.com) app that allows to upload files from salesforce to amazon s3 (using drag and drop ...
2
votes
0answers
870 views

Amazon S3 AWS Rest API Version 2 or Vesion 4 [closed]

I want to create a bucket in S3 Amazon using Rest API and also using version 2. 1) I want to know which parameters I need to include and which parameter I need to include in the creation of signature....
2
votes
1answer
904 views

Salesforce to Amazon S3 - policy and signature generation

Description In order to upload files from a visual force page to s3 via AJAX. I had to find a way to generate a valid s3 policy and signature. The issue How to generate a signature and policy in ...