Package io.quarkus.amazon.lambda.runtime
Class AmazonLambdaApi
- java.lang.Object
-
- io.quarkus.amazon.lambda.runtime.AmazonLambdaApi
-
public class AmazonLambdaApi extends Object
Various constants and util methods used for communication with the AWS API.
-
-
Field Summary
Fields Modifier and Type Field Description static String
API_PATH_ERROR
static String
API_PATH_INIT_ERROR
static String
API_PATH_INVOCATION
static String
API_PATH_INVOCATION_NEXT
static String
API_PATH_RESPONSE
static String
API_PATH_RUNTIME
static String
API_PROTOCOL
static String
LAMBDA_RUNTIME_AWS_REQUEST_ID
static String
LAMBDA_RUNTIME_CLIENT_CONTEXT
static String
LAMBDA_RUNTIME_COGNITO_IDENTITY
static String
LAMBDA_RUNTIME_DEADLINE_MS
static String
LAMBDA_RUNTIME_INVOKED_FUNCTION_ARN
static String
LAMBDA_TRACE_HEADER_KEY
static String
QUARKUS_INTERNAL_AWS_LAMBDA_TEST_API
-
Constructor Summary
Constructors Constructor Description AmazonLambdaApi()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static String
functionMemorySize()
(package private) static String
functionName()
(package private) static String
functionVersion()
(package private) static URL
initError()
(package private) static URL
invocationError(String requestId)
(package private) static URL
invocationNext()
(package private) static URL
invocationResponse(String requestId)
(package private) static String
logGroupName()
(package private) static String
logStreamName()
-
-
-
Field Detail
-
LAMBDA_TRACE_HEADER_KEY
public static final String LAMBDA_TRACE_HEADER_KEY
- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_AWS_REQUEST_ID
public static final String LAMBDA_RUNTIME_AWS_REQUEST_ID
- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_INVOKED_FUNCTION_ARN
public static final String LAMBDA_RUNTIME_INVOKED_FUNCTION_ARN
- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_COGNITO_IDENTITY
public static final String LAMBDA_RUNTIME_COGNITO_IDENTITY
- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_CLIENT_CONTEXT
public static final String LAMBDA_RUNTIME_CLIENT_CONTEXT
- See Also:
- Constant Field Values
-
LAMBDA_RUNTIME_DEADLINE_MS
public static final String LAMBDA_RUNTIME_DEADLINE_MS
- See Also:
- Constant Field Values
-
QUARKUS_INTERNAL_AWS_LAMBDA_TEST_API
public static final String QUARKUS_INTERNAL_AWS_LAMBDA_TEST_API
- See Also:
- Constant Field Values
-
API_PROTOCOL
public static final String API_PROTOCOL
- See Also:
- Constant Field Values
-
API_PATH_RUNTIME
public static final String API_PATH_RUNTIME
- See Also:
- Constant Field Values
-
API_PATH_INVOCATION
public static final String API_PATH_INVOCATION
- See Also:
- Constant Field Values
-
API_PATH_INVOCATION_NEXT
public static final String API_PATH_INVOCATION_NEXT
- See Also:
- Constant Field Values
-
API_PATH_INIT_ERROR
public static final String API_PATH_INIT_ERROR
- See Also:
- Constant Field Values
-
API_PATH_ERROR
public static final String API_PATH_ERROR
- See Also:
- Constant Field Values
-
API_PATH_RESPONSE
public static final String API_PATH_RESPONSE
- See Also:
- Constant Field Values
-
-
Method Detail
-
invocationNext
static URL invocationNext() throws MalformedURLException
- Throws:
MalformedURLException
-
invocationError
static URL invocationError(String requestId) throws MalformedURLException
- Throws:
MalformedURLException
-
invocationResponse
static URL invocationResponse(String requestId) throws MalformedURLException
- Throws:
MalformedURLException
-
initError
static URL initError() throws MalformedURLException
- Throws:
MalformedURLException
-
logGroupName
static String logGroupName()
-
functionMemorySize
static String functionMemorySize()
-
logStreamName
static String logStreamName()
-
functionName
static String functionName()
-
functionVersion
static String functionVersion()
-
-