{"id":13807824,"url":"https://github.com/rjnienaber/amazonite","last_synced_at":"2026-04-16T01:32:42.370Z","repository":{"id":61787164,"uuid":"544492732","full_name":"rjnienaber/amazonite","owner":"rjnienaber","description":"An unofficial SDK supporting popular AWS APIs.","archived":false,"fork":false,"pushed_at":"2023-02-21T09:03:35.000Z","size":370,"stargazers_count":1,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-18T14:07:19.299Z","etag":null,"topics":["aws","aws-crystal-sdk","aws-sdk","crystal"],"latest_commit_sha":null,"homepage":"","language":"Crystal","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rjnienaber.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-02T16:10:27.000Z","updated_at":"2024-11-25T16:23:58.000Z","dependencies_parsed_at":"2024-05-02T20:02:21.462Z","dependency_job_id":"2bdecc92-e4a5-4fb9-bbb3-f9b5f5b0e3c2","html_url":"https://github.com/rjnienaber/amazonite","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/rjnienaber/amazonite","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjnienaber%2Famazonite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjnienaber%2Famazonite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjnienaber%2Famazonite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjnienaber%2Famazonite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rjnienaber","download_url":"https://codeload.github.com/rjnienaber/amazonite/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rjnienaber%2Famazonite/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31867710,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T15:24:51.572Z","status":"ssl_error","status_checked_at":"2026-04-15T15:24:39.138Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["aws","aws-crystal-sdk","aws-sdk","crystal"],"created_at":"2024-08-04T01:01:30.828Z","updated_at":"2026-04-16T01:32:42.336Z","avatar_url":"https://github.com/rjnienaber.png","language":"Crystal","funding_links":[],"categories":["Third-party APIs"],"sub_categories":[],"readme":"# Amazonite AWS SDK\n![example workflow](https://github.com/rjnienaber/amazonite/actions/workflows/ci.yml/badge.svg)\n\nAmazonite is an unofficial AWS SDK for Crystal.\n\n## Usage\n\nHere's an example that creates a table in DynamoDB:\n\n```crystal\nrequire \"amazonite/dynamodb_v2\"\n\nprivate alias DB = Amazonite::DynamoDBV2\n\nmodel = DB::CreateTableInput.new(\n  [\n    DB::AttributeDefinition.new(\"Artist\", DB::ScalarAttributeType::S),\n    DB::AttributeDefinition.new(\"SongTitle\", DB::ScalarAttributeType::S)\n  ],\n  \"Music\",\n  [\n    DB::KeySchemaElement.new(\"Artist\", DB::KeyType::Hash),\n    DB::KeySchemaElement.new(\"SongTitle\", DB::KeyType::Range)\n  ],\n  provisioned_throughput: DB::ProvisionedThroughput.new(10, 5),\n)\n\nclient = DB::Client.new # read credentials from environment variables\nresponse = client.create_table(model)\n\nputs response.http.status_code # 200\nresult = response.result\nputs result.table_description.try \u0026.table_name # Music\nputs result.table_description.try \u0026.attribute_definitions.try \u0026.[0].attribute_name # Artist\n```\n\nOutput:\n```\n200\nMusic\nArtist\n```\n\n## Supported APIs\nAPI types that can be generated:\n* `json`\n\nAPI types that are in progress:\n* `rest-json`\n* `query`\n\n| Name          | Supported?      |Integration Tests  | Notes                                                                 |\n| ------------- | :-------------: | :---------------: |-------------                                                          |\n| DynamoDB      | ✅              |✅                 |                                                                       |\n| SSM           | ✅              |✅                 |                                                                       |\n| S3            |  🚫             | 🚫                | Consider using [awscr-s3](https://github.com/taylorfinnell/awscr-s3)  |\n\nFor example usage, please look at [the integration tests](integration). If you need an API that is not listed here,\nplease open an issue or pull request with the generated code.\n\n## Installation\n\n1. Add the dependency to your `shard.yml`:\n\n   ```yaml\n   dependencies:\n     amazonite:\n       github: rjnienaber/amazonite\n   ```\n\n2. Run `shards install`\n\n## Development\nOnce you've cloned the repo, have a look at the `scripts` directory for some scripts that help with development. Some of them use the excellent [watchexec](https://github.com/watchexec/watchexec) tool to watch for changes.\n\n* `./scripts/watch_specs.sh`\n  * watches for code changes and runs the specs\n* `./scripts/watch_codegen.sh`\n  * watches for code changes and regenerates the code for apis\n* `./scripts/watch_integration.cr`\n  * watches for code changes and executes integration tests\n\n## Contributing\n\n1. Fork it (\u003chttps://github.com/rjnienaber/amazonite/fork\u003e)\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n\n## Contributors\n\n- [Richard Nienaber](https://github.com/rjnienaber) - creator and maintainer\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjnienaber%2Famazonite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frjnienaber%2Famazonite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frjnienaber%2Famazonite/lists"}