File tree Expand file tree Collapse file tree 5 files changed +65
-1
lines changed
src/main/java/com/amazonaws/services/lambda/runtime Expand file tree Collapse file tree 5 files changed +65
-1
lines changed Original file line number Diff line number Diff line change 33
44 <groupId >com.amazonaws</groupId >
55 <artifactId >aws-lambda-java-core</artifactId >
6- <version >1.0 .0</version >
6+ <version >1.1 .0</version >
77 <packaging >jar</packaging >
88
99 <name >AWS Lambda Java Core Library</name >
4545 <groupId >org.apache.maven.plugins</groupId >
4646 <artifactId >maven-javadoc-plugin</artifactId >
4747 <version >2.9.1</version >
48+ <configuration >
49+ <additionalparam >-Xdoclint:none</additionalparam >
50+ </configuration >
4851 <executions >
4952 <execution >
5053 <id >attach-javadocs</id >
7881 <groupId >org.apache.maven.plugins</groupId >
7982 <artifactId >maven-javadoc-plugin</artifactId >
8083 <version >2.9.1</version >
84+ <configuration >
85+ <additionalparam >-Xdoclint:none</additionalparam >
86+ </configuration >
8187 <executions >
8288 <execution >
8389 <id >attach-javadocs</id >
Original file line number Diff line number Diff line change 88 */
99public interface Client {
1010
11+ /**
12+ * Gets the application's installation id
13+ */
14+ public String getInstallationId ();
15+
1116 /**
1217 * Gets the application's title
1318 *
Original file line number Diff line number Diff line change @@ -57,6 +57,18 @@ public interface Context {
5757 */
5858 public String getFunctionName ();
5959
60+ /**
61+ * Gets the version of the function being executed.
62+ *
63+ */
64+ public String getFunctionVersion ();
65+
66+ /**
67+ * Gets the function Arn of the resource being invoked.
68+ *
69+ */
70+ public String getInvokedFunctionArn ();
71+
6072 /**
6173 * Gets information about the Amazon Cognito identity provider when invoked
6274 * through the AWS Mobile SDK. It can be null
Original file line number Diff line number Diff line change 1+ /* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
2+
3+ package com .amazonaws .services .lambda .runtime ;
4+
5+ public final class LambdaRuntime {
6+ private LambdaRuntime () {}
7+
8+ private static volatile LambdaLogger logger = new LambdaLogger () {
9+ public void log (String string ) {
10+ System .out .print (string );
11+ }
12+ };
13+
14+ /**
15+ * Returns the global lambda logger instance
16+ *
17+ */
18+ public static LambdaLogger getLogger () {
19+ return logger ;
20+ }
21+ }
Original file line number Diff line number Diff line change 1+ /* Copyright 2015 Amazon.com, Inc. or its affiliates. All Rights Reserved. */
2+
3+ package com .amazonaws .services .lambda .runtime ;
4+
5+ /**
6+ * This class is used internally by Lambda Runtime.
7+ */
8+ public final class LambdaRuntimeInternal {
9+ private LambdaRuntimeInternal () {}
10+
11+ private static boolean useLog4jAppender ;
12+
13+ public static void setUseLog4jAppender (boolean useLog4j ) {
14+ useLog4jAppender = useLog4j ;
15+ }
16+
17+ public static boolean getUseLog4jAppender () {
18+ return useLog4jAppender ;
19+ }
20+ }
You can’t perform that action at this time.
0 commit comments