@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AWSEC2InstanceConnectAsyncClient extends AWSEC2InstanceConnectClient implements AWSEC2InstanceConnectAsync
AsyncHandler can be used to receive
 notification when an asynchronous operation completes.
 
AWS EC2 Connect Service is a service that enables system administrators to publish temporary SSH keys to their EC2 instances in order to establish connections to their instances without leaving a permanent authentication option.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description | 
|---|---|
| static AWSEC2InstanceConnectAsyncClientBuilder | asyncBuilder() | 
| ExecutorService | getExecutorService()Returns the executor service used by this client to execute async requests. | 
| Future<SendSSHPublicKeyResult> | sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request)
 Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds. | 
| Future<SendSSHPublicKeyResult> | sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request,
                     AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
 Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds. | 
| void | shutdown()Shuts down the client, releasing all managed resources. | 
builder, getCachedResponseMetadata, sendSSHPublicKeyaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, sendSSHPublicKeypublic static AWSEC2InstanceConnectAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request)
AWSEC2InstanceConnectAsyncPushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyAsync in interface AWSEC2InstanceConnectAsyncpublic Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request, AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
AWSEC2InstanceConnectAsyncPushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyAsync in interface AWSEC2InstanceConnectAsyncasyncHandler - 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 AWSEC2InstanceConnectshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.