Retrieves the virtual multi-factor authentication (MFA) device associated with an Active Directory (AD) account.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ecd:DescribeVirtualMFADevices |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. Call the DescribeRegions operation to query the regions supported by Elastic Desktop Service (EDS). |
cn-hangzhou |
| MaxResults |
integer |
No |
The maximum number of entries to return. Valid values: 1 to 500. Default value: 100. |
100 |
| NextToken |
string |
No |
The pagination token. If a response is truncated, use the returned |
caeba0bbb2be03f84eb48b699f0a4883 |
| OfficeSiteId |
string |
No |
The office network ID. |
cn-hangzhou+dir-269345**** |
| EndUserId |
array |
No |
The list of Active Directory (AD) account usernames. |
testuser |
|
string |
No |
An Active Directory (AD) account username. |
testuser |
|
| Filter |
string |
No |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data returned. |
||
| NextToken |
string |
The token to retrieve the next page of results. If this parameter is empty, no more results are available. |
AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as |
| RequestId |
string |
The request ID. |
FB550AAB-FB36-4A91-93F6-F4374AF65403 |
| VirtualMFADevices |
array<object> |
A list of virtual MFA devices. |
|
|
array<object> |
Details of a virtual MFA device. |
||
| SerialNumber |
string |
The serial number of the virtual MFA device. |
a25f297f-f2e1-4a44-bbf1-5f48a6e5**** |
| GmtUnlock |
string |
The time when the locked virtual MFA device is automatically unlocked. The time is in the |
2020-12-21T15:21:28Z |
| EndUserId |
string |
The AD username of the bound user. |
usertest |
| ConsecutiveFails |
integer |
The number of consecutive failed attempts to bind or authenticate the virtual MFA device. |
1 |
| OfficeSiteId |
string |
The workspace ID. |
cn-hangzhou+dir-269345**** |
| status |
string |
The status of the virtual MFA device. Valid values:
|
NORMAL |
| DirectoryId |
string |
Note
This parameter is in private preview. |
cn-hangzhou+dir-gx2x1dhsmu52rd**** |
| GmtEnabled |
string |
The time when the virtual MFA device was enabled. The time is in the |
2020-12-20T14:52:28Z |
| AdUser |
object |
||
| EndUser |
string |
||
| DisplayName |
string |
||
| DisplayNameNew |
string |
||
| UserPrincipalName |
string |
Examples
Success response
JSON format
{
"NextToken": "AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL23as",
"RequestId": "FB550AAB-FB36-4A91-93F6-F4374AF65403",
"VirtualMFADevices": [
{
"SerialNumber": "a25f297f-f2e1-4a44-bbf1-5f48a6e5****",
"GmtUnlock": "2020-12-21T15:21:28Z",
"EndUserId": "usertest",
"ConsecutiveFails": 1,
"OfficeSiteId": "cn-hangzhou+dir-269345****",
"status": "NORMAL",
"DirectoryId": "cn-hangzhou+dir-gx2x1dhsmu52rd****",
"GmtEnabled": "2020-12-20T14:52:28Z",
"AdUser": {
"EndUser": "",
"DisplayName": "",
"DisplayNameNew": "",
"UserPrincipalName": ""
}
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.