delete_virtual_mfa_device¶
Operation¶
delete_virtual_mfa_device
async
¶
delete_virtual_mfa_device(request: DeleteVirtualMFADeviceInput | DeleteVirtualMFADeviceInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteVirtualMFADeviceOutput
delete_virtual_mfa_device(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteVirtualMFADeviceInputDict]) -> DeleteVirtualMFADeviceOutput
Deletes a virtual MFA device.
Note
You must deactivate a user's virtual MFA device before you can delete it. For information about deactivating MFA devices, see DeactivateMFADevice.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteVirtualMFADeviceOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DeleteVirtualMFADeviceInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteVirtualMFADeviceInput structure.
Attributes¶
serial_number
class-attribute
instance-attribute
¶
serial_number: str | None = ...
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the 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: =,.@:/-
Dictionaries¶
DeleteVirtualMFADeviceInputDict
¶
Bases: TypedDict
Dictionary form of DeleteVirtualMFADeviceInput.
Attributes¶
serial_number
instance-attribute
¶
The serial number that uniquely identifies the MFA device. For virtual MFA devices, the serial number is the same as the 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: =,.@:/-
Output¶
DeleteVirtualMFADeviceOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteVirtualMFADeviceOutput structure.