by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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 N. Ito
    @debora-ito
    @ayusmand we'll look into it. Any reason why there's two PRs for the same change?
    Debora N. 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 N. Ito
    @debora-ito
    @DamienOReilly yes, V2 does support it
    Debora N. 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 N. 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.
    @justyy
    @DoctorLai
    Hi, I am trying to find sample code to monitor the TRANSFER_COMPLETED_EVENT in the s3client.getObject(), does somebody happen to know it? thanks.
    POJO
    @vivektikoo
    Have two questions to ask 1) Can I use sdk version 2 in the new module. I already have sdk version 1 being used in other module 2) while creating sub account under a Org What is the region and can I change it?
    Debora N. Ito
    @debora-ito
    @vivektikoo 1) yes, Java sdk v1 and v2 can be used side by side, for more details see: https://docs.aws.amazon.com/sdk-for-java/v2/migration-guide/side-by-side.html
    2) I could not find any region being asked in AWS Organizations, is this what you mean by Org?
    POJO
    @vivektikoo
    I am using sdk v2 and http core version 4.3.3 I am running into this problem aws/aws-sdk-java-v2#652. Is there a workaround I cant change http core version
    swapnil
    @swapnilkashid92_twitter
    I am creating glue job creation using Java Sdk. It has only two required params Command and Glue version.
    But i need to create job with auto script generation. As we can do from console, we add data source, A proposed script generated by AWS Glue, Transform type, Data Target, schema n all. how to add these parameters to glue job using java sdk or even with aws glue api.
    thanks
    deepaknagadi
    @deepaknagadi
    Is this channel active ?
    Debora N. Ito
    @debora-ito
    @deepaknagadi I'm not familiar with Kafka or Spring Cloud Stream Application. Maybe someone in the room can help?
    biswajit
    @vionixt_twitter
    nisarg9099
    @nisarg9099
    I am getting following exception. I am using BasicAWSCredentials() and AWSHealthClient(). com.amazonaws.services.health.model.AWSHealthException: The security token included in the request is invalid. (Service: AWSHealth; Status Code: 400; Error Code: UnrecognizedClientException;
    Debora N. Ito
    @debora-ito
    @nisarg9099 UnrecognizedClientException: The security token included in the request is invalid usually means there is something wrong with your credentials, either accessKeyId or secretAccessKey (or both) is invalid
    Justin Reeves
    @justinallenreeves
    I was suprised to see without injecting any of my AWS credentials requests for presigned S3 urls succeeding when I started up my app locally and started testing. Is there a way to know which AWS account I'm talking to from the request or response?
    Justin Reeves
    @justinallenreeves
    :question:
    Debora N. Ito
    @debora-ito
    @justinallenreeves I'm not sure which API operation you are asking about, but try STS GetCallerIdentity - https://docs.aws.amazon.com/STS/latest/APIReference/API_GetCallerIdentity.html
    Manish Singh
    @msssingh0
    hey all! new here. I want to contribute a new feature in AWS DMS. But not sure with whom to discuss the feature before starting on it?
    Justin Reeves
    @justinallenreeves
    Using presigned urls now but I'm getting 403 access denied when testing a PUT with one and an image.
    I had my application, which has all the account information injected through terraform, send the generate request successfully.
    Also used terraform to create the bucket, which is private but allows all s3 actions for now and only has my iam userid as a principle.
    Debora N. Ito
    @debora-ito
    @msssingh0 you can post it on the AWS DMS Forum here or contact AWS Premium Support if you have a support plan
    Debora N. Ito
    @debora-ito
    @justinallenreeves make sure you are generating the presigned url with the credential that has access to the S3 bucket
    Debora N. Ito
    @debora-ito
    @/all hey everyone, we are happy to announce the release of the DynamoDB Enhanced Client for the AWS SDK for Java 2.0. Read the blog post for more details: https://aws.amazon.com/blogs/developer/introducing-enhanced-dynamodb-client-in-the-aws-sdk-for-java-v2/
    Justin Reeves
    @justinallenreeves
    @debora-ito got it eventually. It was role related. I hadn't created the role correctly for writing to the bucket.
    ChandraSekharBk
    @ChandraSekharBk
    hi, need assistance related to AWS S3 service performance issue
    please check aws/aws-sdk-java#2302
    ChandraSekharBk
    @ChandraSekharBk
    any suggestion on this issue aws/aws-sdk-java#2302 will be greatly helpful
    AlexisCothenet
    @AlexisCothenet
    Hello here. Do you know which values should be taken for the header Priority in order to send an email by smtp with high priority ? Cannot find any documentation about it. Thanks
    حراج الزلفي
    @thakkardipa1_twitter
    Hello - I am very new to using was and java sdk - just trying things out - is this correct forum to ask I am stuck here questions ? - Is there another forum for such discussions ? ((Service: AWSKMS; Status Code: 400; Error Code: NotFoundException; Request ID: 007d6f7d-9a98-4ef9-8d8d-241d821b82bf))
    1 reply
    Grzegorz Olędzki
    @grzegon_twitter
    Hi. I have never contributed to aws-sdk-java before. Yet I found what seems a performance bug in aws-java-sdk-s3. What's the expected scrutiny when it comes to submitting the pull request?
    e.g. a unit test for the change meethod? JMH benchmark showing the improvement?
    2 replies
    POJO
    @vivektikoo
    I am deploying Cloudformation stack in the newly created sub account using cdk but I got error Stack [stack1] already exists (Service: CloudFormation, Status Code: 400, Request ID: 8f6972f4-9f26-42ea-a3d3-56ade88fc75b). I checked that there is no stack named stack1 in my account. why is this happening
    1 reply
    how can I triage this
    Can Request ID: 8f6972f4-9f26-42ea-a3d3-56ade88fc75b help what had happened at that time