Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
79 views

I am configuring SQS client as shown in the below snippet: SqsClient client = SqsClient.builder() .region(region) .credentialsProvider(DefaultCredentialsProvider.create(...
Rishi Chaturvedi's user avatar
0 votes
1 answer
69 views

I'm using quarkus-logging-json in my project and want to add automatic EMF logs to my Lambda clients like this: LambdaAsyncClient.builder() .httpClient(NettyNioAsyncHttpClient.create()) ...
Michiel's user avatar
  • 113
0 votes
0 answers
82 views

Using software.amazon.awssdk:s3:2.32.11 I started with the following code: var objectKey = "test.txt"; var path = Path.of("/tmp/test/log.txt"); var credentials = ...
justis's user avatar
  • 631
0 votes
0 answers
93 views

I'm trying to use an existing AWS JSON response to do exploratory tests with so I don't use resources I don't have permissions for. My company has strict AWS permissions although someone has given me ...
DPS100's user avatar
  • 83
0 votes
0 answers
192 views

In aws sdk v1 : @DynamoDBAutoGeneratedTimestamp(strategy = DynamoDBAutoGenerateStrategy.CREATE) Above annotation was there to create auto generated time field. In aws sdk v2 replaced with below code: ...
adarsh's user avatar
  • 142
1 vote
1 answer
111 views

I am upgrading AWS' Java SDK from 1.x to 2.x. In 2.x, it seems that most exceptional cases are modeled with Unchecked Exceptions, as opposed to Checked Exceptions like it was in 1.x. When trying to ...
davidalayachew's user avatar
0 votes
0 answers
96 views

I am looking for the way how to compare two files (especially large files) in S3 within the same bucket using Java AWS SDK. I do not need to verify whole bucket if there are duplicates. As I ...
Bronek Kristal's user avatar
0 votes
0 answers
51 views

My Java microservice is using the AWS SDK for Java v2.21. I construct an EC2 Client in this way: Ec2Client.builder().credentialsProvider(DefaultCredentialsProvider.create()) .endpointOverride(...
Martin Bamford's user avatar
0 votes
0 answers
22 views

In the AWS SDK v1, it was possible to add a ProgressListener directly to a MultipleFileUpload object and set up logging in the progressedChanged method so that the progress of a directory upload could ...
SarahAsparagus's user avatar
1 vote
1 answer
182 views

I'm migrating a java project that was using the AWS SDK 1.x to list and iterate through objects lazily in S3. S3Objects iterableS3Objects = S3Objects.withPrefix(amazonS3, myBucketName, myPrefix); for ...
Parker H Gordon's user avatar
0 votes
1 answer
698 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
1 vote
1 answer
92 views

I would like to implement the AwsCrtHttpClient and intercept the HTTP requests in the unit tests with Hoverfly, but Hoverfly is not intercepting the requests. The client is initialized like: private ...
Flumenque's user avatar
2 votes
0 answers
155 views

I have a Spring Boot reactive application running on both ECS and EKS, with similar hardware configuration (cpu:6 and memory 16G). This applications has a REST API endpoint that updates multiple ...
Shankar's user avatar
  • 2,895
1 vote
0 answers
108 views

I'm using the AWS SDK v2 for Java to upload JSON data to an S3 bucket. However, after the upload, the file in S3 contains a random string prefix and the JSON data appears to be incomplete or corrupted....
Med-KG's user avatar
  • 109
0 votes
0 answers
161 views

I'm trying to connect to AWS MQTT3 via websockets with authentication from Cognito, but I'm getting Caused by: software.amazon.awssdk.crt.mqtt.MqttException: The connection was closed unexpectedly.. ...
MAGx2's user avatar
  • 3,199
0 votes
1 answer
253 views

I am new to AWS and wanted to ask a question about Amazon SQS and AWS SDK. From my understanding SQS has visibility timeout feature and after making ReceiveMessage request call the message gets hidden ...
Mykoliux's user avatar
  • 163
1 vote
1 answer
995 views

I have run MinIO in a docker container, created a bucket (test), made the bucket as public, created access key, set a server location (us-east-1). After that I build a client: final S3Client client = ...
nik0x1's user avatar
  • 1,656
0 votes
1 answer
186 views

We are migrating to the latest versions (2.24.5) of aws-sdk and amazon-s3-encryption-client-java The code where I create S3EncryptionClient and call it (3.1.1 library version) I want to read the S3 ...
Eugene Kisly's user avatar
0 votes
1 answer
241 views

Here my SQS listener class: @RequiredArgsConstructor @Slf4j @Service public class SQSS3CreatedNotificationService { private final FluxProperties fluxProperties; private final ...
Jordi's user avatar
  • 23.7k
1 vote
0 answers
799 views

Trying to get Ec2Client using following code: AwsCredentials awsCredentials = AwsBasicCredentials.create("<ACCESS_KEY>", "<SECRET_ACCESS_KEY">); AwsCredentialsProvider ...
Nishant Joshi's user avatar
3 votes
0 answers
421 views

The AWS SDK netty HTTP client is configurable through NettyNioAsyncHttpClient.Builder, but I can't find any documentation on the default values. In particular I'm using the firehose SDK and looking ...
kag0's user avatar
  • 6,114
0 votes
0 answers
51 views

I have this test code: package process; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.web.bind.annotation.RequestBody; import process.dto.Request; @...
Peter Penzov's user avatar
0 votes
1 answer
1k views

I have a batch application which reads large file from amazon s3. MyS3 config: @Configuration public class S3Configuration { @Bean public S3Client s3Client() { ...
User's user avatar
  • 11
-1 votes
1 answer
5k views

I have a Java 17 project, which interacts with DynamoDB Local and configures and deploys it while running tests. Here is some of the code I have in my test: var mapper = new DynamoDBMapper(...
Vitor's user avatar
  • 376
1 vote
1 answer
399 views

I am trying to get used to the Java SDK for AWS but I am failing to get some basic stuff done. The code is supposed to do the following: Upload a zip file to s3 bucket create execution role for ...
Rova's user avatar
  • 25
1 vote
3 answers
484 views

I am upgrading a legacy java application that used AWS SDK v1.5 for S3 operations, and one of the functions it had to do was to change an objects ACL, from private to public-read, based on certain ...
user2989397's user avatar
1 vote
0 answers
957 views

I have a Java application that uses some V2 dependencies to manage our AWS environment. Than, these are my other aws dependencies <dependency> <groupId>software.amazon.awssdk</...
MarioC's user avatar
  • 3,258
0 votes
1 answer
1k views

I used to have a custom implementation of the AWSCredentialsProvider's refresh() method then when I migrated to the AWS SDK v2, the AwsCredentialsProvider does not provide such a method anymore. How ...
dk7's user avatar
  • 720
1 vote
1 answer
1k views

My KMSClient is being instantiated way before LocalStack is started and I don't know how I should initialise my KmsClientBuilder to override the endpoint. KmsClient.builder().endpointOverride("...
Tymon's user avatar
  • 99
1 vote
0 answers
584 views

While this question has been asked multiple times, none of the answers I came across seem to make any difference in my case... (Like this one or this one) I'm using the latest Java SDK (0.21.11 as of ...
Zed_Blade's user avatar
  • 1,081
0 votes
0 answers
171 views

Scenario :- I have a Live table with few String columns(<10) and 1 Blob column (to hold binary for PDF).This in on premise cloud in Oracle 19c. Each Blob item has an average size of 2MB, current ...
Niteesh Bhargava's user avatar
1 vote
1 answer
1k views

I was updating one of our DynamoDB entities with new attributes. One of the new attribute is called isEnabled which is of type of String. It isn’t getting stored in DynamoDB. This is an example of the ...
Cabbage_Lower's user avatar
0 votes
0 answers
85 views

I have a LambdaFunction on Java 17 and I get a Internal Server Error, if i try to add the s3Client code snippet into my codebase. I really don't know how to get rid of it. Because of IAM I don't have ...
texi's user avatar
  • 48
1 vote
3 answers
2k views

I'm working on a Spring Boot application that interfaces with AWS S3, and I need to use LocalStack. I want to configure the endpoint in application.properties rather than in the Java code with ....
Karthik's user avatar
  • 63
0 votes
1 answer
158 views

When using AWS Database Encryption SDK I'm facing the error "Invalid response from AWS KMS GeneratedDataKey: Invalid ciphertext". By debugging the AWS SDK v2 (Java), I found that the length ...
Glauber Dantas's user avatar
1 vote
1 answer
827 views

I have written this function to get object from S3, now I want to write Unit Test cases for the same. I am not able to mock "s3Client.getObjectAsBytes(objectRequest)" so that I can get mock ...
Chetan Krishna's user avatar
1 vote
0 answers
86 views

I am doing some investigation on whether it is possible to use DynamoDB streams with encrypted data using the latest DynamoDB sdk updates i.e. can DynamoDB streams decrypt data that was encrypted ...
Seagull's user avatar
  • 2,339
0 votes
1 answer
241 views

I am working on migrating some DynamoDB code from version 1 of the AWS Java SDK to version 2 of the SDK. I have been unable to find an equivalent code for the DynamoDbMapper.S3Link in version 2 of the ...
Seagull's user avatar
  • 2,339
-1 votes
2 answers
1k views

Java: 20.0 Springboot: 3.0.1 Dependency <dependency> <groupId>software.amazon.awssdk</groupId> <artifactId>aws-sdk-java</artifactId> <version>2.20....
Prafulla Kumar Sahu's user avatar
1 vote
1 answer
131 views

My application consumes many AWS services, and some services like Comprehend needs the region to be defined while building the client. I want to know specifically about Comprehend: how to detect if ...
Débora's user avatar
  • 5,992
1 vote
1 answer
840 views

Is it possible to create a REST API with lambda backend using AWS Java SDK? I have been able to create HTTP API using software.amazon.awssdk.services.apigatewayv2.ApiGatewayV2Client with a lambda ...
Sandeep's user avatar
  • 95
2 votes
1 answer
1k views

I am using S3ObjectSummary previously in my code with version 1 and I am now migrating my code to SDK 2.20. What's the equivalent of S3ObjectSummary in SDK 2.20?
weezyFjr420's user avatar
0 votes
0 answers
1k views

I use Spring boot 3 and AWS SDK for Java 2.x When I try to create S3Client I get an error: software.amazon.awssdk.services.sts.model.StsException: User: arn:aws:sts::SOME_NUMBER:assumed-role/SOME_TEXT/...
Łukasz Urbański's user avatar
0 votes
1 answer
666 views

I am using Hibernate Search v. 6.1.8.Final within my Spring Boot application. My implementation works for OpenSearch v. 2.5 which runs locally and in Kubernetes. Besides the basis libraries I include ...
Rokko_11's user avatar
  • 957
0 votes
1 answer
341 views

I have a table with both partitionKey and sortKey are defined. Per https://docs.aws.amazon.com/sdk-for-java/latest/developer-guide/ddb-en-client-use-multirecord-query.html, I can query single ...
csujiabin's user avatar
0 votes
1 answer
571 views

Im trying to connect to an AWS ElasticCache Redis server but I always got this error : { "name": "Redis connection health check", "status": "...
bdeweer's user avatar
  • 177
3 votes
0 answers
857 views

We have recently done an integration with AWS SageMaker and FeatureStore for one of our use-case. On Cloudwatch, we could see the p99: 50-60ms(Overhead + Model) for sagemaker and p99: 15-20ms for ...
tusharRawat's user avatar
1 vote
2 answers
414 views

I am following this document: https://aws.amazon.com/blogs/developer/using-atomic-counters-in-the-enhanced-dynamodb-aws-sdk-for-java-2-x-client/ My goal is to use AtomicCounter to generate unique IDs, ...
Youcef LAIDANI's user avatar
1 vote
0 answers
175 views

All the v2 documentation around the subject just assumes an already serialized json string, but in our existing code using the v1 SDK we easily create Policy objects with Statement objects with ...
Novaterata's user avatar
  • 4,903
2 votes
0 answers
430 views

I am getting below error : Unable to execute HTTP request: Connect to secretsmanager.eu-central-1.amazonaws.com:443 [secretsmanager.eu-central-1.amazonaws.com/ipadress, secretsmanager.eu-central-1....
Sriram's user avatar
  • 101