@alicloud/eventbridge20200401 6.0.10 → 6.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 (151) hide show
  1. package/dist/client.d.ts +120 -0
  2. package/dist/client.js +367 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AguiMessage.d.ts +36 -0
  5. package/dist/models/AguiMessage.js.map +1 -1
  6. package/dist/models/AskLumaLogEntry.d.ts +72 -0
  7. package/dist/models/AskLumaLogEntry.js +88 -0
  8. package/dist/models/AskLumaLogEntry.js.map +1 -0
  9. package/dist/models/AskLumaRequest.d.ts +36 -0
  10. package/dist/models/AskLumaRequest.js +64 -0
  11. package/dist/models/AskLumaRequest.js.map +1 -0
  12. package/dist/models/AskLumaResponse.d.ts +19 -0
  13. package/dist/models/AskLumaResponse.js +69 -0
  14. package/dist/models/AskLumaResponse.js.map +1 -0
  15. package/dist/models/AskLumaResponseBody.d.ts +35 -0
  16. package/dist/models/AskLumaResponseBody.js +70 -0
  17. package/dist/models/AskLumaResponseBody.js.map +1 -0
  18. package/dist/models/AskLumaResult.d.ts +58 -0
  19. package/dist/models/AskLumaResult.js +86 -0
  20. package/dist/models/AskLumaResult.js.map +1 -0
  21. package/dist/models/Constraints.d.ts +23 -0
  22. package/dist/models/Constraints.js +60 -0
  23. package/dist/models/Constraints.js.map +1 -0
  24. package/dist/models/Content.d.ts +18 -0
  25. package/dist/models/Content.js +73 -0
  26. package/dist/models/Content.js.map +1 -0
  27. package/dist/models/CreateAgentRequest.d.ts +56 -0
  28. package/dist/models/CreateAgentRequest.js +110 -0
  29. package/dist/models/CreateAgentRequest.js.map +1 -0
  30. package/dist/models/CreateAgentResponse.d.ts +19 -0
  31. package/dist/models/CreateAgentResponse.js +69 -0
  32. package/dist/models/CreateAgentResponse.js.map +1 -0
  33. package/dist/models/CreateAgentResponseBody.d.ts +54 -0
  34. package/dist/models/CreateAgentResponseBody.js +88 -0
  35. package/dist/models/CreateAgentResponseBody.js.map +1 -0
  36. package/dist/models/CreateAgentShrinkRequest.d.ts +21 -0
  37. package/dist/models/CreateAgentShrinkRequest.js +64 -0
  38. package/dist/models/CreateAgentShrinkRequest.js.map +1 -0
  39. package/dist/models/DeleteAgentRequest.d.ts +18 -0
  40. package/dist/models/DeleteAgentRequest.js +58 -0
  41. package/dist/models/DeleteAgentRequest.js.map +1 -0
  42. package/dist/models/DeleteAgentResponse.d.ts +19 -0
  43. package/dist/models/DeleteAgentResponse.js +69 -0
  44. package/dist/models/DeleteAgentResponse.js.map +1 -0
  45. package/dist/models/DeleteAgentResponseBody.d.ts +28 -0
  46. package/dist/models/DeleteAgentResponseBody.js +62 -0
  47. package/dist/models/DeleteAgentResponseBody.js.map +1 -0
  48. package/dist/models/ExecutionResult.d.ts +31 -0
  49. package/dist/models/ExecutionResult.js +70 -0
  50. package/dist/models/ExecutionResult.js.map +1 -0
  51. package/dist/models/GetAgentRequest.d.ts +21 -0
  52. package/dist/models/GetAgentRequest.js +58 -0
  53. package/dist/models/GetAgentRequest.js.map +1 -0
  54. package/dist/models/GetAgentResponse.d.ts +19 -0
  55. package/dist/models/GetAgentResponse.js +69 -0
  56. package/dist/models/GetAgentResponse.js.map +1 -0
  57. package/dist/models/GetAgentResponseBody.d.ts +39 -0
  58. package/dist/models/GetAgentResponseBody.js +70 -0
  59. package/dist/models/GetAgentResponseBody.js.map +1 -0
  60. package/dist/models/ListAgentsRequest.d.ts +28 -0
  61. package/dist/models/ListAgentsRequest.js +62 -0
  62. package/dist/models/ListAgentsRequest.js.map +1 -0
  63. package/dist/models/ListAgentsResponse.d.ts +19 -0
  64. package/dist/models/ListAgentsResponse.js +69 -0
  65. package/dist/models/ListAgentsResponse.js.map +1 -0
  66. package/dist/models/ListAgentsResponseBody.d.ts +63 -0
  67. package/dist/models/ListAgentsResponseBody.js +98 -0
  68. package/dist/models/ListAgentsResponseBody.js.map +1 -0
  69. package/dist/models/Metadata.d.ts +8 -0
  70. package/dist/models/Metadata.js.map +1 -1
  71. package/dist/models/PollAskResultRequest.d.ts +29 -0
  72. package/dist/models/PollAskResultRequest.js +60 -0
  73. package/dist/models/PollAskResultRequest.js.map +1 -0
  74. package/dist/models/PollAskResultResponse.d.ts +19 -0
  75. package/dist/models/PollAskResultResponse.js +69 -0
  76. package/dist/models/PollAskResultResponse.js.map +1 -0
  77. package/dist/models/PollAskResultResponseBody.d.ts +39 -0
  78. package/dist/models/PollAskResultResponseBody.js +70 -0
  79. package/dist/models/PollAskResultResponseBody.js.map +1 -0
  80. package/dist/models/QueryAskLumaLogRequest.d.ts +28 -0
  81. package/dist/models/QueryAskLumaLogRequest.js +62 -0
  82. package/dist/models/QueryAskLumaLogRequest.js.map +1 -0
  83. package/dist/models/QueryAskLumaLogResponse.d.ts +19 -0
  84. package/dist/models/QueryAskLumaLogResponse.js +69 -0
  85. package/dist/models/QueryAskLumaLogResponse.js.map +1 -0
  86. package/dist/models/QueryAskLumaLogResponseBody.d.ts +39 -0
  87. package/dist/models/QueryAskLumaLogResponseBody.js +70 -0
  88. package/dist/models/QueryAskLumaLogResponseBody.js.map +1 -0
  89. package/dist/models/QueryAskLumaLogResult.d.ts +17 -0
  90. package/dist/models/QueryAskLumaLogResult.js +66 -0
  91. package/dist/models/QueryAskLumaLogResult.js.map +1 -0
  92. package/dist/models/QueryAttachment.d.ts +20 -0
  93. package/dist/models/QueryAttachment.js +64 -0
  94. package/dist/models/QueryAttachment.js.map +1 -0
  95. package/dist/models/SchemaColumn.d.ts +23 -0
  96. package/dist/models/SchemaColumn.js +60 -0
  97. package/dist/models/SchemaColumn.js.map +1 -0
  98. package/dist/models/UpdateAgentRequest.d.ts +61 -0
  99. package/dist/models/UpdateAgentRequest.js +112 -0
  100. package/dist/models/UpdateAgentRequest.js.map +1 -0
  101. package/dist/models/UpdateAgentResponse.d.ts +19 -0
  102. package/dist/models/UpdateAgentResponse.js +69 -0
  103. package/dist/models/UpdateAgentResponse.js.map +1 -0
  104. package/dist/models/UpdateAgentResponseBody.d.ts +54 -0
  105. package/dist/models/UpdateAgentResponseBody.js +88 -0
  106. package/dist/models/UpdateAgentResponseBody.js.map +1 -0
  107. package/dist/models/UpdateAgentShrinkRequest.d.ts +26 -0
  108. package/dist/models/UpdateAgentShrinkRequest.js +66 -0
  109. package/dist/models/UpdateAgentShrinkRequest.js.map +1 -0
  110. package/dist/models/model.d.ts +41 -0
  111. package/dist/models/model.js +102 -19
  112. package/dist/models/model.js.map +1 -1
  113. package/package.json +1 -1
  114. package/src/client.ts +408 -0
  115. package/src/models/AguiMessage.ts +36 -0
  116. package/src/models/AskLumaLogEntry.ts +114 -0
  117. package/src/models/AskLumaRequest.ts +55 -0
  118. package/src/models/AskLumaResponse.ts +40 -0
  119. package/src/models/AskLumaResponseBody.ts +59 -0
  120. package/src/models/AskLumaResult.ts +97 -0
  121. package/src/models/Constraints.ts +38 -0
  122. package/src/models/Content.ts +44 -0
  123. package/src/models/CreateAgentRequest.ts +103 -0
  124. package/src/models/CreateAgentResponse.ts +40 -0
  125. package/src/models/CreateAgentResponseBody.ts +88 -0
  126. package/src/models/CreateAgentShrinkRequest.ts +40 -0
  127. package/src/models/DeleteAgentRequest.ts +31 -0
  128. package/src/models/DeleteAgentResponse.ts +40 -0
  129. package/src/models/DeleteAgentResponseBody.ts +45 -0
  130. package/src/models/ExecutionResult.ts +55 -0
  131. package/src/models/GetAgentRequest.ts +34 -0
  132. package/src/models/GetAgentResponse.ts +40 -0
  133. package/src/models/GetAgentResponseBody.ts +63 -0
  134. package/src/models/ListAgentsRequest.ts +45 -0
  135. package/src/models/ListAgentsResponse.ts +40 -0
  136. package/src/models/ListAgentsResponseBody.ts +106 -0
  137. package/src/models/Metadata.ts +8 -0
  138. package/src/models/PollAskResultRequest.ts +44 -0
  139. package/src/models/PollAskResultResponse.ts +40 -0
  140. package/src/models/PollAskResultResponseBody.ts +63 -0
  141. package/src/models/QueryAskLumaLogRequest.ts +45 -0
  142. package/src/models/QueryAskLumaLogResponse.ts +40 -0
  143. package/src/models/QueryAskLumaLogResponseBody.ts +63 -0
  144. package/src/models/QueryAskLumaLogResult.ts +37 -0
  145. package/src/models/QueryAttachment.ts +38 -0
  146. package/src/models/SchemaColumn.ts +38 -0
  147. package/src/models/UpdateAgentRequest.ts +110 -0
  148. package/src/models/UpdateAgentResponse.ts +40 -0
  149. package/src/models/UpdateAgentResponseBody.ts +88 -0
  150. package/src/models/UpdateAgentShrinkRequest.ts +47 -0
  151. package/src/models/model.ts +41 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { PollAskResultResponseBody } from "./PollAskResultResponseBody";
4
+
5
+
6
+ export class PollAskResultResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: PollAskResultResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: PollAskResultResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,63 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AskLumaResult } from "./AskLumaResult";
4
+
5
+
6
+ export class PollAskResultResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * Success
10
+ */
11
+ code?: string;
12
+ /**
13
+ * @example
14
+ * true
15
+ */
16
+ data?: AskLumaResult;
17
+ /**
18
+ * @example
19
+ * Agent with name \\"xxx\\" not found for account 1186xxx
20
+ */
21
+ message?: string;
22
+ /**
23
+ * @example
24
+ * A995F07C-E503-XXXXXX-9CECA8566876
25
+ */
26
+ requestId?: string;
27
+ /**
28
+ * @example
29
+ * true
30
+ */
31
+ success?: boolean;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ code: 'Code',
35
+ data: 'Data',
36
+ message: 'Message',
37
+ requestId: 'RequestId',
38
+ success: 'Success',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ code: 'string',
45
+ data: AskLumaResult,
46
+ message: 'string',
47
+ requestId: 'string',
48
+ success: 'boolean',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ if(this.data && typeof (this.data as any).validate === 'function') {
54
+ (this.data as any).validate();
55
+ }
56
+ super.validate();
57
+ }
58
+
59
+ constructor(map?: { [key: string]: any }) {
60
+ super(map);
61
+ }
62
+ }
63
+
@@ -0,0 +1,45 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryAskLumaLogRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * eyJ0cyI6MTcxN...
9
+ */
10
+ after?: string;
11
+ /**
12
+ * @example
13
+ * demo-luma-agent
14
+ */
15
+ agentName?: string;
16
+ /**
17
+ * @example
18
+ * 10
19
+ */
20
+ limit?: number;
21
+ static names(): { [key: string]: string } {
22
+ return {
23
+ after: 'After',
24
+ agentName: 'AgentName',
25
+ limit: 'Limit',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ after: 'string',
32
+ agentName: 'string',
33
+ limit: 'number',
34
+ };
35
+ }
36
+
37
+ validate() {
38
+ super.validate();
39
+ }
40
+
41
+ constructor(map?: { [key: string]: any }) {
42
+ super(map);
43
+ }
44
+ }
45
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryAskLumaLogResponseBody } from "./QueryAskLumaLogResponseBody";
4
+
5
+
6
+ export class QueryAskLumaLogResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryAskLumaLogResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: QueryAskLumaLogResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,63 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryAskLumaLogResult } from "./QueryAskLumaLogResult";
4
+
5
+
6
+ export class QueryAskLumaLogResponseBody extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * Success
10
+ */
11
+ code?: string;
12
+ /**
13
+ * @example
14
+ * true
15
+ */
16
+ data?: QueryAskLumaLogResult;
17
+ /**
18
+ * @example
19
+ * AgentNotFound
20
+ */
21
+ message?: string;
22
+ /**
23
+ * @example
24
+ * 6FB52207-7621-5292-BDF2-A17E2E984160
25
+ */
26
+ requestId?: string;
27
+ /**
28
+ * @example
29
+ * true
30
+ */
31
+ success?: boolean;
32
+ static names(): { [key: string]: string } {
33
+ return {
34
+ code: 'Code',
35
+ data: 'Data',
36
+ message: 'Message',
37
+ requestId: 'RequestId',
38
+ success: 'Success',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ code: 'string',
45
+ data: QueryAskLumaLogResult,
46
+ message: 'string',
47
+ requestId: 'string',
48
+ success: 'boolean',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ if(this.data && typeof (this.data as any).validate === 'function') {
54
+ (this.data as any).validate();
55
+ }
56
+ super.validate();
57
+ }
58
+
59
+ constructor(map?: { [key: string]: any }) {
60
+ super(map);
61
+ }
62
+ }
63
+
@@ -0,0 +1,37 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { AskLumaLogEntry } from "./AskLumaLogEntry";
4
+
5
+
6
+ export class QueryAskLumaLogResult extends $dara.Model {
7
+ entries?: AskLumaLogEntry[];
8
+ hasMore?: boolean;
9
+ lastKey?: string;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ entries: 'Entries',
13
+ hasMore: 'HasMore',
14
+ lastKey: 'LastKey',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ entries: { 'type': 'array', 'itemType': AskLumaLogEntry },
21
+ hasMore: 'boolean',
22
+ lastKey: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(Array.isArray(this.entries)) {
28
+ $dara.Model.validateArray(this.entries);
29
+ }
30
+ super.validate();
31
+ }
32
+
33
+ constructor(map?: { [key: string]: any }) {
34
+ super(map);
35
+ }
36
+ }
37
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ExecutionResult } from "./ExecutionResult";
4
+
5
+
6
+ export class QueryAttachment extends $dara.Model {
7
+ /**
8
+ * @example
9
+ * "SELECT city, COUNT(*) AS cnt FROM events GROUP BY city"
10
+ */
11
+ query?: string;
12
+ result?: ExecutionResult;
13
+ static names(): { [key: string]: string } {
14
+ return {
15
+ query: 'Query',
16
+ result: 'Result',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ query: 'string',
23
+ result: ExecutionResult,
24
+ };
25
+ }
26
+
27
+ validate() {
28
+ if(this.result && typeof (this.result as any).validate === 'function') {
29
+ (this.result as any).validate();
30
+ }
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class SchemaColumn extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * name
9
+ */
10
+ name?: string;
11
+ /**
12
+ * @example
13
+ * VARCHAR
14
+ */
15
+ type?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ name: 'Name',
19
+ type: 'Type',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ name: 'string',
26
+ type: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,110 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateAgentRequestMetadataAttachments extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * acs:eventbridge:cn-hangzhou:12345:eventhouse/system-rocketmq/namespace/rmq-cn-xxx/table/order
9
+ */
10
+ arn?: string;
11
+ /**
12
+ * @example
13
+ * inner-resource/event-table
14
+ */
15
+ mimeType?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ arn: 'Arn',
19
+ mimeType: 'MimeType',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ arn: 'string',
26
+ mimeType: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class UpdateAgentRequestMetadata extends $dara.Model {
40
+ attachments?: UpdateAgentRequestMetadataAttachments[];
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ attachments: 'Attachments',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ attachments: { 'type': 'array', 'itemType': UpdateAgentRequestMetadataAttachments },
50
+ };
51
+ }
52
+
53
+ validate() {
54
+ if(Array.isArray(this.attachments)) {
55
+ $dara.Model.validateArray(this.attachments);
56
+ }
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class UpdateAgentRequest extends $dara.Model {
66
+ /**
67
+ * @example
68
+ * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
69
+ */
70
+ clientToken?: string;
71
+ description?: string;
72
+ metadata?: UpdateAgentRequestMetadata;
73
+ /**
74
+ * @example
75
+ * my-agent
76
+ */
77
+ name?: string;
78
+ prompt?: string;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ clientToken: 'ClientToken',
82
+ description: 'Description',
83
+ metadata: 'Metadata',
84
+ name: 'Name',
85
+ prompt: 'Prompt',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ clientToken: 'string',
92
+ description: 'string',
93
+ metadata: UpdateAgentRequestMetadata,
94
+ name: 'string',
95
+ prompt: 'string',
96
+ };
97
+ }
98
+
99
+ validate() {
100
+ if(this.metadata && typeof (this.metadata as any).validate === 'function') {
101
+ (this.metadata as any).validate();
102
+ }
103
+ super.validate();
104
+ }
105
+
106
+ constructor(map?: { [key: string]: any }) {
107
+ super(map);
108
+ }
109
+ }
110
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateAgentResponseBody } from "./UpdateAgentResponseBody";
4
+
5
+
6
+ export class UpdateAgentResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateAgentResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UpdateAgentResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,88 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateAgentResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Agent ARN
9
+ *
10
+ * @example
11
+ * acs:eventbridge:{region}:{accountId}:agent/{agentName}
12
+ */
13
+ agentArn?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ agentArn: 'AgentArn',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ agentArn: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class UpdateAgentResponseBody extends $dara.Model {
36
+ /**
37
+ * @example
38
+ * Success
39
+ */
40
+ code?: string;
41
+ data?: UpdateAgentResponseBodyData;
42
+ /**
43
+ * @example
44
+ * InvalidArgument
45
+ */
46
+ message?: string;
47
+ /**
48
+ * @example
49
+ * 382E6272-XXXXX-A8AF0BFAC1A5
50
+ */
51
+ requestId?: string;
52
+ /**
53
+ * @example
54
+ * true
55
+ */
56
+ success?: boolean;
57
+ static names(): { [key: string]: string } {
58
+ return {
59
+ code: 'Code',
60
+ data: 'Data',
61
+ message: 'Message',
62
+ requestId: 'RequestId',
63
+ success: 'Success',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ code: 'string',
70
+ data: UpdateAgentResponseBodyData,
71
+ message: 'string',
72
+ requestId: 'string',
73
+ success: 'boolean',
74
+ };
75
+ }
76
+
77
+ validate() {
78
+ if(this.data && typeof (this.data as any).validate === 'function') {
79
+ (this.data as any).validate();
80
+ }
81
+ super.validate();
82
+ }
83
+
84
+ constructor(map?: { [key: string]: any }) {
85
+ super(map);
86
+ }
87
+ }
88
+
@@ -0,0 +1,47 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateAgentShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * TF-CreateRule-1652253755-aa33f762-7e99-4aee-bd27-d3370afa5625
9
+ */
10
+ clientToken?: string;
11
+ description?: string;
12
+ metadataShrink?: string;
13
+ /**
14
+ * @example
15
+ * my-agent
16
+ */
17
+ name?: string;
18
+ prompt?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ clientToken: 'ClientToken',
22
+ description: 'Description',
23
+ metadataShrink: 'Metadata',
24
+ name: 'Name',
25
+ prompt: 'Prompt',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ clientToken: 'string',
32
+ description: 'string',
33
+ metadataShrink: 'string',
34
+ name: 'string',
35
+ prompt: 'string',
36
+ };
37
+ }
38
+
39
+ validate() {
40
+ super.validate();
41
+ }
42
+
43
+ constructor(map?: { [key: string]: any }) {
44
+ super(map);
45
+ }
46
+ }
47
+