Skip to content
Advertisement

Tag: amazon-web-services

Query DynamoDb Global Secondary Index

i am trying out dynamodb locally and got the following table: I want to query it with Java like this: But it throws a Exception with “QUery Key Condition not supported”. I dont understand this, because in the docs, the “<” operator is described as regular operation. Can anybody help me Answer DDB Query() requires a key condition that includes

Get the Tags detail of AWS IAM user

I want to get the tags information of AWS IAM users using rest service or AWS Java SDK. I am not able to find any AWS SDK example or class to get the IAM user tag information. Below is the example how I am getting list of users but I want to pull their tags detail also AmazonIdentityManagement iam= AmazonIdentityManagementClientBuilder.standard().withCredentials(awCreds).withRegion(Regions.US_EAST_1).build();

How to close aws client in aws lambda

I am trying to correctly write an aws lambda using Java that will use aws sdk SqsClient and SnsClient. I see that these clients implement close() method, and it is generally a good practice to call this method when client is no longer required. And the best practices for lambda (https://docs.aws.amazon.com/lambda/latest/dg/best-practices.html) advices to Initialize SDK clients and database connections outside

Inconsisent S3 parameter validation error when running bash script in Ubuntu WSL

I’m experimenting with AWS Lambda by following along with the instructions here: https://github.com/awsdocs/aws-lambda-developer-guide/tree/main/sample-apps/java-basic. Part of the setup instructions require running this script (2-deploy.sh): When I run the script in WSL I get a parameter validation error: However, when I manually run the last two lines of the file with the debug output it works correctly: Why does this fail when

Advertisement