Questions tagged [aws-sdk]
The software development kit for use with the Amazon Web Services API.
aws-sdk
6,353
questions
1
vote
1
answer
28
views
I am trying to get list of databases from AWS Glue using AWS Glue SDK for Java 1.X with limited resource access on policy but getting empty list
As mentioned in title, I am trying to fetch list of databases from AWS Glue.
I have plenty of databases listed in Glue. I am using a policy with limited resource access so that I can only see specific ...
-1
votes
1
answer
29
views
How do I use the DynamoDB document client to set an attribute to a string representation of an integer?
I'm trying to use the AWS SDK for JS to set a DynamoDB item's attribute Password of type String to a string representation of an integer. This was my initial approach:
import { DynamoDBClient } from '@...
-1
votes
1
answer
22
views
com.amazonaws.services.s3.model.AmazonS3Exception: SignatureDoesNotMatch Error When Uploading Files to S3 from Android App
I'm encountering a SignatureDoesNotMatch error when trying to upload a file to Amazon S3 using the AWS SDK for Java as I'm developing an android app with a feature that allows users to upload their ...
0
votes
0
answers
56
views
How to properly call AWS bedrock using JavaScript SDK?
I am a newbie to using JavaScript SDK to connect to AWS Bedrock service, below is my code:
const { BedrockAgentRuntimeClient, RetrieveCommand } = require("@aws-sdk/client-bedrock-agent-runtime&...
0
votes
0
answers
21
views
Using Python to obtain monthly general ledger for AWS China region
Use the following Python code to obtain the monthly total bill for AWS China. After the code is executed, some information is obtained. However, when the obtained data is compared with the final bill ...
1
vote
1
answer
22
views
Running NodeJS service in AWS Fargate
Currently I'm trying to convert a Lambda based service with AWS Api Gateway+Lambda to a dockerized version running in Fargate and now I'm struggle about how I handle AWS permissions. For the lambda I ...
-1
votes
1
answer
37
views
How to use AWS SDK for Dynamodb in an android application, not using Amplify
I've run into a bit of a brick wall when trying to figure out the AWS SDK with Dynamodb.
I have an android app that I want to use to access a DynamoDB table.
what I'm trying to set up is:
an IAM role ...
0
votes
2
answers
33
views
DynamoDB BatchGetCommand 400 "key does not match schema"
I'm having an issue using BatchGetCommand to get a list of records from a DynamoDB table.
I am using an AWS Lambda that uses NodeJS 18.x.
I have been able to get ScanCommand, GetCommand and ...
1
vote
0
answers
39
views
AWS SDK - Readable Stream Error while using CognitoIdentityProvider or any aws-sdk
When Trying to Access the Cognito Provider to Login in React Native, error as Reference Error - Readable Stream Not Found
Version Details
"react-native": "0.69.3",
"@aws-sdk/...
0
votes
0
answers
25
views
Aws sdk s3 to s3 copyObject checksum is null in CopyObjectResponse
When doing a s3 to s3 copy using aws sdk, I want to save the returned checksum from CopyObjectResponse, so that I can use it later to verify if file is modified or not
but checksum value returned is ...
1
vote
0
answers
33
views
AWS SDK object is taking longer time than expected and queueing up calls
I have an API in NodeJS server hosted in AWS EKS fargate which performs some operations(some related to AWS KMS) and then upload a BSON to S3. I have configured a load balancer timeout of 5 minutes.
...
0
votes
0
answers
36
views
cognito srp auth login
This is my code. I am pretty sure i have used correct clientId and userpool for configuration.
the InitiateAuthCommand doesnot give me session key as mentioned in offical docs. But return all the ...
3
votes
0
answers
49
views
AWS Cognito prematurely confirms the user
I am trying to create the Redirect to URL after clicking email verification link (explained in this github issue). I am also following these Stackoverflow replies
I have a Cognito user pool with a ...
-1
votes
0
answers
47
views
SQS queue creation probleme
I'm trying to send an sqs message using aws-cloud-dependencies version 3.0.4 but when I check the URL of the queue in Localhost,
I see the following:
<ErrorResponse xmlns="http://queue....
-1
votes
0
answers
21
views
How to Send a Signed HTTP Request Using AWS SDK for Swift
I'm currently working with the AWS SDK for Swift to make signed HTTP requests to AWS services. I have set up the request signing successfully using the SDK, but I'm unsure how to proceed with actually ...