aws_sdk_quicksight/client/
describe_vpc_connection.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 [`DescribeVPCConnection`](crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the account that contains the VPC connection that you want described.</p><br>
7    ///   - [`vpc_connection_id(impl Into<String>)`](crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder::vpc_connection_id) / [`set_vpc_connection_id(Option<String>)`](crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder::set_vpc_connection_id):<br>required: **true**<br><p>The ID of the VPC connection that you're creating. This ID is a unique identifier for each Amazon Web Services Region in an Amazon Web Services account.</p><br>
8    /// - On success, responds with [`DescribeVpcConnectionOutput`](crate::operation::describe_vpc_connection::DescribeVpcConnectionOutput) with field(s):
9    ///   - [`vpc_connection(Option<VpcConnection>)`](crate::operation::describe_vpc_connection::DescribeVpcConnectionOutput::vpc_connection): <p>A response object that provides information for the specified VPC connection.</p>
10    ///   - [`request_id(Option<String>)`](crate::operation::describe_vpc_connection::DescribeVpcConnectionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
11    ///   - [`status(i32)`](crate::operation::describe_vpc_connection::DescribeVpcConnectionOutput::status): <p>The HTTP status of the request.</p>
12    /// - On failure, responds with [`SdkError<DescribeVPCConnectionError>`](crate::operation::describe_vpc_connection::DescribeVPCConnectionError)
13    pub fn describe_vpc_connection(&self) -> crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder {
14        crate::operation::describe_vpc_connection::builders::DescribeVPCConnectionFluentBuilder::new(self.handle.clone())
15    }
16}