Ec2InstanceConnect

Trait Ec2InstanceConnect 

Source
pub trait Ec2InstanceConnect {
    // Required method
    fn send_ssh_public_key<'life0, 'async_trait>(
        &'life0 self,
        input: SendSSHPublicKeyRequest,
    ) -> Pin<Box<dyn Future<Output = Result<SendSSHPublicKeyResponse, RusotoError<SendSSHPublicKeyError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}
Expand description

Trait representing the capabilities of the EC2 Instance Connect API. EC2 Instance Connect clients implement this trait.

Required Methods§

Source

fn send_ssh_public_key<'life0, 'async_trait>( &'life0 self, input: SendSSHPublicKeyRequest, ) -> Pin<Box<dyn Future<Output = Result<SendSSHPublicKeyResponse, RusotoError<SendSSHPublicKeyError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Pushes an SSH public key to a particular OS user on a given EC2 instance for 60 seconds.

Implementors§