ypaq / aws-elixir

AWS clients for Elixir

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AWS SDK for Elixir

Build Status

Features

  • Generated using the same JSON descriptions of AWS services used to build the AWS SDK for Go.
  • Supports AWS services that use json and rest-json protocols.

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.0.5"}]
    end
  • Run mix deps.get to 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 test

License

© 2015 Jamshed Kakar jkakar@kakar.ca. See LICENSE file for details.

About

AWS clients for Elixir

License:Other


Languages

Language:Elixir 100.0%