Package io.quarkus.amazon.lambda.runtime
Class AmazonLambdaContext
- java.lang.Object
-
- io.quarkus.amazon.lambda.runtime.AmazonLambdaContext
-
- All Implemented Interfaces:
com.amazonaws.services.lambda.runtime.Context
public class AmazonLambdaContext extends Object implements com.amazonaws.services.lambda.runtime.Context
-
-
Constructor Summary
Constructors Constructor Description AmazonLambdaContext(HttpURLConnection request, com.fasterxml.jackson.databind.ObjectReader cognitoReader, com.fasterxml.jackson.databind.ObjectReader clientCtxReader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAwsRequestId()
com.amazonaws.services.lambda.runtime.ClientContext
getClientContext()
String
getFunctionName()
String
getFunctionVersion()
com.amazonaws.services.lambda.runtime.CognitoIdentity
getIdentity()
String
getInvokedFunctionArn()
com.amazonaws.services.lambda.runtime.LambdaLogger
getLogger()
String
getLogGroupName()
String
getLogStreamName()
int
getMemoryLimitInMB()
int
getRemainingTimeInMillis()
-
-
-
Constructor Detail
-
AmazonLambdaContext
public AmazonLambdaContext(HttpURLConnection request, com.fasterxml.jackson.databind.ObjectReader cognitoReader, com.fasterxml.jackson.databind.ObjectReader clientCtxReader) throws IOException
- Throws:
IOException
-
-
Method Detail
-
getAwsRequestId
public String getAwsRequestId()
- Specified by:
getAwsRequestId
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getLogGroupName
public String getLogGroupName()
- Specified by:
getLogGroupName
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getLogStreamName
public String getLogStreamName()
- Specified by:
getLogStreamName
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getFunctionName
public String getFunctionName()
- Specified by:
getFunctionName
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getFunctionVersion
public String getFunctionVersion()
- Specified by:
getFunctionVersion
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getInvokedFunctionArn
public String getInvokedFunctionArn()
- Specified by:
getInvokedFunctionArn
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getIdentity
public com.amazonaws.services.lambda.runtime.CognitoIdentity getIdentity()
- Specified by:
getIdentity
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getClientContext
public com.amazonaws.services.lambda.runtime.ClientContext getClientContext()
- Specified by:
getClientContext
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getRemainingTimeInMillis
public int getRemainingTimeInMillis()
- Specified by:
getRemainingTimeInMillis
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getMemoryLimitInMB
public int getMemoryLimitInMB()
- Specified by:
getMemoryLimitInMB
in interfacecom.amazonaws.services.lambda.runtime.Context
-
getLogger
public com.amazonaws.services.lambda.runtime.LambdaLogger getLogger()
- Specified by:
getLogger
in interfacecom.amazonaws.services.lambda.runtime.Context
-
-