Comments (6)
Ah so at the moment I have create_table/5 which takes a single binary representing a hash based primary key, and create_table/7 that takes a list of key definitions and supports ranges. I should probably have a create_table/5 that takes key definitions to support ranges as well. On it.
from ex_aws.
Oh actually I already have that implemented, and my typespec is out of date.
from ex_aws.
See https://github.com/CargoSense/ex_aws/blob/master/lib/ex_aws/dynamo/client.ex#L167
from ex_aws.
seems to be having issues encoding, both fail
#tbl = Dynamo.create_table(@t_name,[id: :hash,r: :range],[id: :string,r: :string], 1, 1)
tbl = Dynamo.create_table(@t_name,[id: :hash],[id: :string], 1, 1)
** (Poison.EncodeError) unable to encode value: {:id, :hash}
lib/poison/encoder.ex:213: Poison.Encoder.Any.encode/2
lib/poison/encoder.ex:169: Poison.Encoder.List.encode/2
lib/poison/encoder.ex:156: anonymous fn/4 in Poison.Encoder.Map.encode/2
(stdlib) lists.erl:1261: :lists.foldl/3
lib/poison/encoder.ex:157: Poison.Encoder.Map.encode/2
lib/poison.ex:41: Poison.encode!/2
lib/ex_aws/request.ex:16: ExAws.Request.request/5
lib/ex_aws/dynamo/request.ex:11: ExAws.Dynamo.Request.request/3
from ex_aws.
Are you on master? I haven't pushed a hex update yet.
from ex_aws.
oops, that was it, sry
from ex_aws.
Related Issues (20)
- Unhandled error case from do_request
- CaseClauseError: no case clause matching: {:error, "timeout"} in ExAws.Request.request_and_retry/7 HOT 1
- Configure SSL/TLS Options
- Default region is more harmful than helpful
- Make types in `ExAws.Request` public
- Return type mismatch for request!
- Support for assuming role via Web Identity Tokens HOT 1
- 301 errors do not include the http response, unlike other errors
- Does region config supports :instance_role? HOT 1
- Add support to run AWS OpenSearch Serverless service (aoss) HOT 1
- Config parser doesn't support quotes/spaces in `credential_process`
- Release Includes Temporary Files HOT 2
- SignatureDoesNotMatch. The request signature we calculated does not match the signature you provided. Check your key and signing method.
- 2.4.3 release? HOT 1
- httpotion retired HOT 3
- Add support for the af-south-1 for KMS. HOT 1
- High memory usage HOT 4
- Missing S3 support for eu-central-2 HOT 1
- Semver concerns HOT 3
- The authorization header is malformed; a non-empty Access Key (AKID) must be provided in the credential. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ex_aws.