| Package | Description |
|---|---|
| software.amazon.cloudformation.proxy |
This package provide facilities to make it easy to work against AWS APIs that
are eventually consistent for applying resource state.
|
| Modifier and Type | Interface and Description |
|---|---|
static interface |
CallChain.Callback<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext,ReturnT>
All service calls made will use the same call back interface for handling
both exceptions as well as actual response received from the call.
|
static interface |
CallChain.Caller<RequestT,ClientT,ModelT,CallbackT extends StdCallbackContext>
This Encapsulates the actual Call to the service that is being made via
caller.
|
static interface |
CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>
One the call sequence has completed successfully, this is called to provide
the progress event.
|
static interface |
CallChain.Exceptional<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>
This provide the handler with the option to provide an explicit exception
handler that would have service exceptions that was received.
|
static interface |
CallChain.ExceptionPropagate<RequestT,E extends Exception,ClientT,ModelT,CallbackT extends StdCallbackContext,ReturnT>
When implementing this interface, developers can either propagate the
exception as is.
|
static interface |
CallChain.Initiator<ClientT,ModelT,CallbackT extends StdCallbackContext>
Provides an API initiator interface that works for all API calls that need
conversion, retry-backoff strategy, common exception handling and more
against desired state of the resource and callback context.
|
static interface |
CallChain.RequestMaker<ClientT,ModelT,CallbackT extends StdCallbackContext>
This performs the translate step between the ModelT properties and what is
needed for making the service call.
|
static interface |
CallChain.Stabilizer<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>
This provides an optional stabilization function to be incorporate before we
are done with the actual web service request.
|
interface |
CallGraphNameGenerator<ModelT,RequestT,ClientT,CallbackT extends StdCallbackContext> |
| Modifier and Type | Method and Description |
|---|---|
<RequestT,ClientT,ModelT,CallbackT extends StdCallbackContext> |
AmazonWebServicesClientProxy.defaultHandler(RequestT request,
Exception e,
ClientT client,
ModelT model,
CallbackT context) |
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
CallChain.initiate(String callGraph,
ProxyClient<ClientT> client,
ModelT model,
CallbackT cxt)
Each service call must be first initiated.
|
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
AmazonWebServicesClientProxy.initiate(String callGraph,
ProxyClient<ClientT> client,
ModelT model,
CallbackT cxt) |
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
CallChain.newInitiator(ProxyClient<ClientT> client,
ModelT model,
CallbackT context)
factory method can created an
CallChain.Initiator |
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
AmazonWebServicesClientProxy.newInitiator(ProxyClient<ClientT> client,
ModelT model,
CallbackT context) |
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
AmazonWebServicesClientProxy.newInitiator(Supplier<ClientT> client,
ModelT model,
CallbackT context) |
<NewCallbackT extends StdCallbackContext> |
CallChain.Initiator.rebindCallback(NewCallbackT callback)
Can rebind a new callback context for a call chain while retaining the model
and client
|
Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.