aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetInstanceSnapshot`](crate::operation::get_instance_snapshot::builders::GetInstanceSnapshotFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`instance_snapshot_name(impl Into<String>)`](crate::operation::get_instance_snapshot::builders::GetInstanceSnapshotFluentBuilder::instance_snapshot_name) / [`set_instance_snapshot_name(Option<String>)`](crate::operation::get_instance_snapshot::builders::GetInstanceSnapshotFluentBuilder::set_instance_snapshot_name):<br>required: **true**<br><p>The name of the snapshot for which you are requesting information.</p><br>
    /// - On success, responds with [`GetInstanceSnapshotOutput`](crate::operation::get_instance_snapshot::GetInstanceSnapshotOutput) with field(s):
    ///   - [`instance_snapshot(Option<InstanceSnapshot>)`](crate::operation::get_instance_snapshot::GetInstanceSnapshotOutput::instance_snapshot): <p>An array of key-value pairs containing information about the results of your get instance snapshot request.</p>
    /// - On failure, responds with [`SdkError<GetInstanceSnapshotError>`](crate::operation::get_instance_snapshot::GetInstanceSnapshotError)
    pub fn get_instance_snapshot(&self) -> crate::operation::get_instance_snapshot::builders::GetInstanceSnapshotFluentBuilder {
        crate::operation::get_instance_snapshot::builders::GetInstanceSnapshotFluentBuilder::new(self.handle.clone())
    }
}