We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 64d358e commit c3342bdCopy full SHA for c3342bd
plugins/node/opentelemetry-instrumentation-aws-sdk/test/bedrock-runtime.test.ts
@@ -43,6 +43,7 @@ import {
43
import { AwsCredentialIdentity } from '@aws-sdk/types';
44
import * as path from 'path';
45
import { Definition, back as nockBack } from 'nock';
46
+import { NodeHttpHandler } from '@smithy/node-http-handler';
47
48
import { ReadableSpan } from '@opentelemetry/sdk-trace-base';
49
import {
@@ -88,7 +89,11 @@ describe('Bedrock', () => {
88
89
};
90
}
91
- const client = new BedrockRuntimeClient({ region, credentials });
92
+ const client = new BedrockRuntimeClient({
93
+ region,
94
+ credentials,
95
+ requestHandler: new NodeHttpHandler(),
96
+ });
97
98
let nockDone: () => void;
99
beforeEach(async function () {
0 commit comments