Giter Site home page Giter Site logo

Comments (7)

 avatar commented on June 7, 2024 2

Why not try submitting a pull request to update the docs?

from amazon-dynamodb-developer-guide.

 avatar commented on June 7, 2024 2

I don't see where you asked a question

from amazon-dynamodb-developer-guide.

pchrzasz avatar pchrzasz commented on June 7, 2024

Maybe because I still have not found any answer for my question?

from amazon-dynamodb-developer-guide.

santisra avatar santisra commented on June 7, 2024

@pchrzasz Hi thanks for your feedback. That code is part of a tutorial that states "In order to complete this tutorial, you must have a DAX cluster running in your default VPC. If you have not yet created a DAX cluster, see Creating a DAX Cluster for instructions. "

This section contains information about how to create a cluster using the CLI or the console. I'll add to the backlog to add an example using the API/update the code samples. Please let me know if this helps you out.
Thanks!

from amazon-dynamodb-developer-guide.

pchrzasz avatar pchrzasz commented on June 7, 2024

@santisra Thanks for your reply. I see that you are more helpful than @darrenhgc
But it still does not solve my problem because I already have an app using dynamodb. I found something like this:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DAX.client.modify-your-app.html
There is written "Modifying an Existing Application to Use DAX ". But this code is not working because of compilation error. API is outdated. For example:
ClientConfig daxConfig = new ClientConfig().withEndpoints("mydaxcluster.2cmrwl.clustercfg.dax.use1.cache.amazonaws.com:8111").withRegion("us-east-1"); AmazonDaxClient client = new ClusterDaxClient(daxConfig);
Method withEndpoints is not exsiting. ClusterDaxClient also.

I want to use DAX in exsiting application configuring it from app code, not using console. Do you have any working example? Even in API I have not found any example.

BR,
Paweł

from amazon-dynamodb-developer-guide.

asad-awadia avatar asad-awadia commented on June 7, 2024

@santisra The docs suggest that the Dax client can just be used as an AmazonDynamoDB client but the types are not valid anymore

val client: AmazonDynamoDB = daxClientBuilder.build()
    return DynamoDB(client)

Both these two lines are compile time errors

from amazon-dynamodb-developer-guide.

NicholasDunham avatar NicholasDunham commented on June 7, 2024

These code samples have been updated since this issue was opened, so I'm closing it. Feel free to reopen the issue if problems remain.

from amazon-dynamodb-developer-guide.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.