-
I am looking in public abstract class APIGatewayHttpApiV2ProxyFunction to find a way to access ILambdaContext lambdaContext to extract the lambdaContext.AwsRequestId .Should we be overriding MarshallRequest? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If you need the request id inside the subclass of If you are looking to get ahold of the ILambdaContext inside the ASP.NET Core side of your function this code snippet shows you how to do it.
|
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
If you need the request id inside the subclass of
APIGatewayHttpApiV2ProxyFunction
then you would need to override thePostMarshallItemsFeatureFeature
method.If you are looking to get ahold of the ILambdaContext inside the ASP.NET Core side of your function this code snippet shows you how to do it.