@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSEC2InstanceConnectAsync extends AbstractAWSEC2InstanceConnect implements AWSEC2InstanceConnectAsync
AWSEC2InstanceConnectAsync. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler, which throws an
UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
Future<SendSerialConsoleSSHPublicKeyResult> |
sendSerialConsoleSSHPublicKeyAsync(SendSerialConsoleSSHPublicKeyRequest request)
Pushes an SSH public key to the specified EC2 instance.
|
Future<SendSerialConsoleSSHPublicKeyResult> |
sendSerialConsoleSSHPublicKeyAsync(SendSerialConsoleSSHPublicKeyRequest request,
AsyncHandler<SendSerialConsoleSSHPublicKeyRequest,SendSerialConsoleSSHPublicKeyResult> asyncHandler)
Pushes an SSH public key to the specified EC2 instance.
|
Future<SendSSHPublicKeyResult> |
sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request)
Pushes an SSH public key to the specified EC2 instance for use by the specified user.
|
Future<SendSSHPublicKeyResult> |
sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request,
AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
Pushes an SSH public key to the specified EC2 instance for use by the specified user.
|
getCachedResponseMetadata, sendSerialConsoleSSHPublicKey, sendSSHPublicKey, shutdownequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, sendSerialConsoleSSHPublicKey, sendSSHPublicKey, shutdownpublic Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request)
AWSEC2InstanceConnectAsyncPushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
sendSSHPublicKeyAsync in interface AWSEC2InstanceConnectAsyncpublic Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request, AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
AWSEC2InstanceConnectAsyncPushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see Connect to your Linux instance using EC2 Instance Connect in the Amazon EC2 User Guide.
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 Future<SendSerialConsoleSSHPublicKeyResult> sendSerialConsoleSSHPublicKeyAsync(SendSerialConsoleSSHPublicKeyRequest request)
AWSEC2InstanceConnectAsyncPushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
sendSerialConsoleSSHPublicKeyAsync in interface AWSEC2InstanceConnectAsyncpublic Future<SendSerialConsoleSSHPublicKeyResult> sendSerialConsoleSSHPublicKeyAsync(SendSerialConsoleSSHPublicKeyRequest request, AsyncHandler<SendSerialConsoleSSHPublicKeyRequest,SendSerialConsoleSSHPublicKeyResult> asyncHandler)
AWSEC2InstanceConnectAsyncPushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see EC2 Serial Console in the Amazon EC2 User Guide.
sendSerialConsoleSSHPublicKeyAsync 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.