Developer Guide

Welcome to the AWS SDK for Go. The AWS SDK for Go V2 provides APIs and utilities that developers can use to build Go applications that use AWS services, such as Amazon Elastic Compute Cloud (Amazon EC2) and Amazon Simple Storage Service (Amazon S3).

The SDK removes the complexity of coding directly against a web service interface. It hides a lot of the lower-level plumbing, such as authentication, request retries, and error handling.

The SDK also includes helpful utilities. For example, the Amazon S3 download and upload manager can automatically break up large objects into multiple parts and transfer them in parallel.

Use the AWS SDK for Go Developer Guide to help you install, configure, and use the SDK. The guide provides configuration information, sample code, and an introduction to the SDK utilities.

Maintenance and support for SDK major versions

For information about maintenance and support for SDK major versions and their underlying dependencies, see the following in the AWS SDKs and Tools Shared Configuration and Credentials Reference Guide:


Getting Started with the AWS SDK for Go V2

Configuring the AWS SDK for Go V2

Migrating to the AWS SDK for Go V2

How to migrate to the AWS SDK for Go V2 from AWS SDK for Go V1.

Using the AWS SDK for Go V2 with AWS Services

Construct service clients and make operation calls to send requests to AWS services.

Handling Errors in the AWS SDK for Go V2

Use the Error interface to handle errors from the AWS SDK for Go V2 or AWS service.

Using the AWS SDK for Go V2 Utilities

Use the AWS SDK for Go V2 utilities to help use AWS services.

Customizing the AWS SDK for Go V2 Client Requests

How to use stack step middleware to customize AWS SDK for Go V2 client requests.

Frequently Asked Questions

Answers to some commonly-asked questions about the AWS SDK for Go V2

Unit Testing with the AWS SDK for Go V2

How to mock the AWS SDK for Go V2 when unit testing your application.

Using AWS Cloud9 with the AWS SDK for Go V2

Security for this AWS Product or Service

Code Examples