AWS Developer Tools Blog
Tag: go
Announcing end-of-support for AWS SDK for Go (v1) effective July 31, 2025
In alignment with our SDKs and Tools Maintenance Policy, AWS SDK for Go (v1) will enter maintenance mode on July 31, 2024 and reach end-of-support on July 31, 2025. Existing applications that use AWS SDK for Go (v1) will continue to function as intended, unless there is a fundamental change to how an AWS service […]
AWS SDK for Go 2.0 – Generated Marshalers
The AWS SDK for Go 2.0 has released generated marshalers for the restjson and restxml protocols. Generated marshalers will help with the performance and customer issues the SDK had been receiving. To better understand what was causing the performance hit, we used Go’s benchmark tooling to help us determine the main bottleneck—reflection. The reflection package […]
Introducing Amazon DynamoDB Expression Builder in the AWS SDK for Go
This post was authored by Hajime Hayano. The v1.11.0 release of the AWS SDK for Go adds a new expression package that enables you to create Amazon DynamoDB Expressions using statically typed builders. The expression package abstracts away the low-level detail of using DynamoDB Expressions and simplifies the process of using DynamoDB Expressions in DynamoDB […]
AWS SDK for Go – Batch Operations with Amazon S3
The v1.9.44 release of the AWS SDK for Go adds support for batched operations in the s3manager package. This enables you to easily upload, download, and delete Amazon S3 objects. The feature uses the iterator, also known as scanner pattern, to enable users to extend the functionality of batching. This blog post shows how to […]
Using Go 1.8’s Plugin for Credentials with the AWS SDK for Go
The v1.10.0 release of the AWS SDK for Go adds a new way to configure the SDK to retrieve AWS credentials. With this release, you can configure the SDK to retrieve AWS credentials from a Go plugin that is dynamically loaded during your application’s runtime. In this post, we explain how you can build a […]
Context Pattern added to the AWS SDK for Go
The AWS SDK for Go v1.8.0 release adds support for the API operation request functional options, and the Context pattern. Both of these features were high demand requests from our users. Request options allow you to easily configure and augment how the SDK makes API operation requests to AWS services. The SDK’s support for the Context pattern […]
Assume AWS IAM Roles with MFA Using the AWS SDK for Go
AWS SDK for Go v1.7.0 added the feature allowing your code to assume AWS Identity and Access Management (IAM) roles with Multi Factor Authentication (MFA). This feature allows your applications to easily support users assuming IAM roles with MFA token codes with minimal setup and configuration. IAM roles enable you to manage granular permissions for a specific role or task, instead of applying those […]
Using the AWS SDK for Go Encryption Client
Overview AWS SDK for Go released the encryption client last year, and some of our customers have asked us how to use it. We’re very excited to show you some examples in this blog post. Before we get into the examples, let’s look at what client-side encryption is and why you might want to use […]
AWS SDK for Go Adds Error Code Constants
The AWS SDK for Go v1.6.19 release adds generated constants for all modeled service response error codes. These constants improve discoverability of the error codes that a service can return, and reduce the chance of typos that can cause errors to be handled incorrectly. You can find the new error code constants within each of the SDK’s service client […]
AWS SDK for Go Update Needed for Go 1.8
The AWS SDK for Go is updated for Go 1.8. This update fixes an issue in which some API operations failed with a connection reset by peer error or service error. This failure prevented API operation requests from being made. If you’re using Go 1.8 with a version of the SDK that’s earlier than v1.6.3, you need to update the SDK to at […]