Struct aws_sdk_directconnect::operation::disassociate_mac_sec_key::DisassociateMacSecKeyInput
source · #[non_exhaustive]pub struct DisassociateMacSecKeyInput {
pub connection_id: Option<String>,
pub secret_arn: Option<String>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.connection_id: Option<String>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.
secret_arn: Option<String>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.
Implementations§
source§impl DisassociateMacSecKeyInput
impl DisassociateMacSecKeyInput
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
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) -> Option<&str>
pub fn secret_arn(&self) -> Option<&str>
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.
source§impl DisassociateMacSecKeyInput
impl DisassociateMacSecKeyInput
sourcepub fn builder() -> DisassociateMacSecKeyInputBuilder
pub fn builder() -> DisassociateMacSecKeyInputBuilder
Creates a new builder-style object to manufacture DisassociateMacSecKeyInput.
Trait Implementations§
source§impl Clone for DisassociateMacSecKeyInput
impl Clone for DisassociateMacSecKeyInput
source§fn clone(&self) -> DisassociateMacSecKeyInput
fn clone(&self) -> DisassociateMacSecKeyInput
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DisassociateMacSecKeyInput
impl Debug for DisassociateMacSecKeyInput
source§impl PartialEq for DisassociateMacSecKeyInput
impl PartialEq for DisassociateMacSecKeyInput
source§fn eq(&self, other: &DisassociateMacSecKeyInput) -> bool
fn eq(&self, other: &DisassociateMacSecKeyInput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DisassociateMacSecKeyInput
Auto Trait Implementations§
impl Freeze for DisassociateMacSecKeyInput
impl RefUnwindSafe for DisassociateMacSecKeyInput
impl Send for DisassociateMacSecKeyInput
impl Sync for DisassociateMacSecKeyInput
impl Unpin for DisassociateMacSecKeyInput
impl UnwindSafe for DisassociateMacSecKeyInput
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.