George Fu

Results 216 comments of George Fu

This feature request would not help with those errors. In https://github.com/aws/aws-sdk-js-v3/releases/tag/v3.911.0, DOMParser was removed from module level code so it will no longer try to initialize until you use an...

That is not what is happening. In this format, for `\\"`, or in JS `\\\\"`, only the backslash before the double quote is an escape instruction for the receiving side....

`"\"` becomes `"\"\\""` in this serialization, which is ``` " - start quote wrapper \" - escaped quote \ - lone backslash \" - another escaped quote " - end...

I was able to reproduce the issue. I'm not sure why the Bedrock service is citing web for the supplied text. That may be a question for the service team...

The fix is published to https://www.npmjs.com/package/@smithy/util-waiter/v/4.2.4 you can bring in this version by running `npm up @smithy/util-waiter` or otherwise updating your lockfile.

Isn't this equivalent to making an async function? ```ts const credentialProvider = async () => ({ accessKeyId: 'akid', secretAccessKey: 'secret', sessionToken: 'session', }); ```

```ts | InstanceType; ``` can be removed from the union, though it will be a "breaking" fix

I made an example of how to use jest and babel config to avoid the error: https://github.com/kuhe/jest-and-aws-sdk. I tested making real requests, partial mocking, and module mocking with the AWS...

`Error: getaddrinfo ENOTFOUND` indicates a connection issue and the cause cannot be differentiated from the client perspective as to whether there is a DNS outage caused by the service or...

Custom endpoints can be configured in the SDK, but not DNS. Not everything outside the view of the client is a service exception. The inability to connect, although in this...