@alicloud/appstream-center20210901 5.8.0 → 5.9.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 (111) hide show
  1. package/dist/client.d.ts +468 -22
  2. package/dist/client.js +773 -22
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ListAppsByAppInstanceGroupIdRequest.d.ts +61 -0
  5. package/dist/models/ListAppsByAppInstanceGroupIdRequest.js +64 -0
  6. package/dist/models/ListAppsByAppInstanceGroupIdRequest.js.map +1 -0
  7. package/dist/models/ListAppsByAppInstanceGroupIdResponse.d.ts +19 -0
  8. package/dist/models/ListAppsByAppInstanceGroupIdResponse.js +69 -0
  9. package/dist/models/ListAppsByAppInstanceGroupIdResponse.js.map +1 -0
  10. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.d.ts +110 -0
  11. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.js +98 -0
  12. package/dist/models/ListAppsByAppInstanceGroupIdResponseBody.js.map +1 -0
  13. package/dist/models/ListAuthorizedAppsByUserRequest.d.ts +89 -0
  14. package/dist/models/ListAuthorizedAppsByUserRequest.js +72 -0
  15. package/dist/models/ListAuthorizedAppsByUserRequest.js.map +1 -0
  16. package/dist/models/ListAuthorizedAppsByUserResponse.d.ts +19 -0
  17. package/dist/models/ListAuthorizedAppsByUserResponse.js +69 -0
  18. package/dist/models/ListAuthorizedAppsByUserResponse.js.map +1 -0
  19. package/dist/models/ListAuthorizedAppsByUserResponseBody.d.ts +126 -0
  20. package/dist/models/ListAuthorizedAppsByUserResponseBody.js +102 -0
  21. package/dist/models/ListAuthorizedAppsByUserResponseBody.js.map +1 -0
  22. package/dist/models/ListAuthorizedUsersRequest.d.ts +29 -16
  23. package/dist/models/ListAuthorizedUsersRequest.js.map +1 -1
  24. package/dist/models/ListAuthorizedUsersResponseBody.d.ts +29 -24
  25. package/dist/models/ListAuthorizedUsersResponseBody.js.map +1 -1
  26. package/dist/models/ListPublishedAppInstanceGroupRequest.d.ts +100 -0
  27. package/dist/models/ListPublishedAppInstanceGroupRequest.js +72 -0
  28. package/dist/models/ListPublishedAppInstanceGroupRequest.js.map +1 -0
  29. package/dist/models/ListPublishedAppInstanceGroupResponse.d.ts +19 -0
  30. package/dist/models/ListPublishedAppInstanceGroupResponse.js +69 -0
  31. package/dist/models/ListPublishedAppInstanceGroupResponse.js.map +1 -0
  32. package/dist/models/ListPublishedAppInstanceGroupResponseBody.d.ts +185 -0
  33. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js +134 -0
  34. package/dist/models/ListPublishedAppInstanceGroupResponseBody.js.map +1 -0
  35. package/dist/models/ListPublishedAppsRequest.d.ts +96 -0
  36. package/dist/models/ListPublishedAppsRequest.js +72 -0
  37. package/dist/models/ListPublishedAppsRequest.js.map +1 -0
  38. package/dist/models/ListPublishedAppsResponse.d.ts +19 -0
  39. package/dist/models/ListPublishedAppsResponse.js +69 -0
  40. package/dist/models/ListPublishedAppsResponse.js.map +1 -0
  41. package/dist/models/ListPublishedAppsResponseBody.d.ts +126 -0
  42. package/dist/models/ListPublishedAppsResponseBody.js +102 -0
  43. package/dist/models/ListPublishedAppsResponseBody.js.map +1 -0
  44. package/dist/models/ListTagResourcesRequest.d.ts +97 -0
  45. package/dist/models/ListTagResourcesRequest.js +93 -0
  46. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  47. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  48. package/dist/models/ListTagResourcesResponse.js +69 -0
  49. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  50. package/dist/models/ListTagResourcesResponseBody.d.ts +88 -0
  51. package/dist/models/ListTagResourcesResponseBody.js +92 -0
  52. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  53. package/dist/models/ListZonesRequest.d.ts +62 -0
  54. package/dist/models/ListZonesRequest.js +62 -0
  55. package/dist/models/ListZonesRequest.js.map +1 -0
  56. package/dist/models/ListZonesResponse.d.ts +19 -0
  57. package/dist/models/ListZonesResponse.js +69 -0
  58. package/dist/models/ListZonesResponse.js.map +1 -0
  59. package/dist/models/ListZonesResponseBody.d.ts +43 -0
  60. package/dist/models/ListZonesResponseBody.js +85 -0
  61. package/dist/models/ListZonesResponseBody.js.map +1 -0
  62. package/dist/models/TagResourcesRequest.d.ts +103 -0
  63. package/dist/models/TagResourcesRequest.js +91 -0
  64. package/dist/models/TagResourcesRequest.js.map +1 -0
  65. package/dist/models/TagResourcesResponse.d.ts +19 -0
  66. package/dist/models/TagResourcesResponse.js +69 -0
  67. package/dist/models/TagResourcesResponse.js.map +1 -0
  68. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  69. package/dist/models/TagResourcesResponseBody.js +58 -0
  70. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  71. package/dist/models/UntagResourcesRequest.d.ts +78 -0
  72. package/dist/models/UntagResourcesRequest.js +72 -0
  73. package/dist/models/UntagResourcesRequest.js.map +1 -0
  74. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  75. package/dist/models/UntagResourcesResponse.js +69 -0
  76. package/dist/models/UntagResourcesResponse.js.map +1 -0
  77. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  78. package/dist/models/UntagResourcesResponseBody.js +58 -0
  79. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  80. package/dist/models/model.d.ts +33 -0
  81. package/dist/models/model.js +74 -8
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +837 -22
  85. package/src/models/ListAppsByAppInstanceGroupIdRequest.ts +80 -0
  86. package/src/models/ListAppsByAppInstanceGroupIdResponse.ts +40 -0
  87. package/src/models/ListAppsByAppInstanceGroupIdResponseBody.ts +154 -0
  88. package/src/models/ListAuthorizedAppsByUserRequest.ts +116 -0
  89. package/src/models/ListAuthorizedAppsByUserResponse.ts +40 -0
  90. package/src/models/ListAuthorizedAppsByUserResponseBody.ts +174 -0
  91. package/src/models/ListAuthorizedUsersRequest.ts +29 -16
  92. package/src/models/ListAuthorizedUsersResponseBody.ts +29 -24
  93. package/src/models/ListPublishedAppInstanceGroupRequest.ts +127 -0
  94. package/src/models/ListPublishedAppInstanceGroupResponse.ts +40 -0
  95. package/src/models/ListPublishedAppInstanceGroupResponseBody.ts +256 -0
  96. package/src/models/ListPublishedAppsRequest.ts +123 -0
  97. package/src/models/ListPublishedAppsResponse.ts +40 -0
  98. package/src/models/ListPublishedAppsResponseBody.ts +174 -0
  99. package/src/models/ListTagResourcesRequest.ts +136 -0
  100. package/src/models/ListTagResourcesResponse.ts +40 -0
  101. package/src/models/ListTagResourcesResponseBody.ts +126 -0
  102. package/src/models/ListZonesRequest.ts +79 -0
  103. package/src/models/ListZonesResponse.ts +40 -0
  104. package/src/models/ListZonesResponseBody.ts +74 -0
  105. package/src/models/TagResourcesRequest.ts +140 -0
  106. package/src/models/TagResourcesResponse.ts +40 -0
  107. package/src/models/TagResourcesResponseBody.ts +34 -0
  108. package/src/models/UntagResourcesRequest.ts +105 -0
  109. package/src/models/UntagResourcesResponse.ts +40 -0
  110. package/src/models/UntagResourcesResponseBody.ts +34 -0
  111. package/src/models/model.ts +33 -0
@@ -0,0 +1,96 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListPublishedAppsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The application ID used for filtering. Substring matching is supported. You can specify a complete ID or a consecutive segment of it. If this parameter is not specified or is set to an empty string, filtering by application ID is not applied. If both this parameter and `AppName` are specified, both conditions must be met by the same application.
6
+ *
7
+ * @example
8
+ * ca-i87mycyn419nu****
9
+ */
10
+ appId?: string;
11
+ /**
12
+ * @remarks
13
+ * The delivery group ID used for filtering. Substring matching is supported. You can specify a complete ID or a consecutive segment of it. If this parameter is not specified or is set to an empty string, filtering by delivery group ID is not applied. You can call the [ListAppInstanceGroup](~~ListAppInstanceGroup~~) operation to obtain delivery group IDs. This parameter can be used together with other filter conditions, and all conditions must be met simultaneously.
14
+ *
15
+ * @example
16
+ * aig-9ciijz60n4xsv****
17
+ */
18
+ appInstanceGroupId?: string;
19
+ /**
20
+ * @remarks
21
+ * The delivery group name used for filtering. Substring matching is supported. For example, if you specify `OfficeApps`, delivery groups whose names contain this text are matched. If this parameter is not specified or is set to an empty string, filtering by delivery group name is not applied. If both this parameter and the delivery group ID are specified, both conditions must be met.
22
+ *
23
+ * @example
24
+ * OfficeApps
25
+ */
26
+ appInstanceGroupName?: string;
27
+ /**
28
+ * @remarks
29
+ * The application name used for filtering. Substring matching is supported. For example, if you specify `OfficeApps`, applications whose names contain this text are matched. If this parameter is not specified or is set to an empty string, filtering by application name is not applied. If both this parameter and `AppId` are specified, both conditions must be met by the same application.
30
+ *
31
+ * @example
32
+ * OfficeApps
33
+ */
34
+ appName?: string;
35
+ /**
36
+ * @remarks
37
+ * The username to exclude. Exact username matching is used. For example, `alice`. When specified, applications that have been authorized to this user through [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) by application are not returned. This helps you find applications that can still be authorized to the user. If this parameter is not specified or is set to an empty string, no exclusion based on user authorization is applied.
38
+ *
39
+ * **Access permissions granted through delivery-group-level authorization or user groups are not evaluated by this condition.** The returned results cannot be treated as a complete list of applications that the user has no access to.
40
+ *
41
+ * @example
42
+ * alice
43
+ */
44
+ excludeUserId?: string;
45
+ /**
46
+ * @remarks
47
+ * The page number. This parameter is required. Start from page `1` and use this parameter together with `PageSize`. Keep other filter conditions unchanged when querying subsequent pages. If an invalid value is specified, the error code `InvalidParameter.PageNumber` is returned.
48
+ *
49
+ * This parameter is required.
50
+ *
51
+ * @example
52
+ * 1
53
+ */
54
+ pageNumber?: number;
55
+ /**
56
+ * @remarks
57
+ * The maximum number of application records to return per page. This parameter is required. Valid values: `1` to `100`. If the value is out of range, the error code `InvalidParameter.PageSize` is returned.
58
+ *
59
+ * This parameter is required.
60
+ *
61
+ * @example
62
+ * 10
63
+ */
64
+ pageSize?: number;
65
+ /**
66
+ * @remarks
67
+ * The product type. This parameter is required. The value is case-insensitive. Only applications in published delivery groups of the specified product type are returned. If an unrecognized value is specified, the error code `InvalidParameter.ProductType` is returned. Filtering and statistics related to per-application authorization (`ExcludeUserId` and `AuthorizedUserCount`) are primarily used in WUYING Cloud Application common scenarios.
68
+ *
69
+ * Valid values:
70
+ *
71
+ * - `CloudApp`: WUYING Cloud Application.
72
+ * - `CloudBrowser`: Cloud Browser.
73
+ * - `WuyingServer`: Enterprise Workstation.
74
+ * - `WuyingWorkstation`: Personal Edition Lingjou Container Workstation.
75
+ * - `WuyingWorkstationTeam`: Team Edition Lingjou Container Workstation.
76
+ * - `WuyingWorkstationBusiness`: Dedicated Edition Lingjou Container Workstation.
77
+ * - `AndroidCloud`: Cloud Phone.
78
+ * - `AIAgent`: AgentBay (AI agent).
79
+ *
80
+ * This parameter is required.
81
+ *
82
+ * @example
83
+ * CloudApp
84
+ */
85
+ productType?: string;
86
+ static names(): {
87
+ [key: string]: string;
88
+ };
89
+ static types(): {
90
+ [key: string]: any;
91
+ };
92
+ validate(): void;
93
+ constructor(map?: {
94
+ [key: string]: any;
95
+ });
96
+ }
@@ -0,0 +1,72 @@
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.ListPublishedAppsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListPublishedAppsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ appId: 'AppId',
43
+ appInstanceGroupId: 'AppInstanceGroupId',
44
+ appInstanceGroupName: 'AppInstanceGroupName',
45
+ appName: 'AppName',
46
+ excludeUserId: 'ExcludeUserId',
47
+ pageNumber: 'PageNumber',
48
+ pageSize: 'PageSize',
49
+ productType: 'ProductType',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ appId: 'string',
55
+ appInstanceGroupId: 'string',
56
+ appInstanceGroupName: 'string',
57
+ appName: 'string',
58
+ excludeUserId: 'string',
59
+ pageNumber: 'number',
60
+ pageSize: 'number',
61
+ productType: 'string',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.ListPublishedAppsRequest = ListPublishedAppsRequest;
72
+ //# sourceMappingURL=ListPublishedAppsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPublishedAppsRequest.js","sourceRoot":"","sources":["../../src/models/ListPublishedAppsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAoFvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;YACd,kBAAkB,EAAE,oBAAoB;YACxC,oBAAoB,EAAE,sBAAsB;YAC5C,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,QAAQ;YACf,kBAAkB,EAAE,QAAQ;YAC5B,oBAAoB,EAAE,QAAQ;YAC9B,OAAO,EAAE,QAAQ;YACjB,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArHD,4DAqHC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListPublishedAppsResponseBody } from "./ListPublishedAppsResponseBody";
3
+ export declare class ListPublishedAppsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListPublishedAppsResponseBody;
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.ListPublishedAppsResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListPublishedAppsResponseBody_1 = require("./ListPublishedAppsResponseBody");
40
+ class ListPublishedAppsResponse 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: ListPublishedAppsResponseBody_1.ListPublishedAppsResponseBody,
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.ListPublishedAppsResponse = ListPublishedAppsResponse;
69
+ //# sourceMappingURL=ListPublishedAppsResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPublishedAppsResponse.js","sourceRoot":"","sources":["../../src/models/ListPublishedAppsResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mFAAgF;AAGhF,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAIxD,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,6DAA6B;SACpC,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,8DAiCC"}
@@ -0,0 +1,126 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListPublishedAppsResponseBodyApps extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The URL of the application icon.
6
+ *
7
+ * @example
8
+ * https://app-center-icon-****.png
9
+ */
10
+ appIcon?: string;
11
+ /**
12
+ * @remarks
13
+ * The application ID. Pass this value together with `AppInstanceGroupId` when you invoke the [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) operation to authorize users for this application.
14
+ *
15
+ * @example
16
+ * ca-i87mycyn419nu****
17
+ */
18
+ appId?: string;
19
+ /**
20
+ * @remarks
21
+ * The ID of the published delivery group to which this application belongs.
22
+ *
23
+ * @example
24
+ * aig-9ciijz60n4xsv****
25
+ */
26
+ appInstanceGroupId?: string;
27
+ /**
28
+ * @remarks
29
+ * The name of the published delivery group to which this application belongs.
30
+ *
31
+ * @example
32
+ * OfficeApps
33
+ */
34
+ appInstanceGroupName?: string;
35
+ /**
36
+ * @remarks
37
+ * The application name.
38
+ *
39
+ * @example
40
+ * OfficeApps
41
+ */
42
+ appName?: string;
43
+ /**
44
+ * @remarks
45
+ * The application version number.
46
+ *
47
+ * @example
48
+ * 1.0.0
49
+ */
50
+ appVersion?: string;
51
+ /**
52
+ * @remarks
53
+ * The application version name, which is the name assigned to this version when the application was published.
54
+ *
55
+ * @example
56
+ * Initial version
57
+ */
58
+ appVersionName?: string;
59
+ /**
60
+ * @remarks
61
+ * The number of users authorized by application for this application within its delivery group. Only users authorized through [AuthorizeUsersForApp](~~AuthorizeUsersForApp~~) by application are counted. The value is `0` if no users have been authorized by application.
62
+ *
63
+ * @example
64
+ * 5
65
+ */
66
+ authorizedUserCount?: number;
67
+ static names(): {
68
+ [key: string]: string;
69
+ };
70
+ static types(): {
71
+ [key: string]: any;
72
+ };
73
+ validate(): void;
74
+ constructor(map?: {
75
+ [key: string]: any;
76
+ });
77
+ }
78
+ export declare class ListPublishedAppsResponseBody extends $dara.Model {
79
+ /**
80
+ * @remarks
81
+ * The list of application records on the current page. Each record corresponds to a deployed application in a published delivery group. The list is sorted by the creation time of the delivery group in descending order. An empty list is returned if no results match or the requested page exceeds the result range.
82
+ */
83
+ apps?: ListPublishedAppsResponseBodyApps[];
84
+ /**
85
+ * @remarks
86
+ * The page number specified in this request.
87
+ *
88
+ * @example
89
+ * 1
90
+ */
91
+ pageNumber?: number;
92
+ /**
93
+ * @remarks
94
+ * The number of records per page specified in this request. This value does not represent the actual number of records returned on the current page. The actual number may be less than this value.
95
+ *
96
+ * @example
97
+ * 10
98
+ */
99
+ pageSize?: number;
100
+ /**
101
+ * @remarks
102
+ * The request ID. You can use this ID to locate and troubleshoot issues.
103
+ *
104
+ * @example
105
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
106
+ */
107
+ requestId?: string;
108
+ /**
109
+ * @remarks
110
+ * The total number of records that match all filter conditions. Records are counted on a per-delivery-group-plus-application basis. If the same application appears in multiple published delivery groups, each combination is counted separately. This value does not represent the number of records returned on the current page. The value is `0` if no results match.
111
+ *
112
+ * @example
113
+ * 15
114
+ */
115
+ totalCount?: number;
116
+ static names(): {
117
+ [key: string]: string;
118
+ };
119
+ static types(): {
120
+ [key: string]: any;
121
+ };
122
+ validate(): void;
123
+ constructor(map?: {
124
+ [key: string]: any;
125
+ });
126
+ }
@@ -0,0 +1,102 @@
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.ListPublishedAppsResponseBody = exports.ListPublishedAppsResponseBodyApps = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListPublishedAppsResponseBodyApps extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ appIcon: 'AppIcon',
43
+ appId: 'AppId',
44
+ appInstanceGroupId: 'AppInstanceGroupId',
45
+ appInstanceGroupName: 'AppInstanceGroupName',
46
+ appName: 'AppName',
47
+ appVersion: 'AppVersion',
48
+ appVersionName: 'AppVersionName',
49
+ authorizedUserCount: 'AuthorizedUserCount',
50
+ };
51
+ }
52
+ static types() {
53
+ return {
54
+ appIcon: 'string',
55
+ appId: 'string',
56
+ appInstanceGroupId: 'string',
57
+ appInstanceGroupName: 'string',
58
+ appName: 'string',
59
+ appVersion: 'string',
60
+ appVersionName: 'string',
61
+ authorizedUserCount: 'number',
62
+ };
63
+ }
64
+ validate() {
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.ListPublishedAppsResponseBodyApps = ListPublishedAppsResponseBodyApps;
72
+ class ListPublishedAppsResponseBody extends $dara.Model {
73
+ static names() {
74
+ return {
75
+ apps: 'Apps',
76
+ pageNumber: 'PageNumber',
77
+ pageSize: 'PageSize',
78
+ requestId: 'RequestId',
79
+ totalCount: 'TotalCount',
80
+ };
81
+ }
82
+ static types() {
83
+ return {
84
+ apps: { 'type': 'array', 'itemType': ListPublishedAppsResponseBodyApps },
85
+ pageNumber: 'number',
86
+ pageSize: 'number',
87
+ requestId: 'string',
88
+ totalCount: 'number',
89
+ };
90
+ }
91
+ validate() {
92
+ if (Array.isArray(this.apps)) {
93
+ $dara.Model.validateArray(this.apps);
94
+ }
95
+ super.validate();
96
+ }
97
+ constructor(map) {
98
+ super(map);
99
+ }
100
+ }
101
+ exports.ListPublishedAppsResponseBody = ListPublishedAppsResponseBody;
102
+ //# sourceMappingURL=ListPublishedAppsResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPublishedAppsResponseBody.js","sourceRoot":"","sources":["../../src/models/ListPublishedAppsResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAiEhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,KAAK,EAAE,OAAO;YACd,kBAAkB,EAAE,oBAAoB;YACxC,oBAAoB,EAAE,sBAAsB;YAC5C,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,cAAc,EAAE,gBAAgB;YAChC,mBAAmB,EAAE,qBAAqB;SAC3C,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,KAAK,EAAE,QAAQ;YACf,kBAAkB,EAAE,QAAQ;YAC5B,oBAAoB,EAAE,QAAQ;YAC9B,OAAO,EAAE,QAAQ;YACjB,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,mBAAmB,EAAE,QAAQ;SAC9B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlGD,8EAkGC;AAED,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAsC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,iCAAiC,EAAE;YACxE,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;YAC5B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACvC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApED,sEAoEC"}
@@ -0,0 +1,97 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesRequestTag extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The tag key. This parameter is required. The tag key is case-sensitive and must be 1 to 128 characters in length.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * Resolution
11
+ */
12
+ key?: string;
13
+ /**
14
+ * @remarks
15
+ * The tag value. The tag value is case-sensitive and can be up to 256 characters in length. If this parameter is not specified, the value of the tag key is not restricted, which means any tag value under the key is matched.
16
+ *
17
+ * @example
18
+ * 720p
19
+ *
20
+ * **if can be null:**
21
+ * true
22
+ */
23
+ value?: string;
24
+ static names(): {
25
+ [key: string]: string;
26
+ };
27
+ static types(): {
28
+ [key: string]: any;
29
+ };
30
+ validate(): void;
31
+ constructor(map?: {
32
+ [key: string]: any;
33
+ });
34
+ }
35
+ export declare class ListTagResourcesRequest extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The paged query token. You do not need to specify this parameter for the first request. If the previous invoke returned a non-empty NextToken value, pass it in as-is to retrieve subsequent paging results.
39
+ *
40
+ * @example
41
+ * AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==
42
+ */
43
+ nextToken?: string;
44
+ /**
45
+ * @remarks
46
+ * The region ID.
47
+ *
48
+ * This parameter is required.
49
+ *
50
+ * @example
51
+ * cn-hangzhou
52
+ */
53
+ regionId?: string;
54
+ /**
55
+ * @remarks
56
+ * The list of resource IDs. A maximum of 50 resource IDs are supported.
57
+ *
58
+ * If the resource type is delivery group, specify the delivery group ID (prefixed with `aig-`). You can call the ListAppInstanceGroup operation to obtain the delivery group ID.
59
+ *
60
+ * > Specify at least one of ResourceId.N and Tag.N. If only ResourceId.N is specified, all tags bound to the specified resources are returned.
61
+ */
62
+ resourceId?: string[];
63
+ /**
64
+ * @remarks
65
+ * The resource type. Valid values:
66
+ *
67
+ * - APPINSTANCEGROUP: delivery group.
68
+ *
69
+ * This parameter is case-insensitive. Only this value is supported. If you specify other values, the error code `InvalidResourceType.Invalid` is returned.
70
+ *
71
+ * This parameter is required.
72
+ *
73
+ * @example
74
+ * APPINSTANCEGROUP
75
+ */
76
+ resourceType?: string;
77
+ /**
78
+ * @remarks
79
+ * The list of tag conditions. A maximum of 20 tag conditions are supported.
80
+ *
81
+ * > Specify at least one of ResourceId.N and Tag.N. Multiple tags have an AND relationship. Only resources that have all specified tags bound are returned.
82
+ *
83
+ * **if can be null:**
84
+ * true
85
+ */
86
+ tag?: ListTagResourcesRequestTag[];
87
+ static names(): {
88
+ [key: string]: string;
89
+ };
90
+ static types(): {
91
+ [key: string]: any;
92
+ };
93
+ validate(): void;
94
+ constructor(map?: {
95
+ [key: string]: any;
96
+ });
97
+ }