aws_sdk_quicksight/client/
delete_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 [`DeleteVPCConnection`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID of the account where you want to delete a VPC connection.</p><br>
7    ///   - [`vpc_connection_id(impl Into<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::vpc_connection_id) / [`set_vpc_connection_id(Option<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::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 [`DeleteVpcConnectionOutput`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput) with field(s):
9    ///   - [`arn(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::arn): <p>The Amazon Resource Name (ARN) of the deleted VPC connection.</p>
10    ///   - [`vpc_connection_id(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::vpc_connection_id): <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>
11    ///   - [`deletion_status(Option<VpcConnectionResourceStatus>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::deletion_status): <p>The deletion status of the VPC connection.</p>
12    ///   - [`availability_status(Option<VpcConnectionAvailabilityStatus>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::availability_status): <p>The availability status of the VPC connection.</p>
13    ///   - [`request_id(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
14    ///   - [`status(i32)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::status): <p>The HTTP status of the request.</p>
15    /// - On failure, responds with [`SdkError<DeleteVPCConnectionError>`](crate::operation::delete_vpc_connection::DeleteVPCConnectionError)
16    pub fn delete_vpc_connection(&self) -> crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder {
17        crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::new(self.handle.clone())
18    }
19}