Questions tagged [aws-sdk]

The software development kit for use with the Amazon Web Services API.

The AWS SDK provides a language/platform-specific interface for API access to AWS services. For CLI access, see or .

Usage Guidance

  • Use the language/platform you're working on. For example, if you're using the Go SDK, tag your question with both . If the tag exists for a specific language, like , or — use it as well.
  • Do not use this tag for AWS CLI questions. Use instead.
  • Do not use this tag for AWS Tools for PowerShell questions. Use instead.

SDKs

An SDK is available in the following languages/platforms:

Links

AWS SDK Code Samples/Examples

6213 questions
2
votes
0 answers

AWS CHIME SDk for javascript join a meeting through link

i need to make a link throug which one can join the meeting. I'm currently using the demo sample of AWS chime SDK for javascript. or if I can use the meeting ID to let the participants use it to join the meeting..
PHP buddy
  • 31
  • 2
2
votes
3 answers

Is there a way to export and import the Amazon Connect - contact flow

I checked there is a way to import and export the connect json in the Amazon Connect via UI. It is working as expected. Is there a API (AWS SDK) available for importing? We want to automate this process! Could someone tell the way for achieving…
Harry
  • 3,072
  • 6
  • 43
  • 100
2
votes
1 answer

aws sdk assumeRole not taking effect

ive got the below segment of code running. My calls to aws work fine but now that ive had to switch roles its running into problems making it take effect as it seems im still stuck in the original role. public void…
Kelly b
  • 171
  • 2
  • 14
2
votes
1 answer

TagSpecifications with requestSpotInstances UnexpectedParameter with aws-sdk

I'm trying to add a tag to my AWS Spot Request. But it has returned me { UnexpectedParameter: Unexpected key 'TagSpecifications' found in params.LaunchSpecification. I have followed this documentation, and I have already tried to move this code out…
2
votes
1 answer

AWS S3 CreatePresignedPost not generating some of the required fields

I'm trying to generate a presigned post to give the browser privileges to upload / delete a specific file from a bucket, but it seems the createPresignedPost is not generating some of the required fields. getSignedUrl works. const signedUrl =…
Ákos Vandra-Meyer
  • 1,890
  • 1
  • 23
  • 40
2
votes
2 answers

Get pending Message count from AWS SQS queue Using nodeJs

I am a new be to AWS. I have a doubt is there any way to get number of messages(total count of messages) pending in AWS-SQS queue using NodeJs. If there is any way to get the count please help friends to solve
Afeesudheen
  • 936
  • 2
  • 12
  • 21
2
votes
0 answers

DynamoDb SDK incomplete scan

I'm running a webserver which uses the aws go sdk In my go.mod: github.com/aws/aws-sdk-go v1.30.16 I'm attempting to use this library to run a dynamodb scan across a table: sess, err := session.NewSession(&aws.Config{ Region:…
tzenes
  • 1,699
  • 2
  • 15
  • 31
2
votes
0 answers

Error while binding parameter from AWS Parameter Store in Spring Boot

Due to some know vulnerabilities, I can't use spring-cloud-starter-aws-parameter-store-config in my org. So I simply tried to extract code from jar and use it in my project. But I'm not able to bind parameter from aws store to spring boot. I'm…
2
votes
0 answers

AWS SDK Get All Files Between Date

Is there a way to get all files from an AWS Bucket that were uploaded between two dates? Right now I have the code below which is using the S3DirectoryInfo which returns information on ALL files in the corresponding bucket. Is there a way to get…
n00b dba
  • 69
  • 7
2
votes
0 answers

In Cognito on iOS, handling new password required doesn't ever reach didCompleteNewPasswordStepWithError

I'm trying to implement functionality to respond to FORCE_CHANGE_PASSWORD on my iOS app that uses AWS Cognito. I used this Stack Overflow question which references this sample code. Right now, my code opens a view controller like it's supposed to;…
blorsch
  • 70
  • 1
  • 9
2
votes
2 answers

(using aws-sdk) How to find total size of a folder stored in amazon s3

I wanted to know the total size of a folder stored in S3 using AWS-SDK. Note:- I don't want to use any command or AWS console to find the size of my folder I wanted to do this by aws-sdk and I mentioned it above so please don't mark this as…
Ali Asgher Badshah
  • 811
  • 1
  • 11
  • 34
2
votes
0 answers

Uncaught Error: DelayedStream#maxDataSize of 2097152 bytes exceeded

I want to upload a file to s3 but not wait for it however i get the following error. Uncaught Error: DelayedStream#maxDataSize of 2097152 bytes exceeded. at FormData.CombinedStream._checkDataSize…
Kay
  • 17,906
  • 63
  • 162
  • 270
2
votes
1 answer

Unable to find a region via the region provider chain error when getting AmazonS3

I have below method to return AmazonS3 for upload documents. In local env, I have to connect to a s3 bucket in a different region but in other environments the s3 bucket and the application code is same aws region. public AmazonS3…
Harshana
  • 7,297
  • 25
  • 99
  • 173
2
votes
1 answer

Amazon Pay Authorization Reference ID

I integrated amazon pay into my website and i followed the instructions from Amazon Pay SDK Simple Checkout. Its all working so far, but in the last step the code example shows that i need an authorization reference id. namespace…
Mikaelik
  • 355
  • 3
  • 4
  • 12
2
votes
0 answers

mocking aws-sdk-sns with jest.mock

I have the following code (t // mock sns const testMock = jest.fn().mockImplementation(() => { return { promise: () => jest.fn() }; }); jest.mock('aws-sdk/clients/sns', () => { return jest.fn().mockImplementation(() => { return {…
pandith padaya
  • 1,643
  • 1
  • 10
  • 20