Questions tagged [aws-s3-client]

47 questions
0
votes
0 answers

Spring - No acceptable representation with AWS S3AsyncClient

I am trying to download a file from S3 using S3AsyncClient's getObject(objectRequest, AsyncResponseTransformer.toBlockingInputStream()) which returns a CompletableFuture> in my controller. But it throws below…
0
votes
0 answers

How to provide aws credentials and region as a constructor variable in scala class

I'm very new to coding, still learning. Looking for some guidance here: I am trying to read a S3 file for which I'm creating credentials and S3 client as below: import software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider import…
0
votes
0 answers

Is it possible to read a sqlite db file that reside in S3 from lambda function (nodejs)?

I have a sqlLite db file that is reside in S3 bucket. I am trying to read the information (mainly read) from the tables to be transform to json. I saw the nodejs with sqlite3 but somehow I can see to make it work on lambda. const fs =…
0
votes
2 answers

How to view an image from Linode Object Storage in browser?

My goal is to view an image from Linode object storage in browser (Chrome or Firefox). When I was trying to open that file in Linode object storage using the displayed link I'm facing an error. My linode object storage ACL is private. I try to open…
0
votes
1 answer

when I am using accesskey and secret key the Amazon S3 signed URL validation is working fine which is 7 days but with IAM role it is expiring soon

Amazon S3 signed URL, when I am using accesskey and secret key the signed URL validation is working fine which is 7 days but with IAM role it is getting expired soon (within 1 day). I am expecting the similar result with both accesskey and IAM role
0
votes
0 answers

Getting write timed out SdkClientException while uploading a directory with large file size

I am uploading a file directory from windows system to S3 bucket using S3TransferManager uploadDirectory method below is the code for that .. private static void copyFromServerToS3(S3TransferManager transferManager, File sourceFile, String…
0
votes
0 answers

aws-sdk TypeError: URL is not a constructor

I am uploading excel blob to s3 bucket using the S3Client and Upload, In the start it was okay, but now from last week it is giving error that URL is not a constructor, i tried to debug it didn't find the root cause, i am initializing the client…
Zeeshan
  • 371
  • 1
  • 3
  • 6
0
votes
2 answers

@aws-sdk/client-s3 CopyObjectCommand does not copy the file

In my Angular 15 project I'm storing files (PutObjectCommand) and copying files (CopyObjectCommand). Using @aws-sdk/client-s3@3.312.0 The PutObjectCommand is working fine. However, the CopyObjectCommand does not actually copy the file. The data I'm…
Mor Sagmon
  • 905
  • 1
  • 16
  • 35
0
votes
1 answer

AWS .Net Core Sdk IAmzonS3.DeleteObjects fails silently

I'm using .NET 6 with .NET Sdk (v3) nuget package. I need to delete a single (and only) file inside folder in S3 and the nested folders recursively. Sometimes it works and sometimes it doesn't. I have tried to trace a pattern but none so far, seems…
user3490413
0
votes
0 answers

How to download a dataset from aws?

I am using for the first time aws for my data science projects so I am trying to download a dataset from aws data exchange. This is the link to the dataset that I am trying to download:…
0
votes
0 answers

software.amazon.awssdk.crt.CrtRuntimeException:creating aws_s3_client failed

I am trying use : S3CrtAsyncClient.builder() .region(Region.of(region)) .credentialsProvider(providerChain) .build(); It works fine on local but on docker it fails with the following…
0
votes
0 answers

Node18 Lambda append formdata from s3 bucket failed to execute

All, I'm trying to take an S3 Bucket object and FormData.Append it, but it keeps telling me that Parameter 2 is not of type 'Blob'. I can easily go the other way, take data from a callback and post it to S3, just not the outbound path I'm trying to…
Nick Jacobs
  • 579
  • 2
  • 9
  • 29
0
votes
1 answer

Hi, Iam working on a Java Code to upload Files into S3 bucket. But instead of uploading a file to S3, i need to write some data into a file name in S3

I am using aws-java-sdk-s3 dependency to use S3 libraries in my spring Boot App. I have written some demo code to upload a file to S3 bucket upload(bucketName, key, fileName, s3client); But my scenario is different, i am getting some data from…
0
votes
1 answer

Spring Cloud Gateway to S3 SignatureDoesNotMatch

I am trying to use Spring Cloud Gateway to redirect to our S3 server. The problem is that when redirecting I get the error: SignatureDoesNotMatch: The request signature we calculated does not match the signature you provided. Check your key and…
0
votes
0 answers

How to delete s3 source files only after confirming that Flink KafkaSink writes the File content to kafka successfully

I am reading s3 file paths every 10 secs from a bucket and then reading & parsing the file content and sending it to kafkaSink. Then deleting the s3 files from source bucket as a parallel dataStream process to kafkaSink. Don't want to delete s3…