File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ class Tracer extends Utility implements TracerInterface {
253
253
* }
254
254
* ```
255
255
*
256
+ * @deprecated Use {@link captureAWSv3Client} instead.
256
257
* @param aws - AWS SDK v2 import
257
258
* @returns AWS - Instrumented AWS SDK
258
259
*/
@@ -281,7 +282,7 @@ class Tracer extends Utility implements TracerInterface {
281
282
* ...
282
283
* }
283
284
* ```
284
- *
285
+ * @deprecated Use { @link captureAWSv3Client} instead.
285
286
* @param service - AWS SDK v2 client
286
287
* @returns service - Instrumented AWS SDK v2 client
287
288
*/
Original file line number Diff line number Diff line change @@ -31,10 +31,16 @@ import {
31
31
import type { DiagnosticsChannel } from 'undici-types' ;
32
32
33
33
class ProviderService implements ProviderServiceInterface {
34
+ /**
35
+ * @deprecated
36
+ */
34
37
public captureAWS < T > ( awssdk : T ) : T {
35
38
return captureAWS ( awssdk ) ;
36
39
}
37
40
41
+ /**
42
+ * @deprecated
43
+ */
38
44
public captureAWSClient < T > ( service : T ) : T {
39
45
return captureAWSClient ( service ) ;
40
46
}
You can’t perform that action at this time.
0 commit comments