aws_sdk_kafka/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 /// - [`arn(impl Into<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVpcConnectionFluentBuilder::arn) / [`set_arn(Option<String>)`](crate::operation::delete_vpc_connection::builders::DeleteVpcConnectionFluentBuilder::set_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.</p><br>
7 /// - On success, responds with [`DeleteVpcConnectionOutput`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput) with field(s):
8 /// - [`vpc_connection_arn(Option<String>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::vpc_connection_arn): <p>The Amazon Resource Name (ARN) that uniquely identifies an MSK VPC connection.</p>
9 /// - [`state(Option<VpcConnectionState>)`](crate::operation::delete_vpc_connection::DeleteVpcConnectionOutput::state): <p>The state of the VPC connection.</p>
10 /// - On failure, responds with [`SdkError<DeleteVpcConnectionError>`](crate::operation::delete_vpc_connection::DeleteVpcConnectionError)
11 pub fn delete_vpc_connection(&self) -> crate::operation::delete_vpc_connection::builders::DeleteVpcConnectionFluentBuilder {
12 crate::operation::delete_vpc_connection::builders::DeleteVpcConnectionFluentBuilder::new(self.handle.clone())
13 }
14}