public interface Context
Modifier and Type | Method and Description |
---|---|
String |
getAwsRequestId()
Gets the AWS request ID associated with the request.
|
ClientContext |
getClientContext()
Gets information about the client application and device when invoked
through the AWS Mobile SDK.
|
String |
getFunctionName()
Gets the name of the function being executed.
|
String |
getFunctionVersion()
Gets the version of the function being executed.
|
CognitoIdentity |
getIdentity()
Gets information about the Amazon Cognito identity provider when invoked
through the AWS Mobile SDK.
|
String |
getInvokedFunctionArn()
Gets the function Arn of the resource being invoked.
|
LambdaLogger |
getLogger()
Gets a the lambda logger instance associated with the context object
|
String |
getLogGroupName()
Gets the CloudWatch log group that this container is configured to log
to.
|
String |
getLogStreamName()
Gets the CloudWatch log stream that this container is configured to log
to.
|
int |
getMemoryLimitInMB()
Gets the memory size configured for the Lambda function
|
int |
getRemainingTimeInMillis()
Gets the time remaining for this execution in milliseconds
|
String getAwsRequestId()
This is the same ID returned to the client that called invoke(). This ID is reused for retries on the same request.
String getLogGroupName()
The return value may be null:
String getLogStreamName()
The return value may be null:
String getFunctionName()
String getFunctionVersion()
String getInvokedFunctionArn()
CognitoIdentity getIdentity()
ClientContext getClientContext()
int getRemainingTimeInMillis()
int getMemoryLimitInMB()
LambdaLogger getLogger()
Copyright © 2015. All rights reserved.