@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,85 @@
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.ListZonesResponseBody = exports.ListZonesResponseBodyListZonesModel = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListZonesResponseBodyListZonesModel extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ zones: 'Zones',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ zones: { 'type': 'array', 'itemType': 'string' },
48
+ };
49
+ }
50
+ validate() {
51
+ if (Array.isArray(this.zones)) {
52
+ $dara.Model.validateArray(this.zones);
53
+ }
54
+ super.validate();
55
+ }
56
+ constructor(map) {
57
+ super(map);
58
+ }
59
+ }
60
+ exports.ListZonesResponseBodyListZonesModel = ListZonesResponseBodyListZonesModel;
61
+ class ListZonesResponseBody extends $dara.Model {
62
+ static names() {
63
+ return {
64
+ listZonesModel: 'ListZonesModel',
65
+ requestId: 'RequestId',
66
+ };
67
+ }
68
+ static types() {
69
+ return {
70
+ listZonesModel: ListZonesResponseBodyListZonesModel,
71
+ requestId: 'string',
72
+ };
73
+ }
74
+ validate() {
75
+ if (this.listZonesModel && typeof this.listZonesModel.validate === 'function') {
76
+ this.listZonesModel.validate();
77
+ }
78
+ super.validate();
79
+ }
80
+ constructor(map) {
81
+ super(map);
82
+ }
83
+ }
84
+ exports.ListZonesResponseBody = ListZonesResponseBody;
85
+ //# sourceMappingURL=ListZonesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListZonesResponseBody.js","sourceRoot":"","sources":["../../src/models/ListZonesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IAMlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,KAAK,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SACjD,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;YAC7B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;QACxC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,kFA4BC;AAED,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAcpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,gBAAgB;YAChC,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,cAAc,EAAE,mCAAmC;YACnD,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,cAAc,IAAI,OAAQ,IAAI,CAAC,cAAsB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrF,IAAI,CAAC,cAAsB,CAAC,QAAQ,EAAE,CAAC;QAC1C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,sDAsCC"}
@@ -0,0 +1,103 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class TagResourcesRequestTag extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The tag key. This parameter is required. The tag key must be 1 to 128 characters in length and is case-sensitive. The tag key cannot start with `aliyun` or `acs:` (case-insensitive) and cannot contain `http://` or `https://`. Letters, digits, spaces, and common punctuation marks are supported. If the tag key does not comply with the rules, the error code `InvalidTagPolicy.KeyInvalid` is returned.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * Resolution
11
+ */
12
+ key?: string;
13
+ /**
14
+ * @remarks
15
+ * The tag value. This parameter is required. The tag value must be 0 to 256 characters in length and is case-sensitive. An empty string is allowed. The tag value cannot contain `http://` or `https://`. If the tag value does not comply with the rules, the error code `InvalidTagPolicy.ValueInvalid` is returned.
16
+ *
17
+ * If the tag key is a system tag, the tag value can be only `true` or `false`.
18
+ *
19
+ * This parameter is required.
20
+ *
21
+ * @example
22
+ * 720p
23
+ *
24
+ * **if can be null:**
25
+ * false
26
+ */
27
+ value?: string;
28
+ static names(): {
29
+ [key: string]: string;
30
+ };
31
+ static types(): {
32
+ [key: string]: any;
33
+ };
34
+ validate(): void;
35
+ constructor(map?: {
36
+ [key: string]: any;
37
+ });
38
+ }
39
+ export declare class TagResourcesRequest extends $dara.Model {
40
+ /**
41
+ * @remarks
42
+ * The region ID. This parameter is required. Set this parameter to the ID of the region where the delivery group resides, such as `cn-hangzhou`.
43
+ *
44
+ * This parameter is required.
45
+ *
46
+ * @example
47
+ * cn-hangzhou
48
+ */
49
+ regionId?: string;
50
+ /**
51
+ * @remarks
52
+ * The list of resource IDs to which you want to bind tags. This parameter is required. Specify delivery group IDs. You can specify up to 50 IDs in a single request. Duplicate IDs are automatically deduplicated.
53
+ *
54
+ * **All IDs must be existing delivery groups under the current Alibaba Cloud account.** If any ID does not exist or does not belong to the current account, the entire request fails and the error code `InvalidAppInstanceGroup.NotFound` is returned. No tags are bound to any resource.
55
+ *
56
+ * This parameter is required.
57
+ */
58
+ resourceId?: string[];
59
+ /**
60
+ * @remarks
61
+ * The resource type. This parameter is required. **Currently, only delivery groups are supported.** The value is case-insensitive. We recommend that you use uppercase letters.
62
+ *
63
+ * Valid values:
64
+ *
65
+ * - APPINSTANCEGROUP: China Office (Chinese: Wuying) delivery group.
66
+ *
67
+ * If you specify another value, the error code `InvalidResourceType.Invalid` is returned.
68
+ *
69
+ * This parameter is required.
70
+ *
71
+ * @example
72
+ * APPINSTANCEGROUP
73
+ */
74
+ resourceType?: string;
75
+ /**
76
+ * @remarks
77
+ * The list of tags to bind. This parameter is required. You can specify up to 20 tags in a single request. Each tag must include both `Key` and `Value`.
78
+ *
79
+ * - Tag keys in the same request must be unique. Otherwise, the error code `InvalidTag.Duplicated` is returned.
80
+ * - If a tag key already exists on the resource, the tag value is updated to the value specified in the current request.
81
+ * - A maximum of 20 custom tags can be bound to a single resource. If this limit is exceeded, the error code `ResourceTag.CustomTagCountExceed` is returned.
82
+ *
83
+ * Tag keys that start with `System/` are China Office (Chinese: Wuying) system tags. Only the following values are supported, and the tag value can be only `true` or `false`:
84
+ *
85
+ * - `System/Scheduler/GRAYSCALE`: the canary release tag for the delivery group.
86
+ * - `System/Scheduler/STOP_NEW_USER_CONNECTION`: prevents newly bound users from establishing connections to the delivery group.
87
+ *
88
+ * If you specify other tag keys that start with `System/`, the error code `InvalidTag.SystemTagKeyInvalid` or `InvalidTag.SystemKeyNotAllow` is returned.
89
+ *
90
+ * This parameter is required.
91
+ */
92
+ tag?: TagResourcesRequestTag[];
93
+ static names(): {
94
+ [key: string]: string;
95
+ };
96
+ static types(): {
97
+ [key: string]: any;
98
+ };
99
+ validate(): void;
100
+ constructor(map?: {
101
+ [key: string]: any;
102
+ });
103
+ }
@@ -0,0 +1,91 @@
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.TagResourcesRequest = exports.TagResourcesRequestTag = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class TagResourcesRequestTag 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.TagResourcesRequestTag = TagResourcesRequestTag;
60
+ class TagResourcesRequest extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ regionId: 'RegionId',
64
+ resourceId: 'ResourceId',
65
+ resourceType: 'ResourceType',
66
+ tag: 'Tag',
67
+ };
68
+ }
69
+ static types() {
70
+ return {
71
+ regionId: 'string',
72
+ resourceId: { 'type': 'array', 'itemType': 'string' },
73
+ resourceType: 'string',
74
+ tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
75
+ };
76
+ }
77
+ validate() {
78
+ if (Array.isArray(this.resourceId)) {
79
+ $dara.Model.validateArray(this.resourceId);
80
+ }
81
+ if (Array.isArray(this.tag)) {
82
+ $dara.Model.validateArray(this.tag);
83
+ }
84
+ super.validate();
85
+ }
86
+ constructor(map) {
87
+ super(map);
88
+ }
89
+ }
90
+ exports.TagResourcesRequest = TagResourcesRequest;
91
+ //# sourceMappingURL=TagResourcesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagResourcesRequest.js","sourceRoot":"","sources":["../../src/models/TagResourcesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IA0BrD,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;AA/CD,wDA+CC;AAED,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAsDlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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,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,sBAAsB,EAAE;SAC7D,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,kDAqFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
3
+ export declare class TagResourcesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: TagResourcesResponseBody;
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.TagResourcesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const TagResourcesResponseBody_1 = require("./TagResourcesResponseBody");
40
+ class TagResourcesResponse 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: TagResourcesResponseBody_1.TagResourcesResponseBody,
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.TagResourcesResponse = TagResourcesResponse;
69
+ //# sourceMappingURL=TagResourcesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagResourcesResponse.js","sourceRoot":"","sources":["../../src/models/TagResourcesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,yEAAsE;AAGtE,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAInD,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,mDAAwB;SAC/B,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,oDAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class TagResourcesResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID, which can be used to troubleshoot issues.
6
+ *
7
+ * @example
8
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
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.TagResourcesResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class TagResourcesResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.TagResourcesResponseBody = TagResourcesResponseBody;
58
+ //# sourceMappingURL=TagResourcesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TagResourcesResponseBody.js","sourceRoot":"","sources":["../../src/models/TagResourcesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wBAAyB,SAAQ,KAAK,CAAC,KAAK;IASvD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,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;AA5BD,4DA4BC"}
@@ -0,0 +1,78 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UntagResourcesRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * Specifies whether to unbind all custom tags from the resource. **This parameter takes effect only when `TagKey.N` is not specified.** If `TagKey.N` is specified, this parameter is ignored. Valid values:
6
+ *
7
+ * - `true`: Unbinds all custom tags from the resource, including Wuying system tags that start with `System/` and were bound by calling [TagResources](~~TagResources~~).
8
+ * - `false` (default): Does not perform a full unbinding. If `TagKey.N` is also not specified, the error code `InvalidParameter.TagKeyListOrAll` is returned.
9
+ *
10
+ * @example
11
+ * false
12
+ *
13
+ * **if can be null:**
14
+ * true
15
+ */
16
+ all?: boolean;
17
+ /**
18
+ * @remarks
19
+ * The region ID. This parameter is required. Set this parameter to the ID of the region where the delivery group resides, such as `cn-hangzhou`.
20
+ *
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cn-hangzhou
25
+ */
26
+ regionId?: string;
27
+ /**
28
+ * @remarks
29
+ * The list of resource IDs from which you want to unbind tags. This parameter is required. Specify delivery group IDs. You can specify up to 50 IDs at a time. Duplicate IDs are automatically deduplicated.
30
+ *
31
+ * **All IDs must correspond to existing delivery groups under the current Alibaba Cloud account.** If any ID does not exist or does not belong to the current account, the entire request fails with the error code `InvalidAppInstanceGroup.NotFound`, and no tags are unbound from any resource.
32
+ *
33
+ * This parameter is required.
34
+ */
35
+ resourceId?: string[];
36
+ /**
37
+ * @remarks
38
+ * The resource type. This parameter is required. **Currently, only delivery groups are supported.** The value is case-insensitive. We recommend that you use uppercase.
39
+ *
40
+ * Valid values:
41
+ *
42
+ * - `APPINSTANCEGROUP`: Wuying delivery group.
43
+ *
44
+ * If you specify other values, the error code `InvalidResourceType.Invalid` is returned.
45
+ *
46
+ * This parameter is required.
47
+ *
48
+ * @example
49
+ * APPINSTANCEGROUP
50
+ */
51
+ resourceType?: string;
52
+ /**
53
+ * @remarks
54
+ * The list of tag keys to unbind. You can specify up to 20 tag keys at a time. **Specify at least one of `TagKey.N` and `All`.** If neither is specified, the error code `InvalidParameter.TagKeyListOrAll` is returned.
55
+ *
56
+ * - If `TagKey.N` is specified, only the tags that correspond to the specified tag keys are unbound. The `All` parameter is ignored.
57
+ * - If a specified tag key does not exist on the resource, the tag key is skipped and no error is returned.
58
+ * - If `TagKey.N` is not specified, set `All` to `true` to unbind all custom tags from the resource.
59
+ *
60
+ * Tag keys that start with `System/` are Wuying system tags. Only the following values are supported:
61
+ *
62
+ * - `System/Scheduler/GRAYSCALE`: the canary release tag for the delivery group.
63
+ * - `System/Scheduler/STOP_NEW_USER_CONNECTION`: prevents newly bound users from establishing connections to the delivery group.
64
+ *
65
+ * If you specify other tag keys that start with `System/`, the error code `InvalidTagPolicy.KeyInvalid` or `InvalidTag.SystemKeyNotAllow` is returned.
66
+ */
67
+ tagKey?: string[];
68
+ static names(): {
69
+ [key: string]: string;
70
+ };
71
+ static types(): {
72
+ [key: string]: any;
73
+ };
74
+ validate(): void;
75
+ constructor(map?: {
76
+ [key: string]: any;
77
+ });
78
+ }
@@ -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.UntagResourcesRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UntagResourcesRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ all: 'All',
43
+ regionId: 'RegionId',
44
+ resourceId: 'ResourceId',
45
+ resourceType: 'ResourceType',
46
+ tagKey: 'TagKey',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ all: 'boolean',
52
+ regionId: 'string',
53
+ resourceId: { 'type': 'array', 'itemType': 'string' },
54
+ resourceType: 'string',
55
+ tagKey: { 'type': 'array', 'itemType': 'string' },
56
+ };
57
+ }
58
+ validate() {
59
+ if (Array.isArray(this.resourceId)) {
60
+ $dara.Model.validateArray(this.resourceId);
61
+ }
62
+ if (Array.isArray(this.tagKey)) {
63
+ $dara.Model.validateArray(this.tagKey);
64
+ }
65
+ super.validate();
66
+ }
67
+ constructor(map) {
68
+ super(map);
69
+ }
70
+ }
71
+ exports.UntagResourcesRequest = UntagResourcesRequest;
72
+ //# sourceMappingURL=UntagResourcesRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UntagResourcesRequest.js","sourceRoot":"","sources":["../../src/models/UntagResourcesRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qBAAsB,SAAQ,KAAK,CAAC,KAAK;IAkEpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,SAAS;YACd,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;YACrD,YAAY,EAAE,QAAQ;YACtB,MAAM,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE;SAClD,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,MAAM,CAAC,EAAE,CAAC;YAC9B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAnGD,sDAmGC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { UntagResourcesResponseBody } from "./UntagResourcesResponseBody";
3
+ export declare class UntagResourcesResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: UntagResourcesResponseBody;
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
+ }