@alicloud/cms20240330 10.0.1 → 10.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 (84) hide show
  1. package/dist/client.d.ts +122 -2
  2. package/dist/client.js +257 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateServiceRecordRequest.d.ts +40 -0
  5. package/dist/models/CreateServiceRecordRequest.js +60 -0
  6. package/dist/models/CreateServiceRecordRequest.js.map +1 -0
  7. package/dist/models/CreateServiceRecordResponse.d.ts +19 -0
  8. package/dist/models/CreateServiceRecordResponse.js +69 -0
  9. package/dist/models/CreateServiceRecordResponse.js.map +1 -0
  10. package/dist/models/CreateServiceRecordResponseBody.d.ts +21 -0
  11. package/dist/models/CreateServiceRecordResponseBody.js +58 -0
  12. package/dist/models/CreateServiceRecordResponseBody.js.map +1 -0
  13. package/dist/models/DeleteServiceRecordRequest.d.ts +24 -0
  14. package/dist/models/DeleteServiceRecordRequest.js +58 -0
  15. package/dist/models/DeleteServiceRecordRequest.js.map +1 -0
  16. package/dist/models/DeleteServiceRecordResponse.d.ts +19 -0
  17. package/dist/models/DeleteServiceRecordResponse.js +69 -0
  18. package/dist/models/DeleteServiceRecordResponse.js.map +1 -0
  19. package/dist/models/DeleteServiceRecordResponseBody.d.ts +21 -0
  20. package/dist/models/DeleteServiceRecordResponseBody.js +58 -0
  21. package/dist/models/DeleteServiceRecordResponseBody.js.map +1 -0
  22. package/dist/models/DescribeMetricMetaListRequest.d.ts +2 -2
  23. package/dist/models/DescribeMetricMetaListResponseBody.d.ts +1 -3
  24. package/dist/models/DescribeMetricMetaListResponseBody.js.map +1 -1
  25. package/dist/models/DescribeMetricMetaListShrinkRequest.d.ts +2 -2
  26. package/dist/models/GetDeliveryTaskResponseBody.d.ts +10 -10
  27. package/dist/models/GetServiceRecordRequest.d.ts +24 -0
  28. package/dist/models/GetServiceRecordRequest.js +58 -0
  29. package/dist/models/GetServiceRecordRequest.js.map +1 -0
  30. package/dist/models/GetServiceRecordResponse.d.ts +19 -0
  31. package/dist/models/GetServiceRecordResponse.js +69 -0
  32. package/dist/models/GetServiceRecordResponse.js.map +1 -0
  33. package/dist/models/GetServiceRecordResponseBody.d.ts +71 -0
  34. package/dist/models/GetServiceRecordResponseBody.js +88 -0
  35. package/dist/models/GetServiceRecordResponseBody.js.map +1 -0
  36. package/dist/models/ListDeliveryTasksRequest.d.ts +3 -3
  37. package/dist/models/ListDeliveryTasksResponseBody.d.ts +3 -3
  38. package/dist/models/ListDeliveryTasksShrinkRequest.d.ts +3 -3
  39. package/dist/models/ListServiceRecordsRequest.d.ts +51 -0
  40. package/dist/models/ListServiceRecordsRequest.js +64 -0
  41. package/dist/models/ListServiceRecordsRequest.js.map +1 -0
  42. package/dist/models/ListServiceRecordsResponse.d.ts +19 -0
  43. package/dist/models/ListServiceRecordsResponse.js +69 -0
  44. package/dist/models/ListServiceRecordsResponse.js.map +1 -0
  45. package/dist/models/ListServiceRecordsResponseBody.d.ts +101 -0
  46. package/dist/models/ListServiceRecordsResponseBody.js +94 -0
  47. package/dist/models/ListServiceRecordsResponseBody.js.map +1 -0
  48. package/dist/models/UpdateServiceRecordRequest.d.ts +40 -0
  49. package/dist/models/UpdateServiceRecordRequest.js +60 -0
  50. package/dist/models/UpdateServiceRecordRequest.js.map +1 -0
  51. package/dist/models/UpdateServiceRecordResponse.d.ts +19 -0
  52. package/dist/models/UpdateServiceRecordResponse.js +69 -0
  53. package/dist/models/UpdateServiceRecordResponse.js.map +1 -0
  54. package/dist/models/UpdateServiceRecordResponseBody.d.ts +21 -0
  55. package/dist/models/UpdateServiceRecordResponseBody.js +58 -0
  56. package/dist/models/UpdateServiceRecordResponseBody.js.map +1 -0
  57. package/dist/models/model.d.ts +17 -0
  58. package/dist/models/model.js +49 -15
  59. package/dist/models/model.js.map +1 -1
  60. package/package.json +1 -1
  61. package/src/client.ts +277 -2
  62. package/src/models/CreateServiceRecordRequest.ts +55 -0
  63. package/src/models/CreateServiceRecordResponse.ts +40 -0
  64. package/src/models/CreateServiceRecordResponseBody.ts +34 -0
  65. package/src/models/DeleteServiceRecordRequest.ts +37 -0
  66. package/src/models/DeleteServiceRecordResponse.ts +40 -0
  67. package/src/models/DeleteServiceRecordResponseBody.ts +34 -0
  68. package/src/models/DescribeMetricMetaListRequest.ts +2 -2
  69. package/src/models/DescribeMetricMetaListResponseBody.ts +1 -3
  70. package/src/models/DescribeMetricMetaListShrinkRequest.ts +2 -2
  71. package/src/models/GetDeliveryTaskResponseBody.ts +10 -10
  72. package/src/models/GetServiceRecordRequest.ts +37 -0
  73. package/src/models/GetServiceRecordResponse.ts +40 -0
  74. package/src/models/GetServiceRecordResponseBody.ts +105 -0
  75. package/src/models/ListDeliveryTasksRequest.ts +3 -3
  76. package/src/models/ListDeliveryTasksResponseBody.ts +3 -3
  77. package/src/models/ListDeliveryTasksShrinkRequest.ts +3 -3
  78. package/src/models/ListServiceRecordsRequest.ts +70 -0
  79. package/src/models/ListServiceRecordsResponse.ts +40 -0
  80. package/src/models/ListServiceRecordsResponseBody.ts +141 -0
  81. package/src/models/UpdateServiceRecordRequest.ts +55 -0
  82. package/src/models/UpdateServiceRecordResponse.ts +40 -0
  83. package/src/models/UpdateServiceRecordResponseBody.ts +34 -0
  84. package/src/models/model.ts +17 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetDeliveryTaskResponseBodyDeliveryTaskExtraInfo extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The list of EventBridge tasks.
5
+ * The EventBridge task list.
6
6
  */
7
7
  taskNameList?: string[];
8
8
  static names(): {
@@ -19,14 +19,14 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTaskExtraInfo extends $d
19
19
  export declare class GetDeliveryTaskResponseBodyDeliveryTaskSinkList extends $dara.Model {
20
20
  /**
21
21
  * @remarks
22
- * The detailed configuration of the delivery target. The meaning of key/value pairs varies depending on the sinkType. For more information, see [CreateDeliveryTask](~~CreateDeliveryTask~~).
22
+ * The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType. For more information, see CreateDeliveryTask.
23
23
  */
24
24
  sinkConfigs?: {
25
25
  [key: string]: string;
26
26
  };
27
27
  /**
28
28
  * @remarks
29
- * The type of the delivery target.
29
+ * The delivery target type.
30
30
  *
31
31
  * @example
32
32
  * Prometheus
@@ -46,7 +46,7 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTaskSinkList extends $da
46
46
  export declare class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The tag key.
49
+ * The tag key of the resource group.
50
50
  *
51
51
  * @example
52
52
  * sourcetype
@@ -54,7 +54,7 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.M
54
54
  key?: string;
55
55
  /**
56
56
  * @remarks
57
- * The tag value.
57
+ * The tag value of the resource group.
58
58
  *
59
59
  * @example
60
60
  * production
@@ -74,7 +74,7 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTaskTags extends $dara.M
74
74
  export declare class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model {
75
75
  /**
76
76
  * @remarks
77
- * The time when the task was created.
77
+ * The creation time.
78
78
  *
79
79
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
80
80
  *
@@ -135,12 +135,12 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model
135
135
  * The current status of the task.
136
136
  *
137
137
  * @example
138
- * Pending2Running
138
+ * Enable
139
139
  */
140
140
  status?: string;
141
141
  /**
142
142
  * @remarks
143
- * The resource tags.
143
+ * The resource group tags.
144
144
  */
145
145
  tags?: GetDeliveryTaskResponseBodyDeliveryTaskTags[];
146
146
  /**
@@ -169,7 +169,7 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model
169
169
  taskName?: string;
170
170
  /**
171
171
  * @remarks
172
- * The time when the task was last updated.
172
+ * The update time.
173
173
  *
174
174
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
175
175
  *
@@ -191,7 +191,7 @@ export declare class GetDeliveryTaskResponseBodyDeliveryTask extends $dara.Model
191
191
  export declare class GetDeliveryTaskResponseBody extends $dara.Model {
192
192
  /**
193
193
  * @remarks
194
- * The details of the delivery task.
194
+ * The delivery task details.
195
195
  */
196
196
  deliveryTask?: GetDeliveryTaskResponseBodyDeliveryTask;
197
197
  /**
@@ -0,0 +1,24 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetServiceRecordRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The type of the linked entry. Currently supported values:
6
+ * logCorrelation: indicates application log association.
7
+ *
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * logCorrelation
12
+ */
13
+ recordType?: string;
14
+ static names(): {
15
+ [key: string]: string;
16
+ };
17
+ static types(): {
18
+ [key: string]: any;
19
+ };
20
+ validate(): void;
21
+ constructor(map?: {
22
+ [key: string]: any;
23
+ });
24
+ }
@@ -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.GetServiceRecordRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetServiceRecordRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ recordType: 'recordType',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ recordType: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.GetServiceRecordRequest = GetServiceRecordRequest;
58
+ //# sourceMappingURL=GetServiceRecordRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetServiceRecordRequest.js","sourceRoot":"","sources":["../../src/models/GetServiceRecordRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uBAAwB,SAAQ,KAAK,CAAC,KAAK;IAYtD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;SACzB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;SACrB,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/BD,0DA+BC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetServiceRecordResponseBody } from "./GetServiceRecordResponseBody";
3
+ export declare class GetServiceRecordResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetServiceRecordResponseBody;
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.GetServiceRecordResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetServiceRecordResponseBody_1 = require("./GetServiceRecordResponseBody");
40
+ class GetServiceRecordResponse 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: GetServiceRecordResponseBody_1.GetServiceRecordResponseBody,
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.GetServiceRecordResponse = GetServiceRecordResponse;
69
+ //# sourceMappingURL=GetServiceRecordResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetServiceRecordResponse.js","sourceRoot":"","sources":["../../src/models/GetServiceRecordResponse.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,71 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetServiceRecordResponseBodyRecord extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The entry content in JSON string format. The returned content varies depending on the recordType.
6
+ *
7
+ * @example
8
+ * {"project":"proj-xtrace-16c988dcfe21fcb73c5e6f234927d998-cn-hangzhou","storeName":"app-biz-log","regionId":"cn-hangzhou","bindType":"logstore","traceIdRelateField":""}
9
+ */
10
+ recordContent?: string;
11
+ /**
12
+ * @remarks
13
+ * The type of the linked entry. Currently supported values:
14
+ * logCorrelation: indicates application log association.
15
+ *
16
+ * @example
17
+ * logCorrelation
18
+ */
19
+ recordType?: string;
20
+ /**
21
+ * @remarks
22
+ * The unique identifier of the service.
23
+ *
24
+ * @example
25
+ * ckj0xn6ma3@b96491402f8e1f15a8c79
26
+ */
27
+ serviceId?: string;
28
+ /**
29
+ * @remarks
30
+ * The workspace.
31
+ *
32
+ * @example
33
+ * default-cms-1610600919225911-cn-beijing
34
+ */
35
+ workspace?: string;
36
+ static names(): {
37
+ [key: string]: string;
38
+ };
39
+ static types(): {
40
+ [key: string]: any;
41
+ };
42
+ validate(): void;
43
+ constructor(map?: {
44
+ [key: string]: any;
45
+ });
46
+ }
47
+ export declare class GetServiceRecordResponseBody extends $dara.Model {
48
+ /**
49
+ * @remarks
50
+ * The record.
51
+ */
52
+ record?: GetServiceRecordResponseBodyRecord;
53
+ /**
54
+ * @remarks
55
+ * Id of the request
56
+ *
57
+ * @example
58
+ * 8FDE2569-626B-5176-9844-28877A*****
59
+ */
60
+ requestId?: string;
61
+ static names(): {
62
+ [key: string]: string;
63
+ };
64
+ static types(): {
65
+ [key: string]: any;
66
+ };
67
+ validate(): void;
68
+ constructor(map?: {
69
+ [key: string]: any;
70
+ });
71
+ }
@@ -0,0 +1,88 @@
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.GetServiceRecordResponseBody = exports.GetServiceRecordResponseBodyRecord = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetServiceRecordResponseBodyRecord extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ recordContent: 'recordContent',
43
+ recordType: 'recordType',
44
+ serviceId: 'serviceId',
45
+ workspace: 'workspace',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ recordContent: 'string',
51
+ recordType: 'string',
52
+ serviceId: 'string',
53
+ workspace: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.GetServiceRecordResponseBodyRecord = GetServiceRecordResponseBodyRecord;
64
+ class GetServiceRecordResponseBody extends $dara.Model {
65
+ static names() {
66
+ return {
67
+ record: 'record',
68
+ requestId: 'requestId',
69
+ };
70
+ }
71
+ static types() {
72
+ return {
73
+ record: GetServiceRecordResponseBodyRecord,
74
+ requestId: 'string',
75
+ };
76
+ }
77
+ validate() {
78
+ if (this.record && typeof this.record.validate === 'function') {
79
+ this.record.validate();
80
+ }
81
+ super.validate();
82
+ }
83
+ constructor(map) {
84
+ super(map);
85
+ }
86
+ }
87
+ exports.GetServiceRecordResponseBody = GetServiceRecordResponseBody;
88
+ //# sourceMappingURL=GetServiceRecordResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetServiceRecordResponseBody.js","sourceRoot":"","sources":["../../src/models/GetServiceRecordResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAkCjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,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;AA3DD,gFA2DC;AAED,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAc3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;YAChB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,kCAAkC;YAC1C,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,MAAM,IAAI,OAAQ,IAAI,CAAC,MAAc,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACrE,IAAI,CAAC,MAAc,CAAC,QAAQ,EAAE,CAAC;QAClC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,oEAsCC"}
@@ -30,7 +30,7 @@ export declare class ListDeliveryTasksRequestTag extends $dara.Model {
30
30
  export declare class ListDeliveryTasksRequest extends $dara.Model {
31
31
  /**
32
32
  * @remarks
33
- * The keyword used to perform a fuzzy match by task name or task ID.
33
+ * Fuzzy search by task name or task ID (LIKE semantics).
34
34
  *
35
35
  * @example
36
36
  * test-task
@@ -46,7 +46,7 @@ export declare class ListDeliveryTasksRequest extends $dara.Model {
46
46
  maxResults?: number;
47
47
  /**
48
48
  * @remarks
49
- * The pagination token. Leave this parameter empty for the first request. For subsequent requests, set this parameter to the nextToken value returned in the previous response.
49
+ * The pagination token. Leave this parameter empty for the first request. For subsequent requests, pass the nextToken value returned in the previous response.
50
50
  *
51
51
  * @example
52
52
  * sjC5rekx93Ew7K7VcmI3wkBZBYQ-GphB2ilQu3zJCGxoZuicwyJznfo2riTjr-lq
@@ -62,7 +62,7 @@ export declare class ListDeliveryTasksRequest extends $dara.Model {
62
62
  resourceGroupId?: string;
63
63
  /**
64
64
  * @remarks
65
- * The tags.
65
+ * The list of tags.
66
66
  */
67
67
  tag?: ListDeliveryTasksRequestTag[];
68
68
  static names(): {
@@ -19,7 +19,7 @@ export declare class ListDeliveryTasksResponseBodyDeliveryTasksExtraInfo extends
19
19
  export declare class ListDeliveryTasksResponseBodyDeliveryTasksSinkList extends $dara.Model {
20
20
  /**
21
21
  * @remarks
22
- * The detailed configuration of the delivery target. The meanings of the key/value pairs vary depending on the sinkType.
22
+ * The detailed configuration of the delivery target. The meanings of key/value pairs vary depending on the sinkType.
23
23
  */
24
24
  sinkConfigs?: {
25
25
  [key: string]: string;
@@ -74,7 +74,7 @@ export declare class ListDeliveryTasksResponseBodyDeliveryTasksTags extends $dar
74
74
  export declare class ListDeliveryTasksResponseBodyDeliveryTasks extends $dara.Model {
75
75
  /**
76
76
  * @remarks
77
- * The time when the task was created.
77
+ * The creation time.
78
78
  *
79
79
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
80
80
  *
@@ -169,7 +169,7 @@ export declare class ListDeliveryTasksResponseBodyDeliveryTasks extends $dara.Mo
169
169
  taskName?: string;
170
170
  /**
171
171
  * @remarks
172
- * The time when the task was last updated.
172
+ * The update time.
173
173
  *
174
174
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
175
175
  *
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListDeliveryTasksShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The keyword used to perform a fuzzy match by task name or task ID.
5
+ * Fuzzy search by task name or task ID (LIKE semantics).
6
6
  *
7
7
  * @example
8
8
  * test-task
@@ -18,7 +18,7 @@ export declare class ListDeliveryTasksShrinkRequest extends $dara.Model {
18
18
  maxResults?: number;
19
19
  /**
20
20
  * @remarks
21
- * The pagination token. Leave this parameter empty for the first request. For subsequent requests, set this parameter to the nextToken value returned in the previous response.
21
+ * The pagination token. Leave this parameter empty for the first request. For subsequent requests, pass the nextToken value returned in the previous response.
22
22
  *
23
23
  * @example
24
24
  * sjC5rekx93Ew7K7VcmI3wkBZBYQ-GphB2ilQu3zJCGxoZuicwyJznfo2riTjr-lq
@@ -34,7 +34,7 @@ export declare class ListDeliveryTasksShrinkRequest extends $dara.Model {
34
34
  resourceGroupId?: string;
35
35
  /**
36
36
  * @remarks
37
- * The tags.
37
+ * The list of tags.
38
38
  */
39
39
  tagShrink?: string;
40
40
  static names(): {
@@ -0,0 +1,51 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class ListServiceRecordsRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The maximum number of entries to return. Maximum value: 200.
6
+ *
7
+ * @example
8
+ * 100
9
+ */
10
+ maxResults?: number;
11
+ /**
12
+ * @remarks
13
+ * The pagination token.
14
+ *
15
+ * @example
16
+ * xxxxx
17
+ */
18
+ nextToken?: string;
19
+ /**
20
+ * @remarks
21
+ * The type of the linked entry. Currently supported:
22
+ * logCorrelation, which indicates application log association.
23
+ *
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * logCorrelation
28
+ */
29
+ recordType?: string;
30
+ /**
31
+ * @remarks
32
+ * The filter information for service-linked entries.
33
+ *
34
+ * @example
35
+ * {
36
+ * "serviceName": "my-service",
37
+ * "storeName": "my-logstore"
38
+ * }
39
+ */
40
+ search?: string;
41
+ static names(): {
42
+ [key: string]: string;
43
+ };
44
+ static types(): {
45
+ [key: string]: any;
46
+ };
47
+ validate(): void;
48
+ constructor(map?: {
49
+ [key: string]: any;
50
+ });
51
+ }
@@ -0,0 +1,64 @@
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.ListServiceRecordsRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class ListServiceRecordsRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ maxResults: 'maxResults',
43
+ nextToken: 'nextToken',
44
+ recordType: 'recordType',
45
+ search: 'search',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ maxResults: 'number',
51
+ nextToken: 'string',
52
+ recordType: 'string',
53
+ search: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.ListServiceRecordsRequest = ListServiceRecordsRequest;
64
+ //# sourceMappingURL=ListServiceRecordsRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListServiceRecordsRequest.js","sourceRoot":"","sources":["../../src/models/ListServiceRecordsRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,yBAA0B,SAAQ,KAAK,CAAC,KAAK;IAuCxD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;SACjB,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;AAhED,8DAgEC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { ListServiceRecordsResponseBody } from "./ListServiceRecordsResponseBody";
3
+ export declare class ListServiceRecordsResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: ListServiceRecordsResponseBody;
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
+ }