GithubHelp home page GithubHelp logo

rjnienaber / amazonite Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 370 KB

An unofficial SDK supporting popular AWS APIs.

License: Apache License 2.0

Shell 0.04% Crystal 99.47% Jinja 0.48%
aws aws-crystal-sdk aws-sdk crystal

amazonite's People

Contributors

rjnienaber avatar

Watchers

 avatar  avatar

amazonite's Issues

Validate input before client request

The properties of inputs sometimes specify constraints for the values that are being assigned. For example, a DynamoDB TableName property specifies a min/max length and a regex pattern that should be followed.

These constraints should be turned into validations that:

  • Can be called by users on the input object
  • Are called by the client before sending the request by default
  • Can be turned off on the client before the request is sent

Make timeout settings configurable

The http timeouts used by Amazonite are current the default for the HTTP::Client library (which is the default for the socket library of the underlying platform?).

The following timeouts should be made configurable by users:

  • dns_timeout
  • connect_timeout
  • read_timeout
  • write_timeout

Each of their overloads should also be accepted i.e. Number and Time::Span

Add equality and hash functions

All input and output objects should override the == and hash(hasher) functions. Ostensibly this looks like it can be done fairly easily with the def_equals and def_hash macros. Failing that, they should be manually implemented.

Add cli for codegen

At the moment, code generation will parse all the APIs it knows how to parse and output the generated code to tmp. Some command line flags should be added that will allow a developer to:

  • Point to an aws-sdk-js dir that is in some arbitrary location, not just the one in the root of the repo.
  • Specify an arbitrary output directory
  • Add varying degrees of log statements that can be turned on or off
  • Filter APIs generated by type or name

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.