aws-sdk-js-automation on master
Updates SDK to v2.1198.0 (compare)
aws-sdk-js-automation on v2.1198.0
const config = { region: "xx-xxxx-x" };
const client = new CognitoIdentityClient(config);
const credentialsRequest = new GetCredentialsForIdentityCommand({
IdentityId: `${config.region}:xxxxxxxx-xxxx-4xxx-xxxx-xxxxxxxxxxxx`,
});
const credentialsResponse = await client.send(credentialsRequest);
@/all Please upgrade to Node.js >=10.x by 2021-10-31
The support for Node.js <10.x in the AWS SDK for JavaScript (v2) is going to end on 2021-11-01
its very weird because most of our web3 functions didn't work out at all in latest versions of nodejs, and the more stable is web3 the more it is unstable
Hello, Iam testing AWS Transcribe but can't get it working. I started with StartTranscriptionJob . This requires a string uri for Media, but I got a blob in Nodejs. Then I switched to StartStreamTranscription . But that requires an AudioStream.
Is there no API that allows you to send a blob and get the transcription?
Hello,
Using AWS SDK v3, I have an EC2Client
which needs to send request to 2 different regions.
Note it should not happen concurrently, it depends on another configuration which can be switched at runtime.
EC2ClientConfig
used when creating the client allows us to pass the region as a Provider<string>
(Provider<T>
being () => Promise<T>
)
So we configured the client with a Promise based on our configuration.
And that works, at least to resolve the endpoint and so on.
The issue is when signing the request, the signin region is always the first region the client "saw".
Do you know how to fixes this, without having 2 clients ?