Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
65 views

I have this AWS Java V1 client configurations: ClientConfiguration cc = new ClientConfiguration(); cc.setConnectionMaxIdleMillis(10000); cc.setUseTcpKeepAlive(true); cc....
Peter Penzov's user avatar
0 votes
1 answer
193 views

S3AsyncUploadService.java package com.util.s3; import org.springframework.stereotype.Component; import reactor.core.publisher.Mono; import software.amazon.awssdk.core.async.AsyncRequestBody; import ...
Siddarth Reddy's user avatar
0 votes
0 answers
84 views

This is the actual error I'm getting: software.amazon.awssdk.core.exception.SdkClientException: Unable to load credentials from any of the providers in the chain: AwsCredentialsProviderChain: [ ...
misty's user avatar
  • 123
0 votes
0 answers
66 views

I have a Java application, which uses AWS SDK Java 2.31.12 to list objects in a S3 bucket. I setup LocalStack, but I can't configure my Java application to use LocalStack instead of AWS. Profile I ...
dur's user avatar
  • 17.3k
0 votes
1 answer
198 views

I meet a problem and can't sovle it even though i search in AWS docs. I got doc from this link: https://docs.aws.amazon.com/sdkref/latest/guide/understanding-sso.html https://docs.aws.amazon.com/...
Leo's user avatar
  • 25
0 votes
1 answer
75 views

I have a project using DynamoDB which I'm upgrading to Java SDK v2.0 Using the new enhanced client and type mapping. I have an index name which I need to pass to @DynamoDbSecondaryPartitionKey, ...
HellaWiggly's user avatar
0 votes
1 answer
166 views

Our team has created a Java command-line utility that connects to AWS S3. We aren't specifying a particular credentials source, we're just using S3Client.builder().region(region).build() and allowing ...
Tom Panning's user avatar
  • 4,792
0 votes
1 answer
72 views

I'm using AWS SES to send emails from a Java application using AWS SDK v2. ASCII email addresses work fine ([email protected]), but when I try to send email to address with non-ascii characters (...
Cedric Thiebault's user avatar
1 vote
1 answer
776 views

We are having this issue where since some recent update the AWS SDK for Java always sends a x-amz-content-sha256 hash header in S3 putObject requests. That works fine with AWS but our allegedly ...
NotGaeL's user avatar
  • 8,555
2 votes
2 answers
165 views

I have a DDB table with the following structure: CustmerID (PK) emailId (SortKey) orderId (LSI) I want to get batch items using AWS DynamoDB Java SDK for the following 2 patterns: Get Items by a PK ...
Govinda Sakhare's user avatar
1 vote
0 answers
101 views

I have a requirement where I need to override AWS secrets manager via my local endpoint to use localstack based secrets manager. I was able to use AWS_ENDPOINT_URL_SECRETS_MANAGER and that works but I ...
unbox-us's user avatar
  • 433
0 votes
0 answers
72 views

AWS sqs config class for aws sqs connection @Configuration @EnableSqs public class AwsSqsConfig { @Bean public SimpleMessageListenerContainerFactory ...
suneel meena's user avatar
2 votes
2 answers
1k views

I'm working on a Spring Boot backend service where I need to access certain S3 buckets programmatically using IAM Roles Anywhere. I found the following documentation for RolesAnywhereClient in the AWS ...
Romstar's user avatar
  • 1,295
0 votes
1 answer
909 views

I am trying to create a bedrock knowledgebase using aws sdk. but when i try to hit the createKnowledgeBase method if gives me the below error. User: arn:aws:iam::85172538xxxx:user/bedrock_assist_user ...
mohd sabahat's user avatar
0 votes
1 answer
697 views

I am creating HTTP requests with the AWS CRT HTTP Client, but I cannot find a way to set the request body. I am using Java 11 with the AWS SDK version 2.27.9. No matter how I configure this ...
Flumenque's user avatar
0 votes
1 answer
389 views

I encountered an issue while configuring S3AsyncClient using the AWS SDK for Java in a Spring Boot application. Despite setting all the necessary properties, I keep receiving the following error ...
wallhack's user avatar
1 vote
1 answer
45 views

I have a dynamodb structure like below: { "PK" : "queue#1234#view", "SK" : "board#1234", "items" : [ "1234&...
Kalindu's user avatar
  • 293
2 votes
1 answer
523 views

I am a beginner to Java programming. I am trying to do a GET on a object in S3 using the AWS Java SDK v2. The code is staightforward hello world code that I have from a video tutorial. //get ...
grammar's user avatar
  • 939
1 vote
1 answer
1k views

Does the DynamoDB Java SDKv2 offer a retry strategy for batchWriteItem calls? I'm looking for a retry strategy that retries items that would otherwise be returned as unprocessedItems. In the DynamoDB ...
yassin's user avatar
  • 662
1 vote
2 answers
241 views

In the AWS Java SDKv2, the ApacheHttpClient and UrlConnectionHttpClient both have a socketTimeout configuration option: socketTimeout(Duration socketTimeout) The amount of time to wait for data to be ...
Dasmowenator's user avatar
  • 5,538
2 votes
0 answers
638 views

Using V2 of the Java AWS SDK, with V2 of the netty nio client, we hit a scenario where we DDOS our application and then get the error: "Caused by: java.lang.Throwable: Acquire operation took ...
user3790053's user avatar
0 votes
1 answer
101 views

I have a Dynamodb records example { "cDate":"2024-03-04", "myList":[ { "M" : { "rt":{"N":"1.06"}, ...
Saurabh Jhunjhunwala's user avatar
0 votes
1 answer
347 views

Create bucket is failing with software.amazon.awssdk.services.s3.model.S3Exception: An error occurred when parsing the HTTP request PUT at '/' (Service: S3, Status Code: 400, Request ID: ) S3Client ...
Sraj's user avatar
  • 41
0 votes
1 answer
726 views

StaticCredentialsProvider provider = StaticCredentialsProvider.create(AwsBasicCredentials.create("Access key ID", "Access secret key")); S3Client s3 = S3Client.builder()....
Sraj's user avatar
  • 41
0 votes
1 answer
207 views

I have a (possibly) quite large ResultSet when querying a (Vertica) SQL Database, and because it won't fit in memory I'm trying to find a way to stream the results (in CSV form) directly to an S3 ...
HDW's user avatar
  • 307
1 vote
0 answers
300 views

AWS S3Client is throwing exception when try to use ProfileCredentialsProvider without region. I've a credentials file that does not have region name but I'm overriding endpoint in the code. I can't ...
akshay's user avatar
  • 259
1 vote
1 answer
756 views

I’m currently developing a Spring application and have encountered an issue while trying to post a message to a Websocket connection. I’ve successfully set up a Websocket API in AWS API Gateway and ...
Preston Reed's user avatar
0 votes
1 answer
153 views

Our AWS team enabled tags in INSTANCE and VOLUME and now we have to modify our codes to add tagging. I tried to tag an EC2 instance but I got the following error below and hopefully someone can point ...
Lexus's user avatar
  • 1
1 vote
0 answers
3k views

I'm using AWS SDK for Java v2.0, S3 Async Client with the aws-crt library, which allows to easily put objects with undetermined size as it uses multi-part transfer internally. Occasionally it fails ...
Jonathan Gross's user avatar
0 votes
1 answer
657 views

I see that in docs that for SqsClient, the region must be set in advance, making this client tied to a specific region only. my question is, is it possible to make SqsClient region agnostic, so, ...
medaliama's user avatar
0 votes
1 answer
602 views

The Javadoc of software.amazon.awssdk.services.dynamodb.model.QueryRequest.expressionAttributeValues() says a following query can be done: ProductStatus IN (:avail, :back, :disc) where the values are ...
ash's user avatar
  • 365
1 vote
1 answer
73 views

I would like to map AWS Resource Types to AWS Services programmatically when fetching AWS SecurityHub findings. For example, if an AWS SecurityHub finding indicates the affected resource with ...
SyCode's user avatar
  • 1,187
0 votes
2 answers
2k views

I'm using the AWS Java SDK 2 with Java 17 on Windows 10. I have my AWS credentials configured correctly for the CLI/SDK/etc. On my local machine I'm testing sending an event to EventBridge. Using the ...
Garret Wilson's user avatar
0 votes
1 answer
3k views

I have a Java Spring Boot app where I would like to listen to SQS messages as they come in. Ideally I want to do this in the most efficent manner possible. Currently the only solution I can see is to ...
Mayyar Al-Atari's user avatar
2 votes
2 answers
6k views

I'm attempting to use localstack for development with SQS. Aws client v2.20.60 localstack v2.0.2. I'm following this blog post, but no matter what I try, I always get the error: exception while ...
Kevin's user avatar
  • 1,881
2 votes
1 answer
1k views

Following the examples given in the AWS Kinesis documentation, I am trying to produce and consume from a Kinesis on-demand stream. What I observed is, when we run the producer, it successfully ...
Amudhan's user avatar
  • 735
0 votes
1 answer
418 views

In the new AWS Java SDK v2 TransferManager how do I get the equivalent of com.amazonaws.services.s3.transfer.TransferState in the v1 TransferManager? I assume it's using a TransferListener and the ...
Novaterata's user avatar
  • 4,903
0 votes
0 answers
131 views

Creating an Object Restore request from AWS S3 Glacier Deep Archieve to AWS S3 standard storage using AWS Java SDK V2 with the following code. Which works successfully with these parameters specified ...
Shariq Ali's user avatar
1 vote
0 answers
207 views

I need to constantly increment values for a map field value in DynamoDB. The map will contain keys with counters, and for each update I want to atomically increment the keys. The corner case is that ...
João Pedro Schmitt's user avatar
0 votes
1 answer
780 views

I'm using Java AWS SDK to query a DynamoDB table using ExecuteStatementRequest, but I'm don't know how to fetch the returned attribute values from the response. Given I have the following query: var ...
João Pedro Schmitt's user avatar
0 votes
1 answer
1k views

I'm trying to issue an update ExecuteStatementRequest using DynamoDB and Java SDK 2.0. I'm struggling to escape keywords that are columns in my table schema. The following statement: var response = ...
João Pedro Schmitt's user avatar
0 votes
0 answers
735 views

I am using the S3TransferManager with S3AsyncClient in my service code. I am testing this code with localstack docker S3 service. I have the local stack S3 service and created the bucket test and ...
Kunal Varpe's user avatar
0 votes
1 answer
850 views

In Scala, I'm using the AWS Java SDK to upload a simple JSON string (containing a few rows of data from a database). The upload appears to work fine but the content of the uploaded file once it's in ...
Alex Kerr's user avatar
  • 1,100
0 votes
1 answer
1k views

I'm trying to write a Query in DynamoDB with logic similar to a GROUP BY in SQL. Let's consider the following table with partition key simulation_id: Simulation (Table): simulation_id_1 - type_1 - ....
Nano's user avatar
  • 864
2 votes
0 answers
3k views

I'm try to use S3Client from AWS Java SDK v2, on my JHipster Spring boot project. In addition to S3CLient i'm using S3Presigner for pre-signed url generation. This is the configuration class, that i'm ...
Nicola Zambon's user avatar
3 votes
1 answer
2k views

I am trying to use java sdk to get list of aws ec2 instances and s3 bucketsattached to a user. My main program class is ` package com.aws.demo; import java.util.List; import org.springframework.boot....
Oluchi's user avatar
  • 41
0 votes
1 answer
2k views

I am trying to use aws sdk2 java for s3 select operations but not able to get extract the final data. Looking for an example if someone has implemented it. I got some idea from [this post][1] but not ...
user1805280's user avatar
0 votes
0 answers
1k views

I am doing some operations which will publish messages to an SQS, a standard SQS, not a FIFO one. After that I am trying to receive both the messages from SQS and delete both of them. I have written ...
Conquistador's user avatar
0 votes
0 answers
280 views

I'm trying to read a JSON file stored in an AWS S3 bucket, but when I try to parse the result with GSON I get the following error, since the result is returned with double quotes: "Expected ...
Jorge Garcia's user avatar
0 votes
1 answer
849 views

I'm trying to understand the best way to instrument the default thread pool executor used by AWS async client. Source. We are using Micrometer for tracking all metrics. I aim to understand if I should ...
Bhushan's user avatar
  • 610