@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonEKSAuthAsyncClient extends AmazonEKSAuthClient implements AmazonEKSAuthAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
The Amazon EKS Auth API and the AssumeRoleForPodIdentity
action are only used by the EKS Pod Identity
Agent.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<AssumeRoleForPodIdentityResult> |
assumeRoleForPodIdentityAsync(AssumeRoleForPodIdentityRequest request)
The Amazon EKS Auth API and the
AssumeRoleForPodIdentity action are only used by the EKS Pod
Identity Agent. |
Future<AssumeRoleForPodIdentityResult> |
assumeRoleForPodIdentityAsync(AssumeRoleForPodIdentityRequest request,
AsyncHandler<AssumeRoleForPodIdentityRequest,AssumeRoleForPodIdentityResult> asyncHandler)
The Amazon EKS Auth API and the
AssumeRoleForPodIdentity action are only used by the EKS Pod
Identity Agent. |
static AmazonEKSAuthAsyncClientBuilder |
asyncBuilder() |
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
assumeRoleForPodIdentity, builder, getCachedResponseMetadata
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assumeRoleForPodIdentity, getCachedResponseMetadata
public static AmazonEKSAuthAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<AssumeRoleForPodIdentityResult> assumeRoleForPodIdentityAsync(AssumeRoleForPodIdentityRequest request)
AmazonEKSAuthAsync
The Amazon EKS Auth API and the AssumeRoleForPodIdentity
action are only used by the EKS Pod
Identity Agent.
We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.
assumeRoleForPodIdentityAsync
in interface AmazonEKSAuthAsync
public Future<AssumeRoleForPodIdentityResult> assumeRoleForPodIdentityAsync(AssumeRoleForPodIdentityRequest request, AsyncHandler<AssumeRoleForPodIdentityRequest,AssumeRoleForPodIdentityResult> asyncHandler)
AmazonEKSAuthAsync
The Amazon EKS Auth API and the AssumeRoleForPodIdentity
action are only used by the EKS Pod
Identity Agent.
We recommend that applications use the Amazon Web Services SDKs to connect to Amazon Web Services services; if credentials from an EKS Pod Identity association are available in the pod, the latest versions of the SDKs use them automatically.
assumeRoleForPodIdentityAsync
in interface AmazonEKSAuthAsync
asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.public void shutdown()
getExecutorService().shutdown()
followed by getExecutorService().awaitTermination()
prior to
calling this method.shutdown
in interface AmazonEKSAuth
shutdown
in class AmazonEKSAuthClient