https://github.com/mitchellh/goamz
Golang Amazon Library
https://github.com/mitchellh/goamz
Last synced: 2 months ago
JSON representation
Golang Amazon Library
- Host: GitHub
- URL: https://github.com/mitchellh/goamz
- Owner: mitchellh
- License: other
- Archived: true
- Created: 2013-05-10T20:26:17.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-12-08T16:53:59.000Z (about 9 years ago)
- Last Synced: 2025-05-10T17:41:34.567Z (10 months ago)
- Language: Go
- Size: 2.74 MB
- Stars: 673
- Watchers: 31
- Forks: 216
- Open Issues: 93
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
- awesome-go - goamz - Golang Amazon Library - ★ 677 (Third-party APIs)
- awesome-go-cn - goamz
- awesome-go - goamz - Popular fork of [goamz](https://launchpad.net/goamz) which adds some missing API calls to certain packages. (Third-party APIs / Advanced Console UIs)
- awesome-go-zh - goamz
- awesome-go-processed - goamz - Popular fork of [goamz](https://launchpad.net/goamz) which adds some missing API calls to certain packages.| (Third-party APIs / Advanced Console UIs)
- fucking-awesome-go - :octocat: goamz - Popular fork of [goamz](https://launchpad.net/goamz) which adds some missing API calls to certain packages. :star: 626 :fork_and_knife: 228 (Third-party APIs / Advanced Console UIs)
- awesome-go - goamz - Popular fork of [goamz](https://launchpad.net/goamz) which adds some missing API calls to certain packages. (<span id="第三方api-third-party-apis">第三方API Third-party APIs</span> / <span id="高级控制台用户界面-advanced-console-uis">高级控制台用户界面 Advanced Console UIs</span>)
README
# goamz - An Amazon Library for Go
Current API documentation: [](https://godoc.org/github.com/mitchellh/goamz)
This is a fork of [https://launchpad.net/goamz](https://launchpad.net/goamz)
that adds some missing API calls to certain packages.
This library is *incomplete*, but implements a large amount of the AWS API.
It is heavily used in projects such as
[Terraform](https://github.com/hashicorp/terraform) and
[Packer](https://github.com/mitchellh/packer).
If you find anything missing from this library,
please [file an issue](https://github.com/mitchellh/goamz).
## Example Usage
```go
package main
import (
"github.com/mitchellh/goamz/aws"
"github.com/mitchellh/goamz/s3"
"log"
"fmt"
)
func main() {
auth, err := aws.EnvAuth()
if err != nil {
log.Fatal(err)
}
client := s3.New(auth, aws.USEast)
resp, err := client.ListBuckets()
if err != nil {
log.Fatal(err)
}
log.Print(fmt.Sprintf("%T %+v", resp.Buckets[0], resp.Buckets[0]))
}
```