Giter VIP home page Giter VIP logo

Comments (5)

mcohen01 avatar mcohen01 commented on August 29, 2024
(create-stack :stack-name "my stack"
              :template-body "....some json....")

Does something like this not work?

from amazonica.

mcohen01 avatar mcohen01 commented on August 29, 2024

Can you be specific about what is unclear in the docs on the project's
main page?

On 4/7/14, John Chijioke [email protected] wrote:

Is there a standard way of determining amazonica api parameters?


Reply to this email directly or view it on GitHub:
#43 (comment)

from amazonica.

johnbendi avatar johnbendi commented on August 29, 2024

Why does amazonica apis not take maps like {:key "value"} instead of :key "value" pairs?

from amazonica.

johnbendi avatar johnbendi commented on August 29, 2024

If it's not yet clear why I'm asking this question then the benefit to this approach will be that the arguments to the apis will be modular. The arguments can be defined elsewhere and then passed to the apis as a whole just as the client request result beans intended. The return values should also be maps for easier handling.

from amazonica.

mcohen01 avatar mcohen01 commented on August 29, 2024

You can use either form - as key value pairs, or a map. For instance, this should work:

(list-stacks {:stack-status-filters ["DELETE_COMPLETE"]})

Return values are of types corresponding to the Java method call in the SDK. So if the Java method returns simply a java.util.List of things, you'll get a Clojure Seq or Vector. If the Java method returns a String, you'll get a string back. Typically though, the Java method returns some SDK object, and so you'll get a map back. All depends on the *Client method signature basically.

from amazonica.

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.