Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

AWS SDK for Go Documentation

The AWS SDK for Go provides APIs and utilities that developers can use to quickly integrate Go applications with AWS services like Amazon S3 and Amazon EC2.

Version 2 (Latest)

  1. Introduces the AWS SDK for Go (v2) and provides code examples that demonstrate how to use the SDK.
  2. Describes all of the API operations for the SDK and provides sample requests for the supported web services protocols.
    • Describes how to migrate from version 1 to 2 of the SDK.
    • A collection of code examples that show you how to use AWS with AWS SDK for Go (v2). It is organized by service so you can find the examples you need.

    Version 1

    1. Introduces the AWS SDK for Go (v1) and provides code examples that demonstrate how to use the SDK.
    2. Describes all of the API operations for the AWS SDK for Go (v1) and provides sample requests for the supported web services protocols.

    Additional resources

    1. Contains code examples and other types of examples to help accelerate your development of applications that work with AWS services. The examples show how to perform specific tasks for AWS services using various programming languages and supported technologies.
    PrivacySite termsCookie preferences
    © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.