public abstract class AbstractDelegate extends Object
| Modifier and Type | Field and Description |
|---|---|
protected software.amazon.awssdk.auth.credentials.AwsCredentialsProvider |
credentialsProvider |
static String |
SECURITY_TOKEN_EXPIRED |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDelegate(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider) |
| Modifier and Type | Method and Description |
|---|---|
protected <T,R> R |
invoke(Function<T,R> function,
T param) |
protected <T> T |
invoke(Supplier<T> function) |
protected <T,R> CompletableFuture<R> |
invokeFuture(Function<T,CompletableFuture<R>> function,
T param) |
protected <T> CompletableFuture<T> |
invokeFuture(Supplier<CompletableFuture<T>> function) |
protected boolean |
refreshRoleCredentials(Throwable e)
The refreshed role credentials if the exception was caused by expired security token
|
public static final String SECURITY_TOKEN_EXPIRED
protected final software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider
protected AbstractDelegate(software.amazon.awssdk.auth.credentials.AwsCredentialsProvider credentialsProvider)
protected <T,R> CompletableFuture<R> invokeFuture(Function<T,CompletableFuture<R>> function, T param)
protected <T,R> R invoke(Function<T,R> function, T param)
protected <T> CompletableFuture<T> invokeFuture(Supplier<CompletableFuture<T>> function)
protected <T> T invoke(Supplier<T> function)
protected boolean refreshRoleCredentials(Throwable e)
e - the exceptionCopyright © 2025 MuleSoft, Inc.. All rights reserved.