@alicloud/emr-serverless-spark20230808 1.11.0 → 1.12.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 +216 -0
- package/dist/client.js +623 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateLivyComputeRequest.d.ts +92 -0
- package/dist/models/CreateLivyComputeRequest.js +96 -0
- package/dist/models/CreateLivyComputeRequest.js.map +1 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.d.ts +18 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.js +58 -0
- package/dist/models/CreateLivyComputeRequestAutoStartConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.d.ts +23 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.js +60 -0
- package/dist/models/CreateLivyComputeRequestAutoStopConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeResponse.d.ts +19 -0
- package/dist/models/CreateLivyComputeResponse.js +69 -0
- package/dist/models/CreateLivyComputeResponse.js.map +1 -0
- package/dist/models/CreateLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/CreateLivyComputeResponseBody.js +68 -0
- package/dist/models/CreateLivyComputeResponseBody.js.map +1 -0
- package/dist/models/CreateLivyComputeResponseBodyData.d.ts +18 -0
- package/dist/models/CreateLivyComputeResponseBodyData.js +58 -0
- package/dist/models/CreateLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenRequest.d.ts +30 -0
- package/dist/models/CreateLivyComputeTokenRequest.js +68 -0
- package/dist/models/CreateLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.js +60 -0
- package/dist/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/CreateLivyComputeTokenResponse.js +69 -0
- package/dist/models/CreateLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/CreateLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.d.ts +21 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.js +58 -0
- package/dist/models/CreateLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/CreateSessionClusterRequest.d.ts +3 -3
- package/dist/models/DeleteLivyComputeRequest.d.ts +18 -0
- package/dist/models/DeleteLivyComputeRequest.js +58 -0
- package/dist/models/DeleteLivyComputeRequest.js.map +1 -0
- package/dist/models/DeleteLivyComputeResponse.d.ts +19 -0
- package/dist/models/DeleteLivyComputeResponse.js +69 -0
- package/dist/models/DeleteLivyComputeResponse.js.map +1 -0
- package/dist/models/DeleteLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/DeleteLivyComputeResponseBody.js +62 -0
- package/dist/models/DeleteLivyComputeResponseBody.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/DeleteLivyComputeTokenRequest.js +58 -0
- package/dist/models/DeleteLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/DeleteLivyComputeTokenResponse.js +69 -0
- package/dist/models/DeleteLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.d.ts +28 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.js +62 -0
- package/dist/models/DeleteLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeRequest.d.ts +18 -0
- package/dist/models/GetLivyComputeRequest.js +58 -0
- package/dist/models/GetLivyComputeRequest.js.map +1 -0
- package/dist/models/GetLivyComputeResponse.d.ts +19 -0
- package/dist/models/GetLivyComputeResponse.js +69 -0
- package/dist/models/GetLivyComputeResponse.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/GetLivyComputeResponseBody.js +68 -0
- package/dist/models/GetLivyComputeResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBodyData.d.ts +125 -0
- package/dist/models/GetLivyComputeResponseBodyData.js +104 -0
- package/dist/models/GetLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.d.ts +23 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.js +60 -0
- package/dist/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.js.map +1 -0
- package/dist/models/GetLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/GetLivyComputeTokenRequest.js +58 -0
- package/dist/models/GetLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/GetLivyComputeTokenResponse.js +69 -0
- package/dist/models/GetLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/GetLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/GetLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.d.ts +53 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.js +76 -0
- package/dist/models/GetLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.js +60 -0
- package/dist/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.js.map +1 -0
- package/dist/models/GetSessionClusterResponseBody.d.ts +1 -1
- package/dist/models/GetTemplateRequest.d.ts +5 -0
- package/dist/models/GetTemplateRequest.js.map +1 -1
- package/dist/models/ListJobRunsResponseBodyJobRuns.d.ts +1 -1
- package/dist/models/ListLivyComputeRequest.d.ts +23 -0
- package/dist/models/ListLivyComputeRequest.js +60 -0
- package/dist/models/ListLivyComputeRequest.js.map +1 -0
- package/dist/models/ListLivyComputeResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeResponse.js +69 -0
- package/dist/models/ListLivyComputeResponse.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBody.d.ts +30 -0
- package/dist/models/ListLivyComputeResponseBody.js +68 -0
- package/dist/models/ListLivyComputeResponseBody.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBodyData.d.ts +15 -0
- package/dist/models/ListLivyComputeResponseBodyData.js +62 -0
- package/dist/models/ListLivyComputeResponseBodyData.js.map +1 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.d.ts +58 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.js +74 -0
- package/dist/models/ListLivyComputeResponseBodyDataLivyComputes.js.map +1 -0
- package/dist/models/ListLivyComputeTokenRequest.d.ts +18 -0
- package/dist/models/ListLivyComputeTokenRequest.js +58 -0
- package/dist/models/ListLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/ListLivyComputeTokenResponse.js +69 -0
- package/dist/models/ListLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBody.d.ts +30 -0
- package/dist/models/ListLivyComputeTokenResponseBody.js +68 -0
- package/dist/models/ListLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.d.ts +15 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.js +62 -0
- package/dist/models/ListLivyComputeTokenResponseBodyData.js.map +1 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.d.ts +51 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.js +70 -0
- package/dist/models/ListLivyComputeTokenResponseBodyDataTokens.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenRequest.d.ts +30 -0
- package/dist/models/RefreshLivyComputeTokenRequest.js +68 -0
- package/dist/models/RefreshLivyComputeTokenRequest.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.d.ts +23 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.js +60 -0
- package/dist/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenResponse.d.ts +19 -0
- package/dist/models/RefreshLivyComputeTokenResponse.js +69 -0
- package/dist/models/RefreshLivyComputeTokenResponse.js.map +1 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.d.ts +28 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.js +62 -0
- package/dist/models/RefreshLivyComputeTokenResponseBody.js.map +1 -0
- package/dist/models/StartLivyComputeRequest.d.ts +18 -0
- package/dist/models/StartLivyComputeRequest.js +58 -0
- package/dist/models/StartLivyComputeRequest.js.map +1 -0
- package/dist/models/StartLivyComputeResponse.d.ts +19 -0
- package/dist/models/StartLivyComputeResponse.js +69 -0
- package/dist/models/StartLivyComputeResponse.js.map +1 -0
- package/dist/models/StartLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/StartLivyComputeResponseBody.js +62 -0
- package/dist/models/StartLivyComputeResponseBody.js.map +1 -0
- package/dist/models/StopLivyComputeRequest.d.ts +18 -0
- package/dist/models/StopLivyComputeRequest.js +58 -0
- package/dist/models/StopLivyComputeRequest.js.map +1 -0
- package/dist/models/StopLivyComputeResponse.d.ts +19 -0
- package/dist/models/StopLivyComputeResponse.js +69 -0
- package/dist/models/StopLivyComputeResponse.js.map +1 -0
- package/dist/models/StopLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/StopLivyComputeResponseBody.js +62 -0
- package/dist/models/StopLivyComputeResponseBody.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequest.d.ts +88 -0
- package/dist/models/UpdateLivyComputeRequest.js +96 -0
- package/dist/models/UpdateLivyComputeRequest.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.d.ts +18 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.js +58 -0
- package/dist/models/UpdateLivyComputeRequestAutoStartConfiguration.js.map +1 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.d.ts +23 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.js +60 -0
- package/dist/models/UpdateLivyComputeRequestAutoStopConfiguration.js.map +1 -0
- package/dist/models/UpdateLivyComputeResponse.d.ts +19 -0
- package/dist/models/UpdateLivyComputeResponse.js +69 -0
- package/dist/models/UpdateLivyComputeResponse.js.map +1 -0
- package/dist/models/UpdateLivyComputeResponseBody.d.ts +28 -0
- package/dist/models/UpdateLivyComputeResponseBody.js +62 -0
- package/dist/models/UpdateLivyComputeResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +52 -0
- package/dist/models/model.js +109 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +696 -0
- package/src/models/CreateLivyComputeRequest.ts +141 -0
- package/src/models/CreateLivyComputeRequestAutoStartConfiguration.ts +31 -0
- package/src/models/CreateLivyComputeRequestAutoStopConfiguration.ts +38 -0
- package/src/models/CreateLivyComputeResponse.ts +40 -0
- package/src/models/CreateLivyComputeResponseBody.ts +52 -0
- package/src/models/CreateLivyComputeResponseBodyData.ts +31 -0
- package/src/models/CreateLivyComputeTokenRequest.ts +52 -0
- package/src/models/CreateLivyComputeTokenRequestAutoExpireConfiguration.ts +38 -0
- package/src/models/CreateLivyComputeTokenResponse.ts +40 -0
- package/src/models/CreateLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/CreateLivyComputeTokenResponseBodyData.ts +34 -0
- package/src/models/CreateSessionClusterRequest.ts +3 -3
- package/src/models/DeleteLivyComputeRequest.ts +31 -0
- package/src/models/DeleteLivyComputeResponse.ts +40 -0
- package/src/models/DeleteLivyComputeResponseBody.ts +45 -0
- package/src/models/DeleteLivyComputeTokenRequest.ts +31 -0
- package/src/models/DeleteLivyComputeTokenResponse.ts +40 -0
- package/src/models/DeleteLivyComputeTokenResponseBody.ts +45 -0
- package/src/models/GetLivyComputeRequest.ts +31 -0
- package/src/models/GetLivyComputeResponse.ts +40 -0
- package/src/models/GetLivyComputeResponseBody.ts +52 -0
- package/src/models/GetLivyComputeResponseBodyData.ts +183 -0
- package/src/models/GetLivyComputeResponseBodyDataAutoStopConfiguration.ts +38 -0
- package/src/models/GetLivyComputeTokenRequest.ts +31 -0
- package/src/models/GetLivyComputeTokenResponse.ts +40 -0
- package/src/models/GetLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/GetLivyComputeTokenResponseBodyData.ts +83 -0
- package/src/models/GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration.ts +38 -0
- package/src/models/GetSessionClusterResponseBody.ts +1 -1
- package/src/models/GetTemplateRequest.ts +5 -0
- package/src/models/ListJobRunsResponseBodyJobRuns.ts +1 -1
- package/src/models/ListLivyComputeRequest.ts +38 -0
- package/src/models/ListLivyComputeResponse.ts +40 -0
- package/src/models/ListLivyComputeResponseBody.ts +52 -0
- package/src/models/ListLivyComputeResponseBodyData.ts +31 -0
- package/src/models/ListLivyComputeResponseBodyDataLivyComputes.ts +87 -0
- package/src/models/ListLivyComputeTokenRequest.ts +31 -0
- package/src/models/ListLivyComputeTokenResponse.ts +40 -0
- package/src/models/ListLivyComputeTokenResponseBody.ts +52 -0
- package/src/models/ListLivyComputeTokenResponseBodyData.ts +31 -0
- package/src/models/ListLivyComputeTokenResponseBodyDataTokens.ts +76 -0
- package/src/models/RefreshLivyComputeTokenRequest.ts +52 -0
- package/src/models/RefreshLivyComputeTokenRequestAutoExpireConfiguration.ts +38 -0
- package/src/models/RefreshLivyComputeTokenResponse.ts +40 -0
- package/src/models/RefreshLivyComputeTokenResponseBody.ts +45 -0
- package/src/models/StartLivyComputeRequest.ts +31 -0
- package/src/models/StartLivyComputeResponse.ts +40 -0
- package/src/models/StartLivyComputeResponseBody.ts +45 -0
- package/src/models/StopLivyComputeRequest.ts +31 -0
- package/src/models/StopLivyComputeResponse.ts +40 -0
- package/src/models/StopLivyComputeResponseBody.ts +45 -0
- package/src/models/UpdateLivyComputeRequest.ts +137 -0
- package/src/models/UpdateLivyComputeRequestAutoStartConfiguration.ts +31 -0
- package/src/models/UpdateLivyComputeRequestAutoStopConfiguration.ts +38 -0
- package/src/models/UpdateLivyComputeResponse.ts +40 -0
- package/src/models/UpdateLivyComputeResponseBody.ts +45 -0
- package/src/models/model.ts +52 -0
|
@@ -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 GetLivyComputeTokenResponseBodyDataAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 7
|
|
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
|
+
|
|
@@ -14,7 +14,7 @@ export class GetSessionClusterResponseBody extends $dara.Model {
|
|
|
14
14
|
requestId?: string;
|
|
15
15
|
/**
|
|
16
16
|
* @remarks
|
|
17
|
-
* The session.
|
|
17
|
+
* The session object.
|
|
18
18
|
*/
|
|
19
19
|
sessionCluster?: GetSessionClusterResponseBodySessionCluster;
|
|
20
20
|
static names(): { [key: string]: string } {
|
|
@@ -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 ListLivyComputeRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* ev-cq31c7tlhtgm9nrrlj4g
|
|
9
|
+
*/
|
|
10
|
+
environmentId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cn-hangzhou
|
|
14
|
+
*/
|
|
15
|
+
regionId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
environmentId: 'environmentId',
|
|
19
|
+
regionId: 'regionId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
environmentId: 'string',
|
|
26
|
+
regionId: '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 { ListLivyComputeResponseBody } from "./ListLivyComputeResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLivyComputeResponseBody;
|
|
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: ListLivyComputeResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeResponseBodyData } from "./ListLivyComputeResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1000000
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: ListLivyComputeResponseBodyData;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ok
|
|
16
|
+
*/
|
|
17
|
+
message?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
code: 'code',
|
|
26
|
+
data: 'data',
|
|
27
|
+
message: 'message',
|
|
28
|
+
requestId: 'requestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
code: 'string',
|
|
35
|
+
data: ListLivyComputeResponseBodyData,
|
|
36
|
+
message: 'string',
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
43
|
+
(this.data as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeResponseBodyDataLivyComputes } from "./ListLivyComputeResponseBodyDataLivyComputes";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeResponseBodyData extends $dara.Model {
|
|
7
|
+
livyComputes?: ListLivyComputeResponseBodyDataLivyComputes[];
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
livyComputes: 'livyComputes',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static types(): { [key: string]: any } {
|
|
15
|
+
return {
|
|
16
|
+
livyComputes: { 'type': 'array', 'itemType': ListLivyComputeResponseBodyDataLivyComputes },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
validate() {
|
|
21
|
+
if(Array.isArray(this.livyComputes)) {
|
|
22
|
+
$dara.Model.validateArray(this.livyComputes);
|
|
23
|
+
}
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeResponseBodyDataLivyComputes extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* lc-xxxxxxxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
computeId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* alice
|
|
14
|
+
*/
|
|
15
|
+
createdBy?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* emr-spark-livy-gateway-cn-hangzhou.data.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
19
|
+
*/
|
|
20
|
+
endpoint?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* emr-spark-livy-gateway-cn-hangzhou-internal.aliyun.com/api/v1/workspace/w-xxxxxxxxx/livycompute/lc-xxxxxxxxxxx
|
|
24
|
+
*/
|
|
25
|
+
endpointInner?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1749456094000
|
|
29
|
+
*/
|
|
30
|
+
gmtCreate?: number;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* test
|
|
34
|
+
*/
|
|
35
|
+
name?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* root_queue
|
|
39
|
+
*/
|
|
40
|
+
queueName?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 1749456094000
|
|
44
|
+
*/
|
|
45
|
+
startTime?: number;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* RUNNING
|
|
49
|
+
*/
|
|
50
|
+
status?: string;
|
|
51
|
+
static names(): { [key: string]: string } {
|
|
52
|
+
return {
|
|
53
|
+
computeId: 'computeId',
|
|
54
|
+
createdBy: 'createdBy',
|
|
55
|
+
endpoint: 'endpoint',
|
|
56
|
+
endpointInner: 'endpointInner',
|
|
57
|
+
gmtCreate: 'gmtCreate',
|
|
58
|
+
name: 'name',
|
|
59
|
+
queueName: 'queueName',
|
|
60
|
+
startTime: 'startTime',
|
|
61
|
+
status: 'status',
|
|
62
|
+
};
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
static types(): { [key: string]: any } {
|
|
66
|
+
return {
|
|
67
|
+
computeId: 'string',
|
|
68
|
+
createdBy: 'string',
|
|
69
|
+
endpoint: 'string',
|
|
70
|
+
endpointInner: 'string',
|
|
71
|
+
gmtCreate: 'number',
|
|
72
|
+
name: 'string',
|
|
73
|
+
queueName: 'string',
|
|
74
|
+
startTime: 'number',
|
|
75
|
+
status: 'string',
|
|
76
|
+
};
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
validate() {
|
|
80
|
+
super.validate();
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
constructor(map?: { [key: string]: any }) {
|
|
84
|
+
super(map);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
|
|
@@ -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 ListLivyComputeTokenRequest 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 { ListLivyComputeTokenResponseBody } from "./ListLivyComputeTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListLivyComputeTokenResponseBody;
|
|
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: ListLivyComputeTokenResponseBody,
|
|
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,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeTokenResponseBodyData } from "./ListLivyComputeTokenResponseBodyData";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeTokenResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1000000
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
data?: ListLivyComputeTokenResponseBodyData;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* ok
|
|
16
|
+
*/
|
|
17
|
+
message?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* DD6B1B2A-5837-5237-ABE4-FF0C8944****
|
|
21
|
+
*/
|
|
22
|
+
requestId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
code: 'code',
|
|
26
|
+
data: 'data',
|
|
27
|
+
message: 'message',
|
|
28
|
+
requestId: 'requestId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
code: 'string',
|
|
35
|
+
data: ListLivyComputeTokenResponseBodyData,
|
|
36
|
+
message: 'string',
|
|
37
|
+
requestId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
43
|
+
(this.data as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListLivyComputeTokenResponseBodyDataTokens } from "./ListLivyComputeTokenResponseBodyDataTokens";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListLivyComputeTokenResponseBodyData extends $dara.Model {
|
|
7
|
+
tokens?: ListLivyComputeTokenResponseBodyDataTokens[];
|
|
8
|
+
static names(): { [key: string]: string } {
|
|
9
|
+
return {
|
|
10
|
+
tokens: 'tokens',
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
static types(): { [key: string]: any } {
|
|
15
|
+
return {
|
|
16
|
+
tokens: { 'type': 'array', 'itemType': ListLivyComputeTokenResponseBodyDataTokens },
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
validate() {
|
|
21
|
+
if(Array.isArray(this.tokens)) {
|
|
22
|
+
$dara.Model.validateArray(this.tokens);
|
|
23
|
+
}
|
|
24
|
+
super.validate();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
constructor(map?: { [key: string]: any }) {
|
|
28
|
+
super(map);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListLivyComputeTokenResponseBodyDataTokens extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1749456094000
|
|
9
|
+
*/
|
|
10
|
+
createTime?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* alice
|
|
14
|
+
*/
|
|
15
|
+
createdby?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1749456994000
|
|
19
|
+
*/
|
|
20
|
+
expireTime?: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* 1749456098000
|
|
24
|
+
*/
|
|
25
|
+
lastUsedTime?: number;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* test
|
|
29
|
+
*/
|
|
30
|
+
name?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 5d37843fb6f1e8
|
|
34
|
+
*/
|
|
35
|
+
token?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @remarks
|
|
38
|
+
* Token ID。
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* lctk-xxxxxxxxxxx
|
|
42
|
+
*/
|
|
43
|
+
tokenId?: string;
|
|
44
|
+
static names(): { [key: string]: string } {
|
|
45
|
+
return {
|
|
46
|
+
createTime: 'createTime',
|
|
47
|
+
createdby: 'createdby',
|
|
48
|
+
expireTime: 'expireTime',
|
|
49
|
+
lastUsedTime: 'lastUsedTime',
|
|
50
|
+
name: 'name',
|
|
51
|
+
token: 'token',
|
|
52
|
+
tokenId: 'tokenId',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
createTime: 'number',
|
|
59
|
+
createdby: 'string',
|
|
60
|
+
expireTime: 'number',
|
|
61
|
+
lastUsedTime: 'number',
|
|
62
|
+
name: 'string',
|
|
63
|
+
token: 'string',
|
|
64
|
+
tokenId: 'string',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
super.validate();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
constructor(map?: { [key: string]: any }) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RefreshLivyComputeTokenRequestAutoExpireConfiguration } from "./RefreshLivyComputeTokenRequestAutoExpireConfiguration";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RefreshLivyComputeTokenRequest extends $dara.Model {
|
|
7
|
+
autoExpireConfiguration?: RefreshLivyComputeTokenRequestAutoExpireConfiguration;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* test
|
|
11
|
+
*/
|
|
12
|
+
name?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* fe86812667f04v343
|
|
16
|
+
*/
|
|
17
|
+
token?: string;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* cn-hangzhou
|
|
21
|
+
*/
|
|
22
|
+
regionId?: string;
|
|
23
|
+
static names(): { [key: string]: string } {
|
|
24
|
+
return {
|
|
25
|
+
autoExpireConfiguration: 'autoExpireConfiguration',
|
|
26
|
+
name: 'name',
|
|
27
|
+
token: 'token',
|
|
28
|
+
regionId: 'regionId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
autoExpireConfiguration: RefreshLivyComputeTokenRequestAutoExpireConfiguration,
|
|
35
|
+
name: 'string',
|
|
36
|
+
token: 'string',
|
|
37
|
+
regionId: 'string',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
validate() {
|
|
42
|
+
if(this.autoExpireConfiguration && typeof (this.autoExpireConfiguration as any).validate === 'function') {
|
|
43
|
+
(this.autoExpireConfiguration as any).validate();
|
|
44
|
+
}
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
@@ -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 RefreshLivyComputeTokenRequestAutoExpireConfiguration extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* false
|
|
9
|
+
*/
|
|
10
|
+
enable?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 7
|
|
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
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { RefreshLivyComputeTokenResponseBody } from "./RefreshLivyComputeTokenResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class RefreshLivyComputeTokenResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: RefreshLivyComputeTokenResponseBody;
|
|
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: RefreshLivyComputeTokenResponseBody,
|
|
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
|
+
|