aws_sdk_directconnect/client/disassociate_connection_from_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 [`DisassociateConnectionFromLag`](crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`connection_id(impl Into<String>)`](crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder::set_connection_id):<br>required: **true**<br><p>The ID of the connection.</p><br>
7 /// - [`lag_id(impl Into<String>)`](crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder::lag_id) / [`set_lag_id(Option<String>)`](crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder::set_lag_id):<br>required: **true**<br><p>The ID of the LAG.</p><br>
8 /// - On success, responds with [`DisassociateConnectionFromLagOutput`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput) with field(s):
9 /// - [`owner_account(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::owner_account): <p>The ID of the Amazon Web Services account that owns the connection.</p>
10 /// - [`connection_id(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::connection_id): <p>The ID of the connection.</p>
11 /// - [`connection_name(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::connection_name): <p>The name of the connection.</p>
12 /// - [`connection_state(Option<ConnectionState>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::connection_state): <p>The state of the connection. The following are the possible values:</p> <ul> <li> <p><code>ordering</code>: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order.</p></li> <li> <p><code>requested</code>: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer.</p></li> <li> <p><code>pending</code>: The connection has been approved and is being initialized.</p></li> <li> <p><code>available</code>: The network link is up and the connection is ready for use.</p></li> <li> <p><code>down</code>: The network link is down.</p></li> <li> <p><code>deleting</code>: The connection is being deleted.</p></li> <li> <p><code>deleted</code>: The connection has been deleted.</p></li> <li> <p><code>rejected</code>: A hosted connection in the <code>ordering</code> state enters the <code>rejected</code> state if it is deleted by the customer.</p></li> <li> <p><code>unknown</code>: The state of the connection is not available.</p></li> </ul>
13 /// - [`region(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::region): <p>The Amazon Web Services Region where the connection is located.</p>
14 /// - [`location(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::location): <p>The location of the connection.</p>
15 /// - [`bandwidth(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::bandwidth): <p>The bandwidth of the connection.</p>
16 /// - [`vlan(i32)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::vlan): <p>The ID of the VLAN.</p>
17 /// - [`partner_name(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::partner_name): <p>The name of the Direct Connect service provider associated with the connection.</p>
18 /// - [`loa_issue_time(Option<DateTime>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::loa_issue_time): <p>The time of the most recent call to <code>DescribeLoa</code> for this connection.</p>
19 /// - [`lag_id(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::lag_id): <p>The ID of the LAG.</p>
20 /// - [`aws_device(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::aws_device): <p>The Direct Connect endpoint on which the physical connection terminates.</p>
21 /// - [`jumbo_frame_capable(Option<bool>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::jumbo_frame_capable): <p>Indicates whether jumbo frames are supported.</p>
22 /// - [`aws_device_v2(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::aws_device_v2): <p>The Direct Connect endpoint that terminates the physical connection.</p>
23 /// - [`aws_logical_device_id(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::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>
24 /// - [`has_logical_redundancy(Option<HasLogicalRedundancy>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::has_logical_redundancy): <p>Indicates whether the connection supports a secondary BGP peer in the same address family (IPv4/IPv6).</p>
25 /// - [`tags(Option<Vec::<Tag>>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::tags): <p>The tags associated with the connection.</p>
26 /// - [`provider_name(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::provider_name): <p>The name of the service provider associated with the connection.</p>
27 /// - [`mac_sec_capable(Option<bool>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::mac_sec_capable): <p>Indicates whether the connection supports MAC Security (MACsec).</p>
28 /// - [`port_encryption_status(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::port_encryption_status): <p>The MAC Security (MACsec) port link status of the connection.</p> <p>The valid values are <code>Encryption Up</code>, which means that there is an active Connection Key Name, or <code>Encryption Down</code>.</p>
29 /// - [`encryption_mode(Option<String>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::encryption_mode): <p>The MAC Security (MACsec) connection encryption mode.</p> <p>The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.</p>
30 /// - [`mac_sec_keys(Option<Vec::<MacSecKey>>)`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagOutput::mac_sec_keys): <p>The MAC Security (MACsec) security keys associated with the connection.</p>
31 /// - On failure, responds with [`SdkError<DisassociateConnectionFromLagError>`](crate::operation::disassociate_connection_from_lag::DisassociateConnectionFromLagError)
32 pub fn disassociate_connection_from_lag(
33 &self,
34 ) -> crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder {
35 crate::operation::disassociate_connection_from_lag::builders::DisassociateConnectionFromLagFluentBuilder::new(self.handle.clone())
36 }
37}