Struct aws_sdk_iam::input::DeactivateMfaDeviceInput [−][src]
#[non_exhaustive]pub struct DeactivateMfaDeviceInput {
pub user_name: Option<String>,
pub serial_number: Option<String>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_name: Option<String>
The name of the user whose MFA device you want to deactivate.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
serial_number: Option<String>
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeactivateMFADevice, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<DeactivateMFADevice, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<DeactivateMFADevice
>
Creates a new builder-style object to manufacture DeactivateMfaDeviceInput
The name of the user whose MFA device you want to deactivate.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the device ARN.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.@:/-
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DeactivateMfaDeviceInput
impl Send for DeactivateMfaDeviceInput
impl Sync for DeactivateMfaDeviceInput
impl Unpin for DeactivateMfaDeviceInput
impl UnwindSafe for DeactivateMfaDeviceInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more