AWS Developer Tools Blog
Tag: aws-sdk
Tips & Tricks: Delaying AWS Service configuration when using .NET Dependency Injection
Tips & Tricks: Delaying AWS Service configuration when using .NET Dependency Injection The AWSSDK.Extensions.NETCore.Setup package provides extensions for enabling AWS Service Client creation to work with native .NET Dependency Injection. Bindings for one or more services can be registered via the included AddAWSService<TService> method and a shared configuration can be added and customized via the […]
Error Handling in Modular AWS SDK for JavaScript (v3)
In the version 3.53.0 of the modular AWS SDK for JavaScript (v3), we introduced concrete classes for AWS service exceptions which support asserting service exceptions with instanceof operator. In this post, we cover how to use it and how it improves the error handling experience. Why did we do it? Previously, the AWS SDK for […]
How we halved the publish size of modular AWS SDK for JavaScript clients
On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, the modular packages reduce the bundle size of your application by ~75% as compared to that in AWS SDK for JavaScript, version 2 (v2). However, v3 had a large publish/install size for each modular package. In […]
Announcing new AWS SDK for Swift alpha release
We’re excited to announce the alpha release of the new AWS SDK for Swift. Since 2010, AWS Mobile has provided customers with an iOS SDK, written in Objective C. While this SDK has served the iOS community for over a decade, the Swift community has grown in size and expanded to other platforms such as […]
Announcing the end of support for Node.js 10.x in the AWS SDK for JavaScript (v3)
Starting January 1, 2022, AWS SDK For JavaScript (v3) will no longer support Node.js 10.x which was EOL on April 30, 2021. We encourage you to upgrade to Node.js 12.x or later. We recommend Node.js 14.x which was released on April 21, 2020 and became active LTS on October 27, 2020. Motivation As Node.js 10.x version […]
Mocking modular AWS SDK for JavaScript (v3) in Unit Tests
The AWS SDK for Javascript team would like to highlight the open-source community and it’s contributions. Today we welcome a guest blog written by Maciej Radzikowski on aws-sdk-client-mock, a library that allows easy mocking of AWS SDK for JavaScript (v3). On December 15th, 2020, AWS announced the general availability of the AWS SDK for JavaScript, version 3 […]
Waiters in modular AWS SDK for JavaScript
On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, the waiters are modular and not part of the client class. In this blog post, we cover the differences between waiters in v2 and v3, and how to use them. Background Waiters make it easier […]
Announcing the end of support for Node.js <10.x in the AWS SDK for JavaScript (v2)
Starting November 1 2021, the AWS SDK For JavaScript (v2) will no longer support the following end of life (EOL) Node.js runtime versions: Node.js 0.10 – EOL on 2016-10-31 Node.js 0.12 – EOL on 2016-12-31 Node.js 4.x – EOL on 2018-04-30 Node.js 6.x – EOL on 2019-04-30 Node.js 8.x – EOL on 2019-12-31 We encourage you […]
Generate a presigned URL in modular AWS SDK for JavaScript
On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). This blog shows you how to generate a presigned URL for an Amazon S3 bucket using the modular AWS SDK for JavaScript. Motivation A presigned URL gives you access to the object identified in the URL, provided […]
HTTP keep-alive is on by default in modular AWS SDK for JavaScript
On December 15th, 2020, we announced the general availability of the AWS SDK for JavaScript, version 3 (v3). In v3, we keep the Node.js HTTP connections alive by default. This blog post explains how it’s done. It also describes the benefits of keeping the sockets around, so they can be used for future requests without […]