public abstract class LambdaWrapper<ResourceT,CallbackT> extends Object implements com.amazonaws.services.lambda.runtime.RequestStreamHandler
| Constructor and Description |
|---|
LambdaWrapper(CallbackAdapter<ResourceT> callbackAdapter,
CredentialsProvider platformCredentialsProvider,
CredentialsProvider providerCredentialsProvider,
CloudWatchLogPublisher providerEventsLogger,
LogPublisher platformEventsLogger,
MetricsPublisher platformMetricsPublisher,
MetricsPublisher providerMetricsPublisher,
CloudWatchScheduler scheduler,
software.amazon.cloudformation.resource.SchemaValidator validator,
Serializer serializer)
This .ctor provided for testing
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(InputStream inputStream,
OutputStream outputStream,
com.amazonaws.services.lambda.runtime.Context context) |
abstract ProgressEvent<ResourceT,CallbackT> |
invokeHandler(AmazonWebServicesClientProxy proxy,
ResourceHandlerRequest<ResourceT> request,
Action action,
CallbackT callbackContext)
Implemented by the handler package as the key entry point.
|
public LambdaWrapper(CallbackAdapter<ResourceT> callbackAdapter, CredentialsProvider platformCredentialsProvider, CredentialsProvider providerCredentialsProvider, CloudWatchLogPublisher providerEventsLogger, LogPublisher platformEventsLogger, MetricsPublisher platformMetricsPublisher, MetricsPublisher providerMetricsPublisher, CloudWatchScheduler scheduler, software.amazon.cloudformation.resource.SchemaValidator validator, Serializer serializer)
public void handleRequest(InputStream inputStream, OutputStream outputStream, com.amazonaws.services.lambda.runtime.Context context) throws IOException, TerminalException
handleRequest in interface com.amazonaws.services.lambda.runtime.RequestStreamHandlerIOExceptionTerminalExceptionpublic abstract ProgressEvent<ResourceT,CallbackT> invokeHandler(AmazonWebServicesClientProxy proxy, ResourceHandlerRequest<ResourceT> request, Action action, CallbackT callbackContext) throws Exception
ExceptionCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.