@@ -17,7 +17,7 @@ public interface Context {
17
17
* is reused for retries on the same request.
18
18
* </p>
19
19
*/
20
- public String getAwsRequestId ();
20
+ String getAwsRequestId ();
21
21
22
22
/**
23
23
* Gets the CloudWatch log group that this container is configured to log
@@ -27,13 +27,13 @@ public interface Context {
27
27
* <ul>
28
28
* <li>
29
29
* If the container is not configured to log to CloudWatch.</li>
30
- * <li>
30
+ * <li>
31
31
* If the role provided to the function does not have sufficient
32
32
* permissions.</li>
33
33
* </ul>
34
34
* </p>
35
35
*/
36
- public String getLogGroupName ();
36
+ String getLogGroupName ();
37
37
38
38
/**
39
39
* Gets the CloudWatch log stream that this container is configured to log
@@ -49,55 +49,55 @@ public interface Context {
49
49
* </ul>
50
50
* </p>
51
51
*/
52
- public String getLogStreamName ();
52
+ String getLogStreamName ();
53
53
54
54
/**
55
55
* Gets the name of the function being executed.
56
56
*
57
57
*/
58
- public String getFunctionName ();
58
+ String getFunctionName ();
59
59
60
60
/**
61
61
* Gets the version of the function being executed.
62
62
*
63
63
*/
64
- public String getFunctionVersion ();
64
+ String getFunctionVersion ();
65
65
66
66
/**
67
67
* Gets the function Arn of the resource being invoked.
68
68
*
69
69
*/
70
- public String getInvokedFunctionArn ();
70
+ String getInvokedFunctionArn ();
71
71
72
72
/**
73
73
* Gets information about the Amazon Cognito identity provider when invoked
74
74
* through the AWS Mobile SDK. It can be null
75
75
*
76
76
*/
77
- public CognitoIdentity getIdentity ();
77
+ CognitoIdentity getIdentity ();
78
78
79
79
/**
80
80
* Gets information about the client application and device when invoked
81
81
* through the AWS Mobile SDK. It can be null.
82
82
*
83
83
*/
84
- public ClientContext getClientContext ();
84
+ ClientContext getClientContext ();
85
85
86
86
/**
87
87
* Gets the time remaining for this execution in milliseconds
88
88
*/
89
- public int getRemainingTimeInMillis ();
89
+ int getRemainingTimeInMillis ();
90
90
91
91
/**
92
92
* Gets the memory size configured for the Lambda function
93
93
*
94
94
*/
95
- public int getMemoryLimitInMB ();
95
+ int getMemoryLimitInMB ();
96
96
97
97
/**
98
- * Gets a the lambda logger instance associated with the context object
98
+ * Gets the lambda logger instance associated with the context object
99
99
*
100
100
*/
101
- public LambdaLogger getLogger ();
101
+ LambdaLogger getLogger ();
102
102
103
103
}
0 commit comments