@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)
AWSEC2InstanceConnect
Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.
sendSSHPublicKey
in interface AWSEC2InstanceConnect
public void shutdown()
AWSEC2InstanceConnect
shutdown
in interface AWSEC2InstanceConnect
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AWSEC2InstanceConnect
Response 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 AWSEC2InstanceConnect
request
- The originally executed request.