@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<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.
|
getCachedResponseMetadata, sendSSHPublicKey, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, sendSSHPublicKey, shutdown
public Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request)
AWSEC2InstanceConnectAsync
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyAsync
in interface AWSEC2InstanceConnectAsync
public Future<SendSSHPublicKeyResult> sendSSHPublicKeyAsync(SendSSHPublicKeyRequest request, AsyncHandler<SendSSHPublicKeyRequest,SendSSHPublicKeyResult> asyncHandler)
AWSEC2InstanceConnectAsync
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKeyAsync
in interface AWSEC2InstanceConnectAsync
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.