AWS Developer Blog
Category: Go
V2 AWS SDK for Go adds Context to API operations
The v2 AWS SDK for Go developer preview made a breaking change in the release of v0.8.0. The v0.8.0 release added a new parameter, context.Context, to the SDK’s Send and Paginate Next methods. Context was added as a required parameter to the Send and Paginate Next methods to enable you to use the v2 SDK […]
Read MoreIntroducing support for Amazon S3 Select in the AWS SDK for Go
We’re excited to announce support for the Amazon Simple Storage Service (Amazon S3) SelectObjectContent API with EventStream in the AWS SDK for Go. Using Amazon S3 Select, you can query for a subset of data from an S3 object by using simple SQL expressions. Amazon S3 streams the responses as a series of events, instead […]
Read MoreAWS 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 […]
Read MoreAWS SDK for Go 2.0 Developer Preview
We’re pleased to announce the Developer Preview release of the AWS SDK for Go 2.0. Many aspects of the SDK have been refactored based on your feedback, with a strong focus on performance, consistency, discoverability, and ease of use. The Developer Preview is here for you to provide feedback, and influence the direction of the […]
Read MoreIntroducing 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 […]
Read MoreAWS 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 […]
Read MoreUsing 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 […]
Read MoreContext 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 […]
Read MoreAssume 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 […]
Read MoreUsing 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 […]
Read More