Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    srivallig
    @srivallig
    whatever i am accesing through AWS CLI to S3 bucket
    i am not able to access from java api
    getting acces denied error
    please suggest some clue
    knightserf
    @knightserf
    Hi. Please forgive me as this is my first time here. Has anyone been able to use maven to compile aws sdk and getting over the javax.xml.bind does not exist compilation error? I've researched and updated the pom.xml for the dependency but still getting the same error.
    error: package javax.xml.bind does not exist --> this is because \amazonaws\util\Base64.java uses JAXBContext
    Herman Othelius
    @Mord1n
    Hi, im trying to test scenarios when batchWrite/batchDelete would return a list of FailedBatches, anyone got simular unit tests they can share with me? :P
    fxrcode
    @fxrcode
    hello, wondering how to filter tags in servicecatalog's search-provisioned-products? Thx
    Rajkumar Banala
    @rajkumarbanala

    Hi,
    I need to integrate email validations in my project.
    We are sending thousand's of email where some emails doesn't exits(due to spelling mistakes), some emails will be spam. due to this while sending, emails got bounce. if more bounces occur, account will be blocked.

    Email validation will check the below following:
    1) check basic format
    2) check email really exists or not (email deliverable or not)
    3) check email is spam or not like (10 minutes emails as yourmail@sharklasers.com)
    is there any third party vendors free libraries to validate email?.
    implementation can be in Java, PHP, etc...
    i tried some free libraries which is in Java & PHP. but it gives less accuracy.
    if there is no free libraries for good accuracy, i may go with paid libraries(paid vendors).

    if anyone knows please guide me.

    Szymon Gałązka
    @SzymonGalazka
    Hello there.
    I am trying to delete about 5mln records on dynamo. I first get it as PaginatedScanList. Then I invoke batchDelete() which is basically batchWrite(). In the middle of the process, i got java heap space error. I thought BatchDelete is handling it by deleting 25 records at once and such a situation shouldn't happen.
    skcc00000sp1900432
    @skcc00000sp1900432
    Hi! I Find NotebookInstances List for AWS SDK for Java Example ~...
    Adi Nemer
    @adinemer
    Hello, everyone, I have a question about the ec2 (CreateInstance) example, I always get the error: Exception in thread "main" java.lang.NoClassDefFoundError: software/amazon/awssdk/services/ec2/model/Ec2Exception
    Is there another thing I have to include in the pom file besides ec2?!
    Federico Cocco
    @fredc0088
    @here Hello. I'm trying to perform local testing using a Docker instance of DynamoDB Local. I keep getting Failed to begin subsegment named 'AmazonDynamoDBv2': segment cannot be found. due to xray. Is there a way to disable xray for local testing? Thanks
    sdessingou
    @sdessingou
    Hi , I am newbie to AWS java. I need to create a java desktop project to connect, disconnect, publish and subscribe. I don't even know what are the entities i need to create a client, some websites shows to use certificate file, some shows to use AWSACCESSKEYID & AWSSECRETKEYID. I don't know where to start. I planned to use netbeans IDE. Could someone please direct me to start from the scratch.
    sdessingou
    @sdessingou
    Hi @adinemer , Thank you. With these reference I have developed a basic program to connect but I am getting a exception MqttException (0) - java.io.IOException: WebSocket Response header: Incorrect upgrade. Can someone please help me out.
    sdessingou
    @sdessingou

    Here is the code:

    public class logging
    {
    public logging(String endpoint, String clientId, String accessKeyId, String secretAccessKey) {

      AWSIotMqttClient mqttClient = new AWSIotMqttClient(endpoint, clientId, accessKeyId, secretAccessKey);
    
        try {
            mqttClient.connect();
    
            System.out.println("Connection successful");
        } catch (AWSIotException ex) {
            java.util.logging.Logger.getLogger(logging.class.getName()).log(Level.SEVERE, null, ex);
        }
    }
    
    public static void main(String[] args) {
        String ep = "epxxxx";
        String clientid = "client_idxxx";
        String acceskeyid = "accesskeyxxxx";
        String secureaccesskey = "secureacceskeyxxxx";
    
        logging lgn = new logging(ep, clientid, acceskeyid, secureaccesskey);
    
    }

    }

    James Pace
    @pacey
    I was looking at making a small contribution to the aws-sdk-java-s3 module and I was wondering if there are unit tests for the client? If so, where are they?
    sdessingou
    @sdessingou
    I don't have any unit test for the client but somehow I solved this problem by adding the below content in the POM.xml
    <dependency>
    <groupId>org.eclipse.paho</groupId>
    <artifactId>org.eclipse.paho.client.mqttv3</artifactId>
    <version>1.1.0</version>
    </dependency>
    @pacey Are we suppose to create a unit test for our program or Maven itself creates unit test suite? don't mistake if it is silly, i am new to Maven. Day before yesterday only started.
    James Pace
    @pacey
    I'm not entirely sure @sdessingou, this is my first time committing to the project. The contribution guide recommends adding tests for your change, which is totally fine. But I can only seem to find tests for the utility type classes
    sdessingou
    @sdessingou
    @pacey somehow i am able to successfully publish a data to the aws server under a topic. How to view the subscribed data?
    Debora Naomi Ito
    @debora-ito
    @sdessingou regarding the MqttException message, your sample code is using the AWSIotMqttClient from aws-iot-device-sdk-java, which is a different project than the aws-sdk-java. I don't think they have a gitter channel, but you can open a new issue on their Github repository: https://github.com/aws/aws-iot-device-sdk-java/issues
    Matthew Miller
    @millems
    @/all The AWS SDK for Java will no longer support Java 6: https://aws.amazon.com/blogs/developer/the-aws-sdk-for-java-will-no-longer-support-java-6/
    Matthew Tovbin
    @tovbinm
    Howdy folks, I was wondering where are the model json files generated from? - https://github.com/aws/aws-sdk-java/tree/master/aws-java-sdk-models/src/main/resources/models
    Matthew Tovbin
    @tovbinm
    Does anyone know how to marshall AWS POJO, e.g. UserDetail, to JSON or Map?
    Matthew Tovbin
    @tovbinm
    objectMapper.convertValue(v, jmapClass) works
    aasifkhan7
    @aasifkhan7
    Hi. I'm trying to upload a directory using AWS-Java-SDK's transfermanager. After some files have been uploaded from the directory, the connection breaks with the following error: https://pastebin.com/ehYE2KJQ
    aasifkhan7
    @aasifkhan7
    Also I wanted to know if multipart upload is possible with upload directory.
    Raxit
    @raxit65535
    Hi ! I am trying to get Glue workflow run properties in a Glue batch job ! (Scala) ! I am trying to find a example to do it since I am not sure how to use "getworkflowru properties()" ! Any suggestions of example resources?
    Dillon P
    @dillonius01_gitlab
    Hi there, does anyone know if it's possible to create an AmazonS3Client that has an underlying CachingHttpClient? I'd like for my Java client to respect the Cache-Control headers of my S3 objects. Any help would be much appreciated!
    Dillon P
    @dillonius01_gitlab
    update: I'm looking into V2 of the SDK (had been on V1 previously)
    Ayusman Dikshit
    @ayusmand
    I am new to aws-sdk-java
    and was trying to start my contributions with small fixes that I encountered.
    I created a PR here aws/aws-sdk-java#2197
    but I am not able to add reviewers to the PR. Am I missing something.
    Debora Naomi Ito
    @debora-ito
    @ayusmand we'll look into it. Any reason why there's two PRs for the same change?
    Debora Naomi Ito
    @debora-ito
    @raxit65535 have you figure out how to work with Glue workflow? I believe you can create a workflow and specify the run properties in the CreateWorkflowRequest
    Raxit
    @raxit65535
    Thanks for the reply Debora ! I am still looking into ways ! My Glue workflow is already running, and I have assigned run properties through aws-cli !! When the Glue workflow run GlueJob, I want to retrieve “run properties” in the Glue Job !! It requires getworkflowrRunProperties(GetWorkflowRunPropertiesRequesr req) !! I don’t know how to call this method !! I tried to find some good examples for the use of AWS Java SDK (like Boto3) ! Do you happen to know any good resources to find code samples for java aws sdk?
    Ayusman Dikshit
    @ayusmand
    @debora-ito I am sorry, I confused my forked repo with the was/aws-sdk-java repo.
    Damien O'Reilly
    @DamienOReilly
    Hi, I cant seem to find the answer to this online, but does AWS SDK v2 use native netty transports by default? and if not, is it possible to configure this? https://netty.io/wiki/native-transports.html
    Avra Sengupta
    @avrasengupta

    Hi,

    I am trying to fetch EMR pricing information using the aws price list api. The following code is what I am using. The output of the priceless doesn’t contain data for all types of instances like m4.large.
    Also the data which it produces is different from the one in https://aws.amazon.com/emr/pricing/. Please advice if I am using it wrong, because I could not find any java samples for the price list.

    AWSPricing awsPricing = AWSPricingClientBuilder.standard()
    .withCredentials(new AWSStaticCredentialsProvider(sessionCredentials))
    .withRegion(Regions.US_EAST_1)
    .build();
    GetProductsRequest request = new GetProductsRequest()
    .withServiceCode("ElasticMapReduce").withFormatVersion("aws_v1");
    GetProductsResult result = awsPricing.getProducts(request);
    result.getPriceList()

    Debora Naomi Ito
    @debora-ito
    @DamienOReilly yes, V2 does support it
    Debora Naomi Ito
    @debora-ito
    @avrasengupta maybe you are seeing a paginated result, does your response include a next token?
    Avra Sengupta
    @avrasengupta
    @debora-ito Thanks for the pointer. It seems to have nextToken(). When i make another call using that token I do get m4.large instance specific data. But the price I get is 0.78 USD for m4.large, whereas the price in https://aws.amazon.com/emr/pricing/ is 0.03 USD
    Debora Naomi Ito
    @debora-ito
    @avrasengupta can you share the full product object content for the 0.78 USD?
    @raxit65535 we don't have a lot of code examples in V2 yet and it's a known issue... I'll try to write a Glue workflow code snippet when I have a chance
    liondancer
    @liondancer
    Im really new to dynamoDB and in my Java code I am trying to read data from a table but I am getting this error : ERROR: The provided key element does not match the schema
    where can I get examples or tutorials regarding the concepts of schema
    Avra Sengupta
    @avrasengupta
    @debora-ito It seems to work now, with next token. Thanks for the help. Really appreciate it.