Giter VIP home page Giter VIP logo

Comments (3)

umegaya avatar umegaya commented on June 19, 2024

@CriztianiX I think aws-sdk-js's data is something wrong. it contains timestampFormat metadata, and its unixTimestamp. surely it causes lua-aws to use unixTimestamp format. can you remove following line and see it goes well?
https://github.com/umegaya/lua-aws/blob/master/lua-aws/services/specs/swf-2012-01-25.min.json#L11

if problem does not solved, please give me your testcase.

from lua-aws.

CriztianiX avatar CriztianiX commented on June 19, 2024

My test case:

AWS = AWS.new({
    accessKeyId = config.aws.access_key,
    secretAccessKey = config.aws.access_secret,
    region = config.aws.region,
    endpoint = config.aws.endpoint,
    preferred_engines = {
      json = "cjson",
      fs = "lfs"
    }
})

local res,err = AWS.SWF:api():listDomains()

swf:v[2012-01-25]: Something wrong in the request nil {"__type":"com.amazon.coral.service#IncompleteSignatureException","message":
"Date must be in ISO-8601 'basic format'. Got '1442252505'. See http://en.wikipedia.org/wiki/ISO_8601"}

Removing https://github.com/umegaya/lua-aws/blob/master/lua-aws/services/specs/swf-2012-01-25.min.json#L11

works fine!

from lua-aws.

umegaya avatar umegaya commented on June 19, 2024

@CriztianiX that's good. I have applied this fix (and test also runs correctly)

from lua-aws.

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.