@alicloud/cloudsso20210515 1.5.3 → 1.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/dist/client.d.ts +16 -16
  2. package/dist/client.js +37 -19
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAccessAssignmentRequest.d.ts +5 -0
  5. package/dist/models/CreateAccessAssignmentRequest.js +2 -0
  6. package/dist/models/CreateAccessAssignmentRequest.js.map +1 -1
  7. package/dist/models/CreateAccessAssignmentResponseBody.d.ts +5 -0
  8. package/dist/models/CreateAccessAssignmentResponseBody.js +2 -0
  9. package/dist/models/CreateAccessAssignmentResponseBody.js.map +1 -1
  10. package/dist/models/CreateUserRequest.d.ts +11 -12
  11. package/dist/models/CreateUserRequest.js.map +1 -1
  12. package/dist/models/CreateUserResponseBody.d.ts +9 -11
  13. package/dist/models/CreateUserResponseBody.js.map +1 -1
  14. package/dist/models/DeleteAccessAssignmentRequest.d.ts +5 -0
  15. package/dist/models/DeleteAccessAssignmentRequest.js +2 -0
  16. package/dist/models/DeleteAccessAssignmentRequest.js.map +1 -1
  17. package/dist/models/DeleteAccessAssignmentResponseBody.d.ts +5 -0
  18. package/dist/models/DeleteAccessAssignmentResponseBody.js +2 -0
  19. package/dist/models/DeleteAccessAssignmentResponseBody.js.map +1 -1
  20. package/dist/models/DeprovisionAccessConfigurationRequest.d.ts +5 -0
  21. package/dist/models/DeprovisionAccessConfigurationRequest.js +2 -0
  22. package/dist/models/DeprovisionAccessConfigurationRequest.js.map +1 -1
  23. package/dist/models/DeprovisionAccessConfigurationResponseBody.d.ts +5 -0
  24. package/dist/models/DeprovisionAccessConfigurationResponseBody.js +2 -0
  25. package/dist/models/DeprovisionAccessConfigurationResponseBody.js.map +1 -1
  26. package/dist/models/GetAccessConfigurationRequest.d.ts +2 -2
  27. package/dist/models/GetAccessConfigurationResponseBody.d.ts +6 -6
  28. package/dist/models/GetTaskResponseBody.d.ts +5 -0
  29. package/dist/models/GetTaskResponseBody.js +2 -0
  30. package/dist/models/GetTaskResponseBody.js.map +1 -1
  31. package/dist/models/GetUserRequest.d.ts +1 -1
  32. package/dist/models/GetUserResponseBody.d.ts +13 -15
  33. package/dist/models/GetUserResponseBody.js.map +1 -1
  34. package/dist/models/ListAccessAssignmentsRequest.d.ts +5 -0
  35. package/dist/models/ListAccessAssignmentsRequest.js +2 -0
  36. package/dist/models/ListAccessAssignmentsRequest.js.map +1 -1
  37. package/dist/models/ListAccessAssignmentsResponseBody.d.ts +5 -0
  38. package/dist/models/ListAccessAssignmentsResponseBody.js +2 -0
  39. package/dist/models/ListAccessAssignmentsResponseBody.js.map +1 -1
  40. package/dist/models/ListAccessConfigurationProvisioningsRequest.d.ts +5 -0
  41. package/dist/models/ListAccessConfigurationProvisioningsRequest.js +2 -0
  42. package/dist/models/ListAccessConfigurationProvisioningsRequest.js.map +1 -1
  43. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.d.ts +5 -0
  44. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js +2 -0
  45. package/dist/models/ListAccessConfigurationProvisioningsResponseBody.js.map +1 -1
  46. package/dist/models/ListAccessConfigurationsRequest.d.ts +9 -11
  47. package/dist/models/ListAccessConfigurationsRequest.js.map +1 -1
  48. package/dist/models/ListAccessConfigurationsResponseBody.d.ts +11 -12
  49. package/dist/models/ListAccessConfigurationsResponseBody.js.map +1 -1
  50. package/dist/models/ListMfadevicesForUserResponseBody.d.ts +13 -3
  51. package/dist/models/ListMfadevicesForUserResponseBody.js.map +1 -1
  52. package/dist/models/ListTasksResponseBody.d.ts +5 -0
  53. package/dist/models/ListTasksResponseBody.js +2 -0
  54. package/dist/models/ListTasksResponseBody.js.map +1 -1
  55. package/dist/models/ListUsersRequest.d.ts +11 -15
  56. package/dist/models/ListUsersRequest.js.map +1 -1
  57. package/dist/models/ListUsersResponseBody.d.ts +16 -19
  58. package/dist/models/ListUsersResponseBody.js.map +1 -1
  59. package/dist/models/ProvisionAccessConfigurationRequest.d.ts +5 -0
  60. package/dist/models/ProvisionAccessConfigurationRequest.js +2 -0
  61. package/dist/models/ProvisionAccessConfigurationRequest.js.map +1 -1
  62. package/dist/models/ProvisionAccessConfigurationResponseBody.d.ts +5 -0
  63. package/dist/models/ProvisionAccessConfigurationResponseBody.js +2 -0
  64. package/dist/models/ProvisionAccessConfigurationResponseBody.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +43 -19
  67. package/src/models/CreateAccessAssignmentRequest.ts +7 -0
  68. package/src/models/CreateAccessAssignmentResponseBody.ts +7 -0
  69. package/src/models/CreateUserRequest.ts +11 -12
  70. package/src/models/CreateUserResponseBody.ts +9 -11
  71. package/src/models/DeleteAccessAssignmentRequest.ts +7 -0
  72. package/src/models/DeleteAccessAssignmentResponseBody.ts +7 -0
  73. package/src/models/DeprovisionAccessConfigurationRequest.ts +7 -0
  74. package/src/models/DeprovisionAccessConfigurationResponseBody.ts +7 -0
  75. package/src/models/GetAccessConfigurationRequest.ts +2 -2
  76. package/src/models/GetAccessConfigurationResponseBody.ts +6 -6
  77. package/src/models/GetTaskResponseBody.ts +7 -0
  78. package/src/models/GetUserRequest.ts +1 -1
  79. package/src/models/GetUserResponseBody.ts +13 -15
  80. package/src/models/ListAccessAssignmentsRequest.ts +7 -0
  81. package/src/models/ListAccessAssignmentsResponseBody.ts +7 -0
  82. package/src/models/ListAccessConfigurationProvisioningsRequest.ts +7 -0
  83. package/src/models/ListAccessConfigurationProvisioningsResponseBody.ts +7 -0
  84. package/src/models/ListAccessConfigurationsRequest.ts +9 -11
  85. package/src/models/ListAccessConfigurationsResponseBody.ts +11 -12
  86. package/src/models/ListMfadevicesForUserResponseBody.ts +13 -3
  87. package/src/models/ListTasksResponseBody.ts +7 -0
  88. package/src/models/ListUsersRequest.ts +11 -15
  89. package/src/models/ListUsersResponseBody.ts +16 -19
  90. package/src/models/ProvisionAccessConfigurationRequest.ts +7 -0
  91. package/src/models/ProvisionAccessConfigurationResponseBody.ts +7 -0
package/dist/client.d.ts CHANGED
@@ -224,7 +224,7 @@ export default class Client extends OpenApi {
224
224
  */
225
225
  createSCIMServerCredential(request: $_model.CreateSCIMServerCredentialRequest): Promise<$_model.CreateSCIMServerCredentialResponse>;
226
226
  /**
227
- * Creates a user.
227
+ * Creates a user by calling CreateUser.
228
228
  *
229
229
  * @param request - CreateUserRequest
230
230
  * @param runtime - runtime options for this request RuntimeOptions
@@ -232,7 +232,7 @@ export default class Client extends OpenApi {
232
232
  */
233
233
  createUserWithOptions(request: $_model.CreateUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateUserResponse>;
234
234
  /**
235
- * Creates a user.
235
+ * Creates a user by calling CreateUser.
236
236
  *
237
237
  * @param request - CreateUserRequest
238
238
  * @returns CreateUserResponse
@@ -590,10 +590,10 @@ export default class Client extends OpenApi {
590
590
  */
591
591
  enableService(): Promise<$_model.EnableServiceResponse>;
592
592
  /**
593
- * Queries the details of an access configuration.
593
+ * Queries the information about an access configuration.
594
594
  *
595
595
  * @remarks
596
- * This topic provides an example of how to query the details of an access configuration with the ID `ac-00ccule7tadaijxc****`.
596
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
597
597
  *
598
598
  * @param request - GetAccessConfigurationRequest
599
599
  * @param runtime - runtime options for this request RuntimeOptions
@@ -601,10 +601,10 @@ export default class Client extends OpenApi {
601
601
  */
602
602
  getAccessConfigurationWithOptions(request: $_model.GetAccessConfigurationRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetAccessConfigurationResponse>;
603
603
  /**
604
- * Queries the details of an access configuration.
604
+ * Queries the information about an access configuration.
605
605
  *
606
606
  * @remarks
607
- * This topic provides an example of how to query the details of an access configuration with the ID `ac-00ccule7tadaijxc****`.
607
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
608
608
  *
609
609
  * @param request - GetAccessConfigurationRequest
610
610
  * @returns GetAccessConfigurationResponse
@@ -892,7 +892,7 @@ export default class Client extends OpenApi {
892
892
  */
893
893
  getTaskStatus(request: $_model.GetTaskStatusRequest): Promise<$_model.GetTaskStatusResponse>;
894
894
  /**
895
- * Queries the information about a user.
895
+ * Queries the information about a specified user.
896
896
  *
897
897
  * @param request - GetUserRequest
898
898
  * @param runtime - runtime options for this request RuntimeOptions
@@ -900,7 +900,7 @@ export default class Client extends OpenApi {
900
900
  */
901
901
  getUserWithOptions(request: $_model.GetUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetUserResponse>;
902
902
  /**
903
- * Queries the information about a user.
903
+ * Queries the information about a specified user.
904
904
  *
905
905
  * @param request - GetUserRequest
906
906
  * @returns GetUserResponse
@@ -1060,10 +1060,10 @@ export default class Client extends OpenApi {
1060
1060
  */
1061
1061
  listAccessConfigurationProvisionings(request: $_model.ListAccessConfigurationProvisioningsRequest): Promise<$_model.ListAccessConfigurationProvisioningsResponse>;
1062
1062
  /**
1063
- * Queries a list of access configurations.
1063
+ * Queries the list of access configurations.
1064
1064
  *
1065
1065
  * @remarks
1066
- * This topic provides an example of how to query the access configurations in the folder `d-00fc2p61****`. The response shows two access configurations: `VPC-Admin` and `ECS-Admin`.
1066
+ * This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
1067
1067
  *
1068
1068
  * @param request - ListAccessConfigurationsRequest
1069
1069
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1071,10 +1071,10 @@ export default class Client extends OpenApi {
1071
1071
  */
1072
1072
  listAccessConfigurationsWithOptions(request: $_model.ListAccessConfigurationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListAccessConfigurationsResponse>;
1073
1073
  /**
1074
- * Queries a list of access configurations.
1074
+ * Queries the list of access configurations.
1075
1075
  *
1076
1076
  * @remarks
1077
- * This topic provides an example of how to query the access configurations in the folder `d-00fc2p61****`. The response shows two access configurations: `VPC-Admin` and `ECS-Admin`.
1077
+ * This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
1078
1078
  *
1079
1079
  * @param request - ListAccessConfigurationsRequest
1080
1080
  * @returns ListAccessConfigurationsResponse
@@ -1183,10 +1183,10 @@ export default class Client extends OpenApi {
1183
1183
  */
1184
1184
  listJoinedGroupsForUser(request: $_model.ListJoinedGroupsForUserRequest): Promise<$_model.ListJoinedGroupsForUserResponse>;
1185
1185
  /**
1186
- * Queries the list of MFA devices for a user. Each user can have a maximum of two MFA devices.
1186
+ * Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
1187
1187
  *
1188
1188
  * @remarks
1189
- * This topic provides an example on how to query the MFA device list for the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
1189
+ * This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
1190
1190
  *
1191
1191
  * @param request - ListMFADevicesForUserRequest
1192
1192
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1194,10 +1194,10 @@ export default class Client extends OpenApi {
1194
1194
  */
1195
1195
  listMFADevicesForUserWithOptions(request: $_model.ListMFADevicesForUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMFADevicesForUserResponse>;
1196
1196
  /**
1197
- * Queries the list of MFA devices for a user. Each user can have a maximum of two MFA devices.
1197
+ * Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
1198
1198
  *
1199
1199
  * @remarks
1200
- * This topic provides an example on how to query the MFA device list for the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
1200
+ * This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
1201
1201
  *
1202
1202
  * @param request - ListMFADevicesForUserRequest
1203
1203
  * @returns ListMFADevicesForUserResponse
package/dist/client.js CHANGED
@@ -50,12 +50,12 @@ class Client extends openapi_core_1.default {
50
50
  super(config);
51
51
  this._endpointRule = "regional";
52
52
  this._endpointMap = {
53
- 'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
54
- 'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
55
53
  'cn-shanghai': "cloudsso.cn-shanghai.aliyuncs.com",
56
54
  'cn-hongkong': "cloudsso.cn-hongkong.aliyuncs.com",
57
- 'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
58
55
  'ap-northeast-2': "cloudsso.ap-northeast-2.aliyuncs.com",
56
+ 'ap-southeast-1': "cloudsso.ap-southeast-1.aliyuncs.com",
57
+ 'us-west-1': "cloudsso.us-west-1.aliyuncs.com",
58
+ 'eu-central-1': "cloudsso.eu-central-1.aliyuncs.com",
59
59
  };
60
60
  this.checkConfig(config);
61
61
  this._endpoint = this.getEndpoint("cloudsso", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -297,6 +297,9 @@ class Client extends openapi_core_1.default {
297
297
  if (!$dara.isNull(request.directoryId)) {
298
298
  query["DirectoryId"] = request.directoryId;
299
299
  }
300
+ if (!$dara.isNull(request.originTargetId)) {
301
+ query["OriginTargetId"] = request.originTargetId;
302
+ }
300
303
  if (!$dara.isNull(request.principalId)) {
301
304
  query["PrincipalId"] = request.principalId;
302
305
  }
@@ -558,7 +561,7 @@ class Client extends openapi_core_1.default {
558
561
  return await this.createSCIMServerCredentialWithOptions(request, runtime);
559
562
  }
560
563
  /**
561
- * Creates a user.
564
+ * Creates a user by calling CreateUser.
562
565
  *
563
566
  * @param request - CreateUserRequest
564
567
  * @param runtime - runtime options for this request RuntimeOptions
@@ -611,7 +614,7 @@ class Client extends openapi_core_1.default {
611
614
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
612
615
  }
613
616
  /**
614
- * Creates a user.
617
+ * Creates a user by calling CreateUser.
615
618
  *
616
619
  * @param request - CreateUserRequest
617
620
  * @returns CreateUserResponse
@@ -709,6 +712,9 @@ class Client extends openapi_core_1.default {
709
712
  if (!$dara.isNull(request.directoryId)) {
710
713
  query["DirectoryId"] = request.directoryId;
711
714
  }
715
+ if (!$dara.isNull(request.originTargetId)) {
716
+ query["OriginTargetId"] = request.originTargetId;
717
+ }
712
718
  if (!$dara.isNull(request.principalId)) {
713
719
  query["PrincipalId"] = request.principalId;
714
720
  }
@@ -1207,6 +1213,9 @@ class Client extends openapi_core_1.default {
1207
1213
  if (!$dara.isNull(request.directoryId)) {
1208
1214
  query["DirectoryId"] = request.directoryId;
1209
1215
  }
1216
+ if (!$dara.isNull(request.originTargetId)) {
1217
+ query["OriginTargetId"] = request.originTargetId;
1218
+ }
1210
1219
  if (!$dara.isNull(request.targetId)) {
1211
1220
  query["TargetId"] = request.targetId;
1212
1221
  }
@@ -1402,10 +1411,10 @@ class Client extends openapi_core_1.default {
1402
1411
  return await this.enableServiceWithOptions(runtime);
1403
1412
  }
1404
1413
  /**
1405
- * Queries the details of an access configuration.
1414
+ * Queries the information about an access configuration.
1406
1415
  *
1407
1416
  * @remarks
1408
- * This topic provides an example of how to query the details of an access configuration with the ID `ac-00ccule7tadaijxc****`.
1417
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
1409
1418
  *
1410
1419
  * @param request - GetAccessConfigurationRequest
1411
1420
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1437,10 +1446,10 @@ class Client extends openapi_core_1.default {
1437
1446
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAccessConfigurationResponse({}));
1438
1447
  }
1439
1448
  /**
1440
- * Queries the details of an access configuration.
1449
+ * Queries the information about an access configuration.
1441
1450
  *
1442
1451
  * @remarks
1443
- * This topic provides an example of how to query the details of an access configuration with the ID `ac-00ccule7tadaijxc****`.
1452
+ * This topic provides an example on how to query the information about the access configuration whose ID is `ac-00ccule7tadaijxc****`.
1444
1453
  *
1445
1454
  * @param request - GetAccessConfigurationRequest
1446
1455
  * @returns GetAccessConfigurationResponse
@@ -2069,7 +2078,7 @@ class Client extends openapi_core_1.default {
2069
2078
  return await this.getTaskStatusWithOptions(request, runtime);
2070
2079
  }
2071
2080
  /**
2072
- * Queries the information about a user.
2081
+ * Queries the information about a specified user.
2073
2082
  *
2074
2083
  * @param request - GetUserRequest
2075
2084
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2101,7 +2110,7 @@ class Client extends openapi_core_1.default {
2101
2110
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
2102
2111
  }
2103
2112
  /**
2104
- * Queries the information about a user.
2113
+ * Queries the information about a specified user.
2105
2114
  *
2106
2115
  * @param request - GetUserRequest
2107
2116
  * @returns GetUserResponse
@@ -2437,6 +2446,9 @@ class Client extends openapi_core_1.default {
2437
2446
  if (!$dara.isNull(request.nextToken)) {
2438
2447
  query["NextToken"] = request.nextToken;
2439
2448
  }
2449
+ if (!$dara.isNull(request.originTargetId)) {
2450
+ query["OriginTargetId"] = request.originTargetId;
2451
+ }
2440
2452
  if (!$dara.isNull(request.principalId)) {
2441
2453
  query["PrincipalId"] = request.principalId;
2442
2454
  }
@@ -2503,6 +2515,9 @@ class Client extends openapi_core_1.default {
2503
2515
  if (!$dara.isNull(request.nextToken)) {
2504
2516
  query["NextToken"] = request.nextToken;
2505
2517
  }
2518
+ if (!$dara.isNull(request.originTargetId)) {
2519
+ query["OriginTargetId"] = request.originTargetId;
2520
+ }
2506
2521
  if (!$dara.isNull(request.provisioningStatus)) {
2507
2522
  query["ProvisioningStatus"] = request.provisioningStatus;
2508
2523
  }
@@ -2542,10 +2557,10 @@ class Client extends openapi_core_1.default {
2542
2557
  return await this.listAccessConfigurationProvisioningsWithOptions(request, runtime);
2543
2558
  }
2544
2559
  /**
2545
- * Queries a list of access configurations.
2560
+ * Queries the list of access configurations.
2546
2561
  *
2547
2562
  * @remarks
2548
- * This topic provides an example of how to query the access configurations in the folder `d-00fc2p61****`. The response shows two access configurations: `VPC-Admin` and `ECS-Admin`.
2563
+ * This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
2549
2564
  *
2550
2565
  * @param request - ListAccessConfigurationsRequest
2551
2566
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2589,10 +2604,10 @@ class Client extends openapi_core_1.default {
2589
2604
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListAccessConfigurationsResponse({}));
2590
2605
  }
2591
2606
  /**
2592
- * Queries a list of access configurations.
2607
+ * Queries the list of access configurations.
2593
2608
  *
2594
2609
  * @remarks
2595
- * This topic provides an example of how to query the access configurations in the folder `d-00fc2p61****`. The response shows two access configurations: `VPC-Admin` and `ECS-Admin`.
2610
+ * This topic provides an example on how to query the access configurations in the directory `d-00fc2p61****`. The response shows that there are two access configurations: `VPC-Admin` and `ECS-Admin`.
2596
2611
  *
2597
2612
  * @param request - ListAccessConfigurationsRequest
2598
2613
  * @returns ListAccessConfigurationsResponse
@@ -2847,10 +2862,10 @@ class Client extends openapi_core_1.default {
2847
2862
  return await this.listJoinedGroupsForUserWithOptions(request, runtime);
2848
2863
  }
2849
2864
  /**
2850
- * Queries the list of MFA devices for a user. Each user can have a maximum of two MFA devices.
2865
+ * Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
2851
2866
  *
2852
2867
  * @remarks
2853
- * This topic provides an example on how to query the MFA device list for the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
2868
+ * This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
2854
2869
  *
2855
2870
  * @param request - ListMFADevicesForUserRequest
2856
2871
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2882,10 +2897,10 @@ class Client extends openapi_core_1.default {
2882
2897
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMFADevicesForUserResponse({}));
2883
2898
  }
2884
2899
  /**
2885
- * Queries the list of MFA devices for a user. Each user can have a maximum of two MFA devices.
2900
+ * Queries the MFA device list of a user. Each user can have a maximum of two MFA devices.
2886
2901
  *
2887
2902
  * @remarks
2888
- * This topic provides an example on how to query the MFA device list for the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
2903
+ * This topic provides an example on how to query the MFA device list of the user `u-00q8wbq42wiltcrk****`. The response shows that the user has one MFA device named `Alice-MFA1`.
2889
2904
  *
2890
2905
  * @param request - ListMFADevicesForUserRequest
2891
2906
  * @returns ListMFADevicesForUserResponse
@@ -3249,6 +3264,9 @@ class Client extends openapi_core_1.default {
3249
3264
  if (!$dara.isNull(request.directoryId)) {
3250
3265
  query["DirectoryId"] = request.directoryId;
3251
3266
  }
3267
+ if (!$dara.isNull(request.originTargetId)) {
3268
+ query["OriginTargetId"] = request.originTargetId;
3269
+ }
3252
3270
  if (!$dara.isNull(request.targetId)) {
3253
3271
  query["TargetId"] = request.targetId;
3254
3272
  }