@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAWSEC2InstanceConnect extends Object implements AWSEC2InstanceConnect
AWSEC2InstanceConnect. Convenient method forms pass through to the corresponding
 overload that takes a request object, which throws an UnsupportedOperationException.ENDPOINT_PREFIX| Modifier and Type | Method and Description | 
|---|---|
| ResponseMetadata | getCachedResponseMetadata(AmazonWebServiceRequest request)Returns additional metadata for a previously executed successful request, typically used for debugging issues
 where a service isn't acting as expected. | 
| SendSSHPublicKeyResult | sendSSHPublicKey(SendSSHPublicKeyRequest request)
 Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds. | 
| void | shutdown()Shuts down this client object, releasing any resources that might be held open. | 
public SendSSHPublicKeyResult sendSSHPublicKey(SendSSHPublicKeyRequest request)
AWSEC2InstanceConnectPushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKey in interface AWSEC2InstanceConnectpublic void shutdown()
AWSEC2InstanceConnectshutdown in interface AWSEC2InstanceConnectpublic ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSEC2InstanceConnectResponse metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.
getCachedResponseMetadata in interface AWSEC2InstanceConnectrequest - The originally executed request.