Skip to main content

aws_sdk_securityagent/client/
delete_private_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 [`DeletePrivateConnection`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`private_connection_name(impl Into<String>)`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::private_connection_name) / [`set_private_connection_name(Option<String>)`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::set_private_connection_name):<br>required: **true**<br><p>The name of the private connection to delete.</p><br>
7    /// - On success, responds with [`DeletePrivateConnectionOutput`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::name): <p>The name of the private connection.</p>
9    ///   - [`r#type(PrivateConnectionType)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::type): <p>The type of the private connection, indicating whether it is service-managed or self-managed.</p>
10    ///   - [`status(PrivateConnectionStatus)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::status): <p>The current status of the private connection.</p>
11    ///   - [`resource_gateway_id(Option<String>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::resource_gateway_id): <p>The identifier or ARN of the VPC Lattice resource gateway.</p>
12    ///   - [`host_address(Option<String>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::host_address): <p>The IP address or DNS name of the target resource.</p>
13    ///   - [`vpc_id(Option<String>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::vpc_id): <p>The identifier of the VPC the resource gateway is created in.</p>
14    ///   - [`resource_configuration_id(Option<String>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::resource_configuration_id): <p>The identifier or ARN of the VPC Lattice resource configuration.</p>
15    ///   - [`certificate_expiry_time(Option<DateTime>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::certificate_expiry_time): <p>The date and time the connection's certificate expires, in UTC format.</p>
16    ///   - [`dns_resolution(Option<ResourceConfigDnsResolution>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::dns_resolution): <p>The DNS resolution mode for the resource gateway.</p>
17    ///   - [`failure_message(Option<String>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::failure_message): <p>A message describing why the private connection entered a failed state, if applicable.</p>
18    ///   - [`tags(Option<HashMap::<String, String>>)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::tags): <p>The tags attached to the private connection.</p>
19    /// - On failure, responds with [`SdkError<DeletePrivateConnectionError>`](crate::operation::delete_private_connection::DeletePrivateConnectionError)
20    pub fn delete_private_connection(&self) -> crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder {
21        crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::new(self.handle.clone())
22    }
23}