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

How do I connect to the AWS IoT cloud using a GSM based device?

I have GSM based device which need to send data to my AWS cloud. I'm using MQTT. How to continue further? I downloaded embedded c SDK and I have certificates generated from AWS. Now I included all them up to my project repository and completed…
Yana
  • 87
  • 1
  • 1
  • 11
2
votes
0 answers

Can't access EC2 instance IAM Role Credentials from NodeJS Javascript

I've successfully added an AWS Role to an EC2 instance. When I ssh into the instance and curl http://169.254.169.254/latest/meta-data/iam/security-credentials/, I can see the temporary credentials just fine. On this EC2 instance, I have an NGINX…
DranoMax
  • 474
  • 4
  • 18
2
votes
2 answers

Getting Error AccessDenied while upload file in S3 from Laravel-5.7

I am facing problem while uploading any file on S3 Server. but the same configuration is working on a different project. No concept changed and no any configuration changed. I am working on Laravel 5.8 version. I am sharing code and Error please…
pankaj
  • 1
  • 17
  • 36
2
votes
1 answer

AWS CLI: aws s3 presign does not work for ap-east-1 (Hong Kong) region ("location constraint is incompatible for the region specific endpoint")

I keep on failing to use signed URLs for S3 objects residing in a bucket in the ap-east-1 (Hong Kong) AWS region. Specifically, I first set the signature version to V4 (see…
Soeren
  • 691
  • 5
  • 12
2
votes
1 answer

AWS SDK JavaScript Promise with callback httpUploadProgress

I am trying to get the httpUploadProgress using AWS S3 SDK JavaScript. Using this lines I am able to see the expected result with the upload progress, but how to get the same using Promise(), I am using this in browser as external JS…
Prateek Kumar
  • 21
  • 1
  • 2
2
votes
2 answers

AWS - Metadata being set as lowercase

So I have this issue that whenever I try to post a file to the s3 bucket with a pre-signed URL, the key for the metadata is being forced in lowercases? I've looked at the Pre-signed URL it already sets the lowercase part when the URL has been…
2
votes
0 answers

AWS Lambda does not get response after 300 seconds with nodejs aws-sdk

I was using nodejs aws-sdk to invoke a long time running Lamda function. As we know AWS has increased lambda execution time to 900 seconds. But I can not get the lamda invoke response after lamda executing 300 seconds. Here is the issue reproduce…
Herb
  • 305
  • 1
  • 7
2
votes
2 answers

Where to keep the Initial Trust credentials of a Secrets Management tool?

For our product we have decided to implement a Secret Management tool (AWS secrets manager) that will securely store and manage all our secrets such as DB credentials, passwords and API keys etc. In this way the secrets are not stored in code,…
2
votes
1 answer

After converting from MOV to MP4 file uploads as a 0 byte file in AWS S3

TransferUtility works well when I upload the captured video file with its original format (.MOV) but when upload the converted file it becomes 0 a byte file. After converting the file from .MOV to .MP4 I check that the file size isn't 0. Also I have…
Maruta
  • 1,063
  • 11
  • 24
2
votes
1 answer

Parse Cloudformation string response from AWS SDK in Python

The AWS SDK in Python has a function get_template to get a Cloudformation template. The fact is the TemplateBody is a return as string and even without ". This makes the parsing pretty hard. Do you have any suggestions on how to properly parse it…
Mazzy
  • 13,354
  • 43
  • 126
  • 207
2
votes
1 answer

AWS Node SDK Doesn't Have HttpClient

I am attempting to follow the AWS documentation for using the Node SDK to perform a signed HTTP request to Elasticsearch (https://docs.aws.amazon.com/elasticsearch-service/latest/developerguide/es-request-signing.html#es-request-signing-node). In…
John D.
  • 2,521
  • 3
  • 24
  • 45
2
votes
0 answers

How to login with touch id in aws cognito?

I have to login the mobile application with touchID/fingerprint using aws cognito. I am not able to find any defined methods for that in aws cognito. Thanks in advance
2
votes
1 answer

create aws subnet tags

I am trying to create a subnet name tag but I'm getting the error. I have no idea what is causing the error. The subnet was successfully created, however, there is an error creating the tag name. pub_subnetid =…
user11766958
  • 409
  • 3
  • 12
2
votes
0 answers

How to load file in sagemaker custom deploy endpoint script

I am trying to deploy a sentiment analysis model on sagemaker to an endpoint to predict sentiment in real time of an input text. This model will take a single text String as input and return the sentiment. To train the xgboost model, I followed this…
2
votes
1 answer

AWS - Cognito - AdminSetUserPassword returns "Operation not found: AdminSetUserPassword"

I am trying to set a password for a Cognito user that I have already created using the AdminSetUserPassword function, but I keep getting "Operation not found: AdminSetUserPassword" as response. I have checked the version of CognitoIdentityProvider…
S.P.S.
  • 33
  • 4
1 2 3
99
100