@alicloud/emr-serverless-spark20230808 1.14.0 → 1.15.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.
- package/dist/client.d.ts +72 -0
- package/dist/client.js +199 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateKyuubiTokenRequest.d.ts +52 -0
- package/dist/models/CreateKyuubiTokenRequest.js +93 -0
- package/dist/models/CreateKyuubiTokenRequest.js.map +1 -0
- package/dist/models/CreateKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/CreateKyuubiTokenResponse.js +69 -0
- package/dist/models/CreateKyuubiTokenResponse.js.map +1 -0
- package/dist/models/CreateKyuubiTokenResponseBody.d.ts +39 -0
- package/dist/models/CreateKyuubiTokenResponseBody.js +82 -0
- package/dist/models/CreateKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/CreateSqlStatementRequest.d.ts +1 -0
- package/dist/models/CreateSqlStatementRequest.js +2 -0
- package/dist/models/CreateSqlStatementRequest.js.map +1 -1
- package/dist/models/DeleteKyuubiTokenRequest.d.ts +18 -0
- package/dist/models/DeleteKyuubiTokenRequest.js +58 -0
- package/dist/models/DeleteKyuubiTokenRequest.js.map +1 -0
- package/dist/models/DeleteKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/DeleteKyuubiTokenResponse.js +69 -0
- package/dist/models/DeleteKyuubiTokenResponse.js.map +1 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.d.ts +18 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.js +58 -0
- package/dist/models/DeleteKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/GetKyuubiTokenRequest.d.ts +18 -0
- package/dist/models/GetKyuubiTokenRequest.js +58 -0
- package/dist/models/GetKyuubiTokenRequest.js.map +1 -0
- package/dist/models/GetKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/GetKyuubiTokenResponse.js +69 -0
- package/dist/models/GetKyuubiTokenResponse.js.map +1 -0
- package/dist/models/GetKyuubiTokenResponseBody.d.ts +93 -0
- package/dist/models/GetKyuubiTokenResponseBody.js +125 -0
- package/dist/models/GetKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/UpdateKyuubiTokenRequest.d.ts +52 -0
- package/dist/models/UpdateKyuubiTokenRequest.js +93 -0
- package/dist/models/UpdateKyuubiTokenRequest.js.map +1 -0
- package/dist/models/UpdateKyuubiTokenResponse.d.ts +19 -0
- package/dist/models/UpdateKyuubiTokenResponse.js +69 -0
- package/dist/models/UpdateKyuubiTokenResponse.js.map +1 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.d.ts +18 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.js +58 -0
- package/dist/models/UpdateKyuubiTokenResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +40 -5
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +220 -0
- package/src/models/CreateKyuubiTokenRequest.ts +91 -0
- package/src/models/CreateKyuubiTokenResponse.ts +40 -0
- package/src/models/CreateKyuubiTokenResponseBody.ts +67 -0
- package/src/models/CreateSqlStatementRequest.ts +3 -0
- package/src/models/DeleteKyuubiTokenRequest.ts +31 -0
- package/src/models/DeleteKyuubiTokenResponse.ts +40 -0
- package/src/models/DeleteKyuubiTokenResponseBody.ts +31 -0
- package/src/models/GetKyuubiTokenRequest.ts +31 -0
- package/src/models/GetKyuubiTokenResponse.ts +40 -0
- package/src/models/GetKyuubiTokenResponseBody.ts +155 -0
- package/src/models/UpdateKyuubiTokenRequest.ts +91 -0
- package/src/models/UpdateKyuubiTokenResponse.ts +40 -0
- package/src/models/UpdateKyuubiTokenResponseBody.ts +31 -0
- package/src/models/model.ts +17 -0
|
@@ -43,6 +43,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
43
43
|
* sc-dfahdfjafhajd****
|
|
44
44
|
*/
|
|
45
45
|
sqlComputeId?: string;
|
|
46
|
+
taskBizId?: string;
|
|
46
47
|
/**
|
|
47
48
|
* @remarks
|
|
48
49
|
* The region ID.
|
|
@@ -58,6 +59,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
58
59
|
defaultDatabase: 'defaultDatabase',
|
|
59
60
|
limit: 'limit',
|
|
60
61
|
sqlComputeId: 'sqlComputeId',
|
|
62
|
+
taskBizId: 'taskBizId',
|
|
61
63
|
regionId: 'regionId',
|
|
62
64
|
};
|
|
63
65
|
}
|
|
@@ -69,6 +71,7 @@ export class CreateSqlStatementRequest extends $dara.Model {
|
|
|
69
71
|
defaultDatabase: 'string',
|
|
70
72
|
limit: 'number',
|
|
71
73
|
sqlComputeId: 'string',
|
|
74
|
+
taskBizId: 'string',
|
|
72
75
|
regionId: 'string',
|
|
73
76
|
};
|
|
74
77
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteKyuubiTokenRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
regionId: 'regionId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
regionId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteKyuubiTokenResponseBody } from "./DeleteKyuubiTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteKyuubiTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteKyuubiTokenResponseBody;
|
|
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: DeleteKyuubiTokenResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteKyuubiTokenResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'requestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetKyuubiTokenRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* cn-hangzhou
|
|
9
|
+
*/
|
|
10
|
+
regionId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
regionId: 'regionId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
regionId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GetKyuubiTokenResponseBody } from "./GetKyuubiTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GetKyuubiTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GetKyuubiTokenResponseBody;
|
|
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: GetKyuubiTokenResponseBody,
|
|
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,155 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GetKyuubiTokenResponseBodyDataAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 365
|
|
14
|
+
*/
|
|
15
|
+
expireDays?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
enable: 'enable',
|
|
19
|
+
expireDays: 'expireDays',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
enable: 'boolean',
|
|
26
|
+
expireDays: 'number',
|
|
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 GetKyuubiTokenResponseBodyData extends $dara.Model {
|
|
40
|
+
autoExpireConfiguration?: GetKyuubiTokenResponseBodyDataAutoExpireConfiguration;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 1749456094000
|
|
44
|
+
*/
|
|
45
|
+
createTime?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* admin
|
|
49
|
+
*/
|
|
50
|
+
createdBy?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 1753932319390
|
|
54
|
+
*/
|
|
55
|
+
expireTime?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 1749456098000
|
|
59
|
+
*/
|
|
60
|
+
lastUsedTime?: number;
|
|
61
|
+
memberArns?: string[];
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* dev_serverless_spark
|
|
65
|
+
*/
|
|
66
|
+
name?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* dxj**********wfg
|
|
70
|
+
*/
|
|
71
|
+
token?: string;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* Token ID。
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* tk-zpi0*****hdv4y
|
|
78
|
+
*/
|
|
79
|
+
tokenId?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
autoExpireConfiguration: 'autoExpireConfiguration',
|
|
83
|
+
createTime: 'createTime',
|
|
84
|
+
createdBy: 'createdBy',
|
|
85
|
+
expireTime: 'expireTime',
|
|
86
|
+
lastUsedTime: 'lastUsedTime',
|
|
87
|
+
memberArns: 'memberArns',
|
|
88
|
+
name: 'name',
|
|
89
|
+
token: 'token',
|
|
90
|
+
tokenId: 'tokenId',
|
|
91
|
+
};
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
static types(): { [key: string]: any } {
|
|
95
|
+
return {
|
|
96
|
+
autoExpireConfiguration: GetKyuubiTokenResponseBodyDataAutoExpireConfiguration,
|
|
97
|
+
createTime: 'number',
|
|
98
|
+
createdBy: 'string',
|
|
99
|
+
expireTime: 'number',
|
|
100
|
+
lastUsedTime: 'number',
|
|
101
|
+
memberArns: { 'type': 'array', 'itemType': 'string' },
|
|
102
|
+
name: 'string',
|
|
103
|
+
token: 'string',
|
|
104
|
+
tokenId: 'string',
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
validate() {
|
|
109
|
+
if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
|
|
110
|
+
(this.autoExpireConfiguration as any).validate();
|
|
111
|
+
}
|
|
112
|
+
if(Array.isArray(this.memberArns)) {
|
|
113
|
+
$dara.Model.validateArray(this.memberArns);
|
|
114
|
+
}
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
constructor(map?: { [key: string]: any }) {
|
|
119
|
+
super(map);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
export class GetKyuubiTokenResponseBody extends $dara.Model {
|
|
124
|
+
data?: GetKyuubiTokenResponseBodyData;
|
|
125
|
+
/**
|
|
126
|
+
* @example
|
|
127
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
128
|
+
*/
|
|
129
|
+
requestId?: string;
|
|
130
|
+
static names(): { [key: string]: string } {
|
|
131
|
+
return {
|
|
132
|
+
data: 'data',
|
|
133
|
+
requestId: 'requestId',
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
static types(): { [key: string]: any } {
|
|
138
|
+
return {
|
|
139
|
+
data: GetKyuubiTokenResponseBodyData,
|
|
140
|
+
requestId: 'string',
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
validate() {
|
|
145
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
146
|
+
(this.data as any).validate();
|
|
147
|
+
}
|
|
148
|
+
super.validate();
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
constructor(map?: { [key: string]: any }) {
|
|
152
|
+
super(map);
|
|
153
|
+
}
|
|
154
|
+
}
|
|
155
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKyuubiTokenRequestAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* true
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 365
|
|
14
|
+
*/
|
|
15
|
+
expireDays?: number;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
enable: 'enable',
|
|
19
|
+
expireDays: 'expireDays',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
enable: 'boolean',
|
|
26
|
+
expireDays: 'number',
|
|
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 UpdateKyuubiTokenRequest extends $dara.Model {
|
|
40
|
+
autoExpireConfiguration?: UpdateKyuubiTokenRequestAutoExpireConfiguration;
|
|
41
|
+
memberArns?: string[];
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* dev_serverless_spark
|
|
45
|
+
*/
|
|
46
|
+
name?: string;
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* rjy7ejhej9gkzjjuun49jnx2xk8if2cu
|
|
50
|
+
*/
|
|
51
|
+
token?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* cn-hangzhou
|
|
55
|
+
*/
|
|
56
|
+
regionId?: string;
|
|
57
|
+
static names(): { [key: string]: string } {
|
|
58
|
+
return {
|
|
59
|
+
autoExpireConfiguration: 'autoExpireConfiguration',
|
|
60
|
+
memberArns: 'memberArns',
|
|
61
|
+
name: 'name',
|
|
62
|
+
token: 'token',
|
|
63
|
+
regionId: 'regionId',
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
static types(): { [key: string]: any } {
|
|
68
|
+
return {
|
|
69
|
+
autoExpireConfiguration: UpdateKyuubiTokenRequestAutoExpireConfiguration,
|
|
70
|
+
memberArns: { 'type': 'array', 'itemType': 'string' },
|
|
71
|
+
name: 'string',
|
|
72
|
+
token: 'string',
|
|
73
|
+
regionId: 'string',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
validate() {
|
|
78
|
+
if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
|
|
79
|
+
(this.autoExpireConfiguration as any).validate();
|
|
80
|
+
}
|
|
81
|
+
if(Array.isArray(this.memberArns)) {
|
|
82
|
+
$dara.Model.validateArray(this.memberArns);
|
|
83
|
+
}
|
|
84
|
+
super.validate();
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
constructor(map?: { [key: string]: any }) {
|
|
88
|
+
super(map);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateKyuubiTokenResponseBody } from "./UpdateKyuubiTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateKyuubiTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateKyuubiTokenResponseBody;
|
|
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: UpdateKyuubiTokenResponseBody,
|
|
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,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateKyuubiTokenResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
9
|
+
*/
|
|
10
|
+
requestId?: string;
|
|
11
|
+
static names(): { [key: string]: string } {
|
|
12
|
+
return {
|
|
13
|
+
requestId: 'requestId',
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
static types(): { [key: string]: any } {
|
|
18
|
+
return {
|
|
19
|
+
requestId: 'string',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
validate() {
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -4,6 +4,8 @@ export { SqlOutputRows } from './SqlOutput';
|
|
|
4
4
|
export { SqlOutputSchemaFields } from './SqlOutput';
|
|
5
5
|
export { SqlOutputSchema } from './SqlOutput';
|
|
6
6
|
export { TaskCredential } from './Task';
|
|
7
|
+
export { CreateKyuubiTokenRequestAutoExpireConfiguration } from './CreateKyuubiTokenRequest';
|
|
8
|
+
export { CreateKyuubiTokenResponseBodyData } from './CreateKyuubiTokenResponseBody';
|
|
7
9
|
export { CreateLivyComputeRequestAutoStartConfiguration } from './CreateLivyComputeRequest';
|
|
8
10
|
export { CreateLivyComputeRequestAutoStopConfiguration } from './CreateLivyComputeRequest';
|
|
9
11
|
export { CreateLivyComputeResponseBodyData } from './CreateLivyComputeResponseBody';
|
|
@@ -29,6 +31,8 @@ export { GetDoctorApplicationResponseBodyData } from './GetDoctorApplicationResp
|
|
|
29
31
|
export { GetJobRunResponseBodyJobRunConfigurationOverrides } from './GetJobRunResponseBody';
|
|
30
32
|
export { GetJobRunResponseBodyJobRunStateChangeReason } from './GetJobRunResponseBody';
|
|
31
33
|
export { GetJobRunResponseBodyJobRun } from './GetJobRunResponseBody';
|
|
34
|
+
export { GetKyuubiTokenResponseBodyDataAutoExpireConfiguration } from './GetKyuubiTokenResponseBody';
|
|
35
|
+
export { GetKyuubiTokenResponseBodyData } from './GetKyuubiTokenResponseBody';
|
|
32
36
|
export { GetLivyComputeResponseBodyDataAutoStopConfiguration } from './GetLivyComputeResponseBody';
|
|
33
37
|
export { GetLivyComputeResponseBodyData } from './GetLivyComputeResponseBody';
|
|
34
38
|
export { GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration } from './GetLivyComputeTokenResponseBody';
|
|
@@ -79,6 +83,7 @@ export { ListWorkspacesResponseBodyWorkspaces } from './ListWorkspacesResponseBo
|
|
|
79
83
|
export { RefreshLivyComputeTokenRequestAutoExpireConfiguration } from './RefreshLivyComputeTokenRequest';
|
|
80
84
|
export { StartJobRunRequestConfigurationOverridesConfigurations } from './StartJobRunRequest';
|
|
81
85
|
export { StartJobRunRequestConfigurationOverrides } from './StartJobRunRequest';
|
|
86
|
+
export { UpdateKyuubiTokenRequestAutoExpireConfiguration } from './UpdateKyuubiTokenRequest';
|
|
82
87
|
export { UpdateLivyComputeRequestAutoStartConfiguration } from './UpdateLivyComputeRequest';
|
|
83
88
|
export { UpdateLivyComputeRequestAutoStopConfiguration } from './UpdateLivyComputeRequest';
|
|
84
89
|
export { UpdateProcessDefinitionWithScheduleRequestGlobalParams } from './UpdateProcessDefinitionWithScheduleRequest';
|
|
@@ -113,6 +118,9 @@ export { AddMembersResponse } from './AddMembersResponse';
|
|
|
113
118
|
export { CancelJobRunRequest } from './CancelJobRunRequest';
|
|
114
119
|
export { CancelJobRunResponseBody } from './CancelJobRunResponseBody';
|
|
115
120
|
export { CancelJobRunResponse } from './CancelJobRunResponse';
|
|
121
|
+
export { CreateKyuubiTokenRequest } from './CreateKyuubiTokenRequest';
|
|
122
|
+
export { CreateKyuubiTokenResponseBody } from './CreateKyuubiTokenResponseBody';
|
|
123
|
+
export { CreateKyuubiTokenResponse } from './CreateKyuubiTokenResponse';
|
|
116
124
|
export { CreateLivyComputeRequest } from './CreateLivyComputeRequest';
|
|
117
125
|
export { CreateLivyComputeResponseBody } from './CreateLivyComputeResponseBody';
|
|
118
126
|
export { CreateLivyComputeResponse } from './CreateLivyComputeResponse';
|
|
@@ -132,6 +140,9 @@ export { CreateSqlStatementResponse } from './CreateSqlStatementResponse';
|
|
|
132
140
|
export { CreateWorkspaceRequest } from './CreateWorkspaceRequest';
|
|
133
141
|
export { CreateWorkspaceResponseBody } from './CreateWorkspaceResponseBody';
|
|
134
142
|
export { CreateWorkspaceResponse } from './CreateWorkspaceResponse';
|
|
143
|
+
export { DeleteKyuubiTokenRequest } from './DeleteKyuubiTokenRequest';
|
|
144
|
+
export { DeleteKyuubiTokenResponseBody } from './DeleteKyuubiTokenResponseBody';
|
|
145
|
+
export { DeleteKyuubiTokenResponse } from './DeleteKyuubiTokenResponse';
|
|
135
146
|
export { DeleteLivyComputeRequest } from './DeleteLivyComputeRequest';
|
|
136
147
|
export { DeleteLivyComputeResponseBody } from './DeleteLivyComputeResponseBody';
|
|
137
148
|
export { DeleteLivyComputeResponse } from './DeleteLivyComputeResponse';
|
|
@@ -150,6 +161,9 @@ export { GetDoctorApplicationResponse } from './GetDoctorApplicationResponse';
|
|
|
150
161
|
export { GetJobRunRequest } from './GetJobRunRequest';
|
|
151
162
|
export { GetJobRunResponseBody } from './GetJobRunResponseBody';
|
|
152
163
|
export { GetJobRunResponse } from './GetJobRunResponse';
|
|
164
|
+
export { GetKyuubiTokenRequest } from './GetKyuubiTokenRequest';
|
|
165
|
+
export { GetKyuubiTokenResponseBody } from './GetKyuubiTokenResponseBody';
|
|
166
|
+
export { GetKyuubiTokenResponse } from './GetKyuubiTokenResponse';
|
|
153
167
|
export { GetLivyComputeRequest } from './GetLivyComputeRequest';
|
|
154
168
|
export { GetLivyComputeResponseBody } from './GetLivyComputeResponseBody';
|
|
155
169
|
export { GetLivyComputeResponse } from './GetLivyComputeResponse';
|
|
@@ -233,6 +247,9 @@ export { StopSessionClusterResponse } from './StopSessionClusterResponse';
|
|
|
233
247
|
export { TerminateSqlStatementRequest } from './TerminateSqlStatementRequest';
|
|
234
248
|
export { TerminateSqlStatementResponseBody } from './TerminateSqlStatementResponseBody';
|
|
235
249
|
export { TerminateSqlStatementResponse } from './TerminateSqlStatementResponse';
|
|
250
|
+
export { UpdateKyuubiTokenRequest } from './UpdateKyuubiTokenRequest';
|
|
251
|
+
export { UpdateKyuubiTokenResponseBody } from './UpdateKyuubiTokenResponseBody';
|
|
252
|
+
export { UpdateKyuubiTokenResponse } from './UpdateKyuubiTokenResponse';
|
|
236
253
|
export { UpdateLivyComputeRequest } from './UpdateLivyComputeRequest';
|
|
237
254
|
export { UpdateLivyComputeResponseBody } from './UpdateLivyComputeResponseBody';
|
|
238
255
|
export { UpdateLivyComputeResponse } from './UpdateLivyComputeResponse';
|