1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteInterconnect`](crate::operation::delete_interconnect::builders::DeleteInterconnectFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`interconnect_id(impl Into<String>)`](crate::operation::delete_interconnect::builders::DeleteInterconnectFluentBuilder::interconnect_id) / [`set_interconnect_id(Option<String>)`](crate::operation::delete_interconnect::builders::DeleteInterconnectFluentBuilder::set_interconnect_id):<br>required: **true**<br><p>The ID of the interconnect.</p><br>
    /// - On success, responds with [`DeleteInterconnectOutput`](crate::operation::delete_interconnect::DeleteInterconnectOutput) with field(s):
    ///   - [`interconnect_state(Option<InterconnectState>)`](crate::operation::delete_interconnect::DeleteInterconnectOutput::interconnect_state): <p>The state of the interconnect. The following are the possible values:</p> <ul>  <li>   <p><code>requested</code>: The initial state of an interconnect. The interconnect stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.</p></li>  <li>   <p><code>pending</code>: The interconnect is approved, and is being initialized.</p></li>  <li>   <p><code>available</code>: The network link is up, and the interconnect is ready for use.</p></li>  <li>   <p><code>down</code>: The network link is down.</p></li>  <li>   <p><code>deleting</code>: The interconnect is being deleted.</p></li>  <li>   <p><code>deleted</code>: The interconnect is deleted.</p></li>  <li>   <p><code>unknown</code>: The state of the interconnect is not available.</p></li> </ul>
    /// - On failure, responds with [`SdkError<DeleteInterconnectError>`](crate::operation::delete_interconnect::DeleteInterconnectError)
    pub fn delete_interconnect(&self) -> crate::operation::delete_interconnect::builders::DeleteInterconnectFluentBuilder {
        crate::operation::delete_interconnect::builders::DeleteInterconnectFluentBuilder::new(self.handle.clone())
    }
}