aws_sdk_lightsail/client/
peer_vpc.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`PeerVpc`](crate::operation::peer_vpc::builders::PeerVpcFluentBuilder) operation.
4    ///
5    /// - The fluent builder takes no input, just [`send`](crate::operation::peer_vpc::builders::PeerVpcFluentBuilder::send) it.
6    /// - On success, responds with [`PeerVpcOutput`](crate::operation::peer_vpc::PeerVpcOutput) with field(s):
7    ///   - [`operation(Option<Operation>)`](crate::operation::peer_vpc::PeerVpcOutput::operation): <p>An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.</p>
8    /// - On failure, responds with [`SdkError<PeerVpcError>`](crate::operation::peer_vpc::PeerVpcError)
9    pub fn peer_vpc(&self) -> crate::operation::peer_vpc::builders::PeerVpcFluentBuilder {
10        crate::operation::peer_vpc::builders::PeerVpcFluentBuilder::new(self.handle.clone())
11    }
12}