aws_sdk_directconnect/client/update_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 [`UpdateLag`](crate::operation::update_lag::builders::UpdateLagFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`lag_id(impl Into<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::lag_id) / [`set_lag_id(Option<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::set_lag_id):<br>required: **true**<br><p>The ID of the LAG.</p><br>
7 /// - [`lag_name(impl Into<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::lag_name) / [`set_lag_name(Option<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::set_lag_name):<br>required: **false**<br><p>The name of the LAG.</p><br>
8 /// - [`minimum_links(i32)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::minimum_links) / [`set_minimum_links(Option<i32>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::set_minimum_links):<br>required: **false**<br><p>The minimum number of physical connections that must be operational for the LAG itself to be operational.</p><br>
9 /// - [`encryption_mode(impl Into<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::encryption_mode) / [`set_encryption_mode(Option<String>)`](crate::operation::update_lag::builders::UpdateLagFluentBuilder::set_encryption_mode):<br>required: **false**<br><p>The LAG MAC Security (MACsec) encryption mode.</p> <p>Amazon Web Services applies the value to all connections which are part of the LAG.</p><br>
10 /// - On success, responds with [`UpdateLagOutput`](crate::operation::update_lag::UpdateLagOutput) with field(s):
11 /// - [`connections_bandwidth(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::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>
12 /// - [`number_of_connections(i32)`](crate::operation::update_lag::UpdateLagOutput::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>
13 /// - [`lag_id(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::lag_id): <p>The ID of the LAG.</p>
14 /// - [`owner_account(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::owner_account): <p>The ID of the Amazon Web Services account that owns the LAG.</p>
15 /// - [`lag_name(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::lag_name): <p>The name of the LAG.</p>
16 /// - [`lag_state(Option<LagState>)`](crate::operation::update_lag::UpdateLagOutput::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>
17 /// - [`location(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::location): <p>The location of the LAG.</p>
18 /// - [`region(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::region): <p>The Amazon Web Services Region where the connection is located.</p>
19 /// - [`minimum_links(i32)`](crate::operation::update_lag::UpdateLagOutput::minimum_links): <p>The minimum number of physical dedicated connections that must be operational for the LAG itself to be operational.</p>
20 /// - [`aws_device(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::aws_device): <p>The Direct Connect endpoint that hosts the LAG.</p>
21 /// - [`aws_device_v2(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::aws_device_v2): <p>The Direct Connect endpoint that hosts the LAG.</p>
22 /// - [`aws_logical_device_id(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::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>
23 /// - [`connections(Option<Vec::<Connection>>)`](crate::operation::update_lag::UpdateLagOutput::connections): <p>The connections bundled by the LAG.</p>
24 /// - [`allows_hosted_connections(bool)`](crate::operation::update_lag::UpdateLagOutput::allows_hosted_connections): <p>Indicates whether the LAG can host other connections.</p>
25 /// - [`jumbo_frame_capable(Option<bool>)`](crate::operation::update_lag::UpdateLagOutput::jumbo_frame_capable): <p>Indicates whether jumbo frames are supported.</p>
26 /// - [`has_logical_redundancy(Option<HasLogicalRedundancy>)`](crate::operation::update_lag::UpdateLagOutput::has_logical_redundancy): <p>Indicates whether the LAG supports a secondary BGP peer in the same address family (IPv4/IPv6).</p>
27 /// - [`tags(Option<Vec::<Tag>>)`](crate::operation::update_lag::UpdateLagOutput::tags): <p>The tags associated with the LAG.</p>
28 /// - [`provider_name(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::provider_name): <p>The name of the service provider associated with the LAG.</p>
29 /// - [`mac_sec_capable(Option<bool>)`](crate::operation::update_lag::UpdateLagOutput::mac_sec_capable): <p>Indicates whether the LAG supports MAC Security (MACsec).</p>
30 /// - [`encryption_mode(Option<String>)`](crate::operation::update_lag::UpdateLagOutput::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>
31 /// - [`mac_sec_keys(Option<Vec::<MacSecKey>>)`](crate::operation::update_lag::UpdateLagOutput::mac_sec_keys): <p>The MAC Security (MACsec) security keys associated with the LAG.</p>
32 /// - On failure, responds with [`SdkError<UpdateLagError>`](crate::operation::update_lag::UpdateLagError)
33 pub fn update_lag(&self) -> crate::operation::update_lag::builders::UpdateLagFluentBuilder {
34 crate::operation::update_lag::builders::UpdateLagFluentBuilder::new(self.handle.clone())
35 }
36}