Questions tagged [aws-sdk-net]

Anytime you've some question/problem using AWS SDK for .NET . It's the official package to work with AWS services using .NET

AWS SDK for .NET. The SDK helps take the complexity out of coding by providing .NET APIs for AWS services including Amazon S3, Amazon EC2, Amazon DynamoDB and more. The SDK can be downloaded from NuGet or installed using the MSI package, which also includes the AWS Toolkit for Microsoft Visual Studio 2013 and 2015 editions and the AWS Tools for Windows PowerShell.

NuGet is the recommended way to install AWS SDK for .NET packages. NuGet Package Manager will install the correct assemblies for your project type - .NET 3.5, 4.5, or Portable Class Library.

Official Doc

238 questions
0
votes
1 answer

Deleting multiple buckets from multiple regions

I am trying to delete a large quantity of buckets spread out over different regions. I am having difficulty deleting all the objects in the buckets. This command fails: var objects = client.ListObjectsAsync(new ListObjectsRequest() { BucketName =…
Guerrilla
  • 13,375
  • 31
  • 109
  • 210
0
votes
1 answer

AWS.SDK TransferUtility.Upload hangs

I have the following code Dim fileTransferUtility = New TransferUtility(new AmazonS3Client(credentials,region)) Dim fileTransferUtilityRequest = New TransferUtilityUploadRequest With { .BucketName = bucketName, .FilePath = sourceFileName, …
bzamfir
  • 4,698
  • 10
  • 54
  • 89
0
votes
1 answer

How to create an instace in AWS ec2 through .net SDK

I am trying to create an instance in AWS EC2 but the line RunInstancesResponse launchResponse = ec2Client.RunInstances(launchRequest); causes an exception: AmazonEC2Client.RunInstances(RunInstanceRequest) is inaccessible due to it's protection…
0
votes
1 answer

How to check aws step function activity completed or not using c#?

I have step function.in which two parallel activities are there. now I want to display step function stage in in my asp.net page. How do I know whether the specific activity completed or not using c# code ?
Mannan Bahelim
  • 1,289
  • 1
  • 11
  • 31
0
votes
0 answers

File link in amazon aws s3 bucket using asp.net

I have some images stored on AWS S3 bucket. I am using ASP.NET SDK. Now I can upload/download/delete files through the SDK. But what I want is to get a link to the image files so that if I want to display an image, I can show its thumbnail on my…
Junaid
  • 941
  • 2
  • 14
  • 38
0
votes
0 answers

progress bar value can't be set! in vb.net

i have an async upload task.Into that upload function : AddHandler fileTransferUtilityRequest.UploadProgressEvent, Sub(sender As Object, e As UploadProgressArgs) ProgressForm.CPBar1.Value = 0 …
KR32
  • 381
  • 5
  • 10
0
votes
1 answer

How do I conditionally elicit an Alexa multi-turn dialog

I have a customer requirement that necessitates a conditionally prompt from Alexa. Basically, the user will ask {intent} {utterance}, the back-end will check their account to see if they have more than one item in a list; if so, it will ask "which…
0
votes
1 answer

Why do I get an "System.IO.FileLoadException: Could not load file or assembly" error? with iText7

I'm developing AWS Lambda project with .Net SDK (Core 2.1). I need to use iText7 in my project. When I want to debug the project throws below exception. System.IO.FileLoadException: Could not load file or assembly 'itext.kernel, Version=7.1.10.0,…
0
votes
0 answers

Set a payload for an aws lambda invoked for password rotation

On AWS secret creation I want to configure the secret to use a lambda function to rotate password, and pass the parameters for the rotation. In C# is var response = client.RotateSecret(new RotateSecretRequest { RotationLambdaARN =…
0
votes
1 answer

How can I convert PrivateKeyCiphertextBlob or PrivateKeyPlaintext to string?

I'm attempting to use the KMS GenerateDataKeyPairAsync in order to get the public and private key out for testing (Once it works I will switch to the GenerateDataKeyPairWithoutPlaintextAsync). The GenerateDataKeyPairResponse has three memory streams…
AKTheKnight
  • 113
  • 1
  • 7
0
votes
1 answer

How to fetch only recently added aws s3 objects which were not accessed before?

I have multiple folders inside a bucket each folder is named as a unique guid and it is always going to contain a single file. I need to fetch only those files which have never been read before. If I'll fetch all the objects at once and then do…
Ajendra Prasad
  • 299
  • 1
  • 8
  • 22
0
votes
1 answer

Trying deploying a .NET Application in CICD

I am working on an application which is on .net framework , code is on github, Could someone help me regarding the buidspec.yml file and any extra files that needs to me in it i am using in project enviornment in CICD build…
0
votes
1 answer

Create task definition revision, update docker tag and update service with .NET

As part of an automated deployment with the .NET AWS SDK, I am trying to create a new task definition revision, update the docker image tag label with my newly deployed version and then update a service to use that new revision. I have something…
Jon
  • 38,814
  • 81
  • 233
  • 382
0
votes
1 answer

AmazonAWSHealthClient.DescribeEventsRequest: No such host is known

I want to make a request for the health events on my AWS account. I use this code to do the request: using (var client = new AmazonAWSHealthClient("accesskey", "privatekey", RegionEndpoint.EUCentral1)) { var request = new…
Sven Möhring
  • 770
  • 13
  • 22
0
votes
1 answer

When does the AWS .NET SDK load credential files? Is it on startup or on initializing client or...?

As my title states, we are using the AWS .NET SDK and on our web.config configured a profile that points to a credentials file(see: https://docs.aws.amazon.com/sdk-for-net/v2/developer-guide/net-dg-config-creds.html using credentials file) on the…
Blaataap
  • 21
  • 9