aws_sdk_directconnect/client/
delete_lag.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 [`DeleteLag`](crate::operation::delete_lag::builders::DeleteLagFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`lag_id(impl Into<String>)`](crate::operation::delete_lag::builders::DeleteLagFluentBuilder::lag_id) / [`set_lag_id(Option<String>)`](crate::operation::delete_lag::builders::DeleteLagFluentBuilder::set_lag_id):<br>required: **true**<br><p>The ID of the LAG.</p><br>
7    /// - On success, responds with [`DeleteLagOutput`](crate::operation::delete_lag::DeleteLagOutput) with field(s):
8    ///   - [`connections_bandwidth(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::connections_bandwidth): <p>The individual bandwidth of the physical connections bundled by the LAG. The possible values are 1Gbps, 10Gbps, 100Gbps, or 400 Gbps..</p>
9    ///   - [`number_of_connections(i32)`](crate::operation::delete_lag::DeleteLagOutput::number_of_connections): <p>The number of physical dedicated connections initially provisioned and bundled by the LAG. You can have a maximum of four connections when the port speed is 1 Gbps or 10 Gbps, or two when the port speed is 100 Gbps or 400 Gbps.</p>
10    ///   - [`lag_id(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::lag_id): <p>The ID of the LAG.</p>
11    ///   - [`owner_account(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::owner_account): <p>The ID of the Amazon Web Services account that owns the LAG.</p>
12    ///   - [`lag_name(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::lag_name): <p>The name of the LAG.</p>
13    ///   - [`lag_state(Option<LagState>)`](crate::operation::delete_lag::DeleteLagOutput::lag_state): <p>The state of the LAG. The following are the possible values:</p> <ul>  <li>   <p><code>requested</code>: The initial state of a LAG. The LAG stays in the requested state until the Letter of Authorization (LOA) is available.</p></li>  <li>   <p><code>pending</code>: The LAG has been approved and is being initialized.</p></li>  <li>   <p><code>available</code>: The network link is established and the LAG is ready for use.</p></li>  <li>   <p><code>down</code>: The network link is down.</p></li>  <li>   <p><code>deleting</code>: The LAG is being deleted.</p></li>  <li>   <p><code>deleted</code>: The LAG is deleted.</p></li>  <li>   <p><code>unknown</code>: The state of the LAG is not available.</p></li> </ul>
14    ///   - [`location(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::location): <p>The location of the LAG.</p>
15    ///   - [`region(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::region): <p>The Amazon Web Services Region where the connection is located.</p>
16    ///   - [`minimum_links(i32)`](crate::operation::delete_lag::DeleteLagOutput::minimum_links): <p>The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.</p>
17    ///   - [`aws_device(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::aws_device): <p>The Direct Connect endpoint that hosts the LAG.</p>
18    ///   - [`aws_device_v2(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::aws_device_v2): <p>The Direct Connect endpoint that hosts the LAG.</p>
19    ///   - [`aws_logical_device_id(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::aws_logical_device_id): <p>The Direct Connect endpoint that terminates the logical connection. This device might be different than the device that terminates the physical connection.</p>
20    ///   - [`connections(Option<Vec::<Connection>>)`](crate::operation::delete_lag::DeleteLagOutput::connections): <p>The connections bundled by the LAG.</p>
21    ///   - [`allows_hosted_connections(bool)`](crate::operation::delete_lag::DeleteLagOutput::allows_hosted_connections): <p>Indicates whether the LAG can host other connections.</p>
22    ///   - [`jumbo_frame_capable(Option<bool>)`](crate::operation::delete_lag::DeleteLagOutput::jumbo_frame_capable): <p>Indicates whether jumbo frames are supported.</p>
23    ///   - [`has_logical_redundancy(Option<HasLogicalRedundancy>)`](crate::operation::delete_lag::DeleteLagOutput::has_logical_redundancy): <p>Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).</p>
24    ///   - [`tags(Option<Vec::<Tag>>)`](crate::operation::delete_lag::DeleteLagOutput::tags): <p>The tags associated with the LAG.</p>
25    ///   - [`provider_name(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::provider_name): <p>The name of the service provider associated with the LAG.</p>
26    ///   - [`mac_sec_capable(Option<bool>)`](crate::operation::delete_lag::DeleteLagOutput::mac_sec_capable): <p>Indicates whether the LAG supports MAC Security (MACsec).</p>
27    ///   - [`encryption_mode(Option<String>)`](crate::operation::delete_lag::DeleteLagOutput::encryption_mode): <p>The LAG MAC Security (MACsec) encryption mode.</p> <p>The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.</p>
28    ///   - [`mac_sec_keys(Option<Vec::<MacSecKey>>)`](crate::operation::delete_lag::DeleteLagOutput::mac_sec_keys): <p>The MAC Security (MACsec) security keys associated with the LAG.</p>
29    /// - On failure, responds with [`SdkError<DeleteLagError>`](crate::operation::delete_lag::DeleteLagError)
30    pub fn delete_lag(&self) -> crate::operation::delete_lag::builders::DeleteLagFluentBuilder {
31        crate::operation::delete_lag::builders::DeleteLagFluentBuilder::new(self.handle.clone())
32    }
33}