Questions tagged [amazon-s3]

Amazon S3 is an online file storage web service offered by Amazon Web Services. S3 stands for Simple Storage Service. This service is used in main different way since the data is managed with an object storage architecture.

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

Extract data from salesforce/exacttarget views using talend

I would like to know if it is possible to migrate data from a ExactTarget/Salesforce view directly to an Amazon s3 bucket, without having to create a DataExtension, using an ETL tool like Talend. If ...
2
votes
2answers
2k views

Marketing Cloud to s3

I have an s3 bucket I would like to transfer data to daily via automation. It currently doesn't look like there is a native way to transfer data into s3 via a file transfer activity. Has anyone had ...
0
votes
1answer
34 views

StatusCode 405 when uploading JSON objects to S3 using APEX [closed]

I have a class that should invoke a web request to S3 to upload a JSON object, but I received the following error Response from s3 System.HttpResponse[Status=Method Not Allowed, StatusCode=405] 20:57:...
2
votes
1answer
174 views

Apex - Base64Decoding to Send Images to AWS3

We are having a bit of trouble when it comes to sending an image to AmazonS3 through Apex. In our JavaScript, within our VisualForce page, we're able to convert an image to Base64 and send it to our ...
0
votes
0answers
23 views

S3 connection with Einstein analytics- showing zero rows

I have created S3 connection with Einstein analytics. Connection is created successfully also object got run successfully with no warnings. But no. of rows in and rows out is showing zero. Checked all ...
0
votes
1answer
157 views

AWS SDK for SalesForce

We are attempting to use an installed package to access Amazon S3 - AWS SDK This package created an Apex Class: S3 Our Named Credential was created using the information specified in the link above, ...
2
votes
0answers
62 views

AWS S3 callout fails with x-amz headers

I have to use canned ACL header 'x-amz-acl' as described in AWS S3 documentation Callout with Named Credentials without header works fine HttpRequest request = new HttpRequest(); request.setEndpoint('...
2
votes
0answers
168 views

AWS PUT Request from VisualForce

I have created a Named Credential within SF that stores the Authentication information for our AmazonS3 instance. Here is the Named Credential Setup We have code that is working when the AmazonS3 ...
0
votes
1answer
190 views

How to prevent 403 errors when using S3 presigned URL in image tag? [closed]

I'm having a signature mismatch issue when attempting to use signed URLs within image tags in an aura component. I call the controller to calculate the signed URLs for a number of different image ...
1
vote
0answers
83 views

AWS Callout from VisualForce Page [duplicate]

UPDATE Here is my updated Apex Code: public class AmazonS3{ public string AmazonS3Request { get; set; } public static void AmazonS3Request() { HttpRequest request = new HttpRequest(); ...
0
votes
1answer
93 views

Named Credential auto-generate aws sig4 not working for s3 'versions'

Main issue: I get a signature mismatch error (403 forbidden) when trying to hit the REST api for s3 using the versions action (ListObjectVersions). It seems to me that this may be an error with how ...
0
votes
1answer
298 views

Build pre-signed AWS S3 URLs with Named Credentials [duplicate]

I'm building an integration with S3 and I want to create a pre-signed URL so I can access S3 from SF with a single user. I use the method below to generate a URL: public static string getSignedURL(...
0
votes
0answers
302 views

Access all files in S3 buckets with a service user, get X-Amz-Security-Token

Let me start by saying that I have a basic understanding of http callouts and s3 buckets so please feel free to educate me. My goal is to access mp4 files on s3 buckets from within salesforce, please ...
2
votes
1answer
531 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: ...
2
votes
2answers
3k views

Uploading from SF to AWS S3: upload works but all files are empty

I've made a file uploader from SF to AWS S3. Everything works as expected except for the fact that the file itself in S3, despite its size reading correctly, is empty: public pageReference ...
2
votes
1answer
1k 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
597 views

AWS Signature Version 4 Named Credential doesn't seems like working

I have requirement to fetch a file from s3 server to Salesforce. As a part of Summer'19 release, Salesforce has provided AWS Signature Version 4 protocol in Named credential.From below link I see that ...
1
vote
1answer
628 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 ...
1
vote
2answers
4k views

Get file from AWS S3 using apex

we are uploading files to AWS (S3 protocol) on CASE object. it's a simple call out and file gets uploaded successfully. We are storing the uploaded URL into a different custom object to display them ...
1
vote
1answer
1k views

Use visualforce page from Buttons, Links, and Actions in custom lightning component in case of S3 Amazon Uploader

Is it possible to use a Visualforce Page from Buttons, Links, and Actions in custom lightning component in case of S3 Amazon Uploader? I have an object NEILON__File__c. The object in its Buttons, ...
1
vote
2answers
1k views

Retrieving VersionData with standard REST API

I am trying to retrieve VersionData with a standard REST API call from a VisualForce Page a then upload it to a S3 bucket but end up with corrupted files. I believe this is an encoding problem on the ...
1
vote
0answers
2k views

Salesforce - Amazon S3 REST GET Call

My objective is to successfully do a simple GET request from Amazon S3 with our Salesforce Instance. This is my apex class. public class AWSWebService { Public static AWS_Keys1__c awsKeySet= ...
3
votes
0answers
225 views

Lightning LockerService API callback

I want to integrate Amazon S3 API with Salesforce Lightning component in order to upload/download files directly from the client's browser (not from the APEX server controller). I use newest ...
3
votes
0answers
102 views

VF : Persist data between two VF pages

This is my VF Page <apex:page showHeader="false" sidebar="false" cache="false" contentType="text/html" controller="AWS_Upload" > <script src="https://ajax.googleapis.com/ajax/libs/...
1
vote
0answers
80 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 ...
0
votes
1answer
483 views

Amazon S3 Integration

I am trying to upload a JSON file to amazon s3 bucket. But I am getting an exception as : Callout Exception: Unexpected end of file from server My Code : public class ProductAmazon_RestClass { ...
2
votes
1answer
2k 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
2answers
527 views

How to integrate Amazon SDK js and Lightning

We need to integrate a image uploader based lightning component with the amazon sdk js library. And due to Locker service I've serious limitations. I've spend all day trying some solutions found in ...
1
vote
1answer
600 views

Load files from Amazon S3 from Lightning component

I have lightning component for working with amazon s3. I generating unsigned url in apex controller and then try load file using XmlHttpRequest to Amazon. I added "https://my-bucket.s3.amazonaws.com" ...
0
votes
1answer
204 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
639 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 ...
0
votes
1answer
215 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 ...
3
votes
1answer
4k views

Uploading files to Amazon S3 from a trigger

I get files from an external webservice and have to upload them to Amazon S3 via apex. I found the unmanaged package Force.com for Amazon Web Services a.k.a Amazon toolkit, but it looks rather ...
3
votes
1answer
2k views

How to upload an image to AWS S3 using Apex?

How to upload an image to Amazon Simple Storage Service, also known as AWS S3, using Apex? Is it possible to emulate working Java code, using libraries, into Apex? Our AWS service doesn't accept HTTP ...