File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
src/Aws/Lambda/Runtime/APIGateway Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ data ApiGatewayRequestContext = ApiGatewayRequestContext
109109 apiGatewayRequestContextRequestId :: ! Text ,
110110 apiGatewayRequestContextDomainName :: ! Text ,
111111 apiGatewayRequestContextApiId :: ! Text ,
112- apiGatewayRequestContextIdentity :: ! ApiGatewayRequestContextIdentity
112+ apiGatewayRequestContextIdentity :: ! ApiGatewayRequestContextIdentity ,
113+ apiGatewayRequestContextAuthorizer :: ! Value
113114 }
114115 deriving (Show )
115116
@@ -130,6 +131,7 @@ instance FromJSON ApiGatewayRequestContext where
130131 <*> v .: " domainName"
131132 <*> v .: " apiId"
132133 <*> v .: " identity"
134+ <*> v .: " authorizer"
133135 parseJSON _ = fail " Expected ApiGatewayRequestContext to be an object."
134136
135137data ApiGatewayRequestContextIdentity = ApiGatewayRequestContextIdentity
You can’t perform that action at this time.
0 commit comments