You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -99,6 +99,14 @@ Convenience method to get the current request ID.
99
99
const requestId =InvokeStore.getRequestId(); // Returns '-' if outside context
100
100
```
101
101
102
+
### InvokeStore.getTenantId()
103
+
104
+
Convenience method to get the tenant ID.
105
+
106
+
```typescript
107
+
const requestId =InvokeStore.getTenantId();
108
+
```
109
+
102
110
### InvokeStore.getXRayTraceId()
103
111
104
112
Convenience method to get the current [X-Ray trace ID](https://docs.aws.amazon.com/xray/latest/devguide/xray-concepts.html#xray-concepts-traces). This ID is used for distributed tracing across AWS services.
0 commit comments