aws-sdk-lightsail 1.107.0

AWS SDK for Amazon Lightsail
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`IsVpcPeered`](crate::operation::is_vpc_peered::builders::IsVpcPeeredFluentBuilder) operation.
    ///
    /// - The fluent builder takes no input, just [`send`](crate::operation::is_vpc_peered::builders::IsVpcPeeredFluentBuilder::send) it.
    /// - On success, responds with [`IsVpcPeeredOutput`](crate::operation::is_vpc_peered::IsVpcPeeredOutput) with field(s):
    ///   - [`is_peered(Option<bool>)`](crate::operation::is_vpc_peered::IsVpcPeeredOutput::is_peered): <p>Returns <code>true</code> if the Lightsail VPC is peered; otherwise, <code>false</code>.</p>
    /// - On failure, responds with [`SdkError<IsVpcPeeredError>`](crate::operation::is_vpc_peered::IsVpcPeeredError)
    pub fn is_vpc_peered(&self) -> crate::operation::is_vpc_peered::builders::IsVpcPeeredFluentBuilder {
        crate::operation::is_vpc_peered::builders::IsVpcPeeredFluentBuilder::new(self.handle.clone())
    }
}