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.
clientName
commandName
HandlerExecutionContext
1 parent aa52d8d commit fbfeebeCopy full SHA for fbfeebe
.changeset/calm-cows-fix.md
@@ -0,0 +1,5 @@
1
+---
2
+"@smithy/types": patch
3
4
+
5
+Add `clientName` and `commandName` to `HandlerExecutionContext`
packages/types/src/middleware.ts
@@ -499,6 +499,16 @@ export interface HandlerExecutionContext {
499
*/
500
logger?: Logger;
501
502
+ /**
503
+ * Name of the service the operation is being sent to.
504
+ */
505
+ clientName?: string;
506
507
508
+ * Name of the operation being executed.
509
510
+ commandName?: string;
511
512
/**
513
* Additional user agent that inferred by middleware. It can be used to save
514
* the internal user agent sections without overriding the `customUserAgent`
0 commit comments