Questions tagged [aws-java-sdk]

The AWS SDK for Java provides a Java API for Amazon Web Services. Using the SDK, you can easily build Java applications that work with Amazon S3, Amazon EC2, DynamoDB, and more.

The AWS SDK for Java provides a Java API for Amazon Web Services. Using the SDK, you can easily build Java applications that work with Amazon S3, Amazon EC2, DynamoDB, and more.

Links

548 questions
0
votes
1 answer

AWS S3 library for file upload from QNX java

I want to transfer files from QNX platform using java to AWS S3 bucket. The maximum size of a jar file in QNX platform is <4MB. But AWS java library is very big >40MB. Are there any smaller size AWS s3 client library available for java.
PRAKASH S
  • 1
  • 1
0
votes
1 answer

DynamoDB's PaginatedList via REST

For a web-application, I want to implement a paginated table. The DynamoDB "layout" is, that there are multiple items for a user, therefore I've chosen the partition key=user and the sort key=created (timestamp). The UI shall present the items in…
0
votes
1 answer

Bad Request on AWS ElasticSearch

I'm trying to connect to an IAM controlled ElasticSearch domain, I've created a request, and signed it, and everything works fine for method GET, but on method POST I get a 400 Bad Request This clearly has something to do with the payload. If I…
0
votes
1 answer

Retrieve resources associated to an AWS account

Does AWS Java SDK have an api that could help me to retrieve list of resources (vpc, dynamodb, volumes, ec2 etc...) for a given AWS account number? I have gone through AWS Java SDK docs at a higher level but everything is related to one specific AWS…
Vishal
  • 1,963
  • 2
  • 20
  • 23
0
votes
0 answers

Configure CloudWatch log to a running instance programmatically

I just tried to configure the cloudwatch to a running ec2-instance(windows) , manually using the steps given in aws-cloudwatch-documentation and ended successfully. the cloud watch log groups are created and the logs are being logged correctly. …
0
votes
2 answers

DynamoDB Search with HashKey

I have table with the following structure HashKey: Place Name Attribute: Place Data Class now i would like to search with Place Name, Ex: I have below data Newyork {lat: x.xxxxx, lng: x.xxxxxx} Newzealand {lat: x.xxxxx, lng:…
anjnkmr
  • 838
  • 15
  • 37
0
votes
1 answer

How to pass map to AWS cloudwatch

I have a metrics map coming from different applications and I want to write them into AWSCloud watch. How can I do that? PS: I tried putting them using metrics name and metrics value after parsing whole map, but that does not looks a good approach…
0
votes
1 answer

AWS Java API - Create EC2 (runInstances) and execute command

I am able to easily create instances using the AWS Java API from a snapshot that I have created in the environment using runInstances(...). I have the snapshot set up in such a way that it auto-launches a set of processes and other things so that I…
el n00b
  • 1,957
  • 7
  • 37
  • 64
0
votes
1 answer

Scala: object profile is not a member of package com.amazonaws.auth

I am having a build problem. Here is my sbt file: name := "SparkPi" version := "0.2.15" scalaVersion := "2.11.8" // https://mvnrepository.com/artifact/org.apache.spark/spark-core_2.10 libraryDependencies += "org.apache.spark" % "spark-core_2.10" %…
Daniel Kats
  • 5,141
  • 15
  • 65
  • 102
0
votes
1 answer

AWS Data Pipeline - Java SDK - How to put a pipeline definition from JSON file

I have an AWS data pipeline definition in JSON format Using Java SDK I have created an empty pipeline and now I would like to use my JSON to put the pipeline definition. Basically I would like to create a PutPipelineDefinitionRequest…
Erica
  • 1,608
  • 2
  • 21
  • 32
0
votes
1 answer

How to make API request using roles

I want to develop java application and deploy on EC2. As much as I understand you should use roles instead of access key and secret key. Now suppose I launch an instance , with a S3 full access role attached to it , then how I will make a API call…
Shivkumar Mallesappa
  • 2,875
  • 7
  • 41
  • 68
0
votes
1 answer

Migrate REST call to RxJava and connect with another reusable method

I am using an auto-generated AWS Android SDK to access my REST API. Example Repos = restClient.getRepos(); This call needs to be in an Async Task but I am converting it in an Observable by final Observable reposRx = Observable.fromCallable(() ->…
Kenenisa Bekele
  • 835
  • 13
  • 34
0
votes
1 answer

How to include AWS service error codes in a third party project

I am developing a module which internally uses AWS Java SDK client to make EC2 related API calls. E.g. I have a requirement where I need to attach ENIs to my instance. One of the possible error code in this api call is AttachmentLimitExceeded, I…
WillMcavoy
  • 1,795
  • 4
  • 22
  • 34
0
votes
1 answer

How to extract publicKey attribute in verifyMessageSignature method of SignatureChecker

I am writing and sns http end point. I have to verify the SNS message using verifyMessageSignature method of SignatureChecker. How can I get the publicKey attribute from message. Is there util method for it as well. Please help.
Bill Goldberg
  • 1,699
  • 5
  • 26
  • 50
0
votes
1 answer

AWS java sdk, which ports needs to be opened?

Noob question here but my google-fu is failing me. I'm working with an app that uses the aws java SDK to talk to aws and scrapes some info about the instances and other information. We are not hitting the instances directly, just the sort of stuff…
Ian Ma
  • 1