mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 23:10:29 +00:00
Add principalOrgId to APIGatewayEventRequestContext (#40241)
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
29b43a06a2
commit
2c10703d1a
@@ -108,6 +108,7 @@ strOrNull = apiGwEvtReqCtx.identity.cognitoAuthenticationProvider;
|
||||
strOrNull = apiGwEvtReqCtx.identity.cognitoAuthenticationType;
|
||||
strOrNull = apiGwEvtReqCtx.identity.cognitoIdentityId;
|
||||
strOrNull = apiGwEvtReqCtx.identity.cognitoIdentityPoolId;
|
||||
strOrNull = apiGwEvtReqCtx.identity.principalOrgId;
|
||||
str = apiGwEvtReqCtx.identity.sourceIp;
|
||||
strOrNull = apiGwEvtReqCtx.identity.user;
|
||||
strOrNull = apiGwEvtReqCtx.identity.userAgent;
|
||||
|
||||
Vendored
+2
@@ -31,6 +31,7 @@
|
||||
// Juan Carbonel <https://github.com/juancarbonel>
|
||||
// Peter McIntyre <https://github.com/pwmcintyre>
|
||||
// Alex Bolenok <https://github.com/alex-bolenok-centralreach>
|
||||
// Marian Zange <https://github.com/marianzange>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.3
|
||||
|
||||
@@ -56,6 +57,7 @@ export interface APIGatewayEventRequestContext {
|
||||
cognitoAuthenticationType: string | null;
|
||||
cognitoIdentityId: string | null;
|
||||
cognitoIdentityPoolId: string | null;
|
||||
principalOrgId: string | null;
|
||||
sourceIp: string;
|
||||
user: string | null;
|
||||
userAgent: string | null;
|
||||
|
||||
Reference in New Issue
Block a user