From 670553a06cfb92dc17b794ca705c94c9feca6421 Mon Sep 17 00:00:00 2001 From: George Fu Date: Thu, 1 Aug 2024 12:56:26 -0400 Subject: [PATCH] chore(id-auth-sra): set command instance ref on smithy context (#1357) --- .changeset/hip-cycles-buy.md | 5 +++++ packages/smithy-client/src/command.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/hip-cycles-buy.md diff --git a/.changeset/hip-cycles-buy.md b/.changeset/hip-cycles-buy.md new file mode 100644 index 00000000000..d91f14b6b00 --- /dev/null +++ b/.changeset/hip-cycles-buy.md @@ -0,0 +1,5 @@ +--- +"@smithy/smithy-client": patch +--- + +add command instance ref to smithy context diff --git a/packages/smithy-client/src/command.ts b/packages/smithy-client/src/command.ts index 290972b30c2..b100c8233e1 100644 --- a/packages/smithy-client/src/command.ts +++ b/packages/smithy-client/src/command.ts @@ -82,6 +82,7 @@ export abstract class Command< inputFilterSensitiveLog, outputFilterSensitiveLog, [SMITHY_CONTEXT_KEY]: { + commandInstance: this, ...smithyContext, }, ...additionalContext,