AWS clients for Elixir
Features
- Generated by aws-codegen using the same JSON descriptions of AWS services used to build the AWS SDK for Go.
-
Supports AWS services that use
jsonandrest-jsonprotocols.
Example
Listing Amazon Kinesis streams
iex> client = %AWS.Client{access_key_id: "<access-key-id>",
secret_access_key: "<secret-access-key>",
region: "us-east-1",
endpoint: "amazonaws.com"}
iex> {:ok, result, resp} = AWS.Kinesis.list_streams(client, %{})
iex> IO.inspect result
%{"HasMoreStreams" => false, "StreamNames" => []}Usage
Add it as a Mix dependency in the project.
def deps do [{:aws, "~> 0.5.0"}] endRun
mix deps.getto install.
Development
Code is generated using the aws-codegen library, from the JSON descriptions of AWS services provided by Amazon.
Documentation
-
Run
MIX_ENV=docs mix docs -
Open
docs/index.html
Tests
mix testRelease
-
Make sure the
CHANGELOG.mdis up-to-date and and reflects the changes for the new version. -
Bump the version here in the
README.mdand inmix.exs. -
Run
git tag v$VERSIONto tag the version that was just published. -
Run
git push --tags origin masterto push tags to Github. -
Run
mix hex.publishto publish the new version.
License
© 2015-2016 Jamshed Kakar jkakar@kakar.ca. See LICENSE file for details.