Questions tagged [aws-sdk-java]

56 questions
0
votes
1 answer

Cant able to connect to AWS S3 from springboot application

we are working on Spring boot applicaation to connect with AWS S3. final AWSCredentials credentials = new BasicAWSCredentials(accessKey, secretKey); AmazonS3 s3client = AmazonS3ClientBuilder.standard() …
0
votes
1 answer

Amazon S3 multipart upload using low level java API uploads only single part

I have written the following code to upload collection strings to S3 using multipart upload (each part is greater than 5 MB), but when I download it back from S3 it contains only the strings from one part. import…
Venkky
  • 51
  • 2
0
votes
2 answers

Getting 400 Bad Request Error while creating S3 Batch Job from Java Code

As per the doc, I am trying to create a batch job from Java Code. I am able to create a job from console with same role and lambda arn, but from code, I am getting 400 Bad Request. Also, I don't see any error message as per this doc Here is my code…
0
votes
1 answer

how to start a AWS Personalize project in Java

Can someone help with getting starting using the AWS Java SDK for Personalize? I used to the console to build a Campaign. Now I want to query for recommendations using Java. Amazon has many examples in Python, but I need Java. Starting with the…
0
votes
1 answer

AWS SDK: cannot import AWSSecurityTokenServiceClientBuilder to get temp credentials

There are a couple of examples on the AWS SDK how to get the credentials,…
Joost Döbken
  • 3,450
  • 2
  • 35
  • 79
0
votes
1 answer

Is there a way to fetch common name of AWS IoT core certificate

I have registered a certificate in AWS IoT core. The next step is to create a thing and attach this certificate to the thing. My requirement is that the certificate's common name must be the name of the thing to be created. Does anyone know if there…
0
votes
1 answer

How do I scan dynamodb using aws sdk v2 for java?

How do you perform a scan using aws new sdk v2 for java? There is very little documentation out there.
fivedogit
  • 8,374
  • 7
  • 34
  • 43
0
votes
0 answers

How to access AWS S3 bucket and object without credentials

I have an application written in aws-sdk-java that read the content from S3 bucket. I am using IAM role to connect S3 from EC2, and using user profile credentials from local environment to S3. Both cases works fine. But I do not want to use user…
Mohammad Hasan
  • 123
  • 1
  • 6
  • 22
-1
votes
2 answers

Athena Prepared Statement throws Exception when using Prepared Statements

I have the following query in Athena, I am using S3 as data store. I have 2 query parameters in the lambda expression. PREPARE my_select1 FROM SELECT address.phonenumbers FROM \"nested-query-db\".\"data_with_json1\" where…
-1
votes
1 answer

How do I handle large messages in AWS SQS using the SQS Extended Client Library for Java?

I know that SQS can handle messages larger than 256kb, using the Java extended client library, but what's confusing me is where does this go? Do I upload it as a separate app?
Omar.Ebrahim
  • 862
  • 1
  • 10
  • 30
-1
votes
1 answer

S3 client is not being built on WebLogic 12c

There is an application deployed on a weblogic that periodically uploads a file to the cloud using the s3 protocol. Used AWS SDK for Java 1.x. Part of the code public AmazonS3 connect() { AWSCredentials cr = new BasicAWSCredentials(k, s); …
SibirBear
  • 1
  • 1
1 2 3
4