@alicloud/cms20240330 3.6.1 → 4.1.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 (69) hide show
  1. package/dist/client.d.ts +72 -0
  2. package/dist/client.js +217 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ChangeResourceGroupRequest.d.ts +28 -0
  5. package/dist/models/ChangeResourceGroupRequest.js +62 -0
  6. package/dist/models/ChangeResourceGroupRequest.js.map +1 -0
  7. package/dist/models/ChangeResourceGroupResponse.d.ts +19 -0
  8. package/dist/models/ChangeResourceGroupResponse.js +69 -0
  9. package/dist/models/ChangeResourceGroupResponse.js.map +1 -0
  10. package/dist/models/ChangeResourceGroupResponseBody.d.ts +18 -0
  11. package/dist/models/ChangeResourceGroupResponseBody.js +58 -0
  12. package/dist/models/ChangeResourceGroupResponseBody.js.map +1 -0
  13. package/dist/models/DeleteThreadResponseBody.d.ts +0 -1
  14. package/dist/models/DeleteThreadResponseBody.js +0 -2
  15. package/dist/models/DeleteThreadResponseBody.js.map +1 -1
  16. package/dist/models/ListTagResourcesRequest.d.ts +34 -0
  17. package/dist/models/ListTagResourcesRequest.js +73 -0
  18. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  19. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  20. package/dist/models/ListTagResourcesResponse.js +69 -0
  21. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  22. package/dist/models/ListTagResourcesResponseBody.d.ts +61 -0
  23. package/dist/models/ListTagResourcesResponseBody.js +92 -0
  24. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  25. package/dist/models/ListTagResourcesShrinkRequest.d.ts +33 -0
  26. package/dist/models/ListTagResourcesShrinkRequest.js +66 -0
  27. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
  28. package/dist/models/TagResourcesRequest.d.ts +28 -0
  29. package/dist/models/TagResourcesRequest.js +69 -0
  30. package/dist/models/TagResourcesRequest.js.map +1 -0
  31. package/dist/models/TagResourcesResponse.d.ts +19 -0
  32. package/dist/models/TagResourcesResponse.js +69 -0
  33. package/dist/models/TagResourcesResponse.js.map +1 -0
  34. package/dist/models/TagResourcesResponseBody.d.ts +18 -0
  35. package/dist/models/TagResourcesResponseBody.js +58 -0
  36. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  37. package/dist/models/UntagResourcesRequest.d.ts +32 -0
  38. package/dist/models/UntagResourcesRequest.js +70 -0
  39. package/dist/models/UntagResourcesRequest.js.map +1 -0
  40. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  41. package/dist/models/UntagResourcesResponse.js +69 -0
  42. package/dist/models/UntagResourcesResponse.js.map +1 -0
  43. package/dist/models/UntagResourcesResponseBody.d.ts +18 -0
  44. package/dist/models/UntagResourcesResponseBody.js +58 -0
  45. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  46. package/dist/models/UntagResourcesShrinkRequest.d.ts +32 -0
  47. package/dist/models/UntagResourcesShrinkRequest.js +64 -0
  48. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
  49. package/dist/models/model.d.ts +15 -0
  50. package/dist/models/model.js +38 -8
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +244 -0
  54. package/src/models/ChangeResourceGroupRequest.ts +45 -0
  55. package/src/models/ChangeResourceGroupResponse.ts +40 -0
  56. package/src/models/ChangeResourceGroupResponseBody.ts +31 -0
  57. package/src/models/DeleteThreadResponseBody.ts +0 -3
  58. package/src/models/ListTagResourcesRequest.ts +61 -0
  59. package/src/models/ListTagResourcesResponse.ts +40 -0
  60. package/src/models/ListTagResourcesResponseBody.ts +99 -0
  61. package/src/models/ListTagResourcesShrinkRequest.ts +54 -0
  62. package/src/models/TagResourcesRequest.ts +51 -0
  63. package/src/models/TagResourcesResponse.ts +40 -0
  64. package/src/models/TagResourcesResponseBody.ts +31 -0
  65. package/src/models/UntagResourcesRequest.ts +57 -0
  66. package/src/models/UntagResourcesResponse.ts +40 -0
  67. package/src/models/UntagResourcesResponseBody.ts +31 -0
  68. package/src/models/UntagResourcesShrinkRequest.ts +51 -0
  69. package/src/models/model.ts +15 -0
@@ -0,0 +1,33 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListTagResourcesShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 20
6
+ */
7
+ maxResults?: number;
8
+ /**
9
+ * @example
10
+ * xxxxxxxxxx
11
+ */
12
+ nextToken?: string;
13
+ resourceIdShrink?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * Service
20
+ */
21
+ resourceType?: string;
22
+ tagShrink?: string;
23
+ static names(): {
24
+ [key: string]: string;
25
+ };
26
+ static types(): {
27
+ [key: string]: any;
28
+ };
29
+ validate(): void;
30
+ constructor(map?: {
31
+ [key: string]: any;
32
+ });
33
+ }
@@ -0,0 +1,66 @@
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.ListTagResourcesShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListTagResourcesShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ maxResults: 'maxResults',
43
+ nextToken: 'nextToken',
44
+ resourceIdShrink: 'resourceId',
45
+ resourceType: 'resourceType',
46
+ tagShrink: 'tag',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ maxResults: 'number',
52
+ nextToken: 'string',
53
+ resourceIdShrink: 'string',
54
+ resourceType: 'string',
55
+ tagShrink: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.ListTagResourcesShrinkRequest = ListTagResourcesShrinkRequest;
66
+ //# sourceMappingURL=ListTagResourcesShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListTagResourcesShrinkRequest.js","sourceRoot":"","sources":["../../src/models/ListTagResourcesShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAqB5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,gBAAgB,EAAE,YAAY;YAC9B,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,KAAK;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,gBAAgB,EAAE,QAAQ;YAC1B,YAAY,EAAE,QAAQ;YACtB,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;AAhDD,sEAgDC"}
@@ -0,0 +1,28 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { Tag } from "./Tag";
3
+ export declare class TagResourcesRequest extends $dara.Model {
4
+ /**
5
+ * @remarks
6
+ * This parameter is required.
7
+ */
8
+ resourceId?: string[];
9
+ /**
10
+ * @remarks
11
+ * This parameter is required.
12
+ *
13
+ * @example
14
+ * Service
15
+ */
16
+ resourceType?: string;
17
+ tag?: Tag[];
18
+ static names(): {
19
+ [key: string]: string;
20
+ };
21
+ static types(): {
22
+ [key: string]: any;
23
+ };
24
+ validate(): void;
25
+ constructor(map?: {
26
+ [key: string]: any;
27
+ });
28
+ }
@@ -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.TagResourcesRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const Tag_1 = require("./Tag");
40
+ class TagResourcesRequest extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ resourceId: 'resourceId',
44
+ resourceType: 'resourceType',
45
+ tag: 'tag',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ resourceId: { 'type': 'array', 'itemType': 'string' },
51
+ resourceType: 'string',
52
+ tag: { 'type': 'array', 'itemType': Tag_1.Tag },
53
+ };
54
+ }
55
+ validate() {
56
+ if (Array.isArray(this.resourceId)) {
57
+ $dara.Model.validateArray(this.resourceId);
58
+ }
59
+ if (Array.isArray(this.tag)) {
60
+ $dara.Model.validateArray(this.tag);
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.TagResourcesRequest = TagResourcesRequest;
69
+ //# 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;AAC/C,+BAA4B;AAG5B,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IAelD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,GAAG,EAAE,KAAK;SACX,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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,SAAG,EAAE;SAC1C,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;AA5CD,kDA4CC"}
@@ -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,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class TagResourcesResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 3B311FD9-A60B-55E0-A896-A0C73*********
6
+ */
7
+ requestId?: 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
+ }
@@ -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;IAMvD,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;AAzBD,4DAyBC"}
@@ -0,0 +1,32 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UntagResourcesRequest extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * false
6
+ */
7
+ all?: boolean;
8
+ /**
9
+ * @remarks
10
+ * This parameter is required.
11
+ */
12
+ resourceId?: string[];
13
+ /**
14
+ * @remarks
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * Service
19
+ */
20
+ resourceType?: string;
21
+ tagKey?: string[];
22
+ static names(): {
23
+ [key: string]: string;
24
+ };
25
+ static types(): {
26
+ [key: string]: any;
27
+ };
28
+ validate(): void;
29
+ constructor(map?: {
30
+ [key: string]: any;
31
+ });
32
+ }
@@ -0,0 +1,70 @@
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
+ resourceId: 'resourceId',
44
+ resourceType: 'resourceType',
45
+ tagKey: 'tagKey',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ all: 'boolean',
51
+ resourceId: { 'type': 'array', 'itemType': 'string' },
52
+ resourceType: 'string',
53
+ tagKey: { 'type': 'array', 'itemType': 'string' },
54
+ };
55
+ }
56
+ validate() {
57
+ if (Array.isArray(this.resourceId)) {
58
+ $dara.Model.validateArray(this.resourceId);
59
+ }
60
+ if (Array.isArray(this.tagKey)) {
61
+ $dara.Model.validateArray(this.tagKey);
62
+ }
63
+ super.validate();
64
+ }
65
+ constructor(map) {
66
+ super(map);
67
+ }
68
+ }
69
+ exports.UntagResourcesRequest = UntagResourcesRequest;
70
+ //# 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;IAoBpD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,GAAG,EAAE,KAAK;YACV,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,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;AAnDD,sDAmDC"}
@@ -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
+ }
@@ -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.UntagResourcesResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const UntagResourcesResponseBody_1 = require("./UntagResourcesResponseBody");
40
+ class UntagResourcesResponse 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: UntagResourcesResponseBody_1.UntagResourcesResponseBody,
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.UntagResourcesResponse = UntagResourcesResponse;
69
+ //# sourceMappingURL=UntagResourcesResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UntagResourcesResponse.js","sourceRoot":"","sources":["../../src/models/UntagResourcesResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6EAA0E;AAG1E,MAAa,sBAAuB,SAAQ,KAAK,CAAC,KAAK;IAIrD,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,uDAA0B;SACjC,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,wDAiCC"}
@@ -0,0 +1,18 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class UntagResourcesResponseBody extends $dara.Model {
3
+ /**
4
+ * @example
5
+ * 8FDE2569-626B-5176-9844-28877A*****
6
+ */
7
+ requestId?: 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
+ }
@@ -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.UntagResourcesResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class UntagResourcesResponseBody 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.UntagResourcesResponseBody = UntagResourcesResponseBody;
58
+ //# sourceMappingURL=UntagResourcesResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"UntagResourcesResponseBody.js","sourceRoot":"","sources":["../../src/models/UntagResourcesResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IAMzD,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;AAzBD,gEAyBC"}