@alicloud/ecd20200930 5.5.2 → 5.6.0

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 (61) hide show
  1. package/dist/client.d.ts +37 -22
  2. package/dist/client.js +77 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +5 -6
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +2 -2
  7. package/dist/models/CopyImageRequest.d.ts +3 -3
  8. package/dist/models/CreateConfigGroupRequest.d.ts +17 -17
  9. package/dist/models/CreateConfigGroupResponseBody.d.ts +1 -1
  10. package/dist/models/DescribeCloudDriveGroupsRequest.d.ts +14 -16
  11. package/dist/models/DescribeCloudDriveGroupsRequest.js.map +1 -1
  12. package/dist/models/DescribeCloudDriveGroupsResponseBody.d.ts +19 -19
  13. package/dist/models/DescribeDesktopsRequest.d.ts +34 -33
  14. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  15. package/dist/models/DescribeDesktopsResponseBody.d.ts +77 -73
  16. package/dist/models/DescribeDesktopsResponseBody.js +4 -0
  17. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  18. package/dist/models/DescribeFotaPendingDesktopsRequest.d.ts +7 -7
  19. package/dist/models/DescribeFotaPendingDesktopsResponseBody.d.ts +7 -7
  20. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +28 -23
  21. package/dist/models/DescribeGlobalDesktopRecordsRequest.js +5 -0
  22. package/dist/models/DescribeGlobalDesktopRecordsRequest.js.map +1 -1
  23. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +28 -23
  24. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +5 -0
  25. package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -1
  26. package/dist/models/DescribePrinterEventsRequest.d.ts +11 -8
  27. package/dist/models/DescribePrinterEventsRequest.js.map +1 -1
  28. package/dist/models/DescribePrinterEventsResponseBody.d.ts +6 -6
  29. package/dist/models/GenerateSceneKeyRequest.d.ts +49 -0
  30. package/dist/models/GenerateSceneKeyRequest.js +64 -0
  31. package/dist/models/GenerateSceneKeyRequest.js.map +1 -0
  32. package/dist/models/GenerateSceneKeyResponse.d.ts +19 -0
  33. package/dist/models/GenerateSceneKeyResponse.js +69 -0
  34. package/dist/models/GenerateSceneKeyResponse.js.map +1 -0
  35. package/dist/models/GenerateSceneKeyResponseBody.d.ts +53 -0
  36. package/dist/models/GenerateSceneKeyResponseBody.js +66 -0
  37. package/dist/models/GenerateSceneKeyResponseBody.js.map +1 -0
  38. package/dist/models/model.d.ts +3 -0
  39. package/dist/models/model.js +14 -8
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +2 -1
  42. package/src/client.ts +84 -22
  43. package/src/models/BatchModifyEntitlementRequest.ts +5 -6
  44. package/src/models/BatchModifyEntitlementResponseBody.ts +2 -2
  45. package/src/models/CopyImageRequest.ts +3 -3
  46. package/src/models/CreateConfigGroupRequest.ts +17 -17
  47. package/src/models/CreateConfigGroupResponseBody.ts +1 -1
  48. package/src/models/DescribeCloudDriveGroupsRequest.ts +14 -16
  49. package/src/models/DescribeCloudDriveGroupsResponseBody.ts +19 -19
  50. package/src/models/DescribeDesktopsRequest.ts +34 -33
  51. package/src/models/DescribeDesktopsResponseBody.ts +81 -73
  52. package/src/models/DescribeFotaPendingDesktopsRequest.ts +7 -7
  53. package/src/models/DescribeFotaPendingDesktopsResponseBody.ts +7 -7
  54. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +33 -23
  55. package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +33 -23
  56. package/src/models/DescribePrinterEventsRequest.ts +11 -8
  57. package/src/models/DescribePrinterEventsResponseBody.ts +6 -6
  58. package/src/models/GenerateSceneKeyRequest.ts +68 -0
  59. package/src/models/GenerateSceneKeyResponse.ts +40 -0
  60. package/src/models/GenerateSceneKeyResponseBody.ts +74 -0
  61. package/src/models/model.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -289,7 +289,7 @@ export default class Client extends OpenApi {
289
289
  *
290
290
  * @remarks
291
291
  * - The cloud desktop must be in the Running state.
292
- * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the `ManagementFlags` response parameter to determine whether the assignment is complete. A value of `ASSIGNING` indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
292
+ * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the ManagementFlags response parameter to determine whether the assignment is complete. A value of ASSIGNING indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
293
293
  * - Check the assignment status every 2 to 5 seconds, up to a maximum of 50 seconds. In most cases, the assignment is completed within 1 to 5 seconds.
294
294
  *
295
295
  * @param request - BatchModifyEntitlementRequest
@@ -302,7 +302,7 @@ export default class Client extends OpenApi {
302
302
  *
303
303
  * @remarks
304
304
  * - The cloud desktop must be in the Running state.
305
- * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the `ManagementFlags` response parameter to determine whether the assignment is complete. A value of `ASSIGNING` indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
305
+ * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the ManagementFlags response parameter to determine whether the assignment is complete. A value of ASSIGNING indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
306
306
  * - Check the assignment status every 2 to 5 seconds, up to a maximum of 50 seconds. In most cases, the assignment is completed within 1 to 5 seconds.
307
307
  *
308
308
  * @param request - BatchModifyEntitlementRequest
@@ -475,7 +475,7 @@ export default class Client extends OpenApi {
475
475
  */
476
476
  copyCdsFile(request: $_model.CopyCdsFileRequest): Promise<$_model.CopyCdsFileResponse>;
477
477
  /**
478
- * Copies an image to another region. To share an image across regions, call this operation to copy the image to the destination region before sharing it.
478
+ * Copies an image to another region. To share an image across regions, you can call this operation to copy the image to the destination region before sharing it.
479
479
  *
480
480
  * @param request - CopyImageRequest
481
481
  * @param runtime - runtime options for this request RuntimeOptions
@@ -483,7 +483,7 @@ export default class Client extends OpenApi {
483
483
  */
484
484
  copyImageWithOptions(request: $_model.CopyImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CopyImageResponse>;
485
485
  /**
486
- * Copies an image to another region. To share an image across regions, call this operation to copy the image to the destination region before sharing it.
486
+ * Copies an image to another region. To share an image across regions, you can call this operation to copy the image to the destination region before sharing it.
487
487
  *
488
488
  * @param request - CopyImageRequest
489
489
  * @returns CopyImageResponse
@@ -720,7 +720,7 @@ export default class Client extends OpenApi {
720
720
  */
721
721
  createCloudDriveUsers(request: $_model.CreateCloudDriveUsersRequest): Promise<$_model.CreateCloudDriveUsersResponse>;
722
722
  /**
723
- * Creates a configuration group. A configuration group contains the configuration information of scheduled tasks in a Cloud Desktop center.
723
+ * Creates a configuration group. The configuration group contains the configuration information of scheduled tasks for cloud desktops.
724
724
  *
725
725
  * @param request - CreateConfigGroupRequest
726
726
  * @param runtime - runtime options for this request RuntimeOptions
@@ -728,7 +728,7 @@ export default class Client extends OpenApi {
728
728
  */
729
729
  createConfigGroupWithOptions(request: $_model.CreateConfigGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateConfigGroupResponse>;
730
730
  /**
731
- * Creates a configuration group. A configuration group contains the configuration information of scheduled tasks in a Cloud Desktop center.
731
+ * Creates a configuration group. The configuration group contains the configuration information of scheduled tasks for cloud desktops.
732
732
  *
733
733
  * @param request - CreateConfigGroupRequest
734
734
  * @returns CreateConfigGroupResponse
@@ -2256,7 +2256,7 @@ export default class Client extends OpenApi {
2256
2256
  */
2257
2257
  describeDesktopTypes(request: $_model.DescribeDesktopTypesRequest): Promise<$_model.DescribeDesktopTypesResponse>;
2258
2258
  /**
2259
- * Queries the details of a cloud computer.
2259
+ * Queries the details of one or more cloud desktops.
2260
2260
  *
2261
2261
  * @param request - DescribeDesktopsRequest
2262
2262
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2264,7 +2264,7 @@ export default class Client extends OpenApi {
2264
2264
  */
2265
2265
  describeDesktopsWithOptions(request: $_model.DescribeDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDesktopsResponse>;
2266
2266
  /**
2267
- * Queries the details of a cloud computer.
2267
+ * Queries the details of one or more cloud desktops.
2268
2268
  *
2269
2269
  * @param request - DescribeDesktopsRequest
2270
2270
  * @returns DescribeDesktopsResponse
@@ -2376,7 +2376,7 @@ export default class Client extends OpenApi {
2376
2376
  */
2377
2377
  describeForwardTableEntries(request: $_model.DescribeForwardTableEntriesRequest): Promise<$_model.DescribeForwardTableEntriesResponse>;
2378
2378
  /**
2379
- * Retrieves the information about cloud computers that can be upgraded to a specified image version but have not been upgraded.
2379
+ * Retrieves the information about cloud desktops that can be upgraded to the image of a specified version but have not been upgraded.
2380
2380
  *
2381
2381
  * @param request - DescribeFotaPendingDesktopsRequest
2382
2382
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2384,7 +2384,7 @@ export default class Client extends OpenApi {
2384
2384
  */
2385
2385
  describeFotaPendingDesktopsWithOptions(request: $_model.DescribeFotaPendingDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFotaPendingDesktopsResponse>;
2386
2386
  /**
2387
- * Retrieves the information about cloud computers that can be upgraded to a specified image version but have not been upgraded.
2387
+ * Retrieves the information about cloud desktops that can be upgraded to the image of a specified version but have not been upgraded.
2388
2388
  *
2389
2389
  * @param request - DescribeFotaPendingDesktopsRequest
2390
2390
  * @returns DescribeFotaPendingDesktopsResponse
@@ -2406,13 +2406,13 @@ export default class Client extends OpenApi {
2406
2406
  */
2407
2407
  describeFotaTasks(request: $_model.DescribeFotaTasksRequest): Promise<$_model.DescribeFotaTasksResponse>;
2408
2408
  /**
2409
- * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
2409
+ * Queries the basic information of all recent cloud computers and their corresponding usage duration records.
2410
2410
  *
2411
2411
  * @remarks
2412
- * - China site users must select Shanghai as the site. International site users must select Singapore.
2413
- * - By default, both deleted and non-deleted cloud desktops are queried.
2414
- * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
2415
- * - Sort conditions cannot be used together with other conditions.
2412
+ * - Users on the Chinese site select Shanghai, and users on the international site select Singapore.
2413
+ * - By default, you can query all cloud computers, including both deleted and undeleted ones.
2414
+ * - For deleted cloud computers, you can only query those that were deleted within the last three months.
2415
+ * - Sorting conditions cannot be used together with other conditions.
2416
2416
  *
2417
2417
  * @param request - DescribeGlobalDesktopRecordsRequest
2418
2418
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2420,13 +2420,13 @@ export default class Client extends OpenApi {
2420
2420
  */
2421
2421
  describeGlobalDesktopRecordsWithOptions(request: $_model.DescribeGlobalDesktopRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalDesktopRecordsResponse>;
2422
2422
  /**
2423
- * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
2423
+ * Queries the basic information of all recent cloud computers and their corresponding usage duration records.
2424
2424
  *
2425
2425
  * @remarks
2426
- * - China site users must select Shanghai as the site. International site users must select Singapore.
2427
- * - By default, both deleted and non-deleted cloud desktops are queried.
2428
- * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
2429
- * - Sort conditions cannot be used together with other conditions.
2426
+ * - Users on the Chinese site select Shanghai, and users on the international site select Singapore.
2427
+ * - By default, you can query all cloud computers, including both deleted and undeleted ones.
2428
+ * - For deleted cloud computers, you can only query those that were deleted within the last three months.
2429
+ * - Sorting conditions cannot be used together with other conditions.
2430
2430
  *
2431
2431
  * @param request - DescribeGlobalDesktopRecordsRequest
2432
2432
  * @returns DescribeGlobalDesktopRecordsResponse
@@ -2940,7 +2940,7 @@ export default class Client extends OpenApi {
2940
2940
  * Queries printer event information.
2941
2941
  *
2942
2942
  * @remarks
2943
- * Security alerts are classified into two dimensions: alerts and anomalies. A security alert contains multiple anomaly events.
2943
+ * Security alerts are divided into two dimensions: alerts and exceptions. A single security alert contains multiple exception events.
2944
2944
  *
2945
2945
  * @param request - DescribePrinterEventsRequest
2946
2946
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2951,7 +2951,7 @@ export default class Client extends OpenApi {
2951
2951
  * Queries printer event information.
2952
2952
  *
2953
2953
  * @remarks
2954
- * Security alerts are classified into two dimensions: alerts and anomalies. A security alert contains multiple anomaly events.
2954
+ * Security alerts are divided into two dimensions: alerts and exceptions. A single security alert contains multiple exception events.
2955
2955
  *
2956
2956
  * @param request - DescribePrinterEventsRequest
2957
2957
  * @returns DescribePrinterEventsResponse
@@ -3536,6 +3536,21 @@ export default class Client extends OpenApi {
3536
3536
  * @returns ExportDesktopListInfoResponse
3537
3537
  */
3538
3538
  exportDesktopListInfo(request: $_model.ExportDesktopListInfoRequest): Promise<$_model.ExportDesktopListInfoResponse>;
3539
+ /**
3540
+ * Generates an access key for a scenario.
3541
+ *
3542
+ * @param request - GenerateSceneKeyRequest
3543
+ * @param runtime - runtime options for this request RuntimeOptions
3544
+ * @returns GenerateSceneKeyResponse
3545
+ */
3546
+ generateSceneKeyWithOptions(request: $_model.GenerateSceneKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateSceneKeyResponse>;
3547
+ /**
3548
+ * Generates an access key for a scenario.
3549
+ *
3550
+ * @param request - GenerateSceneKeyRequest
3551
+ * @returns GenerateSceneKeyResponse
3552
+ */
3553
+ generateSceneKey(request: $_model.GenerateSceneKeyRequest): Promise<$_model.GenerateSceneKeyResponse>;
3539
3554
  /**
3540
3555
  * Queries desktop statistics by different dimensions.
3541
3556
  *
package/dist/client.js CHANGED
@@ -41,6 +41,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
41
41
  Object.defineProperty(exports, "__esModule", { value: true });
42
42
  // This file is auto-generated, don't edit it
43
43
  const $dara = __importStar(require("@darabonba/typescript"));
44
+ const gateway_pop_1 = __importDefault(require("@alicloud/gateway-pop"));
44
45
  const openapi_core_1 = __importDefault(require("@alicloud/openapi-core"));
45
46
  const openapi_core_2 = require("@alicloud/openapi-core");
46
47
  const $_model = __importStar(require("./models/model"));
@@ -48,6 +49,9 @@ __exportStar(require("./models/model"), exports);
48
49
  class Client extends openapi_core_1.default {
49
50
  constructor(config) {
50
51
  super(config);
52
+ this._productId = "ecd";
53
+ let gatewayClient = new gateway_pop_1.default();
54
+ this._spi = gatewayClient;
51
55
  this._endpointRule = "regional";
52
56
  this.checkConfig(config);
53
57
  this._endpoint = this.getEndpoint("ecd", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -908,7 +912,7 @@ class Client extends openapi_core_1.default {
908
912
  *
909
913
  * @remarks
910
914
  * - The cloud desktop must be in the Running state.
911
- * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the `ManagementFlags` response parameter to determine whether the assignment is complete. A value of `ASSIGNING` indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
915
+ * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the ManagementFlags response parameter to determine whether the assignment is complete. A value of ASSIGNING indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
912
916
  * - Check the assignment status every 2 to 5 seconds, up to a maximum of 50 seconds. In most cases, the assignment is completed within 1 to 5 seconds.
913
917
  *
914
918
  * @param request - BatchModifyEntitlementRequest
@@ -960,7 +964,7 @@ class Client extends openapi_core_1.default {
960
964
  *
961
965
  * @remarks
962
966
  * - The cloud desktop must be in the Running state.
963
- * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the `ManagementFlags` response parameter to determine whether the assignment is complete. A value of `ASSIGNING` indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
967
+ * - This operation returns a result immediately. To check whether the assignment is successful, call [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) and check the ManagementFlags response parameter to determine whether the assignment is complete. A value of ASSIGNING indicates that the assignment is in progress. Any other value indicates that the assignment is complete.
964
968
  * - Check the assignment status every 2 to 5 seconds, up to a maximum of 50 seconds. In most cases, the assignment is completed within 1 to 5 seconds.
965
969
  *
966
970
  * @param request - BatchModifyEntitlementRequest
@@ -1505,7 +1509,7 @@ class Client extends openapi_core_1.default {
1505
1509
  return await this.copyCdsFileWithOptions(request, runtime);
1506
1510
  }
1507
1511
  /**
1508
- * Copies an image to another region. To share an image across regions, call this operation to copy the image to the destination region before sharing it.
1512
+ * Copies an image to another region. To share an image across regions, you can call this operation to copy the image to the destination region before sharing it.
1509
1513
  *
1510
1514
  * @param request - CopyImageRequest
1511
1515
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1546,7 +1550,7 @@ class Client extends openapi_core_1.default {
1546
1550
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CopyImageResponse({}));
1547
1551
  }
1548
1552
  /**
1549
- * Copies an image to another region. To share an image across regions, call this operation to copy the image to the destination region before sharing it.
1553
+ * Copies an image to another region. To share an image across regions, you can call this operation to copy the image to the destination region before sharing it.
1550
1554
  *
1551
1555
  * @param request - CopyImageRequest
1552
1556
  * @returns CopyImageResponse
@@ -2830,7 +2834,7 @@ class Client extends openapi_core_1.default {
2830
2834
  return await this.createCloudDriveUsersWithOptions(request, runtime);
2831
2835
  }
2832
2836
  /**
2833
- * Creates a configuration group. A configuration group contains the configuration information of scheduled tasks in a Cloud Desktop center.
2837
+ * Creates a configuration group. The configuration group contains the configuration information of scheduled tasks for cloud desktops.
2834
2838
  *
2835
2839
  * @param request - CreateConfigGroupRequest
2836
2840
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2874,7 +2878,7 @@ class Client extends openapi_core_1.default {
2874
2878
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateConfigGroupResponse({}));
2875
2879
  }
2876
2880
  /**
2877
- * Creates a configuration group. A configuration group contains the configuration information of scheduled tasks in a Cloud Desktop center.
2881
+ * Creates a configuration group. The configuration group contains the configuration information of scheduled tasks for cloud desktops.
2878
2882
  *
2879
2883
  * @param request - CreateConfigGroupRequest
2880
2884
  * @returns CreateConfigGroupResponse
@@ -7955,7 +7959,7 @@ class Client extends openapi_core_1.default {
7955
7959
  return await this.describeDesktopTypesWithOptions(request, runtime);
7956
7960
  }
7957
7961
  /**
7958
- * Queries the details of a cloud computer.
7962
+ * Queries the details of one or more cloud desktops.
7959
7963
  *
7960
7964
  * @param request - DescribeDesktopsRequest
7961
7965
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8104,7 +8108,7 @@ class Client extends openapi_core_1.default {
8104
8108
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDesktopsResponse({}));
8105
8109
  }
8106
8110
  /**
8107
- * Queries the details of a cloud computer.
8111
+ * Queries the details of one or more cloud desktops.
8108
8112
  *
8109
8113
  * @param request - DescribeDesktopsRequest
8110
8114
  * @returns DescribeDesktopsResponse
@@ -8516,7 +8520,7 @@ class Client extends openapi_core_1.default {
8516
8520
  return await this.describeForwardTableEntriesWithOptions(request, runtime);
8517
8521
  }
8518
8522
  /**
8519
- * Retrieves the information about cloud computers that can be upgraded to a specified image version but have not been upgraded.
8523
+ * Retrieves the information about cloud desktops that can be upgraded to the image of a specified version but have not been upgraded.
8520
8524
  *
8521
8525
  * @param request - DescribeFotaPendingDesktopsRequest
8522
8526
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8563,7 +8567,7 @@ class Client extends openapi_core_1.default {
8563
8567
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFotaPendingDesktopsResponse({}));
8564
8568
  }
8565
8569
  /**
8566
- * Retrieves the information about cloud computers that can be upgraded to a specified image version but have not been upgraded.
8570
+ * Retrieves the information about cloud desktops that can be upgraded to the image of a specified version but have not been upgraded.
8567
8571
  *
8568
8572
  * @param request - DescribeFotaPendingDesktopsRequest
8569
8573
  * @returns DescribeFotaPendingDesktopsResponse
@@ -8630,13 +8634,13 @@ class Client extends openapi_core_1.default {
8630
8634
  return await this.describeFotaTasksWithOptions(request, runtime);
8631
8635
  }
8632
8636
  /**
8633
- * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8637
+ * Queries the basic information of all recent cloud computers and their corresponding usage duration records.
8634
8638
  *
8635
8639
  * @remarks
8636
- * - China site users must select Shanghai as the site. International site users must select Singapore.
8637
- * - By default, both deleted and non-deleted cloud desktops are queried.
8638
- * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8639
- * - Sort conditions cannot be used together with other conditions.
8640
+ * - Users on the Chinese site select Shanghai, and users on the international site select Singapore.
8641
+ * - By default, you can query all cloud computers, including both deleted and undeleted ones.
8642
+ * - For deleted cloud computers, you can only query those that were deleted within the last three months.
8643
+ * - Sorting conditions cannot be used together with other conditions.
8640
8644
  *
8641
8645
  * @param request - DescribeGlobalDesktopRecordsRequest
8642
8646
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8675,6 +8679,9 @@ class Client extends openapi_core_1.default {
8675
8679
  if (!$dara.isNull(request.orderBy)) {
8676
8680
  query["OrderBy"] = request.orderBy;
8677
8681
  }
8682
+ if (!$dara.isNull(request.orgIdList)) {
8683
+ query["OrgIdList"] = request.orgIdList;
8684
+ }
8678
8685
  if (!$dara.isNull(request.pageNumber)) {
8679
8686
  query["PageNumber"] = request.pageNumber;
8680
8687
  }
@@ -8719,13 +8726,13 @@ class Client extends openapi_core_1.default {
8719
8726
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalDesktopRecordsResponse({}));
8720
8727
  }
8721
8728
  /**
8722
- * Queries the basic information about all recent cloud desktops and the corresponding usage duration records.
8729
+ * Queries the basic information of all recent cloud computers and their corresponding usage duration records.
8723
8730
  *
8724
8731
  * @remarks
8725
- * - China site users must select Shanghai as the site. International site users must select Singapore.
8726
- * - By default, both deleted and non-deleted cloud desktops are queried.
8727
- * - Deleted cloud desktops can only be queried if they were deleted within the last three months.
8728
- * - Sort conditions cannot be used together with other conditions.
8732
+ * - Users on the Chinese site select Shanghai, and users on the international site select Singapore.
8733
+ * - By default, you can query all cloud computers, including both deleted and undeleted ones.
8734
+ * - For deleted cloud computers, you can only query those that were deleted within the last three months.
8735
+ * - Sorting conditions cannot be used together with other conditions.
8729
8736
  *
8730
8737
  * @param request - DescribeGlobalDesktopRecordsRequest
8731
8738
  * @returns DescribeGlobalDesktopRecordsResponse
@@ -10181,7 +10188,7 @@ class Client extends openapi_core_1.default {
10181
10188
  * Queries printer event information.
10182
10189
  *
10183
10190
  * @remarks
10184
- * Security alerts are classified into two dimensions: alerts and anomalies. A security alert contains multiple anomaly events.
10191
+ * Security alerts are divided into two dimensions: alerts and exceptions. A single security alert contains multiple exception events.
10185
10192
  *
10186
10193
  * @param request - DescribePrinterEventsRequest
10187
10194
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10246,7 +10253,7 @@ class Client extends openapi_core_1.default {
10246
10253
  * Queries printer event information.
10247
10254
  *
10248
10255
  * @remarks
10249
- * Security alerts are classified into two dimensions: alerts and anomalies. A security alert contains multiple anomaly events.
10256
+ * Security alerts are divided into two dimensions: alerts and exceptions. A single security alert contains multiple exception events.
10250
10257
  *
10251
10258
  * @param request - DescribePrinterEventsRequest
10252
10259
  * @returns DescribePrinterEventsResponse
@@ -12277,6 +12284,54 @@ class Client extends openapi_core_1.default {
12277
12284
  let runtime = new $dara.RuntimeOptions({});
12278
12285
  return await this.exportDesktopListInfoWithOptions(request, runtime);
12279
12286
  }
12287
+ /**
12288
+ * Generates an access key for a scenario.
12289
+ *
12290
+ * @param request - GenerateSceneKeyRequest
12291
+ * @param runtime - runtime options for this request RuntimeOptions
12292
+ * @returns GenerateSceneKeyResponse
12293
+ */
12294
+ async generateSceneKeyWithOptions(request, runtime) {
12295
+ request.validate();
12296
+ let query = {};
12297
+ if (!$dara.isNull(request.desktopId)) {
12298
+ query["DesktopId"] = request.desktopId;
12299
+ }
12300
+ if (!$dara.isNull(request.expireTime)) {
12301
+ query["ExpireTime"] = request.expireTime;
12302
+ }
12303
+ if (!$dara.isNull(request.regionId)) {
12304
+ query["RegionId"] = request.regionId;
12305
+ }
12306
+ if (!$dara.isNull(request.scene)) {
12307
+ query["Scene"] = request.scene;
12308
+ }
12309
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12310
+ query: openapi_core_2.OpenApiUtil.query(query),
12311
+ });
12312
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12313
+ action: "GenerateSceneKey",
12314
+ version: "2020-09-30",
12315
+ protocol: "HTTPS",
12316
+ pathname: "/",
12317
+ method: "POST",
12318
+ authType: "AK",
12319
+ style: "RPC",
12320
+ reqBodyType: "formData",
12321
+ bodyType: "json",
12322
+ });
12323
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GenerateSceneKeyResponse({}));
12324
+ }
12325
+ /**
12326
+ * Generates an access key for a scenario.
12327
+ *
12328
+ * @param request - GenerateSceneKeyRequest
12329
+ * @returns GenerateSceneKeyResponse
12330
+ */
12331
+ async generateSceneKey(request) {
12332
+ let runtime = new $dara.RuntimeOptions({});
12333
+ return await this.generateSceneKeyWithOptions(request, runtime);
12334
+ }
12280
12335
  /**
12281
12336
  * Queries desktop statistics by different dimensions.
12282
12337
  *