aws-sdk-lightsail 1.106.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DownloadDefaultKeyPair`](crate::operation::download_default_key_pair::builders::DownloadDefaultKeyPairFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::download_default_key_pair::builders::DownloadDefaultKeyPairFluentBuilder::send) it.
    /// - On success, responds with [`DownloadDefaultKeyPairOutput`](crate::operation::download_default_key_pair::DownloadDefaultKeyPairOutput) with field(s):
    ///   - [`public_key_base64(Option<String>)`](crate::operation::download_default_key_pair::DownloadDefaultKeyPairOutput::public_key_base64): <p>A base64-encoded public key of the <code>ssh-rsa</code> type.</p>
    ///   - [`private_key_base64(Option<String>)`](crate::operation::download_default_key_pair::DownloadDefaultKeyPairOutput::private_key_base64): <p>A base64-encoded RSA private key.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::download_default_key_pair::DownloadDefaultKeyPairOutput::created_at): <p>The timestamp when the default key pair was created.</p>
    /// - On failure, responds with [`SdkError<DownloadDefaultKeyPairError>`](crate::operation::download_default_key_pair::DownloadDefaultKeyPairError)
    pub fn download_default_key_pair(&self) -> crate::operation::download_default_key_pair::builders::DownloadDefaultKeyPairFluentBuilder {
        crate::operation::download_default_key_pair::builders::DownloadDefaultKeyPairFluentBuilder::new(self.handle.clone())
    }
}