1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteVPCConnection`](crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteVpcConnectionOutput`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::arn): <p>The Amazon Resource Name (ARN) of the deleted VPC connection.</p>
    ///   - [`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>
    ///   - [`deletion_status(Option<VpcConnectionResourceStatus>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::deletion_status): <p>The deletion status of the VPC connection.</p>
    ///   - [`availability_status(Option<VpcConnectionAvailabilityStatus>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::availability_status): <p>The availability status of the VPC connection.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<DeleteVPCConnectionError>`](crate::operation::delete_vpc_connection::DeleteVPCConnectionError)
    pub fn delete_vpc_connection(&self) -> crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder {
        crate::operation::delete_vpc_connection::builders::DeleteVPCConnectionFluentBuilder::new(self.handle.clone())
    }
}