@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,93 @@
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.ListTagResourcesRequest = exports.ListTagResourcesRequestTag = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesRequestTag extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ key: 'Key',
43
+ value: 'Value',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ key: 'string',
49
+ value: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.ListTagResourcesRequestTag = ListTagResourcesRequestTag;
60
+ class ListTagResourcesRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ nextToken: 'NextToken',
64
+ regionId: 'RegionId',
65
+ resourceId: 'ResourceId',
66
+ resourceType: 'ResourceType',
67
+ tag: 'Tag',
68
+ };
69
+ }
70
+ static types() {
71
+ return {
72
+ nextToken: 'string',
73
+ regionId: 'string',
74
+ resourceId: { 'type': 'array', 'itemType': 'string' },
75
+ resourceType: 'string',
76
+ tag: { 'type': 'array', 'itemType': ListTagResourcesRequestTag },
77
+ };
78
+ }
79
+ validate() {
80
+ if (Array.isArray(this.resourceId)) {
81
+ $dara.Model.validateArray(this.resourceId);
82
+ }
83
+ if (Array.isArray(this.tag)) {
84
+ $dara.Model.validateArray(this.tag);
85
+ }
86
+ super.validate();
87
+ }
88
+ constructor(map) {
89
+ super(map);
90
+ }
91
+ }
92
+ exports.ListTagResourcesRequest = ListTagResourcesRequest;
93
+ //# sourceMappingURL=ListTagResourcesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagResourcesRequest.js","sourceRoot":"","sources":["../../src/models/ListTagResourcesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAsBzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,QAAQ;YACb,KAAK,EAAE,QAAQ;SAChB,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;AA3CD,gEA2CC;AAED,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAoDtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,QAAQ;YACtB,GAAG,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,0BAA0B,EAAE;SACjE,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC;YAClC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC;QAC7C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArFD,0DAqFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListTagResourcesResponseBody } from "./ListTagResourcesResponseBody";
3
+ export declare class ListTagResourcesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListTagResourcesResponseBody;
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.ListTagResourcesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListTagResourcesResponseBody_1 = require("./ListTagResourcesResponseBody");
40
+ class ListTagResourcesResponse 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: ListTagResourcesResponseBody_1.ListTagResourcesResponseBody,
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.ListTagResourcesResponse = ListTagResourcesResponse;
69
+ //# sourceMappingURL=ListTagResourcesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagResourcesResponse.js","sourceRoot":"","sources":["../../src/models/ListTagResourcesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,iFAA8E;AAG9E,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IAIvD,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,2DAA4B;SACnC,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,4DAiCC"}
@@ -0,0 +1,88 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesResponseBodyTagResources extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The resource ID. If the resource type is delivery group, this is the delivery group ID.
6
+ *
7
+ * @example
8
+ * aig-9ciijz60n4xsv****
9
+ */
10
+ resourceId?: string;
11
+ /**
12
+ * @remarks
13
+ * The resource type. Valid values:
14
+ *
15
+ * - APPINSTANCEGROUP: delivery group.
16
+ *
17
+ * @example
18
+ * APPINSTANCEGROUP
19
+ */
20
+ resourceType?: string;
21
+ /**
22
+ * @remarks
23
+ * The tag key.
24
+ *
25
+ * @example
26
+ * Resolution
27
+ */
28
+ tagKey?: string;
29
+ /**
30
+ * @remarks
31
+ * The tag value.
32
+ *
33
+ * @example
34
+ * 720p
35
+ */
36
+ tagValue?: string;
37
+ static names(): {
38
+ [key: string]: string;
39
+ };
40
+ static types(): {
41
+ [key: string]: any;
42
+ };
43
+ validate(): void;
44
+ constructor(map?: {
45
+ [key: string]: any;
46
+ });
47
+ }
48
+ export declare class ListTagResourcesResponseBody extends $dara.Model {
49
+ /**
50
+ * @remarks
51
+ * The token for the next query. An empty value indicates that no more data is available. This operation returns all matching results at a time, so this field is typically empty.
52
+ *
53
+ * @example
54
+ * AAAAAYRHtOLVQzCYj17y+OP7LZRrUJaF4rnBGQkWwMiVHlLZBB1w3Us37CVvhvyM0TXavA==
55
+ */
56
+ nextToken?: string;
57
+ /**
58
+ * @remarks
59
+ * The request ID.
60
+ *
61
+ * @example
62
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
63
+ */
64
+ requestId?: string;
65
+ /**
66
+ * @remarks
67
+ * The list of resource-tag binding records. Each record corresponds to a tag key-value pair on a resource.
68
+ */
69
+ tagResources?: ListTagResourcesResponseBodyTagResources[];
70
+ /**
71
+ * @remarks
72
+ * The number of tag records returned. If a resource has multiple tags bound, each tag key-value pair counts as one record.
73
+ *
74
+ * @example
75
+ * 2
76
+ */
77
+ totalCount?: number;
78
+ static names(): {
79
+ [key: string]: string;
80
+ };
81
+ static types(): {
82
+ [key: string]: any;
83
+ };
84
+ validate(): void;
85
+ constructor(map?: {
86
+ [key: string]: any;
87
+ });
88
+ }
@@ -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.ListTagResourcesResponseBody = exports.ListTagResourcesResponseBodyTagResources = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesResponseBodyTagResources extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ resourceId: 'ResourceId',
43
+ resourceType: 'ResourceType',
44
+ tagKey: 'TagKey',
45
+ tagValue: 'TagValue',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ resourceId: 'string',
51
+ resourceType: 'string',
52
+ tagKey: 'string',
53
+ tagValue: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListTagResourcesResponseBodyTagResources = ListTagResourcesResponseBodyTagResources;
64
+ class ListTagResourcesResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ nextToken: 'NextToken',
68
+ requestId: 'RequestId',
69
+ tagResources: 'TagResources',
70
+ totalCount: 'TotalCount',
71
+ };
72
+ }
73
+ static types() {
74
+ return {
75
+ nextToken: 'string',
76
+ requestId: 'string',
77
+ tagResources: { 'type': 'array', 'itemType': ListTagResourcesResponseBodyTagResources },
78
+ totalCount: 'number',
79
+ };
80
+ }
81
+ validate() {
82
+ if (Array.isArray(this.tagResources)) {
83
+ $dara.Model.validateArray(this.tagResources);
84
+ }
85
+ super.validate();
86
+ }
87
+ constructor(map) {
88
+ super(map);
89
+ }
90
+ }
91
+ exports.ListTagResourcesResponseBody = ListTagResourcesResponseBody;
92
+ //# sourceMappingURL=ListTagResourcesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagResourcesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListTagResourcesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAmCvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,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;AA5DD,4FA4DC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA8B3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wCAAwC,EAAE;YACvF,UAAU,EAAE,QAAQ;SACrB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,CAAC;YACpC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;QAC/C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,oEA0DC"}
@@ -0,0 +1,62 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListZonesRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The region ID. Required. Specifies the region for which to query available zones. All returned zones are within this region.
6
+ *
7
+ * The value must be a region ID supported by WUYING Cloud Application. Call [ListRegions](~~ListRegions~~) to obtain the supported region IDs. If an unsupported region is specified, the error code `InvalidParameter.ValueInvalid` is returned.
8
+ *
9
+ * This parameter is required.
10
+ *
11
+ * @example
12
+ * cn-hangzhou
13
+ */
14
+ bizRegionId?: string;
15
+ /**
16
+ * @remarks
17
+ * The operating system type. Required. Specifies the operating system used by the resource. This parameter, together with `ProductType`, determines the available zones. The value is case-insensitive. Use the following recommended values.
18
+ *
19
+ * Valid values:
20
+ *
21
+ * - `Windows`: Windows operating system.
22
+ * - `Linux`: Linux operating system.
23
+ * - `Android`: Android operating system.
24
+ *
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * Windows
29
+ */
30
+ osType?: string;
31
+ /**
32
+ * @remarks
33
+ * The product type. Required. Specifies the product for which to query available zones. The zone list is returned based on the available resources of this product in the specified region. The value is case-insensitive. Use the following recommended values.
34
+ *
35
+ * Valid values:
36
+ *
37
+ * - `CloudApp`: WUYING Cloud Application.
38
+ * - `CloudBrowser`: Cloud Browser.
39
+ * - `WuyingServer`: Enterprise Edition Workstation.
40
+ * - `WuyingWorkstation`: Personal Edition Lingou Container Workstation.
41
+ * - `WuyingWorkstationTeam`: Lingou Team Edition Container Workstation.
42
+ * - `WuyingWorkstationBusiness`: Lingou Dedicated Edition Container Workstation.
43
+ * - `AndroidCloud`: Cloud Phone.
44
+ * - `AIAgent`: AgentBay (AI agent).
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * CloudApp
50
+ */
51
+ productType?: string;
52
+ static names(): {
53
+ [key: string]: string;
54
+ };
55
+ static types(): {
56
+ [key: string]: any;
57
+ };
58
+ validate(): void;
59
+ constructor(map?: {
60
+ [key: string]: any;
61
+ });
62
+ }
@@ -0,0 +1,62 @@
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.ListZonesRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListZonesRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ bizRegionId: 'BizRegionId',
43
+ osType: 'OsType',
44
+ productType: 'ProductType',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ bizRegionId: 'string',
50
+ osType: 'string',
51
+ productType: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.ListZonesRequest = ListZonesRequest;
62
+ //# sourceMappingURL=ListZonesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListZonesRequest.js","sourceRoot":"","sources":["../../src/models/ListZonesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gBAAiB,SAAQ,KAAK,CAAC,KAAK;IAkD/C,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,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;AAzED,4CAyEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListZonesResponseBody } from "./ListZonesResponseBody";
3
+ export declare class ListZonesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListZonesResponseBody;
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.ListZonesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const ListZonesResponseBody_1 = require("./ListZonesResponseBody");
40
+ class ListZonesResponse 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: ListZonesResponseBody_1.ListZonesResponseBody,
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.ListZonesResponse = ListZonesResponse;
69
+ //# sourceMappingURL=ListZonesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListZonesResponse.js","sourceRoot":"","sources":["../../src/models/ListZonesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAGhE,MAAa,iBAAkB,SAAQ,KAAK,CAAC,KAAK;IAIhD,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,6CAAqB;SAC5B,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,8CAiCC"}
@@ -0,0 +1,43 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListZonesResponseBodyListZonesModel extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The list of available zone IDs for the specified product type and operating system type in the current region. When creating a resource that requires a vSwitch, select a vSwitch in one of these zones.
6
+ */
7
+ zones?: string[];
8
+ static names(): {
9
+ [key: string]: string;
10
+ };
11
+ static types(): {
12
+ [key: string]: any;
13
+ };
14
+ validate(): void;
15
+ constructor(map?: {
16
+ [key: string]: any;
17
+ });
18
+ }
19
+ export declare class ListZonesResponseBody extends $dara.Model {
20
+ /**
21
+ * @remarks
22
+ * The zone query result.
23
+ */
24
+ listZonesModel?: ListZonesResponseBodyListZonesModel;
25
+ /**
26
+ * @remarks
27
+ * The request ID. You can use this ID to locate and troubleshoot issues.
28
+ *
29
+ * @example
30
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
31
+ */
32
+ requestId?: string;
33
+ static names(): {
34
+ [key: string]: string;
35
+ };
36
+ static types(): {
37
+ [key: string]: any;
38
+ };
39
+ validate(): void;
40
+ constructor(map?: {
41
+ [key: string]: any;
42
+ });
43
+ }