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 StringAPI_PATH_ERRORstatic StringAPI_PATH_INIT_ERRORstatic StringAPI_PATH_INVOCATIONstatic StringAPI_PATH_INVOCATION_NEXTstatic StringAPI_PATH_RESPONSEstatic StringAPI_PATH_RUNTIMEstatic StringAPI_PROTOCOLstatic StringLAMBDA_RUNTIME_AWS_REQUEST_IDstatic StringLAMBDA_RUNTIME_CLIENT_CONTEXTstatic StringLAMBDA_RUNTIME_COGNITO_IDENTITYstatic StringLAMBDA_RUNTIME_DEADLINE_MSstatic StringLAMBDA_RUNTIME_INVOKED_FUNCTION_ARNstatic StringLAMBDA_TRACE_HEADER_KEYstatic StringQUARKUS_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 StringfunctionMemorySize()(package private) static StringfunctionName()(package private) static StringfunctionVersion()(package private) static URLinitError()(package private) static URLinvocationError(String requestId)(package private) static URLinvocationNext()(package private) static URLinvocationResponse(String requestId)(package private) static StringlogGroupName()(package private) static StringlogStreamName()
-
-
-
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()
-
-