aws-sdk-lightsail 1.105.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 [`GetStaticIp`](crate::operation::get_static_ip::builders::GetStaticIpFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`static_ip_name(impl Into<String>)`](crate::operation::get_static_ip::builders::GetStaticIpFluentBuilder::static_ip_name) / [`set_static_ip_name(Option<String>)`](crate::operation::get_static_ip::builders::GetStaticIpFluentBuilder::set_static_ip_name):<br>required: **true**<br><p>The name of the static IP in Lightsail.</p><br>
    /// - On success, responds with [`GetStaticIpOutput`](crate::operation::get_static_ip::GetStaticIpOutput) with field(s):
    ///   - [`static_ip(Option<StaticIp>)`](crate::operation::get_static_ip::GetStaticIpOutput::static_ip): <p>An array of key-value pairs containing information about the requested static IP.</p>
    /// - On failure, responds with [`SdkError<GetStaticIpError>`](crate::operation::get_static_ip::GetStaticIpError)
    pub fn get_static_ip(&self) -> crate::operation::get_static_ip::builders::GetStaticIpFluentBuilder {
        crate::operation::get_static_ip::builders::GetStaticIpFluentBuilder::new(self.handle.clone())
    }
}