@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AWSEC2InstanceConnectAsync extends AWSEC2InstanceConnect
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAWSEC2InstanceConnectAsync
instead.
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.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<SendSSHPublicKeyResult> |
sendSSHPublicKeyAsync(SendSSHPublicKeyRequest sendSSHPublicKeyRequest)
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
|
Future<SendSSHPublicKeyResult> |
sendSSHPublicKeyAsync(SendSSHPublicKeyRequest sendSSHPublicKeyRequest,
AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
|
getCachedResponseMetadata, sendSSHPublicKey, shutdown
Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest sendSSHPublicKeyRequest)
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyRequest
- Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest sendSSHPublicKeyRequest, AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyRequest
- 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.