AWS Developer Tools Blog
Tag: react-native
Announcing the end of support for Node.js 14.x in the AWS SDK for JavaScript (v3)
This blog post is about AWS SDK for JavaScript (v3) announcing the end of support for Node.js 14.x, and not AWS Lambda, which is planning their Node.js 14.x deprecation (phase 1) on Nov 27, 2023. Starting May 1, 2024, the AWS SDK for JavaScript (v3) will no longer actively support Node.js 14.x, which reached end-of-life […]
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 […]
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 […]
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 […]
Modular AWS SDK for JavaScript is now generally available
We are happy to announce the General Availability (GA) of AWS SDK for JavaScript, version 3 (v3). This release follows the Release Candidate of the JavaScript SDK and has a modular architecture with a separate package for each service. It also includes many frequently requested features, such as a first-class TypeScript support and a new […]
AbortController in modular AWS SDK for JavaScript
As of December 15th, 2020, the AWS SDK for JavaScript, version 3 (v3) is generally available. On October 19th, 2020, we published the Release Candidate (RC) of the AWS SDK for JavaScript, version 3 (v3). In v3, we support AbortController interface which allows you to abort requests as and when desired. This blog post will cover […]
Pagination using Async Iterators in modular AWS SDK for JavaScript
As of December 15th, 2020, the AWS SDK for JavaScript, version 3 (v3) is generally available. On October 19th, 2020, we published the Release Candidate (RC) of the AWS SDK for JavaScript, version 3 (v3). In v3, we are using async generator functions in paginators. In this blog post, we will cover how you can paginate […]