public class AmazonWebServicesClientProxy extends Object implements CallChain
CallChain,
ProxyClientCallChain.Callback<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext,ReturnT>, CallChain.Caller<RequestT,ClientT,ModelT,CallbackT extends StdCallbackContext>, CallChain.Completed<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>, CallChain.Exceptional<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>, CallChain.RequestMaker<ClientT,ModelT,CallbackT extends StdCallbackContext>, CallChain.Stabilizer<RequestT,ResponseT,ClientT,ModelT,CallbackT extends StdCallbackContext>| Modifier and Type | Field and Description |
|---|---|
static int |
HTTP_STATUS_GONE |
static int |
HTTP_STATUS_NETWORK_AUTHN_REQUIRED |
| Constructor and Description |
|---|
AmazonWebServicesClientProxy(boolean inHandshakeMode,
LoggerProxy loggerProxy,
Credentials credentials,
Supplier<Long> remainingTimeToExecute) |
AmazonWebServicesClientProxy(LoggerProxy loggerProxy,
Credentials credentials,
Supplier<Long> remainingTimeToExecute) |
| Modifier and Type | Method and Description |
|---|---|
<RequestT,ClientT,ModelT,CallbackT extends StdCallbackContext> |
defaultHandler(RequestT request,
Exception e,
ClientT client,
ModelT model,
CallbackT context) |
long |
getRemainingTimeInMillis() |
<ClientT,ModelT,CallbackT extends StdCallbackContext> |
initiate(String callGraph,
ProxyClient<ClientT> client,
ModelT model,
CallbackT cxt)
Each service call must be first initiated.
|
<RequestT extends com.amazonaws.AmazonWebServiceRequest,ResultT extends com.amazonaws.AmazonWebServiceResult<com.amazonaws.ResponseMetadata>> |
injectCredentialsAndInvoke(RequestT request,
Function<RequestT,ResultT> requestFunction) |
<RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse,IterableT extends software.amazon.awssdk.core.pagination.sync.SdkIterable<ResultT>> |
injectCredentialsAndInvokeIterableV2(RequestT request,
Function<RequestT,IterableT> requestFunction) |
<RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse> |
injectCredentialsAndInvokeV2(RequestT request,
Function<RequestT,ResultT> requestFunction) |
<RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse> |
injectCredentialsAndInvokeV2Async(RequestT request,
Function<RequestT,CompletableFuture<ResultT>> requestFunction) |
<ClientT> ProxyClient<ClientT> |
newProxy(Supplier<ClientT> client) |
public static final int HTTP_STATUS_NETWORK_AUTHN_REQUIRED
public static final int HTTP_STATUS_GONE
public AmazonWebServicesClientProxy(LoggerProxy loggerProxy, Credentials credentials, Supplier<Long> remainingTimeToExecute)
public AmazonWebServicesClientProxy(boolean inHandshakeMode,
LoggerProxy loggerProxy,
Credentials credentials,
Supplier<Long> remainingTimeToExecute)
public <ClientT> ProxyClient<ClientT> newProxy(@Nonnull Supplier<ClientT> client)
public <ClientT,ModelT,CallbackT extends StdCallbackContext> CallChain.RequestMaker<ClientT,ModelT,CallbackT> initiate(String callGraph, ProxyClient<ClientT> client, ModelT model, CallbackT cxt)
CallChainStdCallbackContext automated replay capabilities.public final long getRemainingTimeInMillis()
public <RequestT extends com.amazonaws.AmazonWebServiceRequest,ResultT extends com.amazonaws.AmazonWebServiceResult<com.amazonaws.ResponseMetadata>> ResultT injectCredentialsAndInvoke(RequestT request,
Function<RequestT,ResultT> requestFunction)
public <RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse> ResultT injectCredentialsAndInvokeV2(RequestT request,
Function<RequestT,ResultT> requestFunction)
public <RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse> CompletableFuture<ResultT> injectCredentialsAndInvokeV2Async(RequestT request, Function<RequestT,CompletableFuture<ResultT>> requestFunction)
public <RequestT extends software.amazon.awssdk.awscore.AwsRequest,ResultT extends software.amazon.awssdk.awscore.AwsResponse,IterableT extends software.amazon.awssdk.core.pagination.sync.SdkIterable<ResultT>> IterableT injectCredentialsAndInvokeIterableV2(RequestT request,
Function<RequestT,IterableT> requestFunction)
public <RequestT,ClientT,ModelT,CallbackT extends StdCallbackContext> ProgressEvent<ModelT,CallbackT> defaultHandler(RequestT request, Exception e, ClientT client, ModelT model, CallbackT context)
Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.