public class AmazonLambdaContext extends Object implements com.amazonaws.services.lambda.runtime.Context
| Constructor and Description |
|---|
AmazonLambdaContext(HttpURLConnection request,
com.fasterxml.jackson.databind.ObjectReader cognitoReader,
com.fasterxml.jackson.databind.ObjectReader clientCtxReader) |
| Modifier and Type | Method and 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() |
public AmazonLambdaContext(HttpURLConnection request, com.fasterxml.jackson.databind.ObjectReader cognitoReader, com.fasterxml.jackson.databind.ObjectReader clientCtxReader) throws IOException
IOExceptionpublic String getAwsRequestId()
getAwsRequestId in interface com.amazonaws.services.lambda.runtime.Contextpublic String getLogGroupName()
getLogGroupName in interface com.amazonaws.services.lambda.runtime.Contextpublic String getLogStreamName()
getLogStreamName in interface com.amazonaws.services.lambda.runtime.Contextpublic String getFunctionName()
getFunctionName in interface com.amazonaws.services.lambda.runtime.Contextpublic String getFunctionVersion()
getFunctionVersion in interface com.amazonaws.services.lambda.runtime.Contextpublic String getInvokedFunctionArn()
getInvokedFunctionArn in interface com.amazonaws.services.lambda.runtime.Contextpublic com.amazonaws.services.lambda.runtime.CognitoIdentity getIdentity()
getIdentity in interface com.amazonaws.services.lambda.runtime.Contextpublic com.amazonaws.services.lambda.runtime.ClientContext getClientContext()
getClientContext in interface com.amazonaws.services.lambda.runtime.Contextpublic int getRemainingTimeInMillis()
getRemainingTimeInMillis in interface com.amazonaws.services.lambda.runtime.Contextpublic int getMemoryLimitInMB()
getMemoryLimitInMB in interface com.amazonaws.services.lambda.runtime.Contextpublic com.amazonaws.services.lambda.runtime.LambdaLogger getLogger()
getLogger in interface com.amazonaws.services.lambda.runtime.ContextCopyright © 2020 JBoss by Red Hat. All rights reserved.