@alicloud/adb20211201 3.0.0 → 3.2.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 +943 -4
- package/dist/client.js +922 -17
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1643 -109
package/src/client.ts
CHANGED
|
@@ -1753,6 +1753,94 @@ export class BindDBResourceGroupWithUserResponse extends $tea.Model {
|
|
|
1753
1753
|
}
|
|
1754
1754
|
}
|
|
1755
1755
|
|
|
1756
|
+
export class CancelSparkReplStatementRequest extends $tea.Model {
|
|
1757
|
+
/**
|
|
1758
|
+
* @example
|
|
1759
|
+
* s202411071444hzdvk486d9d2001****
|
|
1760
|
+
*/
|
|
1761
|
+
appId?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* @example
|
|
1764
|
+
* 456
|
|
1765
|
+
*/
|
|
1766
|
+
sessionId?: number;
|
|
1767
|
+
/**
|
|
1768
|
+
* @example
|
|
1769
|
+
* 123
|
|
1770
|
+
*/
|
|
1771
|
+
statementId?: number;
|
|
1772
|
+
static names(): { [key: string]: string } {
|
|
1773
|
+
return {
|
|
1774
|
+
appId: 'AppId',
|
|
1775
|
+
sessionId: 'SessionId',
|
|
1776
|
+
statementId: 'StatementId',
|
|
1777
|
+
};
|
|
1778
|
+
}
|
|
1779
|
+
|
|
1780
|
+
static types(): { [key: string]: any } {
|
|
1781
|
+
return {
|
|
1782
|
+
appId: 'string',
|
|
1783
|
+
sessionId: 'number',
|
|
1784
|
+
statementId: 'number',
|
|
1785
|
+
};
|
|
1786
|
+
}
|
|
1787
|
+
|
|
1788
|
+
constructor(map?: { [key: string]: any }) {
|
|
1789
|
+
super(map);
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
export class CancelSparkReplStatementResponseBody extends $tea.Model {
|
|
1794
|
+
data?: CancelSparkReplStatementResponseBodyData;
|
|
1795
|
+
/**
|
|
1796
|
+
* @example
|
|
1797
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
1798
|
+
*/
|
|
1799
|
+
requestId?: string;
|
|
1800
|
+
static names(): { [key: string]: string } {
|
|
1801
|
+
return {
|
|
1802
|
+
data: 'Data',
|
|
1803
|
+
requestId: 'RequestId',
|
|
1804
|
+
};
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1807
|
+
static types(): { [key: string]: any } {
|
|
1808
|
+
return {
|
|
1809
|
+
data: CancelSparkReplStatementResponseBodyData,
|
|
1810
|
+
requestId: 'string',
|
|
1811
|
+
};
|
|
1812
|
+
}
|
|
1813
|
+
|
|
1814
|
+
constructor(map?: { [key: string]: any }) {
|
|
1815
|
+
super(map);
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
|
|
1819
|
+
export class CancelSparkReplStatementResponse extends $tea.Model {
|
|
1820
|
+
headers?: { [key: string]: string };
|
|
1821
|
+
statusCode?: number;
|
|
1822
|
+
body?: CancelSparkReplStatementResponseBody;
|
|
1823
|
+
static names(): { [key: string]: string } {
|
|
1824
|
+
return {
|
|
1825
|
+
headers: 'headers',
|
|
1826
|
+
statusCode: 'statusCode',
|
|
1827
|
+
body: 'body',
|
|
1828
|
+
};
|
|
1829
|
+
}
|
|
1830
|
+
|
|
1831
|
+
static types(): { [key: string]: any } {
|
|
1832
|
+
return {
|
|
1833
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
1834
|
+
statusCode: 'number',
|
|
1835
|
+
body: CancelSparkReplStatementResponseBody,
|
|
1836
|
+
};
|
|
1837
|
+
}
|
|
1838
|
+
|
|
1839
|
+
constructor(map?: { [key: string]: any }) {
|
|
1840
|
+
super(map);
|
|
1841
|
+
}
|
|
1842
|
+
}
|
|
1843
|
+
|
|
1756
1844
|
export class CheckBindRamUserRequest extends $tea.Model {
|
|
1757
1845
|
/**
|
|
1758
1846
|
* @remarks
|
|
@@ -7529,6 +7617,8 @@ export class DescribeColumnsResponse extends $tea.Model {
|
|
|
7529
7617
|
export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
|
|
7530
7618
|
/**
|
|
7531
7619
|
* @remarks
|
|
7620
|
+
* The cluster ID.
|
|
7621
|
+
*
|
|
7532
7622
|
* This parameter is required.
|
|
7533
7623
|
*
|
|
7534
7624
|
* @example
|
|
@@ -7553,8 +7643,15 @@ export class DescribeCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
7553
7643
|
}
|
|
7554
7644
|
|
|
7555
7645
|
export class DescribeCompactionServiceSwitchResponseBody extends $tea.Model {
|
|
7646
|
+
/**
|
|
7647
|
+
* @remarks
|
|
7648
|
+
* The returned data.
|
|
7649
|
+
*/
|
|
7556
7650
|
data?: DescribeCompactionServiceSwitchResponseBodyData;
|
|
7557
7651
|
/**
|
|
7652
|
+
* @remarks
|
|
7653
|
+
* The request ID.
|
|
7654
|
+
*
|
|
7558
7655
|
* @example
|
|
7559
7656
|
* D761DA51-12F8-5457-AAA9-F52B9F436D2D
|
|
7560
7657
|
*/
|
|
@@ -12013,33 +12110,33 @@ export class DescribeSchemasResponse extends $tea.Model {
|
|
|
12013
12110
|
}
|
|
12014
12111
|
}
|
|
12015
12112
|
|
|
12016
|
-
export class
|
|
12113
|
+
export class DescribeSparkAppDiagnosisInfoRequest extends $tea.Model {
|
|
12017
12114
|
/**
|
|
12018
12115
|
* @remarks
|
|
12019
|
-
*
|
|
12020
|
-
*
|
|
12021
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
12116
|
+
* This parameter is required.
|
|
12022
12117
|
*
|
|
12118
|
+
* @example
|
|
12119
|
+
* s202411061017sh0ad564b000****
|
|
12120
|
+
*/
|
|
12121
|
+
appId?: string;
|
|
12122
|
+
/**
|
|
12123
|
+
* @remarks
|
|
12023
12124
|
* This parameter is required.
|
|
12024
12125
|
*
|
|
12025
12126
|
* @example
|
|
12026
|
-
* amv-
|
|
12127
|
+
* amv-uf663j39b0jd2***
|
|
12027
12128
|
*/
|
|
12028
12129
|
DBClusterId?: string;
|
|
12029
12130
|
/**
|
|
12030
12131
|
* @remarks
|
|
12031
|
-
* The ID of the Spark job.
|
|
12032
|
-
*
|
|
12033
12132
|
* This parameter is required.
|
|
12034
12133
|
*
|
|
12035
12134
|
* @example
|
|
12036
|
-
*
|
|
12135
|
+
* PYTHON
|
|
12037
12136
|
*/
|
|
12038
|
-
|
|
12137
|
+
language?: string;
|
|
12039
12138
|
/**
|
|
12040
12139
|
* @remarks
|
|
12041
|
-
* The region ID of the cluster.
|
|
12042
|
-
*
|
|
12043
12140
|
* This parameter is required.
|
|
12044
12141
|
*
|
|
12045
12142
|
* @example
|
|
@@ -12048,16 +12145,18 @@ export class DescribeSparkCodeLogRequest extends $tea.Model {
|
|
|
12048
12145
|
regionId?: string;
|
|
12049
12146
|
static names(): { [key: string]: string } {
|
|
12050
12147
|
return {
|
|
12148
|
+
appId: 'AppId',
|
|
12051
12149
|
DBClusterId: 'DBClusterId',
|
|
12052
|
-
|
|
12150
|
+
language: 'Language',
|
|
12053
12151
|
regionId: 'RegionId',
|
|
12054
12152
|
};
|
|
12055
12153
|
}
|
|
12056
12154
|
|
|
12057
12155
|
static types(): { [key: string]: any } {
|
|
12058
12156
|
return {
|
|
12157
|
+
appId: 'string',
|
|
12059
12158
|
DBClusterId: 'string',
|
|
12060
|
-
|
|
12159
|
+
language: 'string',
|
|
12061
12160
|
regionId: 'string',
|
|
12062
12161
|
};
|
|
12063
12162
|
}
|
|
@@ -12067,60 +12166,109 @@ export class DescribeSparkCodeLogRequest extends $tea.Model {
|
|
|
12067
12166
|
}
|
|
12068
12167
|
}
|
|
12069
12168
|
|
|
12070
|
-
export class
|
|
12169
|
+
export class DescribeSparkAppDiagnosisInfoResponseBody extends $tea.Model {
|
|
12071
12170
|
/**
|
|
12072
|
-
* @remarks
|
|
12073
|
-
* The content of the log.
|
|
12074
|
-
*
|
|
12075
12171
|
* @example
|
|
12076
|
-
*
|
|
12172
|
+
* {
|
|
12173
|
+
* "PolicyType": "AccountLevelIdentityBasedPolicy",
|
|
12174
|
+
* "AuthPrincipalOwnerId": "1*****************7",
|
|
12175
|
+
* "EncodedDiagnosticMessage": "AQIBIAAAAOPdwKY2QLOvgMEc7SkkoJfj1kvZwsaRqNYMh10Tv0wTe0fCzaCdrvgazfNb0EnJKETgXyhR+3BIQjx9WAqZryejBsp1Bl4qI5En/D9dEhcXAtKCxCmE2kZCiEzpy8BoEUt+bs0DmlaGWO5xkEpttypLIB4rUhDvZd+zwPg4EXk4KSSWSWsurxtqDkKEMshKlQFBTKvJcKwyhk62IeYly4hQ+5IpXjkh1GQXuDRCQ==",
|
|
12176
|
+
* "AuthPrincipalType": "SubUser",
|
|
12177
|
+
* "AuthPrincipalDisplayName": "2***************9",
|
|
12178
|
+
* "NoPermissionType": "ImplicitDeny",
|
|
12179
|
+
* "AuthAction": "adb:DescribeExcessivePrimaryKeys"
|
|
12180
|
+
* }
|
|
12077
12181
|
*/
|
|
12078
|
-
|
|
12182
|
+
accessDeniedDetail?: string;
|
|
12079
12183
|
/**
|
|
12080
|
-
* @remarks
|
|
12081
|
-
* The returned message.
|
|
12082
|
-
*
|
|
12083
|
-
* * If the request was successful, **Success** is returned.
|
|
12084
|
-
* * If the request failed, an error message is returned.
|
|
12085
|
-
*
|
|
12086
12184
|
* @example
|
|
12087
|
-
*
|
|
12185
|
+
* s202404141952sz6a1391200****
|
|
12088
12186
|
*/
|
|
12089
|
-
|
|
12187
|
+
appId?: string;
|
|
12090
12188
|
/**
|
|
12091
|
-
* @remarks
|
|
12092
|
-
* The request ID.
|
|
12093
|
-
*
|
|
12094
12189
|
* @example
|
|
12095
|
-
*
|
|
12190
|
+
* 100
|
|
12191
|
+
*/
|
|
12192
|
+
cpuUtilization?: number;
|
|
12193
|
+
diagnosisInfoList?: Adb4MysqlSparkDiagnosisInfo[];
|
|
12194
|
+
/**
|
|
12195
|
+
* @example
|
|
12196
|
+
* 281063
|
|
12197
|
+
*/
|
|
12198
|
+
durationInMillis?: number;
|
|
12199
|
+
/**
|
|
12200
|
+
* @example
|
|
12201
|
+
* 81055
|
|
12202
|
+
*/
|
|
12203
|
+
JVMGcCostInMillis?: number;
|
|
12204
|
+
/**
|
|
12205
|
+
* @example
|
|
12206
|
+
* 4096000
|
|
12207
|
+
*/
|
|
12208
|
+
peakMemoryInByte?: number;
|
|
12209
|
+
/**
|
|
12210
|
+
* @example
|
|
12211
|
+
* FB5AC339-91F6-5000-8E5A-F47065B01B87
|
|
12096
12212
|
*/
|
|
12097
12213
|
requestId?: string;
|
|
12098
12214
|
/**
|
|
12099
|
-
* @remarks
|
|
12100
|
-
* Indicates whether the request was successful. Valid values:
|
|
12101
|
-
*
|
|
12102
|
-
* * **true**
|
|
12103
|
-
* * **false**
|
|
12104
|
-
*
|
|
12105
12215
|
* @example
|
|
12106
|
-
*
|
|
12216
|
+
* 4096000
|
|
12107
12217
|
*/
|
|
12108
|
-
|
|
12218
|
+
shuffleReadInByte?: number;
|
|
12219
|
+
/**
|
|
12220
|
+
* @example
|
|
12221
|
+
* 4096000
|
|
12222
|
+
*/
|
|
12223
|
+
shuffleWriteInByte?: number;
|
|
12224
|
+
/**
|
|
12225
|
+
* @example
|
|
12226
|
+
* 0
|
|
12227
|
+
*/
|
|
12228
|
+
spillInByte?: number;
|
|
12229
|
+
/**
|
|
12230
|
+
* @example
|
|
12231
|
+
* 1718329831000
|
|
12232
|
+
*/
|
|
12233
|
+
startedTime?: number;
|
|
12234
|
+
/**
|
|
12235
|
+
* @example
|
|
12236
|
+
* FINISHED
|
|
12237
|
+
*/
|
|
12238
|
+
state?: string;
|
|
12109
12239
|
static names(): { [key: string]: string } {
|
|
12110
12240
|
return {
|
|
12111
|
-
|
|
12112
|
-
|
|
12241
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
12242
|
+
appId: 'AppId',
|
|
12243
|
+
cpuUtilization: 'CpuUtilization',
|
|
12244
|
+
diagnosisInfoList: 'DiagnosisInfoList',
|
|
12245
|
+
durationInMillis: 'DurationInMillis',
|
|
12246
|
+
JVMGcCostInMillis: 'JVMGcCostInMillis',
|
|
12247
|
+
peakMemoryInByte: 'PeakMemoryInByte',
|
|
12113
12248
|
requestId: 'RequestId',
|
|
12114
|
-
|
|
12249
|
+
shuffleReadInByte: 'ShuffleReadInByte',
|
|
12250
|
+
shuffleWriteInByte: 'ShuffleWriteInByte',
|
|
12251
|
+
spillInByte: 'SpillInByte',
|
|
12252
|
+
startedTime: 'StartedTime',
|
|
12253
|
+
state: 'State',
|
|
12115
12254
|
};
|
|
12116
12255
|
}
|
|
12117
12256
|
|
|
12118
12257
|
static types(): { [key: string]: any } {
|
|
12119
12258
|
return {
|
|
12120
|
-
|
|
12121
|
-
|
|
12259
|
+
accessDeniedDetail: 'string',
|
|
12260
|
+
appId: 'string',
|
|
12261
|
+
cpuUtilization: 'number',
|
|
12262
|
+
diagnosisInfoList: { 'type': 'array', 'itemType': Adb4MysqlSparkDiagnosisInfo },
|
|
12263
|
+
durationInMillis: 'number',
|
|
12264
|
+
JVMGcCostInMillis: 'number',
|
|
12265
|
+
peakMemoryInByte: 'number',
|
|
12122
12266
|
requestId: 'string',
|
|
12123
|
-
|
|
12267
|
+
shuffleReadInByte: 'number',
|
|
12268
|
+
shuffleWriteInByte: 'number',
|
|
12269
|
+
spillInByte: 'number',
|
|
12270
|
+
startedTime: 'number',
|
|
12271
|
+
state: 'string',
|
|
12124
12272
|
};
|
|
12125
12273
|
}
|
|
12126
12274
|
|
|
@@ -12129,10 +12277,10 @@ export class DescribeSparkCodeLogResponseBody extends $tea.Model {
|
|
|
12129
12277
|
}
|
|
12130
12278
|
}
|
|
12131
12279
|
|
|
12132
|
-
export class
|
|
12280
|
+
export class DescribeSparkAppDiagnosisInfoResponse extends $tea.Model {
|
|
12133
12281
|
headers?: { [key: string]: string };
|
|
12134
12282
|
statusCode?: number;
|
|
12135
|
-
body?:
|
|
12283
|
+
body?: DescribeSparkAppDiagnosisInfoResponseBody;
|
|
12136
12284
|
static names(): { [key: string]: string } {
|
|
12137
12285
|
return {
|
|
12138
12286
|
headers: 'headers',
|
|
@@ -12145,7 +12293,7 @@ export class DescribeSparkCodeLogResponse extends $tea.Model {
|
|
|
12145
12293
|
return {
|
|
12146
12294
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12147
12295
|
statusCode: 'number',
|
|
12148
|
-
body:
|
|
12296
|
+
body: DescribeSparkAppDiagnosisInfoResponseBody,
|
|
12149
12297
|
};
|
|
12150
12298
|
}
|
|
12151
12299
|
|
|
@@ -12154,51 +12302,43 @@ export class DescribeSparkCodeLogResponse extends $tea.Model {
|
|
|
12154
12302
|
}
|
|
12155
12303
|
}
|
|
12156
12304
|
|
|
12157
|
-
export class
|
|
12305
|
+
export class DescribeSparkAppTypeRequest extends $tea.Model {
|
|
12158
12306
|
/**
|
|
12159
12307
|
* @remarks
|
|
12160
|
-
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
12161
|
-
*
|
|
12162
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/612397.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
12163
|
-
*
|
|
12164
12308
|
* This parameter is required.
|
|
12165
12309
|
*
|
|
12166
12310
|
* @example
|
|
12167
|
-
*
|
|
12311
|
+
* s202407161205sza4c07c1000****
|
|
12168
12312
|
*/
|
|
12169
|
-
|
|
12313
|
+
appId?: string;
|
|
12170
12314
|
/**
|
|
12171
12315
|
* @remarks
|
|
12172
|
-
* The ID of the Spark job.
|
|
12173
|
-
*
|
|
12174
12316
|
* This parameter is required.
|
|
12175
12317
|
*
|
|
12176
12318
|
* @example
|
|
12177
|
-
*
|
|
12319
|
+
* am-wz9w49b12933****
|
|
12178
12320
|
*/
|
|
12179
|
-
|
|
12321
|
+
DBClusterId?: string;
|
|
12180
12322
|
/**
|
|
12181
12323
|
* @remarks
|
|
12182
|
-
* The region ID of the cluster.
|
|
12183
|
-
*
|
|
12184
12324
|
* This parameter is required.
|
|
12185
12325
|
*
|
|
12186
12326
|
* @example
|
|
12187
|
-
* cn-
|
|
12327
|
+
* cn-shenzhen
|
|
12188
12328
|
*/
|
|
12189
12329
|
regionId?: string;
|
|
12190
12330
|
static names(): { [key: string]: string } {
|
|
12191
12331
|
return {
|
|
12332
|
+
appId: 'AppId',
|
|
12192
12333
|
DBClusterId: 'DBClusterId',
|
|
12193
|
-
jobId: 'JobId',
|
|
12194
12334
|
regionId: 'RegionId',
|
|
12195
12335
|
};
|
|
12196
12336
|
}
|
|
12197
12337
|
|
|
12198
12338
|
static types(): { [key: string]: any } {
|
|
12199
12339
|
return {
|
|
12340
|
+
appId: 'string',
|
|
12200
12341
|
DBClusterId: 'string',
|
|
12201
|
-
jobId: 'number',
|
|
12202
12342
|
regionId: 'string',
|
|
12203
12343
|
};
|
|
12204
12344
|
}
|
|
@@ -12208,60 +12348,43 @@ export class DescribeSparkCodeOutputRequest extends $tea.Model {
|
|
|
12208
12348
|
}
|
|
12209
12349
|
}
|
|
12210
12350
|
|
|
12211
|
-
export class
|
|
12212
|
-
/**
|
|
12213
|
-
* @remarks
|
|
12214
|
-
* The returned message.
|
|
12215
|
-
*
|
|
12216
|
-
* * If the request was successful, **Success** is returned.
|
|
12217
|
-
* * If the request failed, an error message is returned.
|
|
12218
|
-
*
|
|
12219
|
-
* @example
|
|
12220
|
-
* Success
|
|
12221
|
-
*/
|
|
12222
|
-
message?: string;
|
|
12351
|
+
export class DescribeSparkAppTypeResponseBody extends $tea.Model {
|
|
12223
12352
|
/**
|
|
12224
|
-
* @remarks
|
|
12225
|
-
* The execution result, which is in the format of JSON objects.
|
|
12226
|
-
*
|
|
12227
12353
|
* @example
|
|
12228
|
-
*
|
|
12354
|
+
* {
|
|
12355
|
+
* "PolicyType": "AccountLevelIdentityBasedPolicy",
|
|
12356
|
+
* "AuthPrincipalOwnerId": "1*****************7",
|
|
12357
|
+
* "EncodedDiagnosticMessage": "AQIBIAAAAOPdwKY2QLOvgMEc7SkkoJfj1kvZwsaRqNYMh10Tv0wTe0fCzaCdrvgazfNb0EnJKETgXyhR+3BIQjx9WAqZryejBsp1Bl4qI5En/D9dEhcXAtKCxCmE2kZCiEzpy8BoEUt+bs0DmlaGWO5xkEpttypLIB4rUhDvZd+zwPg4EXk4KSSWSWsurxtqDkKEMshKlQFBTKvJcKwyhk62IeYly4hQ+5IpXjkh1GQXuDRCQ==",
|
|
12358
|
+
* "AuthPrincipalType": "SubUser",
|
|
12359
|
+
* "AuthPrincipalDisplayName": "2***************9",
|
|
12360
|
+
* "NoPermissionType": "ImplicitDeny",
|
|
12361
|
+
* "AuthAction": "adb:DescribeExcessivePrimaryKeys"
|
|
12362
|
+
* }
|
|
12229
12363
|
*/
|
|
12230
|
-
|
|
12364
|
+
accessDeniedDetail?: string;
|
|
12231
12365
|
/**
|
|
12232
|
-
* @remarks
|
|
12233
|
-
* The request ID.
|
|
12234
|
-
*
|
|
12235
12366
|
* @example
|
|
12236
|
-
*
|
|
12367
|
+
* 596AF63B-8798-501E-BA06-CD2184D48A35
|
|
12237
12368
|
*/
|
|
12238
12369
|
requestId?: string;
|
|
12239
12370
|
/**
|
|
12240
|
-
* @remarks
|
|
12241
|
-
* Indicates whether the request was successful. Valid values:
|
|
12242
|
-
*
|
|
12243
|
-
* * **true**
|
|
12244
|
-
* * **false**
|
|
12245
|
-
*
|
|
12246
12371
|
* @example
|
|
12247
|
-
*
|
|
12372
|
+
* Batch
|
|
12248
12373
|
*/
|
|
12249
|
-
|
|
12374
|
+
type?: string;
|
|
12250
12375
|
static names(): { [key: string]: string } {
|
|
12251
12376
|
return {
|
|
12252
|
-
|
|
12253
|
-
output: 'Output',
|
|
12377
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
12254
12378
|
requestId: 'RequestId',
|
|
12255
|
-
|
|
12379
|
+
type: 'Type',
|
|
12256
12380
|
};
|
|
12257
12381
|
}
|
|
12258
12382
|
|
|
12259
12383
|
static types(): { [key: string]: any } {
|
|
12260
12384
|
return {
|
|
12261
|
-
|
|
12262
|
-
output: 'string',
|
|
12385
|
+
accessDeniedDetail: 'string',
|
|
12263
12386
|
requestId: 'string',
|
|
12264
|
-
|
|
12387
|
+
type: 'string',
|
|
12265
12388
|
};
|
|
12266
12389
|
}
|
|
12267
12390
|
|
|
@@ -12270,10 +12393,10 @@ export class DescribeSparkCodeOutputResponseBody extends $tea.Model {
|
|
|
12270
12393
|
}
|
|
12271
12394
|
}
|
|
12272
12395
|
|
|
12273
|
-
export class
|
|
12396
|
+
export class DescribeSparkAppTypeResponse extends $tea.Model {
|
|
12274
12397
|
headers?: { [key: string]: string };
|
|
12275
12398
|
statusCode?: number;
|
|
12276
|
-
body?:
|
|
12399
|
+
body?: DescribeSparkAppTypeResponseBody;
|
|
12277
12400
|
static names(): { [key: string]: string } {
|
|
12278
12401
|
return {
|
|
12279
12402
|
headers: 'headers',
|
|
@@ -12286,7 +12409,7 @@ export class DescribeSparkCodeOutputResponse extends $tea.Model {
|
|
|
12286
12409
|
return {
|
|
12287
12410
|
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12288
12411
|
statusCode: 'number',
|
|
12289
|
-
body:
|
|
12412
|
+
body: DescribeSparkAppTypeResponseBody,
|
|
12290
12413
|
};
|
|
12291
12414
|
}
|
|
12292
12415
|
|
|
@@ -12295,17 +12418,299 @@ export class DescribeSparkCodeOutputResponse extends $tea.Model {
|
|
|
12295
12418
|
}
|
|
12296
12419
|
}
|
|
12297
12420
|
|
|
12298
|
-
export class
|
|
12421
|
+
export class DescribeSparkCodeLogRequest extends $tea.Model {
|
|
12299
12422
|
/**
|
|
12300
12423
|
* @remarks
|
|
12301
12424
|
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
12302
12425
|
*
|
|
12303
|
-
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/
|
|
12426
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/454250.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
12304
12427
|
*
|
|
12305
12428
|
* This parameter is required.
|
|
12306
12429
|
*
|
|
12307
12430
|
* @example
|
|
12308
|
-
* amv-
|
|
12431
|
+
* amv-uf6o6m8p6x7v****
|
|
12432
|
+
*/
|
|
12433
|
+
DBClusterId?: string;
|
|
12434
|
+
/**
|
|
12435
|
+
* @remarks
|
|
12436
|
+
* The ID of the Spark job.
|
|
12437
|
+
*
|
|
12438
|
+
* This parameter is required.
|
|
12439
|
+
*
|
|
12440
|
+
* @example
|
|
12441
|
+
* 1248
|
|
12442
|
+
*/
|
|
12443
|
+
jobId?: number;
|
|
12444
|
+
/**
|
|
12445
|
+
* @remarks
|
|
12446
|
+
* The region ID of the cluster.
|
|
12447
|
+
*
|
|
12448
|
+
* This parameter is required.
|
|
12449
|
+
*
|
|
12450
|
+
* @example
|
|
12451
|
+
* cn-hangzhou
|
|
12452
|
+
*/
|
|
12453
|
+
regionId?: string;
|
|
12454
|
+
static names(): { [key: string]: string } {
|
|
12455
|
+
return {
|
|
12456
|
+
DBClusterId: 'DBClusterId',
|
|
12457
|
+
jobId: 'JobId',
|
|
12458
|
+
regionId: 'RegionId',
|
|
12459
|
+
};
|
|
12460
|
+
}
|
|
12461
|
+
|
|
12462
|
+
static types(): { [key: string]: any } {
|
|
12463
|
+
return {
|
|
12464
|
+
DBClusterId: 'string',
|
|
12465
|
+
jobId: 'number',
|
|
12466
|
+
regionId: 'string',
|
|
12467
|
+
};
|
|
12468
|
+
}
|
|
12469
|
+
|
|
12470
|
+
constructor(map?: { [key: string]: any }) {
|
|
12471
|
+
super(map);
|
|
12472
|
+
}
|
|
12473
|
+
}
|
|
12474
|
+
|
|
12475
|
+
export class DescribeSparkCodeLogResponseBody extends $tea.Model {
|
|
12476
|
+
/**
|
|
12477
|
+
* @remarks
|
|
12478
|
+
* The content of the log.
|
|
12479
|
+
*
|
|
12480
|
+
* @example
|
|
12481
|
+
* >>>>>>>> stdout:n++++++++++++++++++executing sql: MSCK REPAIR TABLE `footprint_ethereum`.`dwd_eth_eth_txr_v2_di` n++n
|
|
12482
|
+
*/
|
|
12483
|
+
log?: string;
|
|
12484
|
+
/**
|
|
12485
|
+
* @remarks
|
|
12486
|
+
* The returned message.
|
|
12487
|
+
*
|
|
12488
|
+
* * If the request was successful, **Success** is returned.
|
|
12489
|
+
* * If the request failed, an error message is returned.
|
|
12490
|
+
*
|
|
12491
|
+
* @example
|
|
12492
|
+
* Success
|
|
12493
|
+
*/
|
|
12494
|
+
message?: string;
|
|
12495
|
+
/**
|
|
12496
|
+
* @remarks
|
|
12497
|
+
* The request ID.
|
|
12498
|
+
*
|
|
12499
|
+
* @example
|
|
12500
|
+
* 1CD65640-9963-5D60-929C-118F2C84070E
|
|
12501
|
+
*/
|
|
12502
|
+
requestId?: string;
|
|
12503
|
+
/**
|
|
12504
|
+
* @remarks
|
|
12505
|
+
* Indicates whether the request was successful. Valid values:
|
|
12506
|
+
*
|
|
12507
|
+
* * **true**
|
|
12508
|
+
* * **false**
|
|
12509
|
+
*
|
|
12510
|
+
* @example
|
|
12511
|
+
* true
|
|
12512
|
+
*/
|
|
12513
|
+
success?: boolean;
|
|
12514
|
+
static names(): { [key: string]: string } {
|
|
12515
|
+
return {
|
|
12516
|
+
log: 'Log',
|
|
12517
|
+
message: 'Message',
|
|
12518
|
+
requestId: 'RequestId',
|
|
12519
|
+
success: 'Success',
|
|
12520
|
+
};
|
|
12521
|
+
}
|
|
12522
|
+
|
|
12523
|
+
static types(): { [key: string]: any } {
|
|
12524
|
+
return {
|
|
12525
|
+
log: 'string',
|
|
12526
|
+
message: 'string',
|
|
12527
|
+
requestId: 'string',
|
|
12528
|
+
success: 'boolean',
|
|
12529
|
+
};
|
|
12530
|
+
}
|
|
12531
|
+
|
|
12532
|
+
constructor(map?: { [key: string]: any }) {
|
|
12533
|
+
super(map);
|
|
12534
|
+
}
|
|
12535
|
+
}
|
|
12536
|
+
|
|
12537
|
+
export class DescribeSparkCodeLogResponse extends $tea.Model {
|
|
12538
|
+
headers?: { [key: string]: string };
|
|
12539
|
+
statusCode?: number;
|
|
12540
|
+
body?: DescribeSparkCodeLogResponseBody;
|
|
12541
|
+
static names(): { [key: string]: string } {
|
|
12542
|
+
return {
|
|
12543
|
+
headers: 'headers',
|
|
12544
|
+
statusCode: 'statusCode',
|
|
12545
|
+
body: 'body',
|
|
12546
|
+
};
|
|
12547
|
+
}
|
|
12548
|
+
|
|
12549
|
+
static types(): { [key: string]: any } {
|
|
12550
|
+
return {
|
|
12551
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12552
|
+
statusCode: 'number',
|
|
12553
|
+
body: DescribeSparkCodeLogResponseBody,
|
|
12554
|
+
};
|
|
12555
|
+
}
|
|
12556
|
+
|
|
12557
|
+
constructor(map?: { [key: string]: any }) {
|
|
12558
|
+
super(map);
|
|
12559
|
+
}
|
|
12560
|
+
}
|
|
12561
|
+
|
|
12562
|
+
export class DescribeSparkCodeOutputRequest extends $tea.Model {
|
|
12563
|
+
/**
|
|
12564
|
+
* @remarks
|
|
12565
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
12566
|
+
*
|
|
12567
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/612397.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
12568
|
+
*
|
|
12569
|
+
* This parameter is required.
|
|
12570
|
+
*
|
|
12571
|
+
* @example
|
|
12572
|
+
* amv-uf6210mmev07****
|
|
12573
|
+
*/
|
|
12574
|
+
DBClusterId?: string;
|
|
12575
|
+
/**
|
|
12576
|
+
* @remarks
|
|
12577
|
+
* The ID of the Spark job.
|
|
12578
|
+
*
|
|
12579
|
+
* This parameter is required.
|
|
12580
|
+
*
|
|
12581
|
+
* @example
|
|
12582
|
+
* 620
|
|
12583
|
+
*/
|
|
12584
|
+
jobId?: number;
|
|
12585
|
+
/**
|
|
12586
|
+
* @remarks
|
|
12587
|
+
* The region ID of the cluster.
|
|
12588
|
+
*
|
|
12589
|
+
* This parameter is required.
|
|
12590
|
+
*
|
|
12591
|
+
* @example
|
|
12592
|
+
* cn-hangzhou
|
|
12593
|
+
*/
|
|
12594
|
+
regionId?: string;
|
|
12595
|
+
static names(): { [key: string]: string } {
|
|
12596
|
+
return {
|
|
12597
|
+
DBClusterId: 'DBClusterId',
|
|
12598
|
+
jobId: 'JobId',
|
|
12599
|
+
regionId: 'RegionId',
|
|
12600
|
+
};
|
|
12601
|
+
}
|
|
12602
|
+
|
|
12603
|
+
static types(): { [key: string]: any } {
|
|
12604
|
+
return {
|
|
12605
|
+
DBClusterId: 'string',
|
|
12606
|
+
jobId: 'number',
|
|
12607
|
+
regionId: 'string',
|
|
12608
|
+
};
|
|
12609
|
+
}
|
|
12610
|
+
|
|
12611
|
+
constructor(map?: { [key: string]: any }) {
|
|
12612
|
+
super(map);
|
|
12613
|
+
}
|
|
12614
|
+
}
|
|
12615
|
+
|
|
12616
|
+
export class DescribeSparkCodeOutputResponseBody extends $tea.Model {
|
|
12617
|
+
/**
|
|
12618
|
+
* @remarks
|
|
12619
|
+
* The returned message.
|
|
12620
|
+
*
|
|
12621
|
+
* * If the request was successful, **Success** is returned.
|
|
12622
|
+
* * If the request failed, an error message is returned.
|
|
12623
|
+
*
|
|
12624
|
+
* @example
|
|
12625
|
+
* Success
|
|
12626
|
+
*/
|
|
12627
|
+
message?: string;
|
|
12628
|
+
/**
|
|
12629
|
+
* @remarks
|
|
12630
|
+
* The execution result, which is in the format of JSON objects.
|
|
12631
|
+
*
|
|
12632
|
+
* @example
|
|
12633
|
+
* "{\\"schema\\":[\\"id\\",\\"name\\",\\"age\\"],\\"data\\":[\\"{\\\\\\"id\\\\\\":10,\\\\\\"name\\\\\\":\\\\\\"z\\\\\\",\\\\\\"age\\\\\\":123}\\",\\"{\\\\\\"id\\\\\\":2,\\\\\\"name\\\\\\":\\\\\\"b\\\\\\",\\\\\\"age\\\\\\":17}\\",\\"{\\\\\\"id\\\\\\":1,\\\\\\"name\\\\\\":\\\\\\"a\\\\\\",\\\\\\"age\\\\\\":15}\\",\\"{\\\\\\"id\\\\\\":3,\\\\\\"name\\\\\\":\\\\\\"c\\\\\\",\\\\\\"age\\\\\\":222}\\",\\"{\\\\\\"id\\\\\\":10,\\\\\\"name\\\\\\":\\\\\\"z\\\\\\",\\\\\\"age\\\\\\":123}\\"],\\"haveRows\\":true,\\"rowNumber\\":6}"
|
|
12634
|
+
*/
|
|
12635
|
+
output?: string;
|
|
12636
|
+
/**
|
|
12637
|
+
* @remarks
|
|
12638
|
+
* The request ID.
|
|
12639
|
+
*
|
|
12640
|
+
* @example
|
|
12641
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
12642
|
+
*/
|
|
12643
|
+
requestId?: string;
|
|
12644
|
+
/**
|
|
12645
|
+
* @remarks
|
|
12646
|
+
* Indicates whether the request was successful. Valid values:
|
|
12647
|
+
*
|
|
12648
|
+
* * **true**
|
|
12649
|
+
* * **false**
|
|
12650
|
+
*
|
|
12651
|
+
* @example
|
|
12652
|
+
* true
|
|
12653
|
+
*/
|
|
12654
|
+
success?: boolean;
|
|
12655
|
+
static names(): { [key: string]: string } {
|
|
12656
|
+
return {
|
|
12657
|
+
message: 'Message',
|
|
12658
|
+
output: 'Output',
|
|
12659
|
+
requestId: 'RequestId',
|
|
12660
|
+
success: 'Success',
|
|
12661
|
+
};
|
|
12662
|
+
}
|
|
12663
|
+
|
|
12664
|
+
static types(): { [key: string]: any } {
|
|
12665
|
+
return {
|
|
12666
|
+
message: 'string',
|
|
12667
|
+
output: 'string',
|
|
12668
|
+
requestId: 'string',
|
|
12669
|
+
success: 'boolean',
|
|
12670
|
+
};
|
|
12671
|
+
}
|
|
12672
|
+
|
|
12673
|
+
constructor(map?: { [key: string]: any }) {
|
|
12674
|
+
super(map);
|
|
12675
|
+
}
|
|
12676
|
+
}
|
|
12677
|
+
|
|
12678
|
+
export class DescribeSparkCodeOutputResponse extends $tea.Model {
|
|
12679
|
+
headers?: { [key: string]: string };
|
|
12680
|
+
statusCode?: number;
|
|
12681
|
+
body?: DescribeSparkCodeOutputResponseBody;
|
|
12682
|
+
static names(): { [key: string]: string } {
|
|
12683
|
+
return {
|
|
12684
|
+
headers: 'headers',
|
|
12685
|
+
statusCode: 'statusCode',
|
|
12686
|
+
body: 'body',
|
|
12687
|
+
};
|
|
12688
|
+
}
|
|
12689
|
+
|
|
12690
|
+
static types(): { [key: string]: any } {
|
|
12691
|
+
return {
|
|
12692
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
12693
|
+
statusCode: 'number',
|
|
12694
|
+
body: DescribeSparkCodeOutputResponseBody,
|
|
12695
|
+
};
|
|
12696
|
+
}
|
|
12697
|
+
|
|
12698
|
+
constructor(map?: { [key: string]: any }) {
|
|
12699
|
+
super(map);
|
|
12700
|
+
}
|
|
12701
|
+
}
|
|
12702
|
+
|
|
12703
|
+
export class DescribeSparkCodeWebUiRequest extends $tea.Model {
|
|
12704
|
+
/**
|
|
12705
|
+
* @remarks
|
|
12706
|
+
* The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
|
|
12707
|
+
*
|
|
12708
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/129857.html) operation to query the IDs of all AnalyticDB for MySQL clusters within a region.
|
|
12709
|
+
*
|
|
12710
|
+
* This parameter is required.
|
|
12711
|
+
*
|
|
12712
|
+
* @example
|
|
12713
|
+
* amv-bp1v6usq6m65****
|
|
12309
12714
|
*/
|
|
12310
12715
|
DBClusterId?: string;
|
|
12311
12716
|
/**
|
|
@@ -13756,6 +14161,110 @@ export class EnableElasticPlanResponse extends $tea.Model {
|
|
|
13756
14161
|
}
|
|
13757
14162
|
}
|
|
13758
14163
|
|
|
14164
|
+
export class ExecuteSparkReplStatementRequest extends $tea.Model {
|
|
14165
|
+
/**
|
|
14166
|
+
* @example
|
|
14167
|
+
* s202411071444hzdvk486d9d2001****
|
|
14168
|
+
*/
|
|
14169
|
+
appId?: string;
|
|
14170
|
+
/**
|
|
14171
|
+
* @remarks
|
|
14172
|
+
* This parameter is required.
|
|
14173
|
+
*
|
|
14174
|
+
* @example
|
|
14175
|
+
* print(1+1)
|
|
14176
|
+
*/
|
|
14177
|
+
code?: string;
|
|
14178
|
+
/**
|
|
14179
|
+
* @remarks
|
|
14180
|
+
* This parameter is required.
|
|
14181
|
+
*
|
|
14182
|
+
* @example
|
|
14183
|
+
* PYTHON
|
|
14184
|
+
*/
|
|
14185
|
+
codeType?: string;
|
|
14186
|
+
/**
|
|
14187
|
+
* @remarks
|
|
14188
|
+
* This parameter is required.
|
|
14189
|
+
*
|
|
14190
|
+
* @example
|
|
14191
|
+
* 123
|
|
14192
|
+
*/
|
|
14193
|
+
sessionId?: number;
|
|
14194
|
+
static names(): { [key: string]: string } {
|
|
14195
|
+
return {
|
|
14196
|
+
appId: 'AppId',
|
|
14197
|
+
code: 'Code',
|
|
14198
|
+
codeType: 'CodeType',
|
|
14199
|
+
sessionId: 'SessionId',
|
|
14200
|
+
};
|
|
14201
|
+
}
|
|
14202
|
+
|
|
14203
|
+
static types(): { [key: string]: any } {
|
|
14204
|
+
return {
|
|
14205
|
+
appId: 'string',
|
|
14206
|
+
code: 'string',
|
|
14207
|
+
codeType: 'string',
|
|
14208
|
+
sessionId: 'number',
|
|
14209
|
+
};
|
|
14210
|
+
}
|
|
14211
|
+
|
|
14212
|
+
constructor(map?: { [key: string]: any }) {
|
|
14213
|
+
super(map);
|
|
14214
|
+
}
|
|
14215
|
+
}
|
|
14216
|
+
|
|
14217
|
+
export class ExecuteSparkReplStatementResponseBody extends $tea.Model {
|
|
14218
|
+
data?: ExecuteSparkReplStatementResponseBodyData;
|
|
14219
|
+
/**
|
|
14220
|
+
* @example
|
|
14221
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
14222
|
+
*/
|
|
14223
|
+
requestId?: string;
|
|
14224
|
+
static names(): { [key: string]: string } {
|
|
14225
|
+
return {
|
|
14226
|
+
data: 'Data',
|
|
14227
|
+
requestId: 'RequestId',
|
|
14228
|
+
};
|
|
14229
|
+
}
|
|
14230
|
+
|
|
14231
|
+
static types(): { [key: string]: any } {
|
|
14232
|
+
return {
|
|
14233
|
+
data: ExecuteSparkReplStatementResponseBodyData,
|
|
14234
|
+
requestId: 'string',
|
|
14235
|
+
};
|
|
14236
|
+
}
|
|
14237
|
+
|
|
14238
|
+
constructor(map?: { [key: string]: any }) {
|
|
14239
|
+
super(map);
|
|
14240
|
+
}
|
|
14241
|
+
}
|
|
14242
|
+
|
|
14243
|
+
export class ExecuteSparkReplStatementResponse extends $tea.Model {
|
|
14244
|
+
headers?: { [key: string]: string };
|
|
14245
|
+
statusCode?: number;
|
|
14246
|
+
body?: ExecuteSparkReplStatementResponseBody;
|
|
14247
|
+
static names(): { [key: string]: string } {
|
|
14248
|
+
return {
|
|
14249
|
+
headers: 'headers',
|
|
14250
|
+
statusCode: 'statusCode',
|
|
14251
|
+
body: 'body',
|
|
14252
|
+
};
|
|
14253
|
+
}
|
|
14254
|
+
|
|
14255
|
+
static types(): { [key: string]: any } {
|
|
14256
|
+
return {
|
|
14257
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
14258
|
+
statusCode: 'number',
|
|
14259
|
+
body: ExecuteSparkReplStatementResponseBody,
|
|
14260
|
+
};
|
|
14261
|
+
}
|
|
14262
|
+
|
|
14263
|
+
constructor(map?: { [key: string]: any }) {
|
|
14264
|
+
super(map);
|
|
14265
|
+
}
|
|
14266
|
+
}
|
|
14267
|
+
|
|
13759
14268
|
export class ExistRunningSQLEngineRequest extends $tea.Model {
|
|
13760
14269
|
/**
|
|
13761
14270
|
* @remarks
|
|
@@ -14905,6 +15414,178 @@ export class GetSparkLogAnalyzeTaskResponse extends $tea.Model {
|
|
|
14905
15414
|
}
|
|
14906
15415
|
}
|
|
14907
15416
|
|
|
15417
|
+
export class GetSparkReplSessionRequest extends $tea.Model {
|
|
15418
|
+
/**
|
|
15419
|
+
* @example
|
|
15420
|
+
* s202411071444hzdvk486d9d200****
|
|
15421
|
+
*/
|
|
15422
|
+
appId?: string;
|
|
15423
|
+
/**
|
|
15424
|
+
* @remarks
|
|
15425
|
+
* This parameter is required.
|
|
15426
|
+
*
|
|
15427
|
+
* @example
|
|
15428
|
+
* 1
|
|
15429
|
+
*/
|
|
15430
|
+
sessionId?: number;
|
|
15431
|
+
static names(): { [key: string]: string } {
|
|
15432
|
+
return {
|
|
15433
|
+
appId: 'AppId',
|
|
15434
|
+
sessionId: 'SessionId',
|
|
15435
|
+
};
|
|
15436
|
+
}
|
|
15437
|
+
|
|
15438
|
+
static types(): { [key: string]: any } {
|
|
15439
|
+
return {
|
|
15440
|
+
appId: 'string',
|
|
15441
|
+
sessionId: 'number',
|
|
15442
|
+
};
|
|
15443
|
+
}
|
|
15444
|
+
|
|
15445
|
+
constructor(map?: { [key: string]: any }) {
|
|
15446
|
+
super(map);
|
|
15447
|
+
}
|
|
15448
|
+
}
|
|
15449
|
+
|
|
15450
|
+
export class GetSparkReplSessionResponseBody extends $tea.Model {
|
|
15451
|
+
data?: GetSparkReplSessionResponseBodyData;
|
|
15452
|
+
/**
|
|
15453
|
+
* @example
|
|
15454
|
+
* 4CE6DF97-AEA4-484F-906F-C407EE3770EB
|
|
15455
|
+
*/
|
|
15456
|
+
requestId?: string;
|
|
15457
|
+
static names(): { [key: string]: string } {
|
|
15458
|
+
return {
|
|
15459
|
+
data: 'Data',
|
|
15460
|
+
requestId: 'RequestId',
|
|
15461
|
+
};
|
|
15462
|
+
}
|
|
15463
|
+
|
|
15464
|
+
static types(): { [key: string]: any } {
|
|
15465
|
+
return {
|
|
15466
|
+
data: GetSparkReplSessionResponseBodyData,
|
|
15467
|
+
requestId: 'string',
|
|
15468
|
+
};
|
|
15469
|
+
}
|
|
15470
|
+
|
|
15471
|
+
constructor(map?: { [key: string]: any }) {
|
|
15472
|
+
super(map);
|
|
15473
|
+
}
|
|
15474
|
+
}
|
|
15475
|
+
|
|
15476
|
+
export class GetSparkReplSessionResponse extends $tea.Model {
|
|
15477
|
+
headers?: { [key: string]: string };
|
|
15478
|
+
statusCode?: number;
|
|
15479
|
+
body?: GetSparkReplSessionResponseBody;
|
|
15480
|
+
static names(): { [key: string]: string } {
|
|
15481
|
+
return {
|
|
15482
|
+
headers: 'headers',
|
|
15483
|
+
statusCode: 'statusCode',
|
|
15484
|
+
body: 'body',
|
|
15485
|
+
};
|
|
15486
|
+
}
|
|
15487
|
+
|
|
15488
|
+
static types(): { [key: string]: any } {
|
|
15489
|
+
return {
|
|
15490
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15491
|
+
statusCode: 'number',
|
|
15492
|
+
body: GetSparkReplSessionResponseBody,
|
|
15493
|
+
};
|
|
15494
|
+
}
|
|
15495
|
+
|
|
15496
|
+
constructor(map?: { [key: string]: any }) {
|
|
15497
|
+
super(map);
|
|
15498
|
+
}
|
|
15499
|
+
}
|
|
15500
|
+
|
|
15501
|
+
export class GetSparkReplStatementRequest extends $tea.Model {
|
|
15502
|
+
/**
|
|
15503
|
+
* @example
|
|
15504
|
+
* s202411071444hzdvk486d9d200****
|
|
15505
|
+
*/
|
|
15506
|
+
appId?: string;
|
|
15507
|
+
/**
|
|
15508
|
+
* @example
|
|
15509
|
+
* 1
|
|
15510
|
+
*/
|
|
15511
|
+
sessionId?: number;
|
|
15512
|
+
/**
|
|
15513
|
+
* @example
|
|
15514
|
+
* 123
|
|
15515
|
+
*/
|
|
15516
|
+
statementId?: number;
|
|
15517
|
+
static names(): { [key: string]: string } {
|
|
15518
|
+
return {
|
|
15519
|
+
appId: 'AppId',
|
|
15520
|
+
sessionId: 'SessionId',
|
|
15521
|
+
statementId: 'StatementId',
|
|
15522
|
+
};
|
|
15523
|
+
}
|
|
15524
|
+
|
|
15525
|
+
static types(): { [key: string]: any } {
|
|
15526
|
+
return {
|
|
15527
|
+
appId: 'string',
|
|
15528
|
+
sessionId: 'number',
|
|
15529
|
+
statementId: 'number',
|
|
15530
|
+
};
|
|
15531
|
+
}
|
|
15532
|
+
|
|
15533
|
+
constructor(map?: { [key: string]: any }) {
|
|
15534
|
+
super(map);
|
|
15535
|
+
}
|
|
15536
|
+
}
|
|
15537
|
+
|
|
15538
|
+
export class GetSparkReplStatementResponseBody extends $tea.Model {
|
|
15539
|
+
data?: GetSparkReplStatementResponseBodyData;
|
|
15540
|
+
/**
|
|
15541
|
+
* @example
|
|
15542
|
+
* 1AD222E9-E606-4A42-BF6D-8A4442913CEF
|
|
15543
|
+
*/
|
|
15544
|
+
requestId?: string;
|
|
15545
|
+
static names(): { [key: string]: string } {
|
|
15546
|
+
return {
|
|
15547
|
+
data: 'Data',
|
|
15548
|
+
requestId: 'RequestId',
|
|
15549
|
+
};
|
|
15550
|
+
}
|
|
15551
|
+
|
|
15552
|
+
static types(): { [key: string]: any } {
|
|
15553
|
+
return {
|
|
15554
|
+
data: GetSparkReplStatementResponseBodyData,
|
|
15555
|
+
requestId: 'string',
|
|
15556
|
+
};
|
|
15557
|
+
}
|
|
15558
|
+
|
|
15559
|
+
constructor(map?: { [key: string]: any }) {
|
|
15560
|
+
super(map);
|
|
15561
|
+
}
|
|
15562
|
+
}
|
|
15563
|
+
|
|
15564
|
+
export class GetSparkReplStatementResponse extends $tea.Model {
|
|
15565
|
+
headers?: { [key: string]: string };
|
|
15566
|
+
statusCode?: number;
|
|
15567
|
+
body?: GetSparkReplStatementResponseBody;
|
|
15568
|
+
static names(): { [key: string]: string } {
|
|
15569
|
+
return {
|
|
15570
|
+
headers: 'headers',
|
|
15571
|
+
statusCode: 'statusCode',
|
|
15572
|
+
body: 'body',
|
|
15573
|
+
};
|
|
15574
|
+
}
|
|
15575
|
+
|
|
15576
|
+
static types(): { [key: string]: any } {
|
|
15577
|
+
return {
|
|
15578
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
15579
|
+
statusCode: 'number',
|
|
15580
|
+
body: GetSparkReplStatementResponseBody,
|
|
15581
|
+
};
|
|
15582
|
+
}
|
|
15583
|
+
|
|
15584
|
+
constructor(map?: { [key: string]: any }) {
|
|
15585
|
+
super(map);
|
|
15586
|
+
}
|
|
15587
|
+
}
|
|
15588
|
+
|
|
14908
15589
|
export class GetSparkSQLEngineStateRequest extends $tea.Model {
|
|
14909
15590
|
/**
|
|
14910
15591
|
* @remarks
|
|
@@ -18315,6 +18996,8 @@ export class ModifyClusterConnectionStringResponse extends $tea.Model {
|
|
|
18315
18996
|
export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
18316
18997
|
/**
|
|
18317
18998
|
* @remarks
|
|
18999
|
+
* The cluster ID.
|
|
19000
|
+
*
|
|
18318
19001
|
* This parameter is required.
|
|
18319
19002
|
*
|
|
18320
19003
|
* @example
|
|
@@ -18323,6 +19006,13 @@ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
18323
19006
|
DBClusterId?: string;
|
|
18324
19007
|
/**
|
|
18325
19008
|
* @remarks
|
|
19009
|
+
* Specifies whether to enable the remote build feature.
|
|
19010
|
+
*
|
|
19011
|
+
* Valid values:
|
|
19012
|
+
*
|
|
19013
|
+
* * true
|
|
19014
|
+
* * false
|
|
19015
|
+
*
|
|
18326
19016
|
* This parameter is required.
|
|
18327
19017
|
*
|
|
18328
19018
|
* @example
|
|
@@ -18350,6 +19040,9 @@ export class ModifyCompactionServiceSwitchRequest extends $tea.Model {
|
|
|
18350
19040
|
|
|
18351
19041
|
export class ModifyCompactionServiceSwitchResponseBody extends $tea.Model {
|
|
18352
19042
|
/**
|
|
19043
|
+
* @remarks
|
|
19044
|
+
* The request ID.
|
|
19045
|
+
*
|
|
18353
19046
|
* @example
|
|
18354
19047
|
* 21ABF219-10E0-571B-94B8-9C9AE5022BF8
|
|
18355
19048
|
*/
|
|
@@ -20472,6 +21165,103 @@ export class SetSparkAppLogRootPathResponse extends $tea.Model {
|
|
|
20472
21165
|
}
|
|
20473
21166
|
}
|
|
20474
21167
|
|
|
21168
|
+
export class StartSparkReplSessionRequest extends $tea.Model {
|
|
21169
|
+
/**
|
|
21170
|
+
* @remarks
|
|
21171
|
+
* This parameter is required.
|
|
21172
|
+
*
|
|
21173
|
+
* @example
|
|
21174
|
+
* { "spark.shuffle.timeout": ":0s" }
|
|
21175
|
+
*/
|
|
21176
|
+
config?: string;
|
|
21177
|
+
/**
|
|
21178
|
+
* @remarks
|
|
21179
|
+
* This parameter is required.
|
|
21180
|
+
*
|
|
21181
|
+
* @example
|
|
21182
|
+
* amv-bp1mfe9qm****
|
|
21183
|
+
*/
|
|
21184
|
+
DBClusterId?: string;
|
|
21185
|
+
/**
|
|
21186
|
+
* @remarks
|
|
21187
|
+
* This parameter is required.
|
|
21188
|
+
*
|
|
21189
|
+
* @example
|
|
21190
|
+
* test
|
|
21191
|
+
*/
|
|
21192
|
+
resourceGroupName?: string;
|
|
21193
|
+
static names(): { [key: string]: string } {
|
|
21194
|
+
return {
|
|
21195
|
+
config: 'Config',
|
|
21196
|
+
DBClusterId: 'DBClusterId',
|
|
21197
|
+
resourceGroupName: 'ResourceGroupName',
|
|
21198
|
+
};
|
|
21199
|
+
}
|
|
21200
|
+
|
|
21201
|
+
static types(): { [key: string]: any } {
|
|
21202
|
+
return {
|
|
21203
|
+
config: 'string',
|
|
21204
|
+
DBClusterId: 'string',
|
|
21205
|
+
resourceGroupName: 'string',
|
|
21206
|
+
};
|
|
21207
|
+
}
|
|
21208
|
+
|
|
21209
|
+
constructor(map?: { [key: string]: any }) {
|
|
21210
|
+
super(map);
|
|
21211
|
+
}
|
|
21212
|
+
}
|
|
21213
|
+
|
|
21214
|
+
export class StartSparkReplSessionResponseBody extends $tea.Model {
|
|
21215
|
+
data?: StartSparkReplSessionResponseBodyData;
|
|
21216
|
+
/**
|
|
21217
|
+
* @example
|
|
21218
|
+
* C1797FEA-B7D6-5ED6-A24B-2C8C5F4D7361
|
|
21219
|
+
*/
|
|
21220
|
+
requestId?: string;
|
|
21221
|
+
static names(): { [key: string]: string } {
|
|
21222
|
+
return {
|
|
21223
|
+
data: 'Data',
|
|
21224
|
+
requestId: 'RequestId',
|
|
21225
|
+
};
|
|
21226
|
+
}
|
|
21227
|
+
|
|
21228
|
+
static types(): { [key: string]: any } {
|
|
21229
|
+
return {
|
|
21230
|
+
data: StartSparkReplSessionResponseBodyData,
|
|
21231
|
+
requestId: 'string',
|
|
21232
|
+
};
|
|
21233
|
+
}
|
|
21234
|
+
|
|
21235
|
+
constructor(map?: { [key: string]: any }) {
|
|
21236
|
+
super(map);
|
|
21237
|
+
}
|
|
21238
|
+
}
|
|
21239
|
+
|
|
21240
|
+
export class StartSparkReplSessionResponse extends $tea.Model {
|
|
21241
|
+
headers?: { [key: string]: string };
|
|
21242
|
+
statusCode?: number;
|
|
21243
|
+
body?: StartSparkReplSessionResponseBody;
|
|
21244
|
+
static names(): { [key: string]: string } {
|
|
21245
|
+
return {
|
|
21246
|
+
headers: 'headers',
|
|
21247
|
+
statusCode: 'statusCode',
|
|
21248
|
+
body: 'body',
|
|
21249
|
+
};
|
|
21250
|
+
}
|
|
21251
|
+
|
|
21252
|
+
static types(): { [key: string]: any } {
|
|
21253
|
+
return {
|
|
21254
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21255
|
+
statusCode: 'number',
|
|
21256
|
+
body: StartSparkReplSessionResponseBody,
|
|
21257
|
+
};
|
|
21258
|
+
}
|
|
21259
|
+
|
|
21260
|
+
constructor(map?: { [key: string]: any }) {
|
|
21261
|
+
super(map);
|
|
21262
|
+
}
|
|
21263
|
+
}
|
|
21264
|
+
|
|
20475
21265
|
export class StartSparkSQLEngineRequest extends $tea.Model {
|
|
20476
21266
|
/**
|
|
20477
21267
|
* @remarks
|
|
@@ -21289,6 +22079,95 @@ export class OperatorNodeStats extends $tea.Model {
|
|
|
21289
22079
|
}
|
|
21290
22080
|
}
|
|
21291
22081
|
|
|
22082
|
+
export class CancelSparkReplStatementResponseBodyData extends $tea.Model {
|
|
22083
|
+
/**
|
|
22084
|
+
* @example
|
|
22085
|
+
* 190063530332****
|
|
22086
|
+
*/
|
|
22087
|
+
aliyunUid?: number;
|
|
22088
|
+
/**
|
|
22089
|
+
* @example
|
|
22090
|
+
* print(1+1)
|
|
22091
|
+
*/
|
|
22092
|
+
code?: string;
|
|
22093
|
+
/**
|
|
22094
|
+
* @example
|
|
22095
|
+
* RUNNING
|
|
22096
|
+
*/
|
|
22097
|
+
codeState?: string;
|
|
22098
|
+
/**
|
|
22099
|
+
* @example
|
|
22100
|
+
* PYTHON
|
|
22101
|
+
*/
|
|
22102
|
+
codeType?: string;
|
|
22103
|
+
columns?: string[];
|
|
22104
|
+
/**
|
|
22105
|
+
* @example
|
|
22106
|
+
* 1730968056000
|
|
22107
|
+
*/
|
|
22108
|
+
endTime?: number;
|
|
22109
|
+
/**
|
|
22110
|
+
* @example
|
|
22111
|
+
* StackOverflow Exception:
|
|
22112
|
+
*/
|
|
22113
|
+
error?: string;
|
|
22114
|
+
/**
|
|
22115
|
+
* @example
|
|
22116
|
+
* {"text/plain": "2"}
|
|
22117
|
+
*/
|
|
22118
|
+
output?: string;
|
|
22119
|
+
/**
|
|
22120
|
+
* @example
|
|
22121
|
+
* TEXT
|
|
22122
|
+
*/
|
|
22123
|
+
outputType?: string;
|
|
22124
|
+
/**
|
|
22125
|
+
* @example
|
|
22126
|
+
* 1730968056000
|
|
22127
|
+
*/
|
|
22128
|
+
startTime?: number;
|
|
22129
|
+
/**
|
|
22130
|
+
* @example
|
|
22131
|
+
* 123
|
|
22132
|
+
*/
|
|
22133
|
+
statementId?: number;
|
|
22134
|
+
static names(): { [key: string]: string } {
|
|
22135
|
+
return {
|
|
22136
|
+
aliyunUid: 'AliyunUid',
|
|
22137
|
+
code: 'Code',
|
|
22138
|
+
codeState: 'CodeState',
|
|
22139
|
+
codeType: 'CodeType',
|
|
22140
|
+
columns: 'Columns',
|
|
22141
|
+
endTime: 'EndTime',
|
|
22142
|
+
error: 'Error',
|
|
22143
|
+
output: 'Output',
|
|
22144
|
+
outputType: 'OutputType',
|
|
22145
|
+
startTime: 'StartTime',
|
|
22146
|
+
statementId: 'StatementId',
|
|
22147
|
+
};
|
|
22148
|
+
}
|
|
22149
|
+
|
|
22150
|
+
static types(): { [key: string]: any } {
|
|
22151
|
+
return {
|
|
22152
|
+
aliyunUid: 'number',
|
|
22153
|
+
code: 'string',
|
|
22154
|
+
codeState: 'string',
|
|
22155
|
+
codeType: 'string',
|
|
22156
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
22157
|
+
endTime: 'number',
|
|
22158
|
+
error: 'string',
|
|
22159
|
+
output: 'string',
|
|
22160
|
+
outputType: 'string',
|
|
22161
|
+
startTime: 'number',
|
|
22162
|
+
statementId: 'number',
|
|
22163
|
+
};
|
|
22164
|
+
}
|
|
22165
|
+
|
|
22166
|
+
constructor(map?: { [key: string]: any }) {
|
|
22167
|
+
super(map);
|
|
22168
|
+
}
|
|
22169
|
+
}
|
|
22170
|
+
|
|
21292
22171
|
export class CreateDBClusterRequestTag extends $tea.Model {
|
|
21293
22172
|
/**
|
|
21294
22173
|
* @remarks
|
|
@@ -23421,6 +24300,14 @@ export class DescribeColumnsResponseBodyItems extends $tea.Model {
|
|
|
23421
24300
|
|
|
23422
24301
|
export class DescribeCompactionServiceSwitchResponseBodyData extends $tea.Model {
|
|
23423
24302
|
/**
|
|
24303
|
+
* @remarks
|
|
24304
|
+
* Indicates whether the remote build feature is enabled.
|
|
24305
|
+
*
|
|
24306
|
+
* Valid values:
|
|
24307
|
+
*
|
|
24308
|
+
* * true
|
|
24309
|
+
* * false
|
|
24310
|
+
*
|
|
23424
24311
|
* @example
|
|
23425
24312
|
* true
|
|
23426
24313
|
*/
|
|
@@ -28152,6 +29039,95 @@ export class DescribeTablesResponseBodyItems extends $tea.Model {
|
|
|
28152
29039
|
}
|
|
28153
29040
|
}
|
|
28154
29041
|
|
|
29042
|
+
export class ExecuteSparkReplStatementResponseBodyData extends $tea.Model {
|
|
29043
|
+
/**
|
|
29044
|
+
* @example
|
|
29045
|
+
* 17108278707****
|
|
29046
|
+
*/
|
|
29047
|
+
aliyunUid?: number;
|
|
29048
|
+
/**
|
|
29049
|
+
* @example
|
|
29050
|
+
* print(1+1)
|
|
29051
|
+
*/
|
|
29052
|
+
code?: string;
|
|
29053
|
+
/**
|
|
29054
|
+
* @example
|
|
29055
|
+
* RUNNING
|
|
29056
|
+
*/
|
|
29057
|
+
codeState?: string;
|
|
29058
|
+
/**
|
|
29059
|
+
* @example
|
|
29060
|
+
* PYTHON
|
|
29061
|
+
*/
|
|
29062
|
+
codeType?: string;
|
|
29063
|
+
columns?: string[];
|
|
29064
|
+
/**
|
|
29065
|
+
* @example
|
|
29066
|
+
* 1730968125000
|
|
29067
|
+
*/
|
|
29068
|
+
endTime?: number;
|
|
29069
|
+
/**
|
|
29070
|
+
* @example
|
|
29071
|
+
* StackOverflow Exception
|
|
29072
|
+
*/
|
|
29073
|
+
error?: string;
|
|
29074
|
+
/**
|
|
29075
|
+
* @example
|
|
29076
|
+
* {"text/plain": 2}
|
|
29077
|
+
*/
|
|
29078
|
+
output?: string;
|
|
29079
|
+
/**
|
|
29080
|
+
* @example
|
|
29081
|
+
* TEXT
|
|
29082
|
+
*/
|
|
29083
|
+
outputType?: string;
|
|
29084
|
+
/**
|
|
29085
|
+
* @example
|
|
29086
|
+
* 1730968125000
|
|
29087
|
+
*/
|
|
29088
|
+
startTime?: number;
|
|
29089
|
+
/**
|
|
29090
|
+
* @example
|
|
29091
|
+
* 123
|
|
29092
|
+
*/
|
|
29093
|
+
statementId?: number;
|
|
29094
|
+
static names(): { [key: string]: string } {
|
|
29095
|
+
return {
|
|
29096
|
+
aliyunUid: 'AliyunUid',
|
|
29097
|
+
code: 'Code',
|
|
29098
|
+
codeState: 'CodeState',
|
|
29099
|
+
codeType: 'CodeType',
|
|
29100
|
+
columns: 'Columns',
|
|
29101
|
+
endTime: 'EndTime',
|
|
29102
|
+
error: 'Error',
|
|
29103
|
+
output: 'Output',
|
|
29104
|
+
outputType: 'OutputType',
|
|
29105
|
+
startTime: 'StartTime',
|
|
29106
|
+
statementId: 'StatementId',
|
|
29107
|
+
};
|
|
29108
|
+
}
|
|
29109
|
+
|
|
29110
|
+
static types(): { [key: string]: any } {
|
|
29111
|
+
return {
|
|
29112
|
+
aliyunUid: 'number',
|
|
29113
|
+
code: 'string',
|
|
29114
|
+
codeState: 'string',
|
|
29115
|
+
codeType: 'string',
|
|
29116
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
29117
|
+
endTime: 'number',
|
|
29118
|
+
error: 'string',
|
|
29119
|
+
output: 'string',
|
|
29120
|
+
outputType: 'string',
|
|
29121
|
+
startTime: 'number',
|
|
29122
|
+
statementId: 'number',
|
|
29123
|
+
};
|
|
29124
|
+
}
|
|
29125
|
+
|
|
29126
|
+
constructor(map?: { [key: string]: any }) {
|
|
29127
|
+
super(map);
|
|
29128
|
+
}
|
|
29129
|
+
}
|
|
29130
|
+
|
|
28155
29131
|
export class GetDatabaseObjectsResponseBodyData extends $tea.Model {
|
|
28156
29132
|
/**
|
|
28157
29133
|
* @remarks
|
|
@@ -28635,6 +29611,160 @@ export class GetSparkConfigLogPathResponseBodyData extends $tea.Model {
|
|
|
28635
29611
|
}
|
|
28636
29612
|
}
|
|
28637
29613
|
|
|
29614
|
+
export class GetSparkReplSessionResponseBodyData extends $tea.Model {
|
|
29615
|
+
/**
|
|
29616
|
+
* @example
|
|
29617
|
+
* true
|
|
29618
|
+
*/
|
|
29619
|
+
active?: string;
|
|
29620
|
+
/**
|
|
29621
|
+
* @example
|
|
29622
|
+
* 178157466101****
|
|
29623
|
+
*/
|
|
29624
|
+
aliyunUid?: string;
|
|
29625
|
+
/**
|
|
29626
|
+
* @example
|
|
29627
|
+
* s202301061000hz57d797b00002****
|
|
29628
|
+
*/
|
|
29629
|
+
attemptId?: string;
|
|
29630
|
+
/**
|
|
29631
|
+
* @example
|
|
29632
|
+
* Session timed out
|
|
29633
|
+
*/
|
|
29634
|
+
error?: string;
|
|
29635
|
+
/**
|
|
29636
|
+
* @example
|
|
29637
|
+
* 1
|
|
29638
|
+
*/
|
|
29639
|
+
sessionId?: number;
|
|
29640
|
+
/**
|
|
29641
|
+
* @example
|
|
29642
|
+
* IDEL
|
|
29643
|
+
*/
|
|
29644
|
+
state?: string;
|
|
29645
|
+
/**
|
|
29646
|
+
* @example
|
|
29647
|
+
* https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
|
|
29648
|
+
*/
|
|
29649
|
+
webUiAddress?: string;
|
|
29650
|
+
static names(): { [key: string]: string } {
|
|
29651
|
+
return {
|
|
29652
|
+
active: 'Active',
|
|
29653
|
+
aliyunUid: 'AliyunUid',
|
|
29654
|
+
attemptId: 'AttemptId',
|
|
29655
|
+
error: 'Error',
|
|
29656
|
+
sessionId: 'SessionId',
|
|
29657
|
+
state: 'State',
|
|
29658
|
+
webUiAddress: 'WebUiAddress',
|
|
29659
|
+
};
|
|
29660
|
+
}
|
|
29661
|
+
|
|
29662
|
+
static types(): { [key: string]: any } {
|
|
29663
|
+
return {
|
|
29664
|
+
active: 'string',
|
|
29665
|
+
aliyunUid: 'string',
|
|
29666
|
+
attemptId: 'string',
|
|
29667
|
+
error: 'string',
|
|
29668
|
+
sessionId: 'number',
|
|
29669
|
+
state: 'string',
|
|
29670
|
+
webUiAddress: 'string',
|
|
29671
|
+
};
|
|
29672
|
+
}
|
|
29673
|
+
|
|
29674
|
+
constructor(map?: { [key: string]: any }) {
|
|
29675
|
+
super(map);
|
|
29676
|
+
}
|
|
29677
|
+
}
|
|
29678
|
+
|
|
29679
|
+
export class GetSparkReplStatementResponseBodyData extends $tea.Model {
|
|
29680
|
+
/**
|
|
29681
|
+
* @example
|
|
29682
|
+
* 144740799645****
|
|
29683
|
+
*/
|
|
29684
|
+
aliyunUid?: number;
|
|
29685
|
+
/**
|
|
29686
|
+
* @example
|
|
29687
|
+
* print(1+1)
|
|
29688
|
+
*/
|
|
29689
|
+
code?: string;
|
|
29690
|
+
/**
|
|
29691
|
+
* @example
|
|
29692
|
+
* RUNNING
|
|
29693
|
+
*/
|
|
29694
|
+
codeState?: string;
|
|
29695
|
+
/**
|
|
29696
|
+
* @example
|
|
29697
|
+
* PYTHON
|
|
29698
|
+
*/
|
|
29699
|
+
codeType?: string;
|
|
29700
|
+
columns?: string[];
|
|
29701
|
+
/**
|
|
29702
|
+
* @example
|
|
29703
|
+
* 1730968194000
|
|
29704
|
+
*/
|
|
29705
|
+
endTime?: number;
|
|
29706
|
+
/**
|
|
29707
|
+
* @example
|
|
29708
|
+
* stackoverflow error
|
|
29709
|
+
*/
|
|
29710
|
+
error?: string;
|
|
29711
|
+
/**
|
|
29712
|
+
* @example
|
|
29713
|
+
* {"text/plain": 2}
|
|
29714
|
+
*/
|
|
29715
|
+
output?: string;
|
|
29716
|
+
/**
|
|
29717
|
+
* @example
|
|
29718
|
+
* TEXT
|
|
29719
|
+
*/
|
|
29720
|
+
outputType?: string;
|
|
29721
|
+
/**
|
|
29722
|
+
* @example
|
|
29723
|
+
* 1730968194000
|
|
29724
|
+
*/
|
|
29725
|
+
startTime?: number;
|
|
29726
|
+
/**
|
|
29727
|
+
* @example
|
|
29728
|
+
* 123
|
|
29729
|
+
*/
|
|
29730
|
+
statementId?: number;
|
|
29731
|
+
static names(): { [key: string]: string } {
|
|
29732
|
+
return {
|
|
29733
|
+
aliyunUid: 'AliyunUid',
|
|
29734
|
+
code: 'Code',
|
|
29735
|
+
codeState: 'CodeState',
|
|
29736
|
+
codeType: 'CodeType',
|
|
29737
|
+
columns: 'Columns',
|
|
29738
|
+
endTime: 'EndTime',
|
|
29739
|
+
error: 'Error',
|
|
29740
|
+
output: 'Output',
|
|
29741
|
+
outputType: 'OutputType',
|
|
29742
|
+
startTime: 'StartTime',
|
|
29743
|
+
statementId: 'StatementId',
|
|
29744
|
+
};
|
|
29745
|
+
}
|
|
29746
|
+
|
|
29747
|
+
static types(): { [key: string]: any } {
|
|
29748
|
+
return {
|
|
29749
|
+
aliyunUid: 'number',
|
|
29750
|
+
code: 'string',
|
|
29751
|
+
codeState: 'string',
|
|
29752
|
+
codeType: 'string',
|
|
29753
|
+
columns: { 'type': 'array', 'itemType': 'string' },
|
|
29754
|
+
endTime: 'number',
|
|
29755
|
+
error: 'string',
|
|
29756
|
+
output: 'string',
|
|
29757
|
+
outputType: 'string',
|
|
29758
|
+
startTime: 'number',
|
|
29759
|
+
statementId: 'number',
|
|
29760
|
+
};
|
|
29761
|
+
}
|
|
29762
|
+
|
|
29763
|
+
constructor(map?: { [key: string]: any }) {
|
|
29764
|
+
super(map);
|
|
29765
|
+
}
|
|
29766
|
+
}
|
|
29767
|
+
|
|
28638
29768
|
export class GetSparkSQLEngineStateResponseBodyData extends $tea.Model {
|
|
28639
29769
|
/**
|
|
28640
29770
|
* @remarks
|
|
@@ -29828,6 +30958,64 @@ export class SetSparkAppLogRootPathResponseBodyData extends $tea.Model {
|
|
|
29828
30958
|
}
|
|
29829
30959
|
}
|
|
29830
30960
|
|
|
30961
|
+
export class StartSparkReplSessionResponseBodyData extends $tea.Model {
|
|
30962
|
+
/**
|
|
30963
|
+
* @example
|
|
30964
|
+
* 178157466******
|
|
30965
|
+
*/
|
|
30966
|
+
aliyunUid?: string;
|
|
30967
|
+
/**
|
|
30968
|
+
* @example
|
|
30969
|
+
* s202301061000h****
|
|
30970
|
+
*/
|
|
30971
|
+
attemptId?: string;
|
|
30972
|
+
/**
|
|
30973
|
+
* @example
|
|
30974
|
+
* session time out
|
|
30975
|
+
*/
|
|
30976
|
+
error?: string;
|
|
30977
|
+
/**
|
|
30978
|
+
* @example
|
|
30979
|
+
* 1
|
|
30980
|
+
*/
|
|
30981
|
+
sessionId?: number;
|
|
30982
|
+
/**
|
|
30983
|
+
* @example
|
|
30984
|
+
* IDLE
|
|
30985
|
+
*/
|
|
30986
|
+
state?: string;
|
|
30987
|
+
/**
|
|
30988
|
+
* @example
|
|
30989
|
+
* https://adbsparkui-cn-hangzhou.aliyuncs.com/?token=****
|
|
30990
|
+
*/
|
|
30991
|
+
webUiAddress?: string;
|
|
30992
|
+
static names(): { [key: string]: string } {
|
|
30993
|
+
return {
|
|
30994
|
+
aliyunUid: 'AliyunUid',
|
|
30995
|
+
attemptId: 'AttemptId',
|
|
30996
|
+
error: 'Error',
|
|
30997
|
+
sessionId: 'SessionId',
|
|
30998
|
+
state: 'State',
|
|
30999
|
+
webUiAddress: 'WebUiAddress',
|
|
31000
|
+
};
|
|
31001
|
+
}
|
|
31002
|
+
|
|
31003
|
+
static types(): { [key: string]: any } {
|
|
31004
|
+
return {
|
|
31005
|
+
aliyunUid: 'string',
|
|
31006
|
+
attemptId: 'string',
|
|
31007
|
+
error: 'string',
|
|
31008
|
+
sessionId: 'number',
|
|
31009
|
+
state: 'string',
|
|
31010
|
+
webUiAddress: 'string',
|
|
31011
|
+
};
|
|
31012
|
+
}
|
|
31013
|
+
|
|
31014
|
+
constructor(map?: { [key: string]: any }) {
|
|
31015
|
+
super(map);
|
|
31016
|
+
}
|
|
31017
|
+
}
|
|
31018
|
+
|
|
29831
31019
|
export class StartSparkSQLEngineResponseBodyData extends $tea.Model {
|
|
29832
31020
|
/**
|
|
29833
31021
|
* @remarks
|
|
@@ -30261,6 +31449,56 @@ export default class Client extends OpenApi {
|
|
|
30261
31449
|
return await this.bindDBResourceGroupWithUserWithOptions(request, runtime);
|
|
30262
31450
|
}
|
|
30263
31451
|
|
|
31452
|
+
/**
|
|
31453
|
+
* 终止一段代码
|
|
31454
|
+
*
|
|
31455
|
+
* @param request - CancelSparkReplStatementRequest
|
|
31456
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
31457
|
+
* @returns CancelSparkReplStatementResponse
|
|
31458
|
+
*/
|
|
31459
|
+
async cancelSparkReplStatementWithOptions(request: CancelSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<CancelSparkReplStatementResponse> {
|
|
31460
|
+
Util.validateModel(request);
|
|
31461
|
+
let body : {[key: string ]: any} = { };
|
|
31462
|
+
if (!Util.isUnset(request.appId)) {
|
|
31463
|
+
body["AppId"] = request.appId;
|
|
31464
|
+
}
|
|
31465
|
+
|
|
31466
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
31467
|
+
body["SessionId"] = request.sessionId;
|
|
31468
|
+
}
|
|
31469
|
+
|
|
31470
|
+
if (!Util.isUnset(request.statementId)) {
|
|
31471
|
+
body["StatementId"] = request.statementId;
|
|
31472
|
+
}
|
|
31473
|
+
|
|
31474
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
31475
|
+
body: OpenApiUtil.parseToMap(body),
|
|
31476
|
+
});
|
|
31477
|
+
let params = new $OpenApi.Params({
|
|
31478
|
+
action: "CancelSparkReplStatement",
|
|
31479
|
+
version: "2021-12-01",
|
|
31480
|
+
protocol: "HTTPS",
|
|
31481
|
+
pathname: "/",
|
|
31482
|
+
method: "POST",
|
|
31483
|
+
authType: "AK",
|
|
31484
|
+
style: "RPC",
|
|
31485
|
+
reqBodyType: "formData",
|
|
31486
|
+
bodyType: "json",
|
|
31487
|
+
});
|
|
31488
|
+
return $tea.cast<CancelSparkReplStatementResponse>(await this.callApi(params, req, runtime), new CancelSparkReplStatementResponse({}));
|
|
31489
|
+
}
|
|
31490
|
+
|
|
31491
|
+
/**
|
|
31492
|
+
* 终止一段代码
|
|
31493
|
+
*
|
|
31494
|
+
* @param request - CancelSparkReplStatementRequest
|
|
31495
|
+
* @returns CancelSparkReplStatementResponse
|
|
31496
|
+
*/
|
|
31497
|
+
async cancelSparkReplStatement(request: CancelSparkReplStatementRequest): Promise<CancelSparkReplStatementResponse> {
|
|
31498
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
31499
|
+
return await this.cancelSparkReplStatementWithOptions(request, runtime);
|
|
31500
|
+
}
|
|
31501
|
+
|
|
30264
31502
|
/**
|
|
30265
31503
|
* Queries whether a database account of an AnalyticDB for MySQL cluster is associated with a Resource Access Management (RAM) user.
|
|
30266
31504
|
*
|
|
@@ -32708,7 +33946,7 @@ export default class Client extends OpenApi {
|
|
|
32708
33946
|
}
|
|
32709
33947
|
|
|
32710
33948
|
/**
|
|
32711
|
-
*
|
|
33949
|
+
* Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
32712
33950
|
*
|
|
32713
33951
|
* @param request - DescribeCompactionServiceSwitchRequest
|
|
32714
33952
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32739,7 +33977,7 @@ export default class Client extends OpenApi {
|
|
|
32739
33977
|
}
|
|
32740
33978
|
|
|
32741
33979
|
/**
|
|
32742
|
-
*
|
|
33980
|
+
* Queries whether the remote build feature is enabled in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
32743
33981
|
*
|
|
32744
33982
|
* @param request - DescribeCompactionServiceSwitchRequest
|
|
32745
33983
|
* @returns DescribeCompactionServiceSwitchResponse
|
|
@@ -34563,6 +35801,102 @@ export default class Client extends OpenApi {
|
|
|
34563
35801
|
return await this.describeSchemasWithOptions(request, runtime);
|
|
34564
35802
|
}
|
|
34565
35803
|
|
|
35804
|
+
/**
|
|
35805
|
+
* @param request - DescribeSparkAppDiagnosisInfoRequest
|
|
35806
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
35807
|
+
* @returns DescribeSparkAppDiagnosisInfoResponse
|
|
35808
|
+
*/
|
|
35809
|
+
async describeSparkAppDiagnosisInfoWithOptions(request: DescribeSparkAppDiagnosisInfoRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSparkAppDiagnosisInfoResponse> {
|
|
35810
|
+
Util.validateModel(request);
|
|
35811
|
+
let query = { };
|
|
35812
|
+
if (!Util.isUnset(request.appId)) {
|
|
35813
|
+
query["AppId"] = request.appId;
|
|
35814
|
+
}
|
|
35815
|
+
|
|
35816
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
35817
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
35818
|
+
}
|
|
35819
|
+
|
|
35820
|
+
if (!Util.isUnset(request.language)) {
|
|
35821
|
+
query["Language"] = request.language;
|
|
35822
|
+
}
|
|
35823
|
+
|
|
35824
|
+
if (!Util.isUnset(request.regionId)) {
|
|
35825
|
+
query["RegionId"] = request.regionId;
|
|
35826
|
+
}
|
|
35827
|
+
|
|
35828
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
35829
|
+
query: OpenApiUtil.query(query),
|
|
35830
|
+
});
|
|
35831
|
+
let params = new $OpenApi.Params({
|
|
35832
|
+
action: "DescribeSparkAppDiagnosisInfo",
|
|
35833
|
+
version: "2021-12-01",
|
|
35834
|
+
protocol: "HTTPS",
|
|
35835
|
+
pathname: "/",
|
|
35836
|
+
method: "POST",
|
|
35837
|
+
authType: "AK",
|
|
35838
|
+
style: "RPC",
|
|
35839
|
+
reqBodyType: "formData",
|
|
35840
|
+
bodyType: "json",
|
|
35841
|
+
});
|
|
35842
|
+
return $tea.cast<DescribeSparkAppDiagnosisInfoResponse>(await this.callApi(params, req, runtime), new DescribeSparkAppDiagnosisInfoResponse({}));
|
|
35843
|
+
}
|
|
35844
|
+
|
|
35845
|
+
/**
|
|
35846
|
+
* @param request - DescribeSparkAppDiagnosisInfoRequest
|
|
35847
|
+
* @returns DescribeSparkAppDiagnosisInfoResponse
|
|
35848
|
+
*/
|
|
35849
|
+
async describeSparkAppDiagnosisInfo(request: DescribeSparkAppDiagnosisInfoRequest): Promise<DescribeSparkAppDiagnosisInfoResponse> {
|
|
35850
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
35851
|
+
return await this.describeSparkAppDiagnosisInfoWithOptions(request, runtime);
|
|
35852
|
+
}
|
|
35853
|
+
|
|
35854
|
+
/**
|
|
35855
|
+
* @param request - DescribeSparkAppTypeRequest
|
|
35856
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
35857
|
+
* @returns DescribeSparkAppTypeResponse
|
|
35858
|
+
*/
|
|
35859
|
+
async describeSparkAppTypeWithOptions(request: DescribeSparkAppTypeRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSparkAppTypeResponse> {
|
|
35860
|
+
Util.validateModel(request);
|
|
35861
|
+
let query = { };
|
|
35862
|
+
if (!Util.isUnset(request.appId)) {
|
|
35863
|
+
query["AppId"] = request.appId;
|
|
35864
|
+
}
|
|
35865
|
+
|
|
35866
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
35867
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
35868
|
+
}
|
|
35869
|
+
|
|
35870
|
+
if (!Util.isUnset(request.regionId)) {
|
|
35871
|
+
query["RegionId"] = request.regionId;
|
|
35872
|
+
}
|
|
35873
|
+
|
|
35874
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
35875
|
+
query: OpenApiUtil.query(query),
|
|
35876
|
+
});
|
|
35877
|
+
let params = new $OpenApi.Params({
|
|
35878
|
+
action: "DescribeSparkAppType",
|
|
35879
|
+
version: "2021-12-01",
|
|
35880
|
+
protocol: "HTTPS",
|
|
35881
|
+
pathname: "/",
|
|
35882
|
+
method: "POST",
|
|
35883
|
+
authType: "AK",
|
|
35884
|
+
style: "RPC",
|
|
35885
|
+
reqBodyType: "formData",
|
|
35886
|
+
bodyType: "json",
|
|
35887
|
+
});
|
|
35888
|
+
return $tea.cast<DescribeSparkAppTypeResponse>(await this.callApi(params, req, runtime), new DescribeSparkAppTypeResponse({}));
|
|
35889
|
+
}
|
|
35890
|
+
|
|
35891
|
+
/**
|
|
35892
|
+
* @param request - DescribeSparkAppTypeRequest
|
|
35893
|
+
* @returns DescribeSparkAppTypeResponse
|
|
35894
|
+
*/
|
|
35895
|
+
async describeSparkAppType(request: DescribeSparkAppTypeRequest): Promise<DescribeSparkAppTypeResponse> {
|
|
35896
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
35897
|
+
return await this.describeSparkAppTypeWithOptions(request, runtime);
|
|
35898
|
+
}
|
|
35899
|
+
|
|
34566
35900
|
/**
|
|
34567
35901
|
* Queries the execution logs of Spark code.
|
|
34568
35902
|
*
|
|
@@ -35295,6 +36629,60 @@ export default class Client extends OpenApi {
|
|
|
35295
36629
|
return await this.enableElasticPlanWithOptions(request, runtime);
|
|
35296
36630
|
}
|
|
35297
36631
|
|
|
36632
|
+
/**
|
|
36633
|
+
* 执行一段代码
|
|
36634
|
+
*
|
|
36635
|
+
* @param request - ExecuteSparkReplStatementRequest
|
|
36636
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
36637
|
+
* @returns ExecuteSparkReplStatementResponse
|
|
36638
|
+
*/
|
|
36639
|
+
async executeSparkReplStatementWithOptions(request: ExecuteSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<ExecuteSparkReplStatementResponse> {
|
|
36640
|
+
Util.validateModel(request);
|
|
36641
|
+
let body : {[key: string ]: any} = { };
|
|
36642
|
+
if (!Util.isUnset(request.appId)) {
|
|
36643
|
+
body["AppId"] = request.appId;
|
|
36644
|
+
}
|
|
36645
|
+
|
|
36646
|
+
if (!Util.isUnset(request.code)) {
|
|
36647
|
+
body["Code"] = request.code;
|
|
36648
|
+
}
|
|
36649
|
+
|
|
36650
|
+
if (!Util.isUnset(request.codeType)) {
|
|
36651
|
+
body["CodeType"] = request.codeType;
|
|
36652
|
+
}
|
|
36653
|
+
|
|
36654
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
36655
|
+
body["SessionId"] = request.sessionId;
|
|
36656
|
+
}
|
|
36657
|
+
|
|
36658
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
36659
|
+
body: OpenApiUtil.parseToMap(body),
|
|
36660
|
+
});
|
|
36661
|
+
let params = new $OpenApi.Params({
|
|
36662
|
+
action: "ExecuteSparkReplStatement",
|
|
36663
|
+
version: "2021-12-01",
|
|
36664
|
+
protocol: "HTTPS",
|
|
36665
|
+
pathname: "/",
|
|
36666
|
+
method: "POST",
|
|
36667
|
+
authType: "AK",
|
|
36668
|
+
style: "RPC",
|
|
36669
|
+
reqBodyType: "formData",
|
|
36670
|
+
bodyType: "json",
|
|
36671
|
+
});
|
|
36672
|
+
return $tea.cast<ExecuteSparkReplStatementResponse>(await this.callApi(params, req, runtime), new ExecuteSparkReplStatementResponse({}));
|
|
36673
|
+
}
|
|
36674
|
+
|
|
36675
|
+
/**
|
|
36676
|
+
* 执行一段代码
|
|
36677
|
+
*
|
|
36678
|
+
* @param request - ExecuteSparkReplStatementRequest
|
|
36679
|
+
* @returns ExecuteSparkReplStatementResponse
|
|
36680
|
+
*/
|
|
36681
|
+
async executeSparkReplStatement(request: ExecuteSparkReplStatementRequest): Promise<ExecuteSparkReplStatementResponse> {
|
|
36682
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
36683
|
+
return await this.executeSparkReplStatementWithOptions(request, runtime);
|
|
36684
|
+
}
|
|
36685
|
+
|
|
35298
36686
|
/**
|
|
35299
36687
|
* Queries whether a running SQL engine exists.
|
|
35300
36688
|
*
|
|
@@ -35897,6 +37285,102 @@ export default class Client extends OpenApi {
|
|
|
35897
37285
|
return await this.getSparkLogAnalyzeTaskWithOptions(request, runtime);
|
|
35898
37286
|
}
|
|
35899
37287
|
|
|
37288
|
+
/**
|
|
37289
|
+
* 获取一个可交互Session
|
|
37290
|
+
*
|
|
37291
|
+
* @param request - GetSparkReplSessionRequest
|
|
37292
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37293
|
+
* @returns GetSparkReplSessionResponse
|
|
37294
|
+
*/
|
|
37295
|
+
async getSparkReplSessionWithOptions(request: GetSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplSessionResponse> {
|
|
37296
|
+
Util.validateModel(request);
|
|
37297
|
+
let body : {[key: string ]: any} = { };
|
|
37298
|
+
if (!Util.isUnset(request.appId)) {
|
|
37299
|
+
body["AppId"] = request.appId;
|
|
37300
|
+
}
|
|
37301
|
+
|
|
37302
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
37303
|
+
body["SessionId"] = request.sessionId;
|
|
37304
|
+
}
|
|
37305
|
+
|
|
37306
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37307
|
+
body: OpenApiUtil.parseToMap(body),
|
|
37308
|
+
});
|
|
37309
|
+
let params = new $OpenApi.Params({
|
|
37310
|
+
action: "GetSparkReplSession",
|
|
37311
|
+
version: "2021-12-01",
|
|
37312
|
+
protocol: "HTTPS",
|
|
37313
|
+
pathname: "/",
|
|
37314
|
+
method: "POST",
|
|
37315
|
+
authType: "AK",
|
|
37316
|
+
style: "RPC",
|
|
37317
|
+
reqBodyType: "formData",
|
|
37318
|
+
bodyType: "json",
|
|
37319
|
+
});
|
|
37320
|
+
return $tea.cast<GetSparkReplSessionResponse>(await this.callApi(params, req, runtime), new GetSparkReplSessionResponse({}));
|
|
37321
|
+
}
|
|
37322
|
+
|
|
37323
|
+
/**
|
|
37324
|
+
* 获取一个可交互Session
|
|
37325
|
+
*
|
|
37326
|
+
* @param request - GetSparkReplSessionRequest
|
|
37327
|
+
* @returns GetSparkReplSessionResponse
|
|
37328
|
+
*/
|
|
37329
|
+
async getSparkReplSession(request: GetSparkReplSessionRequest): Promise<GetSparkReplSessionResponse> {
|
|
37330
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37331
|
+
return await this.getSparkReplSessionWithOptions(request, runtime);
|
|
37332
|
+
}
|
|
37333
|
+
|
|
37334
|
+
/**
|
|
37335
|
+
* 获取一段代码的执行结果
|
|
37336
|
+
*
|
|
37337
|
+
* @param request - GetSparkReplStatementRequest
|
|
37338
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
37339
|
+
* @returns GetSparkReplStatementResponse
|
|
37340
|
+
*/
|
|
37341
|
+
async getSparkReplStatementWithOptions(request: GetSparkReplStatementRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkReplStatementResponse> {
|
|
37342
|
+
Util.validateModel(request);
|
|
37343
|
+
let body : {[key: string ]: any} = { };
|
|
37344
|
+
if (!Util.isUnset(request.appId)) {
|
|
37345
|
+
body["AppId"] = request.appId;
|
|
37346
|
+
}
|
|
37347
|
+
|
|
37348
|
+
if (!Util.isUnset(request.sessionId)) {
|
|
37349
|
+
body["SessionId"] = request.sessionId;
|
|
37350
|
+
}
|
|
37351
|
+
|
|
37352
|
+
if (!Util.isUnset(request.statementId)) {
|
|
37353
|
+
body["StatementId"] = request.statementId;
|
|
37354
|
+
}
|
|
37355
|
+
|
|
37356
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
37357
|
+
body: OpenApiUtil.parseToMap(body),
|
|
37358
|
+
});
|
|
37359
|
+
let params = new $OpenApi.Params({
|
|
37360
|
+
action: "GetSparkReplStatement",
|
|
37361
|
+
version: "2021-12-01",
|
|
37362
|
+
protocol: "HTTPS",
|
|
37363
|
+
pathname: "/",
|
|
37364
|
+
method: "POST",
|
|
37365
|
+
authType: "AK",
|
|
37366
|
+
style: "RPC",
|
|
37367
|
+
reqBodyType: "formData",
|
|
37368
|
+
bodyType: "json",
|
|
37369
|
+
});
|
|
37370
|
+
return $tea.cast<GetSparkReplStatementResponse>(await this.callApi(params, req, runtime), new GetSparkReplStatementResponse({}));
|
|
37371
|
+
}
|
|
37372
|
+
|
|
37373
|
+
/**
|
|
37374
|
+
* 获取一段代码的执行结果
|
|
37375
|
+
*
|
|
37376
|
+
* @param request - GetSparkReplStatementRequest
|
|
37377
|
+
* @returns GetSparkReplStatementResponse
|
|
37378
|
+
*/
|
|
37379
|
+
async getSparkReplStatement(request: GetSparkReplStatementRequest): Promise<GetSparkReplStatementResponse> {
|
|
37380
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
37381
|
+
return await this.getSparkReplStatementWithOptions(request, runtime);
|
|
37382
|
+
}
|
|
37383
|
+
|
|
35900
37384
|
/**
|
|
35901
37385
|
* Queries the state information about the Spark SQL engine.
|
|
35902
37386
|
*
|
|
@@ -37512,7 +38996,7 @@ export default class Client extends OpenApi {
|
|
|
37512
38996
|
}
|
|
37513
38997
|
|
|
37514
38998
|
/**
|
|
37515
|
-
*
|
|
38999
|
+
* Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
37516
39000
|
*
|
|
37517
39001
|
* @param request - ModifyCompactionServiceSwitchRequest
|
|
37518
39002
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37547,7 +39031,7 @@ export default class Client extends OpenApi {
|
|
|
37547
39031
|
}
|
|
37548
39032
|
|
|
37549
39033
|
/**
|
|
37550
|
-
*
|
|
39034
|
+
* Modifies the status of the remote build feature in the query acceleration configuration of an AnalyticDB for MySQL cluster.
|
|
37551
39035
|
*
|
|
37552
39036
|
* @param request - ModifyCompactionServiceSwitchRequest
|
|
37553
39037
|
* @returns ModifyCompactionServiceSwitchResponse
|
|
@@ -38539,6 +40023,56 @@ export default class Client extends OpenApi {
|
|
|
38539
40023
|
return await this.setSparkAppLogRootPathWithOptions(request, runtime);
|
|
38540
40024
|
}
|
|
38541
40025
|
|
|
40026
|
+
/**
|
|
40027
|
+
* 启动一个可交互Session
|
|
40028
|
+
*
|
|
40029
|
+
* @param request - StartSparkReplSessionRequest
|
|
40030
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
40031
|
+
* @returns StartSparkReplSessionResponse
|
|
40032
|
+
*/
|
|
40033
|
+
async startSparkReplSessionWithOptions(request: StartSparkReplSessionRequest, runtime: $Util.RuntimeOptions): Promise<StartSparkReplSessionResponse> {
|
|
40034
|
+
Util.validateModel(request);
|
|
40035
|
+
let body : {[key: string ]: any} = { };
|
|
40036
|
+
if (!Util.isUnset(request.config)) {
|
|
40037
|
+
body["Config"] = request.config;
|
|
40038
|
+
}
|
|
40039
|
+
|
|
40040
|
+
if (!Util.isUnset(request.DBClusterId)) {
|
|
40041
|
+
body["DBClusterId"] = request.DBClusterId;
|
|
40042
|
+
}
|
|
40043
|
+
|
|
40044
|
+
if (!Util.isUnset(request.resourceGroupName)) {
|
|
40045
|
+
body["ResourceGroupName"] = request.resourceGroupName;
|
|
40046
|
+
}
|
|
40047
|
+
|
|
40048
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
40049
|
+
body: OpenApiUtil.parseToMap(body),
|
|
40050
|
+
});
|
|
40051
|
+
let params = new $OpenApi.Params({
|
|
40052
|
+
action: "StartSparkReplSession",
|
|
40053
|
+
version: "2021-12-01",
|
|
40054
|
+
protocol: "HTTPS",
|
|
40055
|
+
pathname: "/",
|
|
40056
|
+
method: "POST",
|
|
40057
|
+
authType: "AK",
|
|
40058
|
+
style: "RPC",
|
|
40059
|
+
reqBodyType: "formData",
|
|
40060
|
+
bodyType: "json",
|
|
40061
|
+
});
|
|
40062
|
+
return $tea.cast<StartSparkReplSessionResponse>(await this.callApi(params, req, runtime), new StartSparkReplSessionResponse({}));
|
|
40063
|
+
}
|
|
40064
|
+
|
|
40065
|
+
/**
|
|
40066
|
+
* 启动一个可交互Session
|
|
40067
|
+
*
|
|
40068
|
+
* @param request - StartSparkReplSessionRequest
|
|
40069
|
+
* @returns StartSparkReplSessionResponse
|
|
40070
|
+
*/
|
|
40071
|
+
async startSparkReplSession(request: StartSparkReplSessionRequest): Promise<StartSparkReplSessionResponse> {
|
|
40072
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
40073
|
+
return await this.startSparkReplSessionWithOptions(request, runtime);
|
|
40074
|
+
}
|
|
40075
|
+
|
|
38542
40076
|
/**
|
|
38543
40077
|
* Starts the Spark SQL engine.
|
|
38544
40078
|
*
|