// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DisassociateMacSecKey`](crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`connection_id(impl Into<String>)`](crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder::set_connection_id):<br>required: **true**<br><p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p> <p>You can use <code>DescribeConnections</code> or <code>DescribeLags</code> to retrieve connection ID.</p><br>
/// - [`secret_arn(impl Into<String>)`](crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder::secret_arn) / [`set_secret_arn(Option<String>)`](crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder::set_secret_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.</p> <p>You can use <code>DescribeConnections</code> to retrieve the ARN of the MAC Security (MACsec) secret key.</p><br>
/// - On success, responds with [`DisassociateMacSecKeyOutput`](crate::operation::disassociate_mac_sec_key::DisassociateMacSecKeyOutput) with field(s):
/// - [`connection_id(Option<String>)`](crate::operation::disassociate_mac_sec_key::DisassociateMacSecKeyOutput::connection_id): <p>The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).</p>
/// - [`mac_sec_keys(Option<Vec::<MacSecKey>>)`](crate::operation::disassociate_mac_sec_key::DisassociateMacSecKeyOutput::mac_sec_keys): <p>The MAC Security (MACsec) security keys no longer associated with the dedicated connection.</p>
/// - On failure, responds with [`SdkError<DisassociateMacSecKeyError>`](crate::operation::disassociate_mac_sec_key::DisassociateMacSecKeyError)
pub fn disassociate_mac_sec_key(&self) -> crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder {
crate::operation::disassociate_mac_sec_key::builders::DisassociateMacSecKeyFluentBuilder::new(self.handle.clone())
}
}