@alicloud/emr-serverless-spark20230808 1.16.1 → 1.17.1

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 (109) hide show
  1. package/dist/client.d.ts +150 -0
  2. package/dist/client.js +399 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CancelKyuubiSparkApplicationRequest.d.ts +18 -0
  5. package/dist/models/CancelKyuubiSparkApplicationRequest.js +58 -0
  6. package/dist/models/CancelKyuubiSparkApplicationRequest.js.map +1 -0
  7. package/dist/models/CancelKyuubiSparkApplicationResponse.d.ts +19 -0
  8. package/dist/models/CancelKyuubiSparkApplicationResponse.js +69 -0
  9. package/dist/models/CancelKyuubiSparkApplicationResponse.js.map +1 -0
  10. package/dist/models/CancelKyuubiSparkApplicationResponseBody.d.ts +37 -0
  11. package/dist/models/CancelKyuubiSparkApplicationResponseBody.js +84 -0
  12. package/dist/models/CancelKyuubiSparkApplicationResponseBody.js.map +1 -0
  13. package/dist/models/CreateKyuubiServiceRequest.d.ts +58 -0
  14. package/dist/models/CreateKyuubiServiceRequest.js +74 -0
  15. package/dist/models/CreateKyuubiServiceRequest.js.map +1 -0
  16. package/dist/models/CreateKyuubiServiceResponse.d.ts +19 -0
  17. package/dist/models/CreateKyuubiServiceResponse.js +69 -0
  18. package/dist/models/CreateKyuubiServiceResponse.js.map +1 -0
  19. package/dist/models/CreateKyuubiServiceResponseBody.d.ts +39 -0
  20. package/dist/models/CreateKyuubiServiceResponseBody.js +82 -0
  21. package/dist/models/CreateKyuubiServiceResponseBody.js.map +1 -0
  22. package/dist/models/DeleteKyuubiServiceResponse.d.ts +19 -0
  23. package/dist/models/DeleteKyuubiServiceResponse.js +69 -0
  24. package/dist/models/DeleteKyuubiServiceResponse.js.map +1 -0
  25. package/dist/models/DeleteKyuubiServiceResponseBody.d.ts +23 -0
  26. package/dist/models/DeleteKyuubiServiceResponseBody.js +60 -0
  27. package/dist/models/DeleteKyuubiServiceResponseBody.js.map +1 -0
  28. package/dist/models/GenerateTaskCodesRequest.d.ts +34 -0
  29. package/dist/models/GenerateTaskCodesRequest.js +62 -0
  30. package/dist/models/GenerateTaskCodesRequest.js.map +1 -0
  31. package/dist/models/GenerateTaskCodesResponse.d.ts +19 -0
  32. package/dist/models/GenerateTaskCodesResponse.js +69 -0
  33. package/dist/models/GenerateTaskCodesResponse.js.map +1 -0
  34. package/dist/models/GenerateTaskCodesResponseBody.d.ts +44 -0
  35. package/dist/models/GenerateTaskCodesResponseBody.js +73 -0
  36. package/dist/models/GenerateTaskCodesResponseBody.js.map +1 -0
  37. package/dist/models/GetKyuubiServiceResponse.d.ts +19 -0
  38. package/dist/models/GetKyuubiServiceResponse.js +69 -0
  39. package/dist/models/GetKyuubiServiceResponse.js.map +1 -0
  40. package/dist/models/GetKyuubiServiceResponseBody.d.ts +114 -0
  41. package/dist/models/GetKyuubiServiceResponseBody.js +112 -0
  42. package/dist/models/GetKyuubiServiceResponseBody.js.map +1 -0
  43. package/dist/models/GetRunConfigurationRequest.d.ts +18 -0
  44. package/dist/models/GetRunConfigurationRequest.js +58 -0
  45. package/dist/models/GetRunConfigurationRequest.js.map +1 -0
  46. package/dist/models/GetRunConfigurationResponse.d.ts +19 -0
  47. package/dist/models/GetRunConfigurationResponse.js +69 -0
  48. package/dist/models/GetRunConfigurationResponse.js.map +1 -0
  49. package/dist/models/GetRunConfigurationResponseBody.d.ts +104 -0
  50. package/dist/models/GetRunConfigurationResponseBody.js +140 -0
  51. package/dist/models/GetRunConfigurationResponseBody.js.map +1 -0
  52. package/dist/models/ListCatalogsResponseBody.d.ts +5 -0
  53. package/dist/models/ListCatalogsResponseBody.js +2 -0
  54. package/dist/models/ListCatalogsResponseBody.js.map +1 -1
  55. package/dist/models/ListKyuubiSparkApplicationsResponseBody.d.ts +2 -0
  56. package/dist/models/ListKyuubiSparkApplicationsResponseBody.js +6 -0
  57. package/dist/models/ListKyuubiSparkApplicationsResponseBody.js.map +1 -1
  58. package/dist/models/StartKyuubiServiceResponse.d.ts +19 -0
  59. package/dist/models/StartKyuubiServiceResponse.js +69 -0
  60. package/dist/models/StartKyuubiServiceResponse.js.map +1 -0
  61. package/dist/models/StartKyuubiServiceResponseBody.d.ts +23 -0
  62. package/dist/models/StartKyuubiServiceResponseBody.js +60 -0
  63. package/dist/models/StartKyuubiServiceResponseBody.js.map +1 -0
  64. package/dist/models/StopKyuubiServiceResponse.d.ts +19 -0
  65. package/dist/models/StopKyuubiServiceResponse.js +69 -0
  66. package/dist/models/StopKyuubiServiceResponse.js.map +1 -0
  67. package/dist/models/StopKyuubiServiceResponseBody.d.ts +23 -0
  68. package/dist/models/StopKyuubiServiceResponseBody.js +60 -0
  69. package/dist/models/StopKyuubiServiceResponseBody.js.map +1 -0
  70. package/dist/models/UpdateKyuubiServiceRequest.d.ts +63 -0
  71. package/dist/models/UpdateKyuubiServiceRequest.js +76 -0
  72. package/dist/models/UpdateKyuubiServiceRequest.js.map +1 -0
  73. package/dist/models/UpdateKyuubiServiceResponse.d.ts +19 -0
  74. package/dist/models/UpdateKyuubiServiceResponse.js +69 -0
  75. package/dist/models/UpdateKyuubiServiceResponse.js.map +1 -0
  76. package/dist/models/UpdateKyuubiServiceResponseBody.d.ts +23 -0
  77. package/dist/models/UpdateKyuubiServiceResponseBody.js +60 -0
  78. package/dist/models/UpdateKyuubiServiceResponseBody.js.map +1 -0
  79. package/dist/models/model.d.ts +29 -0
  80. package/dist/models/model.js +64 -6
  81. package/dist/models/model.js.map +1 -1
  82. package/package.json +1 -1
  83. package/src/client.ts +441 -0
  84. package/src/models/CancelKyuubiSparkApplicationRequest.ts +31 -0
  85. package/src/models/CancelKyuubiSparkApplicationResponse.ts +40 -0
  86. package/src/models/CancelKyuubiSparkApplicationResponseBody.ts +67 -0
  87. package/src/models/CreateKyuubiServiceRequest.ts +87 -0
  88. package/src/models/CreateKyuubiServiceResponse.ts +40 -0
  89. package/src/models/CreateKyuubiServiceResponseBody.ts +67 -0
  90. package/src/models/DeleteKyuubiServiceResponse.ts +40 -0
  91. package/src/models/DeleteKyuubiServiceResponseBody.ts +38 -0
  92. package/src/models/GenerateTaskCodesRequest.ts +51 -0
  93. package/src/models/GenerateTaskCodesResponse.ts +40 -0
  94. package/src/models/GenerateTaskCodesResponseBody.ts +72 -0
  95. package/src/models/GetKyuubiServiceResponse.ts +40 -0
  96. package/src/models/GetKyuubiServiceResponseBody.ts +172 -0
  97. package/src/models/GetRunConfigurationRequest.ts +31 -0
  98. package/src/models/GetRunConfigurationResponse.ts +40 -0
  99. package/src/models/GetRunConfigurationResponseBody.ts +171 -0
  100. package/src/models/ListCatalogsResponseBody.ts +7 -0
  101. package/src/models/ListKyuubiSparkApplicationsResponseBody.ts +7 -0
  102. package/src/models/StartKyuubiServiceResponse.ts +40 -0
  103. package/src/models/StartKyuubiServiceResponseBody.ts +38 -0
  104. package/src/models/StopKyuubiServiceResponse.ts +40 -0
  105. package/src/models/StopKyuubiServiceResponseBody.ts +38 -0
  106. package/src/models/UpdateKyuubiServiceRequest.ts +94 -0
  107. package/src/models/UpdateKyuubiServiceResponse.ts +40 -0
  108. package/src/models/UpdateKyuubiServiceResponseBody.ts +38 -0
  109. package/src/models/model.ts +29 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetRunConfigurationResponseBody } from "./GetRunConfigurationResponseBody";
4
+
5
+
6
+ export class GetRunConfigurationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetRunConfigurationResponseBody;
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: GetRunConfigurationResponseBody,
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,171 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { Tag } from "./Tag";
4
+
5
+
6
+ export class GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs extends $dara.Model {
7
+ /**
8
+ * @remarks
9
+ * 应用配置文件名。 应用配置文件名。 ```spark-defaults.conf```
10
+ *
11
+ * @example
12
+ * spark-defaults.conf
13
+ */
14
+ configFileName?: string;
15
+ /**
16
+ * @remarks
17
+ * 配置项键。 配置项键。 ```dfs.namenode.checkpoint.period```
18
+ *
19
+ * @example
20
+ * spark.driver.cores
21
+ */
22
+ configItemKey?: string;
23
+ /**
24
+ * @remarks
25
+ * 配置项值。 配置项值。 ```3600s```
26
+ *
27
+ * @example
28
+ * 2
29
+ */
30
+ configItemValue?: string;
31
+ static names(): { [key: string]: string } {
32
+ return {
33
+ configFileName: 'configFileName',
34
+ configItemKey: 'configItemKey',
35
+ configItemValue: 'configItemValue',
36
+ };
37
+ }
38
+
39
+ static types(): { [key: string]: any } {
40
+ return {
41
+ configFileName: 'string',
42
+ configItemKey: 'string',
43
+ configItemValue: 'string',
44
+ };
45
+ }
46
+
47
+ validate() {
48
+ super.validate();
49
+ }
50
+
51
+ constructor(map?: { [key: string]: any }) {
52
+ super(map);
53
+ }
54
+ }
55
+
56
+ export class GetRunConfigurationResponseBodyRunConfigurationLogConfig extends $dara.Model {
57
+ /**
58
+ * @example
59
+ * INFO
60
+ */
61
+ logLevel?: string;
62
+ /**
63
+ * @example
64
+ * oss://test
65
+ */
66
+ logPath?: string;
67
+ static names(): { [key: string]: string } {
68
+ return {
69
+ logLevel: 'LogLevel',
70
+ logPath: 'LogPath',
71
+ };
72
+ }
73
+
74
+ static types(): { [key: string]: any } {
75
+ return {
76
+ logLevel: 'string',
77
+ logPath: 'string',
78
+ };
79
+ }
80
+
81
+ validate() {
82
+ super.validate();
83
+ }
84
+
85
+ constructor(map?: { [key: string]: any }) {
86
+ super(map);
87
+ }
88
+ }
89
+
90
+ export class GetRunConfigurationResponseBodyRunConfiguration extends $dara.Model {
91
+ /**
92
+ * @remarks
93
+ * 应用配置项
94
+ */
95
+ applicationConfigs?: GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs[];
96
+ logConfig?: GetRunConfigurationResponseBodyRunConfigurationLogConfig;
97
+ /**
98
+ * @remarks
99
+ * 运行配置。
100
+ */
101
+ runtimeConfigs?: Tag[];
102
+ static names(): { [key: string]: string } {
103
+ return {
104
+ applicationConfigs: 'applicationConfigs',
105
+ logConfig: 'logConfig',
106
+ runtimeConfigs: 'runtimeConfigs',
107
+ };
108
+ }
109
+
110
+ static types(): { [key: string]: any } {
111
+ return {
112
+ applicationConfigs: { 'type': 'array', 'itemType': GetRunConfigurationResponseBodyRunConfigurationApplicationConfigs },
113
+ logConfig: GetRunConfigurationResponseBodyRunConfigurationLogConfig,
114
+ runtimeConfigs: { 'type': 'array', 'itemType': Tag },
115
+ };
116
+ }
117
+
118
+ validate() {
119
+ if(Array.isArray(this.applicationConfigs)) {
120
+ $dara.Model.validateArray(this.applicationConfigs);
121
+ }
122
+ if(this.logConfig && typeof (this.logConfig as any).validate === 'function') {
123
+ (this.logConfig as any).validate();
124
+ }
125
+ if(Array.isArray(this.runtimeConfigs)) {
126
+ $dara.Model.validateArray(this.runtimeConfigs);
127
+ }
128
+ super.validate();
129
+ }
130
+
131
+ constructor(map?: { [key: string]: any }) {
132
+ super(map);
133
+ }
134
+ }
135
+
136
+ export class GetRunConfigurationResponseBody extends $dara.Model {
137
+ /**
138
+ * @remarks
139
+ * 请求ID。
140
+ *
141
+ * @example
142
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
143
+ */
144
+ requestId?: string;
145
+ runConfiguration?: GetRunConfigurationResponseBodyRunConfiguration;
146
+ static names(): { [key: string]: string } {
147
+ return {
148
+ requestId: 'requestId',
149
+ runConfiguration: 'runConfiguration',
150
+ };
151
+ }
152
+
153
+ static types(): { [key: string]: any } {
154
+ return {
155
+ requestId: 'string',
156
+ runConfiguration: GetRunConfigurationResponseBodyRunConfiguration,
157
+ };
158
+ }
159
+
160
+ validate() {
161
+ if(this.runConfiguration && typeof (this.runConfiguration as any).validate === 'function') {
162
+ (this.runConfiguration as any).validate();
163
+ }
164
+ super.validate();
165
+ }
166
+
167
+ constructor(map?: { [key: string]: any }) {
168
+ super(map);
169
+ }
170
+ }
171
+
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * alias
9
+ */
10
+ alias?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * regionId。
@@ -48,6 +53,7 @@ export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
48
53
  workspaceId?: string;
49
54
  static names(): { [key: string]: string } {
50
55
  return {
56
+ alias: 'alias',
51
57
  catalogId: 'catalogId',
52
58
  catalogProvider: 'catalogProvider',
53
59
  catalogType: 'catalogType',
@@ -62,6 +68,7 @@ export class ListCatalogsResponseBodyCatalogs extends $dara.Model {
62
68
 
63
69
  static types(): { [key: string]: any } {
64
70
  return {
71
+ alias: 'string',
65
72
  catalogId: 'string',
66
73
  catalogProvider: 'string',
67
74
  catalogType: 'string',
@@ -1,6 +1,7 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
3
  import { RunLog } from "./RunLog";
4
+ import { Tag } from "./Tag";
4
5
 
5
6
 
6
7
  export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.Model {
@@ -88,6 +89,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
88
89
  * STARTING
89
90
  */
90
91
  state?: string;
92
+ tags?: Tag[];
91
93
  /**
92
94
  * @remarks
93
95
  * The total number of CPU cores allocated to the job multiplied by the running duration (seconds).
@@ -115,6 +117,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
115
117
  runLog: 'runLog',
116
118
  startTime: 'startTime',
117
119
  state: 'state',
120
+ tags: 'tags',
118
121
  vcoreSeconds: 'vcoreSeconds',
119
122
  webUI: 'webUI',
120
123
  };
@@ -134,6 +137,7 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
134
137
  runLog: RunLog,
135
138
  startTime: 'string',
136
139
  state: 'string',
140
+ tags: { 'type': 'array', 'itemType': Tag },
137
141
  vcoreSeconds: 'number',
138
142
  webUI: 'string',
139
143
  };
@@ -143,6 +147,9 @@ export class ListKyuubiSparkApplicationsResponseBodyApplications extends $dara.M
143
147
  if(this.runLog && typeof (this.runLog as any).validate === 'function') {
144
148
  (this.runLog as any).validate();
145
149
  }
150
+ if(Array.isArray(this.tags)) {
151
+ $dara.Model.validateArray(this.tags);
152
+ }
146
153
  super.validate();
147
154
  }
148
155
 
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { StartKyuubiServiceResponseBody } from "./StartKyuubiServiceResponseBody";
4
+
5
+
6
+ export class StartKyuubiServiceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: StartKyuubiServiceResponseBody;
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: StartKyuubiServiceResponseBody,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class StartKyuubiServiceResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ data?: any;
11
+ /**
12
+ * @example
13
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ data: 'data',
19
+ requestId: 'requestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ data: 'any',
26
+ requestId: '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,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { StopKyuubiServiceResponseBody } from "./StopKyuubiServiceResponseBody";
4
+
5
+
6
+ export class StopKyuubiServiceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: StopKyuubiServiceResponseBody;
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: StopKyuubiServiceResponseBody,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class StopKyuubiServiceResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ data?: any;
11
+ /**
12
+ * @example
13
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ data: 'data',
19
+ requestId: 'requestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ data: 'any',
26
+ requestId: '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,94 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateKyuubiServiceRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 2c8g
9
+ */
10
+ computeInstance?: string;
11
+ /**
12
+ * @example
13
+ * []
14
+ */
15
+ kyuubiConfigs?: string;
16
+ /**
17
+ * @example
18
+ * 1.9.2-0.0.2
19
+ */
20
+ kyuubiReleaseVersion?: string;
21
+ /**
22
+ * @example
23
+ * dev_serverless_spark
24
+ */
25
+ name?: string;
26
+ /**
27
+ * @example
28
+ * true
29
+ */
30
+ publicEndpointEnabled?: boolean;
31
+ /**
32
+ * @example
33
+ * dev_queue
34
+ */
35
+ queue?: string;
36
+ /**
37
+ * @example
38
+ * esr-4.6.0 (Spark 3.5.2, Scala 2.12)
39
+ */
40
+ releaseVersion?: string;
41
+ /**
42
+ * @example
43
+ * 0
44
+ */
45
+ replica?: number;
46
+ /**
47
+ * @example
48
+ * false
49
+ */
50
+ restart?: boolean;
51
+ /**
52
+ * @example
53
+ * []
54
+ */
55
+ sparkConfigs?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ computeInstance: 'computeInstance',
59
+ kyuubiConfigs: 'kyuubiConfigs',
60
+ kyuubiReleaseVersion: 'kyuubiReleaseVersion',
61
+ name: 'name',
62
+ publicEndpointEnabled: 'publicEndpointEnabled',
63
+ queue: 'queue',
64
+ releaseVersion: 'releaseVersion',
65
+ replica: 'replica',
66
+ restart: 'restart',
67
+ sparkConfigs: 'sparkConfigs',
68
+ };
69
+ }
70
+
71
+ static types(): { [key: string]: any } {
72
+ return {
73
+ computeInstance: 'string',
74
+ kyuubiConfigs: 'string',
75
+ kyuubiReleaseVersion: 'string',
76
+ name: 'string',
77
+ publicEndpointEnabled: 'boolean',
78
+ queue: 'string',
79
+ releaseVersion: 'string',
80
+ replica: 'number',
81
+ restart: 'boolean',
82
+ sparkConfigs: 'string',
83
+ };
84
+ }
85
+
86
+ validate() {
87
+ super.validate();
88
+ }
89
+
90
+ constructor(map?: { [key: string]: any }) {
91
+ super(map);
92
+ }
93
+ }
94
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UpdateKyuubiServiceResponseBody } from "./UpdateKyuubiServiceResponseBody";
4
+
5
+
6
+ export class UpdateKyuubiServiceResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UpdateKyuubiServiceResponseBody;
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: UpdateKyuubiServiceResponseBody,
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,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UpdateKyuubiServiceResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * true
9
+ */
10
+ data?: any;
11
+ /**
12
+ * @example
13
+ * DD6B1B2A-5837-5237-ABE4-FF0C8944****
14
+ */
15
+ requestId?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ data: 'data',
19
+ requestId: 'requestId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ data: 'any',
26
+ requestId: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+