@alicloud/ecd20200930 5.2.0 → 5.3.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 (122) hide show
  1. package/dist/client.d.ts +280 -40
  2. package/dist/client.js +550 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
  5. package/dist/models/CreateDesktopsRequest.d.ts +59 -59
  6. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  7. package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
  8. package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
  9. package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
  10. package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
  11. package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
  12. package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
  13. package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
  14. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
  15. package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
  16. package/dist/models/DescribePeripheralDriversRequest.js +77 -0
  17. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
  18. package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
  19. package/dist/models/DescribePeripheralDriversResponse.js +69 -0
  20. package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
  21. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
  22. package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
  23. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
  24. package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
  25. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
  26. package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
  27. package/dist/models/DescribeVulDesktopsRequest.js +92 -0
  28. package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
  29. package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
  30. package/dist/models/DescribeVulDesktopsResponse.js +69 -0
  31. package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
  32. package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
  33. package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
  34. package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
  35. package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
  36. package/dist/models/DescribeVulnerabilityRequest.js +72 -0
  37. package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
  38. package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
  39. package/dist/models/DescribeVulnerabilityResponse.js +69 -0
  40. package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
  41. package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
  42. package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
  43. package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
  44. package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
  45. package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
  46. package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
  47. package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
  48. package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
  49. package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
  50. package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
  51. package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
  52. package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
  53. package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
  54. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
  55. package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
  56. package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
  57. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
  58. package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
  59. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
  60. package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
  61. package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
  62. package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
  63. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
  64. package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
  65. package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
  66. package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
  67. package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
  68. package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
  69. package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
  70. package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
  71. package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
  72. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
  73. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
  74. package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
  75. package/dist/models/RebootDesktopsRequest.d.ts +9 -2
  76. package/dist/models/RebootDesktopsRequest.js.map +1 -1
  77. package/dist/models/RunCommandRequest.d.ts +8 -5
  78. package/dist/models/RunCommandRequest.js.map +1 -1
  79. package/dist/models/StartDesktopsRequest.d.ts +2 -2
  80. package/dist/models/model.d.ts +30 -0
  81. package/dist/models/model.js +82 -21
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +610 -40
  85. package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
  86. package/src/models/CreateDesktopsRequest.ts +59 -59
  87. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  88. package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
  89. package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
  90. package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
  91. package/src/models/DeleteDesktopsRequest.ts +1 -1
  92. package/src/models/DescribeFlowMetricRequest.ts +5 -5
  93. package/src/models/DescribeOfficeSitesRequest.ts +6 -6
  94. package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
  95. package/src/models/DescribePeripheralDriversRequest.ts +118 -0
  96. package/src/models/DescribePeripheralDriversResponse.ts +40 -0
  97. package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
  98. package/src/models/DescribeSnapshotsRequest.ts +4 -4
  99. package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
  100. package/src/models/DescribeVulDesktopsRequest.ts +184 -0
  101. package/src/models/DescribeVulDesktopsResponse.ts +40 -0
  102. package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
  103. package/src/models/DescribeVulnerabilityRequest.ts +105 -0
  104. package/src/models/DescribeVulnerabilityResponse.ts +40 -0
  105. package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
  106. package/src/models/ListDirectoryUsersRequest.ts +3 -3
  107. package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
  108. package/src/models/MigrateDesktopsRequest.ts +3 -3
  109. package/src/models/ModifyUserEntitlementRequest.ts +4 -4
  110. package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
  111. package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
  112. package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
  113. package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
  114. package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
  115. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
  116. package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
  117. package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
  118. package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
  119. package/src/models/RebootDesktopsRequest.ts +9 -2
  120. package/src/models/RunCommandRequest.ts +8 -5
  121. package/src/models/StartDesktopsRequest.ts +2 -2
  122. package/src/models/model.ts +30 -0
@@ -0,0 +1,104 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribePeripheralDriversResponseBody = exports.DescribePeripheralDriversResponseBodyDriverInfos = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribePeripheralDriversResponseBodyDriverInfos extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ brand: 'Brand',
43
+ createTime: 'CreateTime',
44
+ deviceType: 'DeviceType',
45
+ icon: 'Icon',
46
+ id: 'Id',
47
+ name: 'Name',
48
+ osType: 'OsType',
49
+ ownerType: 'OwnerType',
50
+ source: 'Source',
51
+ };
52
+ }
53
+ static types() {
54
+ return {
55
+ brand: 'string',
56
+ createTime: 'string',
57
+ deviceType: 'string',
58
+ icon: 'string',
59
+ id: 'string',
60
+ name: 'string',
61
+ osType: 'string',
62
+ ownerType: 'string',
63
+ source: 'string',
64
+ };
65
+ }
66
+ validate() {
67
+ super.validate();
68
+ }
69
+ constructor(map) {
70
+ super(map);
71
+ }
72
+ }
73
+ exports.DescribePeripheralDriversResponseBodyDriverInfos = DescribePeripheralDriversResponseBodyDriverInfos;
74
+ class DescribePeripheralDriversResponseBody extends $dara.Model {
75
+ static names() {
76
+ return {
77
+ count: 'Count',
78
+ driverInfos: 'DriverInfos',
79
+ maxResults: 'MaxResults',
80
+ nextToken: 'NextToken',
81
+ requestId: 'RequestId',
82
+ };
83
+ }
84
+ static types() {
85
+ return {
86
+ count: 'number',
87
+ driverInfos: { 'type': 'array', 'itemType': DescribePeripheralDriversResponseBodyDriverInfos },
88
+ maxResults: 'number',
89
+ nextToken: 'string',
90
+ requestId: 'string',
91
+ };
92
+ }
93
+ validate() {
94
+ if (Array.isArray(this.driverInfos)) {
95
+ $dara.Model.validateArray(this.driverInfos);
96
+ }
97
+ super.validate();
98
+ }
99
+ constructor(map) {
100
+ super(map);
101
+ }
102
+ }
103
+ exports.DescribePeripheralDriversResponseBody = DescribePeripheralDriversResponseBody;
104
+ //# sourceMappingURL=DescribePeripheralDriversResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribePeripheralDriversResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribePeripheralDriversResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gDAAiD,SAAQ,KAAK,CAAC,KAAK;IAgF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CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sFAoEC"}
@@ -27,7 +27,7 @@ export declare class DescribeSnapshotsRequest extends $dara.Model {
27
27
  desktopScenario?: string;
28
28
  /**
29
29
  * @remarks
30
- * The end of the time range during which the snapshot was created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
30
+ * The end of the time range during which the snapshots were created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
31
31
  *
32
32
  * @example
33
33
  * 2020-11-31T06:32:31Z
@@ -80,7 +80,7 @@ export declare class DescribeSnapshotsRequest extends $dara.Model {
80
80
  snapshotId?: string;
81
81
  /**
82
82
  * @remarks
83
- * The display name of the snapshot. The name must be 2 to 127 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter or Chinese character. The name cannot start with `auto` to avoid conflicts with automatic snapshot names.
83
+ * The display name of the snapshot. The name must be 2 to 127 characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. The name cannot start with `auto` to avoid conflicts with automatic snapshot names.
84
84
  *
85
85
  * @example
86
86
  * Test data disk
@@ -96,7 +96,7 @@ export declare class DescribeSnapshotsRequest extends $dara.Model {
96
96
  snapshotType?: string;
97
97
  /**
98
98
  * @remarks
99
- * The type of the cloud disk for which to create the snapshot.
99
+ * The type of the cloud disk from which the snapshot is created.
100
100
  *
101
101
  * > The value is case-insensitive.
102
102
  *
@@ -106,7 +106,7 @@ export declare class DescribeSnapshotsRequest extends $dara.Model {
106
106
  sourceDiskType?: string;
107
107
  /**
108
108
  * @remarks
109
- * The beginning of the time range during which the snapshot was created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
109
+ * The beginning of the time range during which the snapshots were created. Specify the time in the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-mm-ddthh:mm:ssz` format. The time must be in UTC.
110
110
  *
111
111
  * @example
112
112
  * 2020-11-30T06:32:31Z
@@ -77,7 +77,7 @@ export declare class DescribeSnapshotsResponseBodySnapshots extends $dara.Model
77
77
  osType?: string;
78
78
  /**
79
79
  * @remarks
80
- * The snapshot creation progress. Unit: percent.
80
+ * The snapshot creation progress, in percentage.
81
81
  *
82
82
  * @example
83
83
  * 100%
@@ -114,7 +114,7 @@ export declare class DescribeSnapshotsResponseBodySnapshots extends $dara.Model
114
114
  * The restore point name.
115
115
  *
116
116
  * @example
117
- * 数据盘备份
117
+ * DataDiskBackup
118
118
  */
119
119
  restorePointName?: string;
120
120
  /**
@@ -0,0 +1,137 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class DescribeVulDesktopsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The CVE ID.
6
+ *
7
+ * @example
8
+ * CVE-2026-43284
9
+ */
10
+ cveId?: string;
11
+ /**
12
+ * @remarks
13
+ * The list of cloud computer IDs.
14
+ */
15
+ desktopIdList?: string[];
16
+ /**
17
+ * @remarks
18
+ * Specifies whether to include patch update results.
19
+ *
20
+ * @example
21
+ * false
22
+ */
23
+ includeFixResult?: boolean;
24
+ /**
25
+ * @remarks
26
+ * The language type of the returned information.
27
+ *
28
+ * @example
29
+ * ch
30
+ */
31
+ language?: string;
32
+ /**
33
+ * @remarks
34
+ * The number of entries per page in a paged query.
35
+ *
36
+ * Maximum value: 100.
37
+ *
38
+ * Default value: 10.
39
+ *
40
+ * @example
41
+ * 20
42
+ */
43
+ maxResults?: number;
44
+ /**
45
+ * @remarks
46
+ * The pagination token for the next page.
47
+ *
48
+ * @example
49
+ * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
50
+ */
51
+ nextToken?: string;
52
+ /**
53
+ * @remarks
54
+ * Specifies whether to include only cloud computers on which fix tasks were executed in the current month.
55
+ *
56
+ * @example
57
+ * false
58
+ */
59
+ onlyCurrentMonthFixAttempted?: boolean;
60
+ /**
61
+ * @remarks
62
+ * The page number of the current page in a paged query.
63
+ *
64
+ * @example
65
+ * 1
66
+ */
67
+ pageNumber?: number;
68
+ /**
69
+ * @remarks
70
+ * The page number of the current page in a paged query.
71
+ *
72
+ * @example
73
+ * 10
74
+ */
75
+ pageSize?: number;
76
+ /**
77
+ * @remarks
78
+ * The patch ID.
79
+ *
80
+ * @example
81
+ * KB5082063
82
+ */
83
+ patchId?: string;
84
+ /**
85
+ * @remarks
86
+ * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by WUYING Workspace.
87
+ *
88
+ * @example
89
+ * cn-shanghai
90
+ */
91
+ regionId?: string;
92
+ /**
93
+ * @remarks
94
+ * The resource group ID.
95
+ *
96
+ * @example
97
+ * rg-f3s3dgt8dtb0vlqc8
98
+ */
99
+ resourceGroupId?: string;
100
+ /**
101
+ * @remarks
102
+ * The region ID used to filter cloud computer information for a specific region.
103
+ *
104
+ * @example
105
+ * cn-shanghai
106
+ */
107
+ searchRegionId?: string;
108
+ /**
109
+ * @remarks
110
+ * The list of vulnerability status details.
111
+ */
112
+ statusList?: string[];
113
+ /**
114
+ * @remarks
115
+ * The security level of the intrusion prevention event. Valid values:
116
+ *
117
+ * - **low**: Low risk.
118
+ * - **medium**: Medium risk.
119
+ * - **critical**: High risk.
120
+ *
121
+ * > If you do not set this parameter, vulnerabilities of all security levels are queried.
122
+ *
123
+ * @example
124
+ * low
125
+ */
126
+ vulLevel?: string;
127
+ static names(): {
128
+ [key: string]: string;
129
+ };
130
+ static types(): {
131
+ [key: string]: any;
132
+ };
133
+ validate(): void;
134
+ constructor(map?: {
135
+ [key: string]: any;
136
+ });
137
+ }
@@ -0,0 +1,92 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeVulDesktopsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class DescribeVulDesktopsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ cveId: 'CveId',
43
+ desktopIdList: 'DesktopIdList',
44
+ includeFixResult: 'IncludeFixResult',
45
+ language: 'Language',
46
+ maxResults: 'MaxResults',
47
+ nextToken: 'NextToken',
48
+ onlyCurrentMonthFixAttempted: 'OnlyCurrentMonthFixAttempted',
49
+ pageNumber: 'PageNumber',
50
+ pageSize: 'PageSize',
51
+ patchId: 'PatchId',
52
+ regionId: 'RegionId',
53
+ resourceGroupId: 'ResourceGroupId',
54
+ searchRegionId: 'SearchRegionId',
55
+ statusList: 'StatusList',
56
+ vulLevel: 'VulLevel',
57
+ };
58
+ }
59
+ static types() {
60
+ return {
61
+ cveId: 'string',
62
+ desktopIdList: { 'type': 'array', 'itemType': 'string' },
63
+ includeFixResult: 'boolean',
64
+ language: 'string',
65
+ maxResults: 'number',
66
+ nextToken: 'string',
67
+ onlyCurrentMonthFixAttempted: 'boolean',
68
+ pageNumber: 'number',
69
+ pageSize: 'number',
70
+ patchId: 'string',
71
+ regionId: 'string',
72
+ resourceGroupId: 'string',
73
+ searchRegionId: 'string',
74
+ statusList: { 'type': 'array', 'itemType': 'string' },
75
+ vulLevel: 'string',
76
+ };
77
+ }
78
+ validate() {
79
+ if (Array.isArray(this.desktopIdList)) {
80
+ $dara.Model.validateArray(this.desktopIdList);
81
+ }
82
+ if (Array.isArray(this.statusList)) {
83
+ $dara.Model.validateArray(this.statusList);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.DescribeVulDesktopsRequest = DescribeVulDesktopsRequest;
92
+ //# sourceMappingURL=DescribeVulDesktopsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeVulDesktopsRequest.js","sourceRoot":"","sources":["../../src/models/DescribeVulDesktopsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA6HzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,aAAa,EAAE,eAAe;YAC9B,gBAAgB,EAAE,kBAAkB;YACpC,QAAQ,EAAE,UAAU;YACpB,UAAU,EAA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C,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlLD,gEAkLC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { DescribeVulDesktopsResponseBody } from "./DescribeVulDesktopsResponseBody";
3
+ export declare class DescribeVulDesktopsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: DescribeVulDesktopsResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.DescribeVulDesktopsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const DescribeVulDesktopsResponseBody_1 = require("./DescribeVulDesktopsResponseBody");
40
+ class DescribeVulDesktopsResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: DescribeVulDesktopsResponseBody_1.DescribeVulDesktopsResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.DescribeVulDesktopsResponse = DescribeVulDesktopsResponse;
69
+ //# sourceMappingURL=DescribeVulDesktopsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DescribeVulDesktopsResponse.js","sourceRoot":"","sources":["../../src/models/DescribeVulDesktopsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,uFAAoF;AAGpF,MAAa,2BAA4B,SAAQ,KAAK,CAAC,KAAK;IAI1D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,iEAA+B;SACtC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,kEAiCC"}