public abstract class AbstractWrapper<ResourceT,CallbackT,ConfigurationT> extends Object
| Modifier and Type | Field and Description |
|---|---|
static software.amazon.awssdk.http.SdkHttpClient |
HTTP_CLIENT |
| Constructor and Description |
|---|
AbstractWrapper(CredentialsProvider providerCredentialsProvider,
LogPublisher platformEventsLogger,
CloudWatchLogPublisher providerEventsLogger,
MetricsPublisher providerMetricsPublisher,
software.amazon.cloudformation.resource.SchemaValidator validator,
Serializer serializer,
software.amazon.awssdk.http.SdkHttpClient httpClient) |
| Modifier and Type | Method and Description |
|---|---|
abstract ProgressEvent<ResourceT,CallbackT> |
invokeHandler(AmazonWebServicesClientProxy proxy,
ResourceHandlerRequest<ResourceT> request,
Action action,
CallbackT callbackContext,
ConfigurationT typeConfiguration)
Implemented by the handler package as the key entry point.
|
void |
processRequest(InputStream inputStream,
OutputStream outputStream) |
public AbstractWrapper(CredentialsProvider providerCredentialsProvider, LogPublisher platformEventsLogger, CloudWatchLogPublisher providerEventsLogger, MetricsPublisher providerMetricsPublisher, software.amazon.cloudformation.resource.SchemaValidator validator, Serializer serializer, software.amazon.awssdk.http.SdkHttpClient httpClient)
public void processRequest(InputStream inputStream, OutputStream outputStream) throws IOException, TerminalException
IOExceptionTerminalExceptionpublic abstract ProgressEvent<ResourceT,CallbackT> invokeHandler(AmazonWebServicesClientProxy proxy, ResourceHandlerRequest<ResourceT> request, Action action, CallbackT callbackContext, ConfigurationT typeConfiguration) throws Exception
proxy - Amazon webservice proxy to inject credentials correctly.request - incoming request for the callaction - which action to take Action.CREATE,
Action.DELETE, Action.READ Action.LIST or
Action.UPDATEcallbackContext - the callback context to handle reentrant callstypeConfiguration - the configuration for the type set by type consumerException - propagate any unexpected errorsCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.