public abstract class HookAbstractWrapper<TargetT,CallbackT,ConfigurationT> extends Object
| Modifier and Type | Field and Description |
|---|---|
static software.amazon.awssdk.http.SdkHttpClient |
HTTP_CLIENT |
| Constructor and Description |
|---|
HookAbstractWrapper(CredentialsProvider providerCredentialsProvider,
CloudWatchLogPublisher providerEventsLogger,
LogPublisher platformEventsLogger,
MetricsPublisher providerMetricsPublisher,
software.amazon.cloudformation.resource.SchemaValidator validator,
Serializer serializer,
software.amazon.awssdk.http.SdkHttpClient httpClient,
Cipher cipher) |
| Modifier and Type | Method and Description |
|---|---|
abstract ProgressEvent<TargetT,CallbackT> |
invokeHandler(AmazonWebServicesClientProxy proxy,
HookHandlerRequest request,
HookInvocationPoint invocationPoint,
CallbackT callbackContext,
ConfigurationT typeConfiguration)
Implemented by the handler package as the key entry point.
|
void |
processRequest(InputStream inputStream,
OutputStream outputStream) |
public HookAbstractWrapper(CredentialsProvider providerCredentialsProvider, CloudWatchLogPublisher providerEventsLogger, LogPublisher platformEventsLogger, MetricsPublisher providerMetricsPublisher, software.amazon.cloudformation.resource.SchemaValidator validator, Serializer serializer, software.amazon.awssdk.http.SdkHttpClient httpClient, Cipher cipher)
public void processRequest(InputStream inputStream, OutputStream outputStream) throws IOException, TerminalException
IOExceptionTerminalExceptionpublic abstract ProgressEvent<TargetT,CallbackT> invokeHandler(AmazonWebServicesClientProxy proxy, HookHandlerRequest request, HookInvocationPoint invocationPoint, CallbackT callbackContext, ConfigurationT typeConfiguration) throws Exception
proxy - Amazon webservice proxy to inject credentials correctly.request - incoming request for the callinvocationPoint - which invocation point the hook is invoked atcallbackContext - the callback context to handle reentrant callsException - propagate any unexpected errorsCopyright © 2019 Amazon Web Services, Inc. All Rights Reserved.