pub struct DisassociateMacSecKey { /* private fields */ }
Expand description
Fluent builder constructing a request to DisassociateMacSecKey
.
Removes the association between a MAC Security (MACsec) security key and an Direct Connect dedicated connection.
Implementations
sourceimpl DisassociateMacSecKey
impl DisassociateMacSecKey
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateMacSecKey, AwsResponseRetryClassifier>, SdkError<DisassociateMacSecKeyError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DisassociateMacSecKey, AwsResponseRetryClassifier>, SdkError<DisassociateMacSecKeyError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DisassociateMacSecKeyOutput, SdkError<DisassociateMacSecKeyError>>
pub async fn send(
self
) -> Result<DisassociateMacSecKeyOutput, SdkError<DisassociateMacSecKeyError>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections
or DescribeLags
to retrieve connection ID.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the dedicated connection (dxcon-xxxx), or the ID of the LAG (dxlag-xxxx).
You can use DescribeConnections
or DescribeLags
to retrieve connection ID.
sourcepub fn secret_arn(self, input: impl Into<String>) -> Self
pub fn secret_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
You can use DescribeConnections
to retrieve the ARN of the MAC Security (MACsec) secret key.
sourcepub fn set_secret_arn(self, input: Option<String>) -> Self
pub fn set_secret_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the MAC Security (MACsec) secret key.
You can use DescribeConnections
to retrieve the ARN of the MAC Security (MACsec) secret key.
Trait Implementations
sourceimpl Clone for DisassociateMacSecKey
impl Clone for DisassociateMacSecKey
sourcefn clone(&self) -> DisassociateMacSecKey
fn clone(&self) -> DisassociateMacSecKey
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more