@alicloud/adb20211201 3.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/adb20211201",
3
- "version": "3.1.0",
3
+ "version": "3.2.0",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -12110,6 +12110,314 @@ export class DescribeSchemasResponse extends $tea.Model {
12110
12110
  }
12111
12111
  }
12112
12112
 
12113
+ export class DescribeSparkAppDiagnosisInfoRequest extends $tea.Model {
12114
+ /**
12115
+ * @remarks
12116
+ * This parameter is required.
12117
+ *
12118
+ * @example
12119
+ * s202411061017sh0ad564b000****
12120
+ */
12121
+ appId?: string;
12122
+ /**
12123
+ * @remarks
12124
+ * This parameter is required.
12125
+ *
12126
+ * @example
12127
+ * amv-uf663j39b0jd2***
12128
+ */
12129
+ DBClusterId?: string;
12130
+ /**
12131
+ * @remarks
12132
+ * This parameter is required.
12133
+ *
12134
+ * @example
12135
+ * PYTHON
12136
+ */
12137
+ language?: string;
12138
+ /**
12139
+ * @remarks
12140
+ * This parameter is required.
12141
+ *
12142
+ * @example
12143
+ * cn-hangzhou
12144
+ */
12145
+ regionId?: string;
12146
+ static names(): { [key: string]: string } {
12147
+ return {
12148
+ appId: 'AppId',
12149
+ DBClusterId: 'DBClusterId',
12150
+ language: 'Language',
12151
+ regionId: 'RegionId',
12152
+ };
12153
+ }
12154
+
12155
+ static types(): { [key: string]: any } {
12156
+ return {
12157
+ appId: 'string',
12158
+ DBClusterId: 'string',
12159
+ language: 'string',
12160
+ regionId: 'string',
12161
+ };
12162
+ }
12163
+
12164
+ constructor(map?: { [key: string]: any }) {
12165
+ super(map);
12166
+ }
12167
+ }
12168
+
12169
+ export class DescribeSparkAppDiagnosisInfoResponseBody extends $tea.Model {
12170
+ /**
12171
+ * @example
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
+ * }
12181
+ */
12182
+ accessDeniedDetail?: string;
12183
+ /**
12184
+ * @example
12185
+ * s202404141952sz6a1391200****
12186
+ */
12187
+ appId?: string;
12188
+ /**
12189
+ * @example
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
12212
+ */
12213
+ requestId?: string;
12214
+ /**
12215
+ * @example
12216
+ * 4096000
12217
+ */
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;
12239
+ static names(): { [key: string]: string } {
12240
+ return {
12241
+ accessDeniedDetail: 'AccessDeniedDetail',
12242
+ appId: 'AppId',
12243
+ cpuUtilization: 'CpuUtilization',
12244
+ diagnosisInfoList: 'DiagnosisInfoList',
12245
+ durationInMillis: 'DurationInMillis',
12246
+ JVMGcCostInMillis: 'JVMGcCostInMillis',
12247
+ peakMemoryInByte: 'PeakMemoryInByte',
12248
+ requestId: 'RequestId',
12249
+ shuffleReadInByte: 'ShuffleReadInByte',
12250
+ shuffleWriteInByte: 'ShuffleWriteInByte',
12251
+ spillInByte: 'SpillInByte',
12252
+ startedTime: 'StartedTime',
12253
+ state: 'State',
12254
+ };
12255
+ }
12256
+
12257
+ static types(): { [key: string]: any } {
12258
+ return {
12259
+ accessDeniedDetail: 'string',
12260
+ appId: 'string',
12261
+ cpuUtilization: 'number',
12262
+ diagnosisInfoList: { 'type': 'array', 'itemType': Adb4MysqlSparkDiagnosisInfo },
12263
+ durationInMillis: 'number',
12264
+ JVMGcCostInMillis: 'number',
12265
+ peakMemoryInByte: 'number',
12266
+ requestId: 'string',
12267
+ shuffleReadInByte: 'number',
12268
+ shuffleWriteInByte: 'number',
12269
+ spillInByte: 'number',
12270
+ startedTime: 'number',
12271
+ state: 'string',
12272
+ };
12273
+ }
12274
+
12275
+ constructor(map?: { [key: string]: any }) {
12276
+ super(map);
12277
+ }
12278
+ }
12279
+
12280
+ export class DescribeSparkAppDiagnosisInfoResponse extends $tea.Model {
12281
+ headers?: { [key: string]: string };
12282
+ statusCode?: number;
12283
+ body?: DescribeSparkAppDiagnosisInfoResponseBody;
12284
+ static names(): { [key: string]: string } {
12285
+ return {
12286
+ headers: 'headers',
12287
+ statusCode: 'statusCode',
12288
+ body: 'body',
12289
+ };
12290
+ }
12291
+
12292
+ static types(): { [key: string]: any } {
12293
+ return {
12294
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12295
+ statusCode: 'number',
12296
+ body: DescribeSparkAppDiagnosisInfoResponseBody,
12297
+ };
12298
+ }
12299
+
12300
+ constructor(map?: { [key: string]: any }) {
12301
+ super(map);
12302
+ }
12303
+ }
12304
+
12305
+ export class DescribeSparkAppTypeRequest extends $tea.Model {
12306
+ /**
12307
+ * @remarks
12308
+ * This parameter is required.
12309
+ *
12310
+ * @example
12311
+ * s202407161205sza4c07c1000****
12312
+ */
12313
+ appId?: string;
12314
+ /**
12315
+ * @remarks
12316
+ * This parameter is required.
12317
+ *
12318
+ * @example
12319
+ * am-wz9w49b12933****
12320
+ */
12321
+ DBClusterId?: string;
12322
+ /**
12323
+ * @remarks
12324
+ * This parameter is required.
12325
+ *
12326
+ * @example
12327
+ * cn-shenzhen
12328
+ */
12329
+ regionId?: string;
12330
+ static names(): { [key: string]: string } {
12331
+ return {
12332
+ appId: 'AppId',
12333
+ DBClusterId: 'DBClusterId',
12334
+ regionId: 'RegionId',
12335
+ };
12336
+ }
12337
+
12338
+ static types(): { [key: string]: any } {
12339
+ return {
12340
+ appId: 'string',
12341
+ DBClusterId: 'string',
12342
+ regionId: 'string',
12343
+ };
12344
+ }
12345
+
12346
+ constructor(map?: { [key: string]: any }) {
12347
+ super(map);
12348
+ }
12349
+ }
12350
+
12351
+ export class DescribeSparkAppTypeResponseBody extends $tea.Model {
12352
+ /**
12353
+ * @example
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
+ * }
12363
+ */
12364
+ accessDeniedDetail?: string;
12365
+ /**
12366
+ * @example
12367
+ * 596AF63B-8798-501E-BA06-CD2184D48A35
12368
+ */
12369
+ requestId?: string;
12370
+ /**
12371
+ * @example
12372
+ * Batch
12373
+ */
12374
+ type?: string;
12375
+ static names(): { [key: string]: string } {
12376
+ return {
12377
+ accessDeniedDetail: 'AccessDeniedDetail',
12378
+ requestId: 'RequestId',
12379
+ type: 'Type',
12380
+ };
12381
+ }
12382
+
12383
+ static types(): { [key: string]: any } {
12384
+ return {
12385
+ accessDeniedDetail: 'string',
12386
+ requestId: 'string',
12387
+ type: 'string',
12388
+ };
12389
+ }
12390
+
12391
+ constructor(map?: { [key: string]: any }) {
12392
+ super(map);
12393
+ }
12394
+ }
12395
+
12396
+ export class DescribeSparkAppTypeResponse extends $tea.Model {
12397
+ headers?: { [key: string]: string };
12398
+ statusCode?: number;
12399
+ body?: DescribeSparkAppTypeResponseBody;
12400
+ static names(): { [key: string]: string } {
12401
+ return {
12402
+ headers: 'headers',
12403
+ statusCode: 'statusCode',
12404
+ body: 'body',
12405
+ };
12406
+ }
12407
+
12408
+ static types(): { [key: string]: any } {
12409
+ return {
12410
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12411
+ statusCode: 'number',
12412
+ body: DescribeSparkAppTypeResponseBody,
12413
+ };
12414
+ }
12415
+
12416
+ constructor(map?: { [key: string]: any }) {
12417
+ super(map);
12418
+ }
12419
+ }
12420
+
12113
12421
  export class DescribeSparkCodeLogRequest extends $tea.Model {
12114
12422
  /**
12115
12423
  * @remarks
@@ -35493,6 +35801,102 @@ export default class Client extends OpenApi {
35493
35801
  return await this.describeSchemasWithOptions(request, runtime);
35494
35802
  }
35495
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
+
35496
35900
  /**
35497
35901
  * Queries the execution logs of Spark code.
35498
35902
  *