// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ConfirmPublicVirtualInterface`](crate::operation::confirm_public_virtual_interface::builders::ConfirmPublicVirtualInterfaceFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`virtual_interface_id(impl Into<String>)`](crate::operation::confirm_public_virtual_interface::builders::ConfirmPublicVirtualInterfaceFluentBuilder::virtual_interface_id) / [`set_virtual_interface_id(Option<String>)`](crate::operation::confirm_public_virtual_interface::builders::ConfirmPublicVirtualInterfaceFluentBuilder::set_virtual_interface_id):<br>required: **true**<br><p>The ID of the virtual interface.</p><br>
/// - On success, responds with [`ConfirmPublicVirtualInterfaceOutput`](crate::operation::confirm_public_virtual_interface::ConfirmPublicVirtualInterfaceOutput) with field(s):
/// - [`virtual_interface_state(Option<VirtualInterfaceState>)`](crate::operation::confirm_public_virtual_interface::ConfirmPublicVirtualInterfaceOutput::virtual_interface_state): <p>The state of the virtual interface. The following are the possible values:</p> <ul> <li> <p><code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p></li> <li> <p><code>verifying</code>: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.</p></li> <li> <p><code>pending</code>: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.</p></li> <li> <p><code>available</code>: A virtual interface that is able to forward traffic.</p></li> <li> <p><code>down</code>: A virtual interface that is BGP down.</p></li> <li> <p><code>deleting</code>: A virtual interface is in this state immediately after calling <code>DeleteVirtualInterface</code> until it can no longer forward traffic.</p></li> <li> <p><code>deleted</code>: A virtual interface that cannot forward traffic.</p></li> <li> <p><code>rejected</code>: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the <code>Confirming</code> state is deleted by the virtual interface owner, the virtual interface enters the <code>Rejected</code> state.</p></li> <li> <p><code>unknown</code>: The state of the virtual interface is not available.</p></li> </ul>
/// - On failure, responds with [`SdkError<ConfirmPublicVirtualInterfaceError>`](crate::operation::confirm_public_virtual_interface::ConfirmPublicVirtualInterfaceError)
pub fn confirm_public_virtual_interface(
&self,
) -> crate::operation::confirm_public_virtual_interface::builders::ConfirmPublicVirtualInterfaceFluentBuilder {
crate::operation::confirm_public_virtual_interface::builders::ConfirmPublicVirtualInterfaceFluentBuilder::new(self.handle.clone())
}
}