aws-sdk-iotsecuretunneling 0.26.0

AWS SDK for AWS IoT Secure Tunneling
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeTunnel`](crate::operation::describe_tunnel::builders::DescribeTunnelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`tunnel_id(impl Into<String>)`](crate::operation::describe_tunnel::builders::DescribeTunnelFluentBuilder::tunnel_id) / [`set_tunnel_id(Option<String>)`](crate::operation::describe_tunnel::builders::DescribeTunnelFluentBuilder::set_tunnel_id): <p>The tunnel to describe.</p>
    /// - On success, responds with [`DescribeTunnelOutput`](crate::operation::describe_tunnel::DescribeTunnelOutput) with field(s):
    ///   - [`tunnel(Option<Tunnel>)`](crate::operation::describe_tunnel::DescribeTunnelOutput::tunnel): <p>The tunnel being described.</p>
    /// - On failure, responds with [`SdkError<DescribeTunnelError>`](crate::operation::describe_tunnel::DescribeTunnelError)
    pub fn describe_tunnel(
        &self,
    ) -> crate::operation::describe_tunnel::builders::DescribeTunnelFluentBuilder {
        crate::operation::describe_tunnel::builders::DescribeTunnelFluentBuilder::new(
            self.handle.clone(),
        )
    }
}