@alicloud/ecd20201002 3.0.0 → 3.0.1

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 +56 -40
  2. package/dist/client.js +62 -66
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApproveFotaUpdateRequest.d.ts +5 -7
  5. package/dist/models/ApproveFotaUpdateRequest.js.map +1 -1
  6. package/dist/models/ChangePasswordRequest.d.ts +3 -3
  7. package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
  8. package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
  9. package/dist/models/DescribeFingerPrintTemplatesRequest.d.ts +3 -3
  10. package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +5 -5
  11. package/dist/models/DescribeGlobalDesktopsRequest.d.ts +35 -28
  12. package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
  13. package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +89 -70
  14. package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
  15. package/dist/models/DescribeRegionsRequest.d.ts +1 -1
  16. package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
  17. package/dist/models/DescribeSnapshotsRequest.d.ts +5 -5
  18. package/dist/models/DescribeSnapshotsResponseBody.d.ts +11 -27
  19. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  20. package/dist/models/DescribeUserResourcesRequest.d.ts +35 -21
  21. package/dist/models/DescribeUserResourcesRequest.js +2 -0
  22. package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
  23. package/dist/models/DescribeUserResourcesResponseBody.d.ts +216 -68
  24. package/dist/models/DescribeUserResourcesResponseBody.js +42 -1
  25. package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
  26. package/dist/models/EncryptPasswordRequest.d.ts +2 -2
  27. package/dist/models/GetConnectionTicketRequest.d.ts +23 -17
  28. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  29. package/dist/models/GetConnectionTicketResponseBody.d.ts +8 -4
  30. package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
  31. package/dist/models/GetLoginTokenRequest.d.ts +34 -23
  32. package/dist/models/GetLoginTokenRequest.js.map +1 -1
  33. package/dist/models/GetLoginTokenResponseBody.d.ts +50 -25
  34. package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
  35. package/dist/models/GetLoginTokenShrinkRequest.d.ts +34 -23
  36. package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
  37. package/dist/models/RefreshLoginTokenRequest.d.ts +2 -2
  38. package/dist/models/ReportSessionStatusRequest.d.ts +20 -6
  39. package/dist/models/ReportSessionStatusRequest.js.map +1 -1
  40. package/dist/models/ReportSessionStatusResponseBody.d.ts +1 -1
  41. package/dist/models/ResetPasswordRequest.d.ts +5 -5
  42. package/dist/models/ResetSnapshotRequest.d.ts +4 -4
  43. package/dist/models/SendTokenCodeRequest.d.ts +6 -6
  44. package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +2 -2
  45. package/dist/models/SetFingerPrintTemplateRequest.d.ts +8 -8
  46. package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
  47. package/dist/models/StopDesktopsRequest.d.ts +33 -8
  48. package/dist/models/StopDesktopsRequest.js +2 -0
  49. package/dist/models/StopDesktopsRequest.js.map +1 -1
  50. package/dist/models/UnbindUserDesktopRequest.d.ts +4 -9
  51. package/dist/models/UnbindUserDesktopRequest.js.map +1 -1
  52. package/dist/models/VerifyCredentialRequest.d.ts +7 -9
  53. package/dist/models/VerifyCredentialRequest.js.map +1 -1
  54. package/dist/models/model.d.ts +1 -0
  55. package/dist/models/model.js +12 -10
  56. package/dist/models/model.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/client.ts +64 -66
  59. package/src/models/ApproveFotaUpdateRequest.ts +5 -7
  60. package/src/models/ChangePasswordRequest.ts +3 -3
  61. package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
  62. package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
  63. package/src/models/DescribeFingerPrintTemplatesRequest.ts +3 -3
  64. package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +5 -5
  65. package/src/models/DescribeGlobalDesktopsRequest.ts +35 -28
  66. package/src/models/DescribeGlobalDesktopsResponseBody.ts +89 -70
  67. package/src/models/DescribeRegionsRequest.ts +1 -1
  68. package/src/models/DescribeRegionsResponseBody.ts +1 -1
  69. package/src/models/DescribeSnapshotsRequest.ts +5 -5
  70. package/src/models/DescribeSnapshotsResponseBody.ts +11 -27
  71. package/src/models/DescribeUserResourcesRequest.ts +37 -21
  72. package/src/models/DescribeUserResourcesResponseBody.ts +248 -68
  73. package/src/models/EncryptPasswordRequest.ts +2 -2
  74. package/src/models/GetConnectionTicketRequest.ts +23 -17
  75. package/src/models/GetConnectionTicketResponseBody.ts +8 -4
  76. package/src/models/GetLoginTokenRequest.ts +34 -23
  77. package/src/models/GetLoginTokenResponseBody.ts +50 -25
  78. package/src/models/GetLoginTokenShrinkRequest.ts +34 -23
  79. package/src/models/RefreshLoginTokenRequest.ts +2 -2
  80. package/src/models/ReportSessionStatusRequest.ts +20 -6
  81. package/src/models/ReportSessionStatusResponseBody.ts +1 -1
  82. package/src/models/ResetPasswordRequest.ts +5 -5
  83. package/src/models/ResetSnapshotRequest.ts +4 -4
  84. package/src/models/SendTokenCodeRequest.ts +6 -6
  85. package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +2 -2
  86. package/src/models/SetFingerPrintTemplateRequest.ts +8 -8
  87. package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
  88. package/src/models/StopDesktopsRequest.ts +35 -8
  89. package/src/models/UnbindUserDesktopRequest.ts +4 -9
  90. package/src/models/VerifyCredentialRequest.ts +7 -9
  91. package/src/models/model.ts +1 -0
package/src/client.ts CHANGED
@@ -12,32 +12,6 @@ export default class Client extends OpenApi {
12
12
  constructor(config: $OpenApiUtil.Config) {
13
13
  super(config);
14
14
  this._endpointRule = "regional";
15
- this._endpointMap = {
16
- 'us-west-1': "ecd.us-west-1.aliyuncs.com",
17
- 'us-east-1': "ecd.us-east-1.aliyuncs.com",
18
- 'me-east-1': "ecd.me-east-1.aliyuncs.com",
19
- 'me-central-1': "ecd.me-central-1.aliyuncs.com",
20
- 'eu-west-1': "ecd.eu-west-1.aliyuncs.com",
21
- 'eu-central-1': "ecd.eu-central-1.aliyuncs.com",
22
- 'cn-zhangjiakou': "ecd.cn-zhangjiakou.aliyuncs.com",
23
- 'cn-wulanchabu': "ecd.cn-wulanchabu.aliyuncs.com",
24
- 'cn-shenzhen': "ecd.cn-shenzhen.aliyuncs.com",
25
- 'cn-shanghai-finance-1': "ecd.cn-shanghai-finance-1.aliyuncs.com",
26
- 'cn-shanghai': "ecd.cn-shanghai.aliyuncs.com",
27
- 'cn-qingdao': "ecd.cn-qingdao.aliyuncs.com",
28
- 'cn-nanjing': "ecd.cn-nanjing.aliyuncs.com",
29
- 'cn-hongkong': "ecd.cn-hongkong.aliyuncs.com",
30
- 'cn-hangzhou-finance': "ecd.cn-hangzhou-finance.aliyuncs.com",
31
- 'cn-hangzhou': "ecd.cn-hangzhou.aliyuncs.com",
32
- 'cn-guangzhou': "ecd.cn-guangzhou.aliyuncs.com",
33
- 'cn-chengdu': "ecd.cn-chengdu.aliyuncs.com",
34
- 'cn-beijing': "ecd.cn-beijing.aliyuncs.com",
35
- 'ap-southeast-7': "ecd.ap-southeast-7.aliyuncs.com",
36
- 'ap-southeast-6': "ecd.ap-southeast-6.aliyuncs.com",
37
- 'ap-southeast-5': "ecd.ap-southeast-5.aliyuncs.com",
38
- 'ap-southeast-1': "ecd.ap-southeast-1.aliyuncs.com",
39
- 'ap-northeast-1': "ecd.ap-northeast-1.aliyuncs.com",
40
- };
41
15
  this.checkConfig(config);
42
16
  this._endpoint = this.getEndpoint("ecd", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
43
17
  }
@@ -56,7 +30,7 @@ export default class Client extends OpenApi {
56
30
  }
57
31
 
58
32
  /**
59
- * Enables OTA updates for cloud computers.
33
+ * Allows over-the-air updates for cloud computers.
60
34
  *
61
35
  * @param request - ApproveFotaUpdateRequest
62
36
  * @param runtime - runtime options for this request RuntimeOptions
@@ -115,7 +89,7 @@ export default class Client extends OpenApi {
115
89
  }
116
90
 
117
91
  /**
118
- * Enables OTA updates for cloud computers.
92
+ * Allows over-the-air updates for cloud computers.
119
93
  *
120
94
  * @param request - ApproveFotaUpdateRequest
121
95
  * @returns ApproveFotaUpdateResponse
@@ -126,7 +100,7 @@ export default class Client extends OpenApi {
126
100
  }
127
101
 
128
102
  /**
129
- * Changes the password of a user account.
103
+ * Modifies the password of a user.
130
104
  *
131
105
  * @param request - ChangePasswordRequest
132
106
  * @param runtime - runtime options for this request RuntimeOptions
@@ -185,7 +159,7 @@ export default class Client extends OpenApi {
185
159
  }
186
160
 
187
161
  /**
188
- * Changes the password of a user account.
162
+ * Modifies the password of a user.
189
163
  *
190
164
  * @param request - ChangePasswordRequest
191
165
  * @returns ChangePasswordResponse
@@ -196,6 +170,8 @@ export default class Client extends OpenApi {
196
170
  }
197
171
 
198
172
  /**
173
+ * Deletes a specified fingerprint template.
174
+ *
199
175
  * @param request - DeleteFingerPrintTemplateRequest
200
176
  * @param runtime - runtime options for this request RuntimeOptions
201
177
  * @returns DeleteFingerPrintTemplateResponse
@@ -245,6 +221,8 @@ export default class Client extends OpenApi {
245
221
  }
246
222
 
247
223
  /**
224
+ * Deletes a specified fingerprint template.
225
+ *
248
226
  * @param request - DeleteFingerPrintTemplateRequest
249
227
  * @returns DeleteFingerPrintTemplateResponse
250
228
  */
@@ -358,11 +336,11 @@ export default class Client extends OpenApi {
358
336
  }
359
337
 
360
338
  /**
361
- * Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
339
+ * Queries the details of cloud computers in multiple regions. Currently, only regions in the Chinese mainland are supported.
362
340
  *
363
341
  * @remarks
364
- * - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
365
- * - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
342
+ * - This API operation uses a centralized domain name. The endpoint is in Shanghai, and calls from other regions are not supported.
343
+ * - The cloud computer status information in this API operation has a delay of 1 to 3 seconds compared to the actual value.
366
344
  *
367
345
  * @param request - DescribeGlobalDesktopsRequest
368
346
  * @param runtime - runtime options for this request RuntimeOptions
@@ -469,11 +447,11 @@ export default class Client extends OpenApi {
469
447
  }
470
448
 
471
449
  /**
472
- * Query detailed information about cloud desktops across multiple regions. You can query only regions in the Chinese mainland (excluding Nanjing – Local Region – Shutting Down).
450
+ * Queries the details of cloud computers in multiple regions. Currently, only regions in the Chinese mainland are supported.
473
451
  *
474
452
  * @remarks
475
- * - This API uses a centralized domain name with its endpoint in Shanghai. You cannot call this API from other regions.
476
- * - The cloud desktop status returned by this API may be delayed by 1 to 3 seconds.
453
+ * - This API operation uses a centralized domain name. The endpoint is in Shanghai, and calls from other regions are not supported.
454
+ * - The cloud computer status information in this API operation has a delay of 1 to 3 seconds compared to the actual value.
477
455
  *
478
456
  * @param request - DescribeGlobalDesktopsRequest
479
457
  * @returns DescribeGlobalDesktopsResponse
@@ -538,6 +516,8 @@ export default class Client extends OpenApi {
538
516
  }
539
517
 
540
518
  /**
519
+ * Queries the Alibaba Cloud region information supported by WUYING Workspace by calling DescribeRegions.
520
+ *
541
521
  * @param request - DescribeRegionsRequest
542
522
  * @param runtime - runtime options for this request RuntimeOptions
543
523
  * @returns DescribeRegionsResponse
@@ -571,6 +551,8 @@ export default class Client extends OpenApi {
571
551
  }
572
552
 
573
553
  /**
554
+ * Queries the Alibaba Cloud region information supported by WUYING Workspace by calling DescribeRegions.
555
+ *
574
556
  * @param request - DescribeRegionsRequest
575
557
  * @returns DescribeRegionsResponse
576
558
  */
@@ -580,7 +562,7 @@ export default class Client extends OpenApi {
580
562
  }
581
563
 
582
564
  /**
583
- * Queries the snapshots that are created based on a cloud computer and the details of the snapshots.
565
+ * Queries the list and details of snapshots for a cloud desktop.
584
566
  *
585
567
  * @param request - DescribeSnapshotsRequest
586
568
  * @param runtime - runtime options for this request RuntimeOptions
@@ -639,7 +621,7 @@ export default class Client extends OpenApi {
639
621
  }
640
622
 
641
623
  /**
642
- * Queries the snapshots that are created based on a cloud computer and the details of the snapshots.
624
+ * Queries the list and details of snapshots for a cloud desktop.
643
625
  *
644
626
  * @param request - DescribeSnapshotsRequest
645
627
  * @returns DescribeSnapshotsResponse
@@ -650,10 +632,10 @@ export default class Client extends OpenApi {
650
632
  }
651
633
 
652
634
  /**
653
- * Queries the list of resources owned by a user.
635
+ * Queries the list of user resources.
654
636
  *
655
637
  * @remarks
656
- * Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
638
+ * Before you call this operation, make sure that you fully understand the resource types and product types of WUYING Workspace.
657
639
  *
658
640
  * @param request - DescribeUserResourcesRequest
659
641
  * @param runtime - runtime options for this request RuntimeOptions
@@ -774,6 +756,10 @@ export default class Client extends OpenApi {
774
756
  query["SortType"] = request.sortType;
775
757
  }
776
758
 
759
+ if (!$dara.isNull(request.uuid)) {
760
+ query["Uuid"] = request.uuid;
761
+ }
762
+
777
763
  let req = new $OpenApiUtil.OpenApiRequest({
778
764
  query: OpenApiUtil.query(query),
779
765
  });
@@ -792,10 +778,10 @@ export default class Client extends OpenApi {
792
778
  }
793
779
 
794
780
  /**
795
- * Queries the list of resources owned by a user.
781
+ * Queries the list of user resources.
796
782
  *
797
783
  * @remarks
798
- * Make sure that you are familiar with the resource types and product types of WUYING before you call this operation.
784
+ * Before you call this operation, make sure that you fully understand the resource types and product types of WUYING Workspace.
799
785
  *
800
786
  * @param request - DescribeUserResourcesRequest
801
787
  * @returns DescribeUserResourcesResponse
@@ -806,7 +792,7 @@ export default class Client extends OpenApi {
806
792
  }
807
793
 
808
794
  /**
809
- * Encrypts a password.
795
+ * Encrypts a user password.
810
796
  *
811
797
  * @param request - EncryptPasswordRequest
812
798
  * @param runtime - runtime options for this request RuntimeOptions
@@ -861,7 +847,7 @@ export default class Client extends OpenApi {
861
847
  }
862
848
 
863
849
  /**
864
- * Encrypts a password.
850
+ * Encrypts a user password.
865
851
  *
866
852
  * @param request - EncryptPasswordRequest
867
853
  * @returns EncryptPasswordResponse
@@ -930,10 +916,10 @@ export default class Client extends OpenApi {
930
916
  }
931
917
 
932
918
  /**
933
- * Obtains a connection ticket for a cloud computer.
919
+ * Retrieves the connection credentials for a cloud desktop.
934
920
  *
935
921
  * @remarks
936
- * The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
922
+ * When you call this operation for the first time, the system returns a `TaskId`. Use this `TaskId` to continue calling this operation until the value of `TaskStatus` changes to `FINISHED` or `FAILED`. When `TaskStatus` is `FINISHED`, the value of `Ticket` is the ticket that the client uses to connect to the cloud desktop.
937
923
  *
938
924
  * @param request - GetConnectionTicketRequest
939
925
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1028,10 +1014,10 @@ export default class Client extends OpenApi {
1028
1014
  }
1029
1015
 
1030
1016
  /**
1031
- * Obtains a connection ticket for a cloud computer.
1017
+ * Retrieves the connection credentials for a cloud desktop.
1032
1018
  *
1033
1019
  * @remarks
1034
- * The first time you call this operation, it returns a `TaskID`. You can use this `TaskID` to call the operation again until `TaskStatus` changes to `FINISHED` or `FAILED`. If `TaskStatus` is `FINISHED`, the `Ticket` value is the connection ticket that the client uses to connect to the cloud computer.
1020
+ * When you call this operation for the first time, the system returns a `TaskId`. Use this `TaskId` to continue calling this operation until the value of `TaskStatus` changes to `FINISHED` or `FAILED`. When `TaskStatus` is `FINISHED`, the value of `Ticket` is the ticket that the client uses to connect to the cloud desktop.
1035
1021
  *
1036
1022
  * @param request - GetConnectionTicketRequest
1037
1023
  * @returns GetConnectionTicketResponse
@@ -1298,10 +1284,10 @@ export default class Client extends OpenApi {
1298
1284
  }
1299
1285
 
1300
1286
  /**
1301
- * Purge the logon credential.
1287
+ * Refreshes the logon credential.
1302
1288
  *
1303
1289
  * @remarks
1304
- * The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
1290
+ * A logon credential (LoginToken) is valid for 8 hours. If the end user does not log off from the client within 8 hours, the client must refresh the logon credential.
1305
1291
  *
1306
1292
  * @param request - RefreshLoginTokenRequest
1307
1293
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1356,10 +1342,10 @@ export default class Client extends OpenApi {
1356
1342
  }
1357
1343
 
1358
1344
  /**
1359
- * Purge the logon credential.
1345
+ * Refreshes the logon credential.
1360
1346
  *
1361
1347
  * @remarks
1362
- * The validity period of a logon credential (LoginToken) is 8 hours. If the end user does not log off from the client within 8 hours, the client must purge the logon credential.
1348
+ * A logon credential (LoginToken) is valid for 8 hours. If the end user does not log off from the client within 8 hours, the client must refresh the logon credential.
1363
1349
  *
1364
1350
  * @param request - RefreshLoginTokenRequest
1365
1351
  * @returns RefreshLoginTokenResponse
@@ -1424,7 +1410,7 @@ export default class Client extends OpenApi {
1424
1410
  }
1425
1411
 
1426
1412
  /**
1427
- * Report session status.
1413
+ * Reports the session status.
1428
1414
  *
1429
1415
  * @param request - ReportSessionStatusRequest
1430
1416
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1475,7 +1461,7 @@ export default class Client extends OpenApi {
1475
1461
  }
1476
1462
 
1477
1463
  /**
1478
- * Report session status.
1464
+ * Reports the session status.
1479
1465
  *
1480
1466
  * @param request - ReportSessionStatusRequest
1481
1467
  * @returns ReportSessionStatusResponse
@@ -1486,7 +1472,7 @@ export default class Client extends OpenApi {
1486
1472
  }
1487
1473
 
1488
1474
  /**
1489
- * Resets a password.
1475
+ * Resets a user password.
1490
1476
  *
1491
1477
  * @param request - ResetPasswordRequest
1492
1478
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1541,7 +1527,7 @@ export default class Client extends OpenApi {
1541
1527
  }
1542
1528
 
1543
1529
  /**
1544
- * Resets a password.
1530
+ * Resets a user password.
1545
1531
  *
1546
1532
  * @param request - ResetPasswordRequest
1547
1533
  * @returns ResetPasswordResponse
@@ -1552,7 +1538,7 @@ export default class Client extends OpenApi {
1552
1538
  }
1553
1539
 
1554
1540
  /**
1555
- * Restores the data of a disk from a snapshot.
1541
+ * Restores the disk data corresponding to a snapshot.
1556
1542
  *
1557
1543
  * @param request - ResetSnapshotRequest
1558
1544
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1607,7 +1593,7 @@ export default class Client extends OpenApi {
1607
1593
  }
1608
1594
 
1609
1595
  /**
1610
- * Restores the data of a disk from a snapshot.
1596
+ * Restores the disk data corresponding to a snapshot.
1611
1597
  *
1612
1598
  * @param request - ResetSnapshotRequest
1613
1599
  * @returns ResetSnapshotResponse
@@ -1688,6 +1674,8 @@ export default class Client extends OpenApi {
1688
1674
  }
1689
1675
 
1690
1676
  /**
1677
+ * Sets a fingerprint template.
1678
+ *
1691
1679
  * @param request - SetFingerPrintTemplateRequest
1692
1680
  * @param runtime - runtime options for this request RuntimeOptions
1693
1681
  * @returns SetFingerPrintTemplateResponse
@@ -1753,6 +1741,8 @@ export default class Client extends OpenApi {
1753
1741
  }
1754
1742
 
1755
1743
  /**
1744
+ * Sets a fingerprint template.
1745
+ *
1756
1746
  * @param request - SetFingerPrintTemplateRequest
1757
1747
  * @returns SetFingerPrintTemplateResponse
1758
1748
  */
@@ -1762,6 +1752,8 @@ export default class Client extends OpenApi {
1762
1752
  }
1763
1753
 
1764
1754
  /**
1755
+ * Sets the description of a fingerprint template.
1756
+ *
1765
1757
  * @param request - SetFingerPrintTemplateDescriptionRequest
1766
1758
  * @param runtime - runtime options for this request RuntimeOptions
1767
1759
  * @returns SetFingerPrintTemplateDescriptionResponse
@@ -1815,6 +1807,8 @@ export default class Client extends OpenApi {
1815
1807
  }
1816
1808
 
1817
1809
  /**
1810
+ * Sets the description of a fingerprint template.
1811
+ *
1818
1812
  * @param request - SetFingerPrintTemplateDescriptionRequest
1819
1813
  * @returns SetFingerPrintTemplateDescriptionResponse
1820
1814
  */
@@ -1970,10 +1964,10 @@ export default class Client extends OpenApi {
1970
1964
  }
1971
1965
 
1972
1966
  /**
1973
- * Stops one or more cloud computers.
1967
+ * Stops one or more cloud desktops.
1974
1968
  *
1975
1969
  * @remarks
1976
- * You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
1970
+ * The cloud desktop must be in the Running state. After the API operation is called, the state of the cloud desktop changes to Stopped.
1977
1971
  *
1978
1972
  * @param request - StopDesktopsRequest
1979
1973
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2002,6 +1996,10 @@ export default class Client extends OpenApi {
2002
1996
  query["DesktopId"] = request.desktopId;
2003
1997
  }
2004
1998
 
1999
+ if (!$dara.isNull(request.forceStop)) {
2000
+ query["ForceStop"] = request.forceStop;
2001
+ }
2002
+
2005
2003
  if (!$dara.isNull(request.loginToken)) {
2006
2004
  query["LoginToken"] = request.loginToken;
2007
2005
  }
@@ -2044,10 +2042,10 @@ export default class Client extends OpenApi {
2044
2042
  }
2045
2043
 
2046
2044
  /**
2047
- * Stops one or more cloud computers.
2045
+ * Stops one or more cloud desktops.
2048
2046
  *
2049
2047
  * @remarks
2050
- * You can stop only cloud computers that are in the Running state. After you call this operation, their state changes to Stopped.
2048
+ * The cloud desktop must be in the Running state. After the API operation is called, the state of the cloud desktop changes to Stopped.
2051
2049
  *
2052
2050
  * @param request - StopDesktopsRequest
2053
2051
  * @returns StopDesktopsResponse
@@ -2120,7 +2118,7 @@ export default class Client extends OpenApi {
2120
2118
  }
2121
2119
 
2122
2120
  /**
2123
- * Unbinds end users from cloud computers.
2121
+ * Disassociates a user from a cloud desktop.
2124
2122
  *
2125
2123
  * @param request - UnbindUserDesktopRequest
2126
2124
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2175,7 +2173,7 @@ export default class Client extends OpenApi {
2175
2173
  }
2176
2174
 
2177
2175
  /**
2178
- * Unbinds end users from cloud computers.
2176
+ * Disassociates a user from a cloud desktop.
2179
2177
  *
2180
2178
  * @param request - UnbindUserDesktopRequest
2181
2179
  * @returns UnbindUserDesktopResponse
@@ -2186,7 +2184,7 @@ export default class Client extends OpenApi {
2186
2184
  }
2187
2185
 
2188
2186
  /**
2189
- * Validates credentials to lock on-premises sessions on clients.
2187
+ * Verifies the credential used to unlock a local session on the client.
2190
2188
  *
2191
2189
  * @param request - VerifyCredentialRequest
2192
2190
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2245,7 +2243,7 @@ export default class Client extends OpenApi {
2245
2243
  }
2246
2244
 
2247
2245
  /**
2248
- * Validates credentials to lock on-premises sessions on clients.
2246
+ * Verifies the credential used to unlock a local session on the client.
2249
2247
  *
2250
2248
  * @param request - VerifyCredentialRequest
2251
2249
  * @returns VerifyCredentialResponse
@@ -15,7 +15,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
15
15
  appVersion?: string;
16
16
  /**
17
17
  * @remarks
18
- * The client ID. The system generates a unique ID for each client.
18
+ * The unique ID generated by the client.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -33,7 +33,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
33
33
  desktopId?: string;
34
34
  /**
35
35
  * @remarks
36
- * The logon token.
36
+ * The logon credential.
37
37
  *
38
38
  * This parameter is required.
39
39
  *
@@ -61,11 +61,9 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
61
61
  sessionId?: string;
62
62
  /**
63
63
  * @remarks
64
- * The state of the cloud computer after the OTA update.
64
+ * The status of the cloud computer after the over-the-air update.
65
65
  *
66
- * > This parameter is not publicly available. After the OTA update is complete, the state of the cloud computer changes to `RUNNING`.
67
- *
68
- * * Set the value to running.
66
+ * > This parameter is not publicly available. After the update is complete, the cloud computer status changes to `RUNNING`.
69
67
  *
70
68
  * @example
71
69
  * running
@@ -73,7 +71,7 @@ export class ApproveFotaUpdateRequest extends $dara.Model {
73
71
  targetStatus?: string;
74
72
  /**
75
73
  * @remarks
76
- * The unique identifier of the client. To view the unique identifier of an Alibaba Cloud Workspace client, go to the client logon page and click on "About."
74
+ * The unique identifier of the client. If you use the China Desktop Service (China Desktop Service) client, you can view this parameter on the **About** panel of the client logon page.
77
75
  *
78
76
  * @example
79
77
  * 28c80e90-f71e-4c23-93d6-1225329c****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ChangePasswordRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client ID. The system generates a unique ID for each client.
8
+ * The unique ID generated by the client.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class ChangePasswordRequest extends $dara.Model {
15
15
  clientId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The user ID.
18
+ * The username.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -55,7 +55,7 @@ export class ChangePasswordRequest extends $dara.Model {
55
55
  officeSiteId?: string;
56
56
  /**
57
57
  * @remarks
58
- * The current password.
58
+ * The old password.
59
59
  *
60
60
  * This parameter is required.
61
61
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteFingerPrintTemplateRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Unique ID generated by the client.
8
+ * The unique ID generated by the client.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class DeleteFingerPrintTemplateRequest extends $dara.Model {
15
15
  clientId?: string;
16
16
  /**
17
17
  * @remarks
18
- * Ensures idempotence. Generate a unique value on your client for each request. ClientToken supports only ASCII characters and must not exceed 64 characters. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
18
+ * The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but make sure that the token is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. For more information, see [How to ensure idempotence](https://help.aliyun.com/document_detail/25693.html).
19
19
  *
20
20
  * @example
21
21
  * 40401e62-5caf-4508-8de7-bf98af12****
@@ -23,7 +23,7 @@ export class DeleteFingerPrintTemplateRequest extends $dara.Model {
23
23
  clientToken?: string;
24
24
  /**
25
25
  * @remarks
26
- * Index.
26
+ * The index.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -33,7 +33,7 @@ export class DeleteFingerPrintTemplateRequest extends $dara.Model {
33
33
  index?: number;
34
34
  /**
35
35
  * @remarks
36
- * Login token.
36
+ * The logon credential.
37
37
  *
38
38
  * This parameter is required.
39
39
  *
@@ -43,7 +43,7 @@ export class DeleteFingerPrintTemplateRequest extends $dara.Model {
43
43
  loginToken?: string;
44
44
  /**
45
45
  * @remarks
46
- * Region ID.
46
+ * The region ID.
47
47
  *
48
48
  * This parameter is required.
49
49
  *
@@ -53,7 +53,7 @@ export class DeleteFingerPrintTemplateRequest extends $dara.Model {
53
53
  regionId?: string;
54
54
  /**
55
55
  * @remarks
56
- * Session ID.
56
+ * The session ID.
57
57
  *
58
58
  * This parameter is required.
59
59
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteFingerPrintTemplateResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Request ID.
8
+ * The request ID.
9
9
  *
10
10
  * @example
11
11
  * 134BD0B2-B848-5743-9CE2-C1FD3D5F****
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client ID. The system generates a unique ID for each client.
8
+ * The unique ID generated by the client.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
15
15
  clientId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The logon token.
18
+ * The logon credential.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class DescribeFingerPrintTemplatesRequest extends $dara.Model {
25
25
  loginToken?: string;
26
26
  /**
27
27
  * @remarks
28
- * The region ID
28
+ * The region ID.
29
29
  *
30
30
  * This parameter is required.
31
31
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The client ID. The system generates a unique ID for each client.
8
+ * The unique ID generated by the client.
9
9
  *
10
10
  * @example
11
11
  * 2258a3d5-b8f8-4d79-a221-eaecf211****
@@ -13,7 +13,7 @@ export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extend
13
13
  clientId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The time when the template was created.
16
+ * The creation time.
17
17
  *
18
18
  * @example
19
19
  * 2022-03-13T13:26:29Z
@@ -21,7 +21,7 @@ export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extend
21
21
  creationTime?: string;
22
22
  /**
23
23
  * @remarks
24
- * The description of the template.
24
+ * The description.
25
25
  *
26
26
  * @example
27
27
  * Finger 1
@@ -29,7 +29,7 @@ export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extend
29
29
  description?: string;
30
30
  /**
31
31
  * @remarks
32
- * The user ID.
32
+ * The user.
33
33
  *
34
34
  * @example
35
35
  * alice
@@ -95,7 +95,7 @@ export class DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates extend
95
95
  export class DescribeFingerPrintTemplatesResponseBody extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
- * The fingerprint templates.
98
+ * The fingerprint template objects.
99
99
  */
100
100
  fingerPrintTemplates?: DescribeFingerPrintTemplatesResponseBodyFingerPrintTemplates[];
101
101
  /**