All Questions
1,031
questions
0
votes
0
answers
32
views
Streaming data from delegate to function call
I have a 3rd party library that calls a delegate every time there is a buffer of data, and I need to get this buffer into a stream and send the stream to S3.
So I use a FileStream to write to a ...
-1
votes
1
answer
30
views
Get Object from Amazon S3 without exception
I'm using C# SDK for .NET Core to fetch objects from the store with GetObjectAsync. However, it might be that there is no such object that the program requests. In this case, GetObjectAsync throws ...
0
votes
0
answers
29
views
S3 SignatureDoesNotMatch even when content disposition set
I'm using the following code with the AWSSDK.S3 nuget package:
public static string GetPreSignedURL(string filename, string displayFilename)
{
GetPreSignedUrlRequest request = new();
request....
-1
votes
0
answers
14
views
AWS account assumption mismatch between GH runner and .NET app
My .NET app (version 8, c#) downloads and uploads data from and to S3 buckets.
Im running a GH action that:
runs on a self-hosted runner (linux)
does the trivial things (checkout, install .NET etc)
...
0
votes
0
answers
15
views
C# Checking the results of AWS GetObject
When using IAmazonS3.GetObjectAsync() the response includes HttpStatusCode and checksums.
I've look at several examples but none of them are checking the HttpStatusCode or checksum.
Should I verify ...
0
votes
0
answers
50
views
C# Digital Ocean Spaces Error making request with Error Code Forbidden and Http Status Code Forbidden. No further error information was return
I’m using Digital Ocean Spaces but I can’t upload images correctly from my Dotnet Web Api application using AWS.SDK I get error:
Error making request with Error Code Forbidden and Http Status Code ...
0
votes
0
answers
41
views
List all folder names under an AWS S3 bucket in C# ASP.NET
I have a method that will return a list of all objects with in a specific folder in an S3 bucket:
public static async Task<List<string>> GetAvailableDatasetsList(AmazonS3Client s3Client, ...
1
vote
1
answer
55
views
deleting objects from a sub folder in S3 bucket
I am trying to delete objects that exist in S3 bucket sub folder. Below is what I am trying to do in C#:
string subBucketName = "TS-AP/";
var amazonS3Client = new AmazonS3Client(accessKeyId, ...
0
votes
0
answers
47
views
How to download a file from an S3 Bucket using ARN Credentials?
I have created my own S3 bucket handling class in C# using the AWSSDK.S3 nuget package, but I created it in a way which it uses an access- and secret key along with the region, etc. Now I also want to ...
0
votes
1
answer
184
views
Understanding Event Payload Structure and Processing in a .NET Lambda Function Triggered by S3 Events via AWS EventBridge
I'm currently working on an AWS serverless application using .NET, where I'm configuring a Lambda function to be triggered by S3 events routed through AWS EventBridge. I want to have a single Lambda ...
0
votes
1
answer
112
views
AWS SDK S3 client not returning correct byte range
I want to stream a file with a certain starting position. I am able to do this using ordinary HTTP client given file URL in public S3 bucket.
Now, I want to use AWS SDK to do this. I use AWS SDK fro C#...
0
votes
0
answers
88
views
c# Stream a small S3 file from an Lambda to a http response
I have a very small file in S3 that I want to return from an AWS Lambda. I'm able to get the file from S3 with no problem and if I save the file to a drive (while running in Visual Studio) the file ...
0
votes
0
answers
71
views
.net 8 WEB API calling AWS aws_signing_helper and aws sts assume-role in Linux / Rancher assistance
Good day all,
I am running in circles to try and determine if I am following the correct way using the aws resources in my.net WEB API application. The application will run in the Rancher platform ...
-1
votes
1
answer
43
views
AWS4 s3 Put in Unity/C#
I would like to send an image to the AWS s3 bucket from my Unity project. to Connect to AWS there are several ways one of them is a direct request.
How do I use PUT request with the latest AWS4-HMAC-...
0
votes
0
answers
25
views
How do I open an S3 file in a new tab, renaming it from the stored name?
We store files as a GUID in an S3 bucket. If someone wants to download a file (through the angular front end), I can rename it to its original name (stored in the database). When opening to a new ...