File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 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 {
253253 * }
254254 * ```
255255 *
256+ * @deprecated Use {@link captureAWSv3Client} instead.
256257 * @param aws - AWS SDK v2 import
257258 * @returns AWS - Instrumented AWS SDK
258259 */
@@ -281,7 +282,7 @@ class Tracer extends Utility implements TracerInterface {
281282 * ...
282283 * }
283284 * ```
284- *
285+ * @deprecated Use { @link captureAWSv3Client} instead.
285286 * @param service - AWS SDK v2 client
286287 * @returns service - Instrumented AWS SDK v2 client
287288 */
Original file line number Diff line number Diff line change @@ -31,10 +31,16 @@ import {
3131import type { DiagnosticsChannel } from 'undici-types' ;
3232
3333class ProviderService implements ProviderServiceInterface {
34+ /**
35+ * @deprecated
36+ */
3437 public captureAWS < T > ( awssdk : T ) : T {
3538 return captureAWS ( awssdk ) ;
3639 }
3740
41+ /**
42+ * @deprecated
43+ */
3844 public captureAWSClient < T > ( service : T ) : T {
3945 return captureAWSClient ( service ) ;
4046 }
You can’t perform that action at this time.
0 commit comments