get_mfa_device¶
Operation¶
get_mfa_device
¶
get_mfa_device(request: GetMFADeviceInput | GetMFADeviceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMFADeviceInputDict]) -> GetMFADeviceOutput
Retrieves information about an MFA device for a specified user.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetMFADeviceInput | GetMFADeviceInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetMFADeviceInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetMFADeviceOutput
|
An instance of |
get_mfa_device
async
¶
get_mfa_device(request: GetMFADeviceInput | GetMFADeviceInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetMFADeviceInputDict]) -> GetMFADeviceOutput
Retrieves information about an MFA device for a specified user.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
request
|
GetMFADeviceInput | GetMFADeviceInputDict | None
|
The input as a model or dictionary. Pass this or keyword arguments, not both. |
None
|
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
|
**kwargs
|
Unpack[GetMFADeviceInputDict]
|
The input fields as keyword arguments. |
{}
|
Returns:
| Type | Description |
|---|---|
GetMFADeviceOutput
|
An instance of |
Input¶
Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.
Output¶
GetMFADeviceOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for GetMFADeviceOutput structure.
Attributes¶
certifications
class-attribute
instance-attribute
¶
The certifications of a specified user's MFA device. We currently provide FIPS-140-2, FIPS-140-3, and FIDO certification levels obtained from FIDO Alliance Metadata Service (MDS).
enable_date
class-attribute
instance-attribute
¶
enable_date: datetime | None = ...
The date that a specified user's MFA device was first enabled.
response_metadata
class-attribute
instance-attribute
¶
Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.