@alicloud/das20200116 2.0.2 → 2.1.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/src/client.ts CHANGED
@@ -8,29 +8,8 @@ import EndpointUtil from '@alicloud/endpoint-util';
8
8
  import * as $tea from '@alicloud/tea-typescript';
9
9
 
10
10
  export class DataResultValue extends $tea.Model {
11
- /**
12
- * @remarks
13
- * The SQL ID.
14
- *
15
- * @example
16
- * ad78a4e7d3ce81590c9dc2d5f4bc****
17
- */
18
11
  sqlId?: string;
19
- /**
20
- * @remarks
21
- * The instance ID.
22
- *
23
- * @example
24
- * rm-2ze8g2am97624****
25
- */
26
12
  instanceId?: string;
27
- /**
28
- * @remarks
29
- * The number of failed executions.
30
- *
31
- * @example
32
- * 1
33
- */
34
13
  count?: number;
35
14
  static names(): { [key: string]: string } {
36
15
  return {
@@ -428,256 +407,6 @@ export class AddHDMInstanceResponse extends $tea.Model {
428
407
  }
429
408
  }
430
409
 
431
- export class CreateAdamBenchTaskRequest extends $tea.Model {
432
- /**
433
- * @remarks
434
- * The description of the stress testing task.
435
- *
436
- * This parameter is required.
437
- *
438
- * @example
439
- * test-das-bench-0501
440
- */
441
- description?: string;
442
- /**
443
- * @remarks
444
- * The ID of the destination instance. The instance must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance. You can call the [GetInstanceInspections](https://help.aliyun.com/document_detail/202857.html) operation to query the ID.
445
- *
446
- * This parameter is required.
447
- *
448
- * @example
449
- * rm-2ze1jdv45i7l6****
450
- */
451
- dstInstanceId?: string;
452
- /**
453
- * @remarks
454
- * The name of the privileged account for the destination instance.
455
- *
456
- * This parameter is required.
457
- *
458
- * @example
459
- * root***
460
- */
461
- dstSuperAccount?: string;
462
- /**
463
- * @remarks
464
- * The password of the privileged account for the destination instance.
465
- *
466
- * This parameter is required.
467
- *
468
- * @example
469
- * root***1234
470
- */
471
- dstSuperPassword?: string;
472
- /**
473
- * @remarks
474
- * The rate at which the traffic captured from the source database instance is replayed on the destination database instance. Valid values: 1 to 30. Default value: 1.
475
- *
476
- * @example
477
- * 1
478
- */
479
- rate?: number;
480
- /**
481
- * @remarks
482
- * The duration of the stress testing task for which the traffic is captured from the source instance. Unit: milliseconds.
483
- *
484
- * This parameter is required.
485
- *
486
- * @example
487
- * 86400000
488
- */
489
- requestDuration?: number;
490
- /**
491
- * @remarks
492
- * The start time of the stress testing task. Specify the time in the UNIX timestamp format. Unit: milliseconds.
493
- *
494
- * This parameter is required.
495
- *
496
- * @example
497
- * 1588819800000
498
- */
499
- requestStartTime?: number;
500
- /**
501
- * @remarks
502
- * The database engine that the source database instance runs.
503
- *
504
- * @example
505
- * MySQL
506
- */
507
- srcEngine?: string;
508
- /**
509
- * @remarks
510
- * The version of the database engine that the source database instance runs.
511
- *
512
- * @example
513
- * 9i
514
- */
515
- srcEngineVersion?: string;
516
- /**
517
- * @remarks
518
- * The maximum number of queries per second (QPS) within the time period during which traffic on the source database instance is captured. The value must be accurate to two decimal places.
519
- *
520
- * This parameter is required.
521
- *
522
- * @example
523
- * 2013.22
524
- */
525
- srcMaxQps?: number;
526
- /**
527
- * @remarks
528
- * The average QPS within the time period in which traffic on the source database instance is captured. The value must be accurate to two decimal places.
529
- *
530
- * This parameter is required.
531
- *
532
- * @example
533
- * 312.22
534
- */
535
- srcMeanQps?: number;
536
- /**
537
- * @remarks
538
- * The URL of the Object Storage Service (OSS) folder in which the archived objects for SQL statements that run on the source database instance are stored. You can obtain the URL after you upload the archived files to OSS.
539
- *
540
- * This parameter is required.
541
- *
542
- * @example
543
- * http://rdslog-hz-v3.oss-cn-hangzhou.aliyuncs.com/custins4131****
544
- */
545
- srcSqlOssAddr?: string;
546
- static names(): { [key: string]: string } {
547
- return {
548
- description: 'Description',
549
- dstInstanceId: 'DstInstanceId',
550
- dstSuperAccount: 'DstSuperAccount',
551
- dstSuperPassword: 'DstSuperPassword',
552
- rate: 'Rate',
553
- requestDuration: 'RequestDuration',
554
- requestStartTime: 'RequestStartTime',
555
- srcEngine: 'SrcEngine',
556
- srcEngineVersion: 'SrcEngineVersion',
557
- srcMaxQps: 'SrcMaxQps',
558
- srcMeanQps: 'SrcMeanQps',
559
- srcSqlOssAddr: 'SrcSqlOssAddr',
560
- };
561
- }
562
-
563
- static types(): { [key: string]: any } {
564
- return {
565
- description: 'string',
566
- dstInstanceId: 'string',
567
- dstSuperAccount: 'string',
568
- dstSuperPassword: 'string',
569
- rate: 'number',
570
- requestDuration: 'number',
571
- requestStartTime: 'number',
572
- srcEngine: 'string',
573
- srcEngineVersion: 'string',
574
- srcMaxQps: 'number',
575
- srcMeanQps: 'number',
576
- srcSqlOssAddr: 'string',
577
- };
578
- }
579
-
580
- constructor(map?: { [key: string]: any }) {
581
- super(map);
582
- }
583
- }
584
-
585
- export class CreateAdamBenchTaskResponseBody extends $tea.Model {
586
- /**
587
- * @remarks
588
- * The HTTP status code returned.
589
- *
590
- * @example
591
- * 200
592
- */
593
- code?: string;
594
- /**
595
- * @remarks
596
- * The detailed information, including the error codes and the number of entries that are returned.
597
- *
598
- * @example
599
- * "Data": { "total": 1, "list":[...] }, "Code": 200, "Success": true }
600
- */
601
- data?: string;
602
- /**
603
- * @remarks
604
- * The returned message.
605
- *
606
- * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
607
- *
608
- * @example
609
- * Successful
610
- */
611
- message?: string;
612
- /**
613
- * @remarks
614
- * The request ID.
615
- *
616
- * @example
617
- * B6D17591-B48B-4D31-9CD6-9B9796B2****
618
- */
619
- requestId?: string;
620
- /**
621
- * @remarks
622
- * Indicates whether the request was successful. Valid values:
623
- *
624
- * * **true**: The request was successful.
625
- * * **false**: The request failed.
626
- *
627
- * @example
628
- * true
629
- */
630
- success?: string;
631
- static names(): { [key: string]: string } {
632
- return {
633
- code: 'Code',
634
- data: 'Data',
635
- message: 'Message',
636
- requestId: 'RequestId',
637
- success: 'Success',
638
- };
639
- }
640
-
641
- static types(): { [key: string]: any } {
642
- return {
643
- code: 'string',
644
- data: 'string',
645
- message: 'string',
646
- requestId: 'string',
647
- success: 'string',
648
- };
649
- }
650
-
651
- constructor(map?: { [key: string]: any }) {
652
- super(map);
653
- }
654
- }
655
-
656
- export class CreateAdamBenchTaskResponse extends $tea.Model {
657
- headers?: { [key: string]: string };
658
- statusCode?: number;
659
- body?: CreateAdamBenchTaskResponseBody;
660
- static names(): { [key: string]: string } {
661
- return {
662
- headers: 'headers',
663
- statusCode: 'statusCode',
664
- body: 'body',
665
- };
666
- }
667
-
668
- static types(): { [key: string]: any } {
669
- return {
670
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
671
- statusCode: 'number',
672
- body: CreateAdamBenchTaskResponseBody,
673
- };
674
- }
675
-
676
- constructor(map?: { [key: string]: any }) {
677
- super(map);
678
- }
679
- }
680
-
681
410
  export class CreateCacheAnalysisJobRequest extends $tea.Model {
682
411
  /**
683
412
  * @remarks
@@ -1710,6 +1439,115 @@ export class CreateKillInstanceSessionTaskWithMaintainUserResponse extends $tea.
1710
1439
  }
1711
1440
  }
1712
1441
 
1442
+ export class CreateLatestDeadLockAnalysisRequest extends $tea.Model {
1443
+ /**
1444
+ * @remarks
1445
+ * This parameter is required.
1446
+ *
1447
+ * @example
1448
+ * pc-bp1u5mas9exx7****
1449
+ */
1450
+ instanceId?: string;
1451
+ /**
1452
+ * @example
1453
+ * pi-bp16v3824rt73****
1454
+ */
1455
+ nodeId?: string;
1456
+ static names(): { [key: string]: string } {
1457
+ return {
1458
+ instanceId: 'InstanceId',
1459
+ nodeId: 'NodeId',
1460
+ };
1461
+ }
1462
+
1463
+ static types(): { [key: string]: any } {
1464
+ return {
1465
+ instanceId: 'string',
1466
+ nodeId: 'string',
1467
+ };
1468
+ }
1469
+
1470
+ constructor(map?: { [key: string]: any }) {
1471
+ super(map);
1472
+ }
1473
+ }
1474
+
1475
+ export class CreateLatestDeadLockAnalysisResponseBody extends $tea.Model {
1476
+ /**
1477
+ * @example
1478
+ * 200
1479
+ */
1480
+ code?: number;
1481
+ /**
1482
+ * @example
1483
+ * true
1484
+ */
1485
+ data?: boolean;
1486
+ /**
1487
+ * @example
1488
+ * Successful
1489
+ */
1490
+ message?: string;
1491
+ /**
1492
+ * @example
1493
+ * B6D17591-B48B-4D31-9CD6-9B9796B2****
1494
+ */
1495
+ requestId?: string;
1496
+ /**
1497
+ * @example
1498
+ * true
1499
+ */
1500
+ success?: boolean;
1501
+ static names(): { [key: string]: string } {
1502
+ return {
1503
+ code: 'Code',
1504
+ data: 'Data',
1505
+ message: 'Message',
1506
+ requestId: 'RequestId',
1507
+ success: 'Success',
1508
+ };
1509
+ }
1510
+
1511
+ static types(): { [key: string]: any } {
1512
+ return {
1513
+ code: 'number',
1514
+ data: 'boolean',
1515
+ message: 'string',
1516
+ requestId: 'string',
1517
+ success: 'boolean',
1518
+ };
1519
+ }
1520
+
1521
+ constructor(map?: { [key: string]: any }) {
1522
+ super(map);
1523
+ }
1524
+ }
1525
+
1526
+ export class CreateLatestDeadLockAnalysisResponse extends $tea.Model {
1527
+ headers?: { [key: string]: string };
1528
+ statusCode?: number;
1529
+ body?: CreateLatestDeadLockAnalysisResponseBody;
1530
+ static names(): { [key: string]: string } {
1531
+ return {
1532
+ headers: 'headers',
1533
+ statusCode: 'statusCode',
1534
+ body: 'body',
1535
+ };
1536
+ }
1537
+
1538
+ static types(): { [key: string]: any } {
1539
+ return {
1540
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
1541
+ statusCode: 'number',
1542
+ body: CreateLatestDeadLockAnalysisResponseBody,
1543
+ };
1544
+ }
1545
+
1546
+ constructor(map?: { [key: string]: any }) {
1547
+ super(map);
1548
+ }
1549
+ }
1550
+
1713
1551
  export class CreateQueryOptimizeTagRequest extends $tea.Model {
1714
1552
  /**
1715
1553
  * @remarks
@@ -2713,7 +2551,7 @@ export class DescribeAutoScalingConfigResponseBody extends $tea.Model {
2713
2551
  code?: string;
2714
2552
  /**
2715
2553
  * @remarks
2716
- * The configurations of the auto scaling feature.
2554
+ * The configurations of the auto scaling feature for instances.
2717
2555
  */
2718
2556
  data?: DescribeAutoScalingConfigResponseBodyData;
2719
2557
  /**
@@ -4301,7 +4139,7 @@ export class DescribeSqlLogConfigResponseBody extends $tea.Model {
4301
4139
  code?: string;
4302
4140
  /**
4303
4141
  * @remarks
4304
- * The data returned.
4142
+ * The data that is returned.
4305
4143
  */
4306
4144
  data?: DescribeSqlLogConfigResponseBodyData;
4307
4145
  /**
@@ -4889,7 +4727,7 @@ export class DescribeSqlLogTasksRequest extends $tea.Model {
4889
4727
  pageNo?: number;
4890
4728
  /**
4891
4729
  * @remarks
4892
- * The number of entries per page. Default value: 10.
4730
+ * The number of entries per page. Valid values: 1 to 100. Default value: 10.
4893
4731
  *
4894
4732
  * @example
4895
4733
  * 10
@@ -7901,9 +7739,7 @@ export class GetAutonomousNotifyEventsInRangeResponse extends $tea.Model {
7901
7739
  export class GetBlockingDetailListRequest extends $tea.Model {
7902
7740
  /**
7903
7741
  * @remarks
7904
- * The database name list.
7905
- *
7906
- * * Separate multiple database names with commas (,).
7742
+ * The name of the database. Separate multiple database names with commas (,).
7907
7743
  *
7908
7744
  * @example
7909
7745
  * school1,school2
@@ -7921,7 +7757,7 @@ export class GetBlockingDetailListRequest extends $tea.Model {
7921
7757
  endTime?: string;
7922
7758
  /**
7923
7759
  * @remarks
7924
- * The database instance ID.
7760
+ * The ID of the database instance.
7925
7761
  *
7926
7762
  * This parameter is required.
7927
7763
  *
@@ -7947,7 +7783,7 @@ export class GetBlockingDetailListRequest extends $tea.Model {
7947
7783
  pageSize?: string;
7948
7784
  /**
7949
7785
  * @remarks
7950
- * The hash value of the SQL statement.
7786
+ * The hash value of the SQL statement. The hash values of SQL statements of the same type are the same.
7951
7787
  *
7952
7788
  * @example
7953
7789
  * DC08B955CAD25E7B
@@ -7955,7 +7791,7 @@ export class GetBlockingDetailListRequest extends $tea.Model {
7955
7791
  queryHash?: string;
7956
7792
  /**
7957
7793
  * @remarks
7958
- * The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
7794
+ * The beginning of the time range to query. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
7959
7795
  *
7960
7796
  * This parameter is required.
7961
7797
  *
@@ -8026,10 +7862,10 @@ export class GetBlockingDetailListResponseBody extends $tea.Model {
8026
7862
  requestId?: string;
8027
7863
  /**
8028
7864
  * @remarks
8029
- * Indicates whether the request is successful. Valid values:
7865
+ * Indicates whether the request was successful. Valid values:
8030
7866
  *
8031
- * * true
8032
- * * false
7867
+ * * **true**
7868
+ * * **false**
8033
7869
  *
8034
7870
  * @example
8035
7871
  * true
@@ -8520,7 +8356,7 @@ export class GetDasSQLLogHotDataRequest extends $tea.Model {
8520
8356
  * @remarks
8521
8357
  * The keyword that is used for the query.
8522
8358
  *
8523
- * > The keyword must be at least four characters in length. You can specify multiple keywords that are separated by spaces. Fuzzy queries are not supported.
8359
+ * > Fuzzy search is not supported. You can query data by using multiple keywords. Separate keywords with spaces.
8524
8360
  *
8525
8361
  * @example
8526
8362
  * test
@@ -8572,9 +8408,9 @@ export class GetDasSQLLogHotDataRequest extends $tea.Model {
8572
8408
  sqlType?: string;
8573
8409
  /**
8574
8410
  * @remarks
8575
- * The beginning of the time range to query. Specify the time in the UNIX timestamp format. Unit: millisecond.
8411
+ * The beginning of the time range to query. Specify a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
8576
8412
  *
8577
- * > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time.
8413
+ * > The beginning of the time range to query must be later than the time when DAS Enterprise Edition is enabled, and can be up to seven days earlier than the current time.
8578
8414
  *
8579
8415
  * This parameter is required.
8580
8416
  *
@@ -8780,80 +8616,48 @@ export class GetDasSQLLogHotDataResponse extends $tea.Model {
8780
8616
  }
8781
8617
  }
8782
8618
 
8783
- export class GetDeadLockDetailListRequest extends $tea.Model {
8784
- /**
8785
- * @remarks
8786
- * The database name list.
8787
- *
8788
- * @example
8789
- * school1,school2
8790
- */
8791
- dbNameList?: string;
8619
+ export class GetDeadLockDetailRequest extends $tea.Model {
8792
8620
  /**
8793
8621
  * @remarks
8794
- * The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
8795
- *
8796
8622
  * This parameter is required.
8797
8623
  *
8798
8624
  * @example
8799
- * 1702360530292
8800
- */
8801
- endTime?: string;
8802
- /**
8803
- * @remarks
8804
- * The instance ID.
8805
- *
8806
- * This parameter is required.
8807
- *
8808
- * @example
8809
- * rm-2ze2016723b328gs2
8625
+ * pc-bp1u5mas9exx7****
8810
8626
  */
8811
8627
  instanceId?: string;
8812
8628
  /**
8813
- * @remarks
8814
- * The page number. The value must be an integer that is greater than 0. Default value: 1.
8815
- *
8816
8629
  * @example
8817
- * 1
8630
+ * pi-bp16v3824rt73****
8818
8631
  */
8819
- pageNo?: string;
8632
+ nodeId?: string;
8820
8633
  /**
8821
- * @remarks
8822
- * The number of entries per page. Default value: 10.
8823
- *
8824
8634
  * @example
8825
- * 5
8635
+ * AUTO
8826
8636
  */
8827
- pageSize?: string;
8637
+ source?: string;
8828
8638
  /**
8829
8639
  * @remarks
8830
- * The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
8831
- *
8832
8640
  * This parameter is required.
8833
8641
  *
8834
8642
  * @example
8835
- * 1701755730292
8643
+ * a0e390cd5aca9ae964448f040153****
8836
8644
  */
8837
- startTime?: string;
8645
+ textId?: string;
8838
8646
  static names(): { [key: string]: string } {
8839
8647
  return {
8840
- dbNameList: 'DbNameList',
8841
- endTime: 'EndTime',
8842
8648
  instanceId: 'InstanceId',
8843
- pageNo: 'PageNo',
8844
- pageSize: 'PageSize',
8845
- startTime: 'StartTime',
8649
+ nodeId: 'NodeId',
8650
+ source: 'Source',
8651
+ textId: 'TextId',
8846
8652
  };
8847
8653
  }
8848
8654
 
8849
8655
  static types(): { [key: string]: any } {
8850
8656
  return {
8851
- dbNameList: 'string',
8852
- endTime: 'string',
8853
8657
  instanceId: 'string',
8854
- pageNo: 'string',
8855
- pageSize: 'string',
8856
- startTime: 'string',
8658
+ nodeId: 'string',
8659
+ source: 'string',
8660
+ textId: 'string',
8857
8661
  };
8858
8662
  }
8859
8663
 
@@ -8862,145 +8666,32 @@ export class GetDeadLockDetailListRequest extends $tea.Model {
8862
8666
  }
8863
8667
  }
8864
8668
 
8865
- export class GetDeadLockDetailListResponseBody extends $tea.Model {
8669
+ export class GetDeadLockDetailResponseBody extends $tea.Model {
8866
8670
  /**
8867
- * @remarks
8868
- * The HTTP status code returned.
8869
- *
8870
8671
  * @example
8871
8672
  * 200
8872
8673
  */
8873
8674
  code?: string;
8675
+ data?: string;
8874
8676
  /**
8875
- * @remarks
8876
- * The returned data.
8877
- */
8878
- data?: GetDeadLockDetailListResponseBodyData;
8879
- /**
8880
- * @remarks
8881
- * The returned message.
8882
- *
8883
- * > If the request is successful, **Successful** is returned. Otherwise, an error message such as an error code is returned.
8884
- *
8885
8677
  * @example
8886
8678
  * Successful
8887
8679
  */
8888
8680
  message?: string;
8889
8681
  /**
8890
- * @remarks
8891
- * The request ID.
8892
- *
8893
8682
  * @example
8894
- * 840F51F7-9C01-538D-94F6-AE712905****
8683
+ * 9CB97BC4-6479-55D0-B9D0-EA925AFE****
8895
8684
  */
8896
8685
  requestId?: string;
8897
8686
  /**
8898
- * @remarks
8899
- * Indicates whether the request is successful. Valid values:
8900
- *
8901
- * * **true**
8902
- * * **false**
8903
- *
8904
8687
  * @example
8905
8688
  * true
8906
8689
  */
8907
8690
  success?: string;
8908
- static names(): { [key: string]: string } {
8909
- return {
8910
- code: 'Code',
8911
- data: 'Data',
8912
- message: 'Message',
8913
- requestId: 'RequestId',
8914
- success: 'Success',
8915
- };
8916
- }
8917
-
8918
- static types(): { [key: string]: any } {
8919
- return {
8920
- code: 'string',
8921
- data: GetDeadLockDetailListResponseBodyData,
8922
- message: 'string',
8923
- requestId: 'string',
8924
- success: 'string',
8925
- };
8926
- }
8927
-
8928
- constructor(map?: { [key: string]: any }) {
8929
- super(map);
8930
- }
8931
- }
8932
-
8933
- export class GetDeadLockDetailListResponse extends $tea.Model {
8934
- headers?: { [key: string]: string };
8935
- statusCode?: number;
8936
- body?: GetDeadLockDetailListResponseBody;
8937
- static names(): { [key: string]: string } {
8938
- return {
8939
- headers: 'headers',
8940
- statusCode: 'statusCode',
8941
- body: 'body',
8942
- };
8943
- }
8944
-
8945
- static types(): { [key: string]: any } {
8946
- return {
8947
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8948
- statusCode: 'number',
8949
- body: GetDeadLockDetailListResponseBody,
8950
- };
8951
- }
8952
-
8953
- constructor(map?: { [key: string]: any }) {
8954
- super(map);
8955
- }
8956
- }
8957
-
8958
- export class GetEndpointSwitchTaskRequest extends $tea.Model {
8959
- taskId?: string;
8960
- uid?: string;
8961
- userId?: string;
8962
- context?: string;
8963
- accessKey?: string;
8964
- signature?: string;
8965
- skipAuth?: string;
8966
- timestamp?: string;
8967
- static names(): { [key: string]: string } {
8968
- return {
8969
- taskId: 'TaskId',
8970
- uid: 'Uid',
8971
- userId: 'UserId',
8972
- context: '__context',
8973
- accessKey: 'accessKey',
8974
- signature: 'signature',
8975
- skipAuth: 'skipAuth',
8976
- timestamp: 'timestamp',
8977
- };
8978
- }
8979
-
8980
- static types(): { [key: string]: any } {
8981
- return {
8982
- taskId: 'string',
8983
- uid: 'string',
8984
- userId: 'string',
8985
- context: 'string',
8986
- accessKey: 'string',
8987
- signature: 'string',
8988
- skipAuth: 'string',
8989
- timestamp: 'string',
8990
- };
8991
- }
8992
-
8993
- constructor(map?: { [key: string]: any }) {
8994
- super(map);
8995
- }
8996
- }
8997
-
8998
- export class GetEndpointSwitchTaskResponseBody extends $tea.Model {
8999
- code?: string;
9000
- data?: GetEndpointSwitchTaskResponseBodyData;
9001
- message?: string;
9002
- requestId?: string;
9003
- success?: string;
8691
+ /**
8692
+ * @example
8693
+ * None
8694
+ */
9004
8695
  synchro?: string;
9005
8696
  static names(): { [key: string]: string } {
9006
8697
  return {
@@ -9016,7 +8707,7 @@ export class GetEndpointSwitchTaskResponseBody extends $tea.Model {
9016
8707
  static types(): { [key: string]: any } {
9017
8708
  return {
9018
8709
  code: 'string',
9019
- data: GetEndpointSwitchTaskResponseBodyData,
8710
+ data: 'string',
9020
8711
  message: 'string',
9021
8712
  requestId: 'string',
9022
8713
  success: 'string',
@@ -9029,10 +8720,10 @@ export class GetEndpointSwitchTaskResponseBody extends $tea.Model {
9029
8720
  }
9030
8721
  }
9031
8722
 
9032
- export class GetEndpointSwitchTaskResponse extends $tea.Model {
8723
+ export class GetDeadLockDetailResponse extends $tea.Model {
9033
8724
  headers?: { [key: string]: string };
9034
8725
  statusCode?: number;
9035
- body?: GetEndpointSwitchTaskResponseBody;
8726
+ body?: GetDeadLockDetailResponseBody;
9036
8727
  static names(): { [key: string]: string } {
9037
8728
  return {
9038
8729
  headers: 'headers',
@@ -9045,7 +8736,7 @@ export class GetEndpointSwitchTaskResponse extends $tea.Model {
9045
8736
  return {
9046
8737
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9047
8738
  statusCode: 'number',
9048
- body: GetEndpointSwitchTaskResponseBody,
8739
+ body: GetDeadLockDetailResponseBody,
9049
8740
  };
9050
8741
  }
9051
8742
 
@@ -9054,206 +8745,80 @@ export class GetEndpointSwitchTaskResponse extends $tea.Model {
9054
8745
  }
9055
8746
  }
9056
8747
 
9057
- export class GetErrorRequestSampleRequest extends $tea.Model {
8748
+ export class GetDeadLockDetailListRequest extends $tea.Model {
9058
8749
  /**
9059
8750
  * @remarks
9060
- * The name of the database.
8751
+ * The name of the database. When you specify multiple databases, you must separate the database names with commas (,).
9061
8752
  *
9062
8753
  * @example
9063
- * testdb01
8754
+ * school1,school2
9064
8755
  */
9065
- dbName?: string;
8756
+ dbNameList?: string;
9066
8757
  /**
9067
8758
  * @remarks
9068
8759
  * The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
9069
8760
  *
9070
- * > The end time must be later than the start time. The interval cannot exceed 24 hours.
8761
+ * This parameter is required.
9071
8762
  *
9072
8763
  * @example
9073
- * 1642566830000
8764
+ * 1702360530292
9074
8765
  */
9075
- end?: number;
8766
+ endTime?: string;
9076
8767
  /**
9077
8768
  * @remarks
9078
- * The instance ID.
8769
+ * The ID of the database instance.
9079
8770
  *
9080
8771
  * This parameter is required.
9081
8772
  *
9082
8773
  * @example
9083
- * rm-2ze8g2am97624****
8774
+ * rm-2ze2016723b328gs2
9084
8775
  */
9085
8776
  instanceId?: string;
9086
8777
  /**
9087
8778
  * @remarks
9088
- * The node ID.
9089
- *
9090
- * > You must specify the node ID if your database instance is a PolarDB for MySQL cluster.
8779
+ * The page number. The value must be an integer that is greater than 0. Default value: 1.
9091
8780
  *
9092
8781
  * @example
9093
- * pi-bp179lg03445l****
8782
+ * 1
9094
8783
  */
9095
- nodeId?: string;
8784
+ pageNo?: string;
9096
8785
  /**
9097
8786
  * @remarks
9098
- * The SQL query ID. You can call the [GetAsyncErrorRequestListByCode](https://help.aliyun.com/document_detail/410746.html) operation to query the ID of the SQL query for which MySQL error code is returned.
8787
+ * The number of entries per page. Default value: 10.
9099
8788
  *
9100
8789
  * @example
9101
- * 2cd4432556c3dab9d825ba363637****
8790
+ * 5
9102
8791
  */
9103
- sqlId?: string;
8792
+ pageSize?: string;
9104
8793
  /**
9105
8794
  * @remarks
9106
8795
  * The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
9107
8796
  *
9108
- * > The start time must be within the storage duration of the SQL Explorer feature of the database instance, and can be up to 90 days earlier than the current time.
9109
- *
9110
- * @example
9111
- * 1642556990714
9112
- */
9113
- start?: number;
9114
- static names(): { [key: string]: string } {
9115
- return {
9116
- dbName: 'DbName',
9117
- end: 'End',
9118
- instanceId: 'InstanceId',
9119
- nodeId: 'NodeId',
9120
- sqlId: 'SqlId',
9121
- start: 'Start',
9122
- };
9123
- }
9124
-
9125
- static types(): { [key: string]: any } {
9126
- return {
9127
- dbName: 'string',
9128
- end: 'number',
9129
- instanceId: 'string',
9130
- nodeId: 'string',
9131
- sqlId: 'string',
9132
- start: 'number',
9133
- };
9134
- }
9135
-
9136
- constructor(map?: { [key: string]: any }) {
9137
- super(map);
9138
- }
9139
- }
9140
-
9141
- export class GetErrorRequestSampleResponseBody extends $tea.Model {
9142
- /**
9143
- * @remarks
9144
- * The HTTP status code returned.
9145
- *
9146
- * @example
9147
- * 200
9148
- */
9149
- code?: number;
9150
- /**
9151
- * @remarks
9152
- * The returned data.
9153
- *
9154
- * @example
9155
- * [ { "sqlId": "2cd4432556c3dab9d825ba363637****", "database": "dbgateway", "originHost": "172.16.1****", "tables": [ "meter_****" ], "instanceId": "rm-2ze8g2am97624****", "errorCode": "1062", "user": "dbgat****", "sql": "insert into meter_****\\n ( \\n ****\\n )\\n values (now(), now(), \\"bbbc8624-5e19-455a-9714-8466f688****\\", \\"2022-02-10 14:00:00\\", \\"{\\"endTime\\":\\"2022-02-10 14:00:00\\",\\"endTimestamp\\":1644472800,\\"startTime\\":\\"2022-02-10 13:00:00\\",\\"startTimestamp\\":1644469200}\\", null, null)", "timestamp": 1644476100435 }]
9156
- */
9157
- data?: GetErrorRequestSampleResponseBodyData[];
9158
- /**
9159
- * @remarks
9160
- * The returned message.
9161
- *
9162
- * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
9163
- *
9164
- * @example
9165
- * Successful
9166
- */
9167
- message?: string;
9168
- /**
9169
- * @remarks
9170
- * The request ID.
9171
- *
9172
- * @example
9173
- * 7172BECE-588A-5961-8126-C216E16B****
9174
- */
9175
- requestId?: string;
9176
- /**
9177
- * @remarks
9178
- * Indicates whether the request was successful. Valid values:
9179
- *
9180
- * * **true**
9181
- * * **false**
9182
- *
9183
- * @example
9184
- * true
9185
- */
9186
- success?: boolean;
9187
- static names(): { [key: string]: string } {
9188
- return {
9189
- code: 'Code',
9190
- data: 'Data',
9191
- message: 'Message',
9192
- requestId: 'RequestId',
9193
- success: 'Success',
9194
- };
9195
- }
9196
-
9197
- static types(): { [key: string]: any } {
9198
- return {
9199
- code: 'number',
9200
- data: { 'type': 'array', 'itemType': GetErrorRequestSampleResponseBodyData },
9201
- message: 'string',
9202
- requestId: 'string',
9203
- success: 'boolean',
9204
- };
9205
- }
9206
-
9207
- constructor(map?: { [key: string]: any }) {
9208
- super(map);
9209
- }
9210
- }
9211
-
9212
- export class GetErrorRequestSampleResponse extends $tea.Model {
9213
- headers?: { [key: string]: string };
9214
- statusCode?: number;
9215
- body?: GetErrorRequestSampleResponseBody;
9216
- static names(): { [key: string]: string } {
9217
- return {
9218
- headers: 'headers',
9219
- statusCode: 'statusCode',
9220
- body: 'body',
9221
- };
9222
- }
9223
-
9224
- static types(): { [key: string]: any } {
9225
- return {
9226
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9227
- statusCode: 'number',
9228
- body: GetErrorRequestSampleResponseBody,
9229
- };
9230
- }
9231
-
9232
- constructor(map?: { [key: string]: any }) {
9233
- super(map);
9234
- }
9235
- }
9236
-
9237
- export class GetEventSubscriptionRequest extends $tea.Model {
9238
- /**
9239
- * @remarks
9240
- * The instance ID.
9241
- *
9242
8797
  * This parameter is required.
9243
8798
  *
9244
8799
  * @example
9245
- * rm-2ze8g2am97624****
8800
+ * 1701755730292
9246
8801
  */
9247
- instanceId?: string;
8802
+ startTime?: string;
9248
8803
  static names(): { [key: string]: string } {
9249
8804
  return {
8805
+ dbNameList: 'DbNameList',
8806
+ endTime: 'EndTime',
9250
8807
  instanceId: 'InstanceId',
8808
+ pageNo: 'PageNo',
8809
+ pageSize: 'PageSize',
8810
+ startTime: 'StartTime',
9251
8811
  };
9252
8812
  }
9253
8813
 
9254
8814
  static types(): { [key: string]: any } {
9255
8815
  return {
8816
+ dbNameList: 'string',
8817
+ endTime: 'string',
9256
8818
  instanceId: 'string',
8819
+ pageNo: 'string',
8820
+ pageSize: 'string',
8821
+ startTime: 'string',
9257
8822
  };
9258
8823
  }
9259
8824
 
@@ -9262,7 +8827,7 @@ export class GetEventSubscriptionRequest extends $tea.Model {
9262
8827
  }
9263
8828
  }
9264
8829
 
9265
- export class GetEventSubscriptionResponseBody extends $tea.Model {
8830
+ export class GetDeadLockDetailListResponseBody extends $tea.Model {
9266
8831
  /**
9267
8832
  * @remarks
9268
8833
  * The HTTP status code returned.
@@ -9275,12 +8840,12 @@ export class GetEventSubscriptionResponseBody extends $tea.Model {
9275
8840
  * @remarks
9276
8841
  * The data returned.
9277
8842
  */
9278
- data?: GetEventSubscriptionResponseBodyData;
8843
+ data?: GetDeadLockDetailListResponseBodyData;
9279
8844
  /**
9280
8845
  * @remarks
9281
8846
  * The returned message.
9282
8847
  *
9283
- * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
8848
+ * > If the request is successful, **Successful** is returned. Otherwise, an error message such as an error code is returned.
9284
8849
  *
9285
8850
  * @example
9286
8851
  * Successful
@@ -9291,12 +8856,723 @@ export class GetEventSubscriptionResponseBody extends $tea.Model {
9291
8856
  * The request ID.
9292
8857
  *
9293
8858
  * @example
9294
- * B6D17591-B48B-4D31-9CD6-9B9796B2****
8859
+ * 840F51F7-9C01-538D-94F6-AE712905****
9295
8860
  */
9296
8861
  requestId?: string;
9297
8862
  /**
9298
8863
  * @remarks
9299
- * Indicates whether the request was successful. Valid values:
8864
+ * Indicates whether the request is successful. Valid values:
8865
+ *
8866
+ * * **true**
8867
+ * * **false**
8868
+ *
8869
+ * @example
8870
+ * true
8871
+ */
8872
+ success?: string;
8873
+ static names(): { [key: string]: string } {
8874
+ return {
8875
+ code: 'Code',
8876
+ data: 'Data',
8877
+ message: 'Message',
8878
+ requestId: 'RequestId',
8879
+ success: 'Success',
8880
+ };
8881
+ }
8882
+
8883
+ static types(): { [key: string]: any } {
8884
+ return {
8885
+ code: 'string',
8886
+ data: GetDeadLockDetailListResponseBodyData,
8887
+ message: 'string',
8888
+ requestId: 'string',
8889
+ success: 'string',
8890
+ };
8891
+ }
8892
+
8893
+ constructor(map?: { [key: string]: any }) {
8894
+ super(map);
8895
+ }
8896
+ }
8897
+
8898
+ export class GetDeadLockDetailListResponse extends $tea.Model {
8899
+ headers?: { [key: string]: string };
8900
+ statusCode?: number;
8901
+ body?: GetDeadLockDetailListResponseBody;
8902
+ static names(): { [key: string]: string } {
8903
+ return {
8904
+ headers: 'headers',
8905
+ statusCode: 'statusCode',
8906
+ body: 'body',
8907
+ };
8908
+ }
8909
+
8910
+ static types(): { [key: string]: any } {
8911
+ return {
8912
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8913
+ statusCode: 'number',
8914
+ body: GetDeadLockDetailListResponseBody,
8915
+ };
8916
+ }
8917
+
8918
+ constructor(map?: { [key: string]: any }) {
8919
+ super(map);
8920
+ }
8921
+ }
8922
+
8923
+ export class GetDeadLockHistoryRequest extends $tea.Model {
8924
+ /**
8925
+ * @remarks
8926
+ * This parameter is required.
8927
+ *
8928
+ * @example
8929
+ * 1732069466000
8930
+ */
8931
+ endTime?: number;
8932
+ /**
8933
+ * @remarks
8934
+ * This parameter is required.
8935
+ *
8936
+ * @example
8937
+ * pc-bp1u5mas9exx7****
8938
+ */
8939
+ instanceId?: string;
8940
+ /**
8941
+ * @example
8942
+ * pi-bp16v3824rt73****
8943
+ */
8944
+ nodeId?: string;
8945
+ /**
8946
+ * @example
8947
+ * 1
8948
+ */
8949
+ pageNo?: number;
8950
+ /**
8951
+ * @example
8952
+ * 10
8953
+ */
8954
+ pageSize?: number;
8955
+ /**
8956
+ * @example
8957
+ * AUTO
8958
+ */
8959
+ source?: string;
8960
+ /**
8961
+ * @remarks
8962
+ * This parameter is required.
8963
+ *
8964
+ * @example
8965
+ * 1731983066000
8966
+ */
8967
+ startTime?: number;
8968
+ static names(): { [key: string]: string } {
8969
+ return {
8970
+ endTime: 'EndTime',
8971
+ instanceId: 'InstanceId',
8972
+ nodeId: 'NodeId',
8973
+ pageNo: 'PageNo',
8974
+ pageSize: 'PageSize',
8975
+ source: 'Source',
8976
+ startTime: 'StartTime',
8977
+ };
8978
+ }
8979
+
8980
+ static types(): { [key: string]: any } {
8981
+ return {
8982
+ endTime: 'number',
8983
+ instanceId: 'string',
8984
+ nodeId: 'string',
8985
+ pageNo: 'number',
8986
+ pageSize: 'number',
8987
+ source: 'string',
8988
+ startTime: 'number',
8989
+ };
8990
+ }
8991
+
8992
+ constructor(map?: { [key: string]: any }) {
8993
+ super(map);
8994
+ }
8995
+ }
8996
+
8997
+ export class GetDeadLockHistoryResponseBody extends $tea.Model {
8998
+ /**
8999
+ * @example
9000
+ * 200
9001
+ */
9002
+ code?: string;
9003
+ /**
9004
+ * @example
9005
+ * {
9006
+ * "total": 2,
9007
+ * "list": [
9008
+ * {
9009
+ * "accountId": "108************",
9010
+ * "textId": "35303d12d52d29ba73bb85fa2d5b****",
9011
+ * "gmtModified": 1732712680000,
9012
+ * "lockTime": 1732687047000,
9013
+ * "gmtCreate": 1732712680000,
9014
+ * "nodeId": "pi-8****************",
9015
+ * "uuid": "pc-8v**************"
9016
+ * },
9017
+ * {
9018
+ * "accountId": "108************",
9019
+ * "textId": "50a24bdcc5fe7e03f92a55ae7574****",
9020
+ * "gmtModified": 1732626448000,
9021
+ * "lockTime": 1722500305000,
9022
+ * "gmtCreate": 1732626448000,
9023
+ * "nodeId": "pi-8****************",
9024
+ * "uuid": "pc-8v**************"
9025
+ * }
9026
+ * ]
9027
+ * }
9028
+ */
9029
+ data?: string;
9030
+ /**
9031
+ * @example
9032
+ * Successful
9033
+ */
9034
+ message?: string;
9035
+ /**
9036
+ * @example
9037
+ * B6D17591-B48B-4D31-9CD6-9B9796B2****
9038
+ */
9039
+ requestId?: string;
9040
+ /**
9041
+ * @example
9042
+ * true
9043
+ */
9044
+ success?: string;
9045
+ /**
9046
+ * @example
9047
+ * None
9048
+ */
9049
+ synchro?: string;
9050
+ static names(): { [key: string]: string } {
9051
+ return {
9052
+ code: 'Code',
9053
+ data: 'Data',
9054
+ message: 'Message',
9055
+ requestId: 'RequestId',
9056
+ success: 'Success',
9057
+ synchro: 'Synchro',
9058
+ };
9059
+ }
9060
+
9061
+ static types(): { [key: string]: any } {
9062
+ return {
9063
+ code: 'string',
9064
+ data: 'string',
9065
+ message: 'string',
9066
+ requestId: 'string',
9067
+ success: 'string',
9068
+ synchro: 'string',
9069
+ };
9070
+ }
9071
+
9072
+ constructor(map?: { [key: string]: any }) {
9073
+ super(map);
9074
+ }
9075
+ }
9076
+
9077
+ export class GetDeadLockHistoryResponse extends $tea.Model {
9078
+ headers?: { [key: string]: string };
9079
+ statusCode?: number;
9080
+ body?: GetDeadLockHistoryResponseBody;
9081
+ static names(): { [key: string]: string } {
9082
+ return {
9083
+ headers: 'headers',
9084
+ statusCode: 'statusCode',
9085
+ body: 'body',
9086
+ };
9087
+ }
9088
+
9089
+ static types(): { [key: string]: any } {
9090
+ return {
9091
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9092
+ statusCode: 'number',
9093
+ body: GetDeadLockHistoryResponseBody,
9094
+ };
9095
+ }
9096
+
9097
+ constructor(map?: { [key: string]: any }) {
9098
+ super(map);
9099
+ }
9100
+ }
9101
+
9102
+ export class GetDeadlockHistogramRequest extends $tea.Model {
9103
+ /**
9104
+ * @remarks
9105
+ * This parameter is required.
9106
+ *
9107
+ * @example
9108
+ * 1732069466000
9109
+ */
9110
+ endTime?: number;
9111
+ /**
9112
+ * @remarks
9113
+ * This parameter is required.
9114
+ *
9115
+ * @example
9116
+ * pc-bp1u5mas9exx7****
9117
+ */
9118
+ instanceId?: string;
9119
+ /**
9120
+ * @example
9121
+ * pi-bp16v3824rt73****
9122
+ */
9123
+ nodeId?: string;
9124
+ /**
9125
+ * @remarks
9126
+ * This parameter is required.
9127
+ *
9128
+ * @example
9129
+ * 1731983066000
9130
+ */
9131
+ startTime?: number;
9132
+ /**
9133
+ * @example
9134
+ * SUCCESS
9135
+ */
9136
+ status?: string;
9137
+ static names(): { [key: string]: string } {
9138
+ return {
9139
+ endTime: 'EndTime',
9140
+ instanceId: 'InstanceId',
9141
+ nodeId: 'NodeId',
9142
+ startTime: 'StartTime',
9143
+ status: 'Status',
9144
+ };
9145
+ }
9146
+
9147
+ static types(): { [key: string]: any } {
9148
+ return {
9149
+ endTime: 'number',
9150
+ instanceId: 'string',
9151
+ nodeId: 'string',
9152
+ startTime: 'number',
9153
+ status: 'string',
9154
+ };
9155
+ }
9156
+
9157
+ constructor(map?: { [key: string]: any }) {
9158
+ super(map);
9159
+ }
9160
+ }
9161
+
9162
+ export class GetDeadlockHistogramResponseBody extends $tea.Model {
9163
+ /**
9164
+ * @example
9165
+ * 200
9166
+ */
9167
+ code?: number;
9168
+ data?: GetDeadlockHistogramResponseBodyData[];
9169
+ /**
9170
+ * @example
9171
+ * Successful
9172
+ */
9173
+ message?: string;
9174
+ /**
9175
+ * @example
9176
+ * 0A74B755-98B7-59DB-8724-1321B394****
9177
+ */
9178
+ requestId?: string;
9179
+ /**
9180
+ * @example
9181
+ * true
9182
+ */
9183
+ success?: boolean;
9184
+ static names(): { [key: string]: string } {
9185
+ return {
9186
+ code: 'Code',
9187
+ data: 'Data',
9188
+ message: 'Message',
9189
+ requestId: 'RequestId',
9190
+ success: 'Success',
9191
+ };
9192
+ }
9193
+
9194
+ static types(): { [key: string]: any } {
9195
+ return {
9196
+ code: 'number',
9197
+ data: { 'type': 'array', 'itemType': GetDeadlockHistogramResponseBodyData },
9198
+ message: 'string',
9199
+ requestId: 'string',
9200
+ success: 'boolean',
9201
+ };
9202
+ }
9203
+
9204
+ constructor(map?: { [key: string]: any }) {
9205
+ super(map);
9206
+ }
9207
+ }
9208
+
9209
+ export class GetDeadlockHistogramResponse extends $tea.Model {
9210
+ headers?: { [key: string]: string };
9211
+ statusCode?: number;
9212
+ body?: GetDeadlockHistogramResponseBody;
9213
+ static names(): { [key: string]: string } {
9214
+ return {
9215
+ headers: 'headers',
9216
+ statusCode: 'statusCode',
9217
+ body: 'body',
9218
+ };
9219
+ }
9220
+
9221
+ static types(): { [key: string]: any } {
9222
+ return {
9223
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9224
+ statusCode: 'number',
9225
+ body: GetDeadlockHistogramResponseBody,
9226
+ };
9227
+ }
9228
+
9229
+ constructor(map?: { [key: string]: any }) {
9230
+ super(map);
9231
+ }
9232
+ }
9233
+
9234
+ export class GetEndpointSwitchTaskRequest extends $tea.Model {
9235
+ taskId?: string;
9236
+ uid?: string;
9237
+ userId?: string;
9238
+ context?: string;
9239
+ accessKey?: string;
9240
+ signature?: string;
9241
+ skipAuth?: string;
9242
+ timestamp?: string;
9243
+ static names(): { [key: string]: string } {
9244
+ return {
9245
+ taskId: 'TaskId',
9246
+ uid: 'Uid',
9247
+ userId: 'UserId',
9248
+ context: '__context',
9249
+ accessKey: 'accessKey',
9250
+ signature: 'signature',
9251
+ skipAuth: 'skipAuth',
9252
+ timestamp: 'timestamp',
9253
+ };
9254
+ }
9255
+
9256
+ static types(): { [key: string]: any } {
9257
+ return {
9258
+ taskId: 'string',
9259
+ uid: 'string',
9260
+ userId: 'string',
9261
+ context: 'string',
9262
+ accessKey: 'string',
9263
+ signature: 'string',
9264
+ skipAuth: 'string',
9265
+ timestamp: 'string',
9266
+ };
9267
+ }
9268
+
9269
+ constructor(map?: { [key: string]: any }) {
9270
+ super(map);
9271
+ }
9272
+ }
9273
+
9274
+ export class GetEndpointSwitchTaskResponseBody extends $tea.Model {
9275
+ code?: string;
9276
+ data?: GetEndpointSwitchTaskResponseBodyData;
9277
+ message?: string;
9278
+ requestId?: string;
9279
+ success?: string;
9280
+ synchro?: string;
9281
+ static names(): { [key: string]: string } {
9282
+ return {
9283
+ code: 'Code',
9284
+ data: 'Data',
9285
+ message: 'Message',
9286
+ requestId: 'RequestId',
9287
+ success: 'Success',
9288
+ synchro: 'Synchro',
9289
+ };
9290
+ }
9291
+
9292
+ static types(): { [key: string]: any } {
9293
+ return {
9294
+ code: 'string',
9295
+ data: GetEndpointSwitchTaskResponseBodyData,
9296
+ message: 'string',
9297
+ requestId: 'string',
9298
+ success: 'string',
9299
+ synchro: 'string',
9300
+ };
9301
+ }
9302
+
9303
+ constructor(map?: { [key: string]: any }) {
9304
+ super(map);
9305
+ }
9306
+ }
9307
+
9308
+ export class GetEndpointSwitchTaskResponse extends $tea.Model {
9309
+ headers?: { [key: string]: string };
9310
+ statusCode?: number;
9311
+ body?: GetEndpointSwitchTaskResponseBody;
9312
+ static names(): { [key: string]: string } {
9313
+ return {
9314
+ headers: 'headers',
9315
+ statusCode: 'statusCode',
9316
+ body: 'body',
9317
+ };
9318
+ }
9319
+
9320
+ static types(): { [key: string]: any } {
9321
+ return {
9322
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9323
+ statusCode: 'number',
9324
+ body: GetEndpointSwitchTaskResponseBody,
9325
+ };
9326
+ }
9327
+
9328
+ constructor(map?: { [key: string]: any }) {
9329
+ super(map);
9330
+ }
9331
+ }
9332
+
9333
+ export class GetErrorRequestSampleRequest extends $tea.Model {
9334
+ /**
9335
+ * @remarks
9336
+ * The name of the database.
9337
+ *
9338
+ * @example
9339
+ * testdb01
9340
+ */
9341
+ dbName?: string;
9342
+ /**
9343
+ * @remarks
9344
+ * The end of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
9345
+ *
9346
+ * > The end time must be later than the start time. The interval cannot exceed 24 hours.
9347
+ *
9348
+ * @example
9349
+ * 1642566830000
9350
+ */
9351
+ end?: number;
9352
+ /**
9353
+ * @remarks
9354
+ * The instance ID.
9355
+ *
9356
+ * This parameter is required.
9357
+ *
9358
+ * @example
9359
+ * rm-2ze8g2am97624****
9360
+ */
9361
+ instanceId?: string;
9362
+ /**
9363
+ * @remarks
9364
+ * The node ID.
9365
+ *
9366
+ * > You must specify the node ID if your database instance is a PolarDB for MySQL cluster.
9367
+ *
9368
+ * @example
9369
+ * pi-bp179lg03445l****
9370
+ */
9371
+ nodeId?: string;
9372
+ /**
9373
+ * @remarks
9374
+ * The SQL query ID. You can call the [GetAsyncErrorRequestListByCode](https://help.aliyun.com/document_detail/410746.html) operation to query the ID of the SQL query for which MySQL error code is returned.
9375
+ *
9376
+ * @example
9377
+ * 2cd4432556c3dab9d825ba363637****
9378
+ */
9379
+ sqlId?: string;
9380
+ /**
9381
+ * @remarks
9382
+ * The beginning of the time range to query. Set this parameter to a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
9383
+ *
9384
+ * > The start time must be within the storage duration of the SQL Explorer feature of the database instance, and can be up to 90 days earlier than the current time.
9385
+ *
9386
+ * @example
9387
+ * 1642556990714
9388
+ */
9389
+ start?: number;
9390
+ static names(): { [key: string]: string } {
9391
+ return {
9392
+ dbName: 'DbName',
9393
+ end: 'End',
9394
+ instanceId: 'InstanceId',
9395
+ nodeId: 'NodeId',
9396
+ sqlId: 'SqlId',
9397
+ start: 'Start',
9398
+ };
9399
+ }
9400
+
9401
+ static types(): { [key: string]: any } {
9402
+ return {
9403
+ dbName: 'string',
9404
+ end: 'number',
9405
+ instanceId: 'string',
9406
+ nodeId: 'string',
9407
+ sqlId: 'string',
9408
+ start: 'number',
9409
+ };
9410
+ }
9411
+
9412
+ constructor(map?: { [key: string]: any }) {
9413
+ super(map);
9414
+ }
9415
+ }
9416
+
9417
+ export class GetErrorRequestSampleResponseBody extends $tea.Model {
9418
+ /**
9419
+ * @remarks
9420
+ * The HTTP status code returned.
9421
+ *
9422
+ * @example
9423
+ * 200
9424
+ */
9425
+ code?: number;
9426
+ /**
9427
+ * @remarks
9428
+ * The returned data.
9429
+ *
9430
+ * @example
9431
+ * [ { "sqlId": "2cd4432556c3dab9d825ba363637****", "database": "dbgateway", "originHost": "172.16.1****", "tables": [ "meter_****" ], "instanceId": "rm-2ze8g2am97624****", "errorCode": "1062", "user": "dbgat****", "sql": "insert into meter_****\\n ( \\n ****\\n )\\n values (now(), now(), \\"bbbc8624-5e19-455a-9714-8466f688****\\", \\"2022-02-10 14:00:00\\", \\"{\\"endTime\\":\\"2022-02-10 14:00:00\\",\\"endTimestamp\\":1644472800,\\"startTime\\":\\"2022-02-10 13:00:00\\",\\"startTimestamp\\":1644469200}\\", null, null)", "timestamp": 1644476100435 }]
9432
+ */
9433
+ data?: GetErrorRequestSampleResponseBodyData[];
9434
+ /**
9435
+ * @remarks
9436
+ * The returned message.
9437
+ *
9438
+ * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
9439
+ *
9440
+ * @example
9441
+ * Successful
9442
+ */
9443
+ message?: string;
9444
+ /**
9445
+ * @remarks
9446
+ * The request ID.
9447
+ *
9448
+ * @example
9449
+ * 7172BECE-588A-5961-8126-C216E16B****
9450
+ */
9451
+ requestId?: string;
9452
+ /**
9453
+ * @remarks
9454
+ * Indicates whether the request was successful. Valid values:
9455
+ *
9456
+ * * **true**
9457
+ * * **false**
9458
+ *
9459
+ * @example
9460
+ * true
9461
+ */
9462
+ success?: boolean;
9463
+ static names(): { [key: string]: string } {
9464
+ return {
9465
+ code: 'Code',
9466
+ data: 'Data',
9467
+ message: 'Message',
9468
+ requestId: 'RequestId',
9469
+ success: 'Success',
9470
+ };
9471
+ }
9472
+
9473
+ static types(): { [key: string]: any } {
9474
+ return {
9475
+ code: 'number',
9476
+ data: { 'type': 'array', 'itemType': GetErrorRequestSampleResponseBodyData },
9477
+ message: 'string',
9478
+ requestId: 'string',
9479
+ success: 'boolean',
9480
+ };
9481
+ }
9482
+
9483
+ constructor(map?: { [key: string]: any }) {
9484
+ super(map);
9485
+ }
9486
+ }
9487
+
9488
+ export class GetErrorRequestSampleResponse extends $tea.Model {
9489
+ headers?: { [key: string]: string };
9490
+ statusCode?: number;
9491
+ body?: GetErrorRequestSampleResponseBody;
9492
+ static names(): { [key: string]: string } {
9493
+ return {
9494
+ headers: 'headers',
9495
+ statusCode: 'statusCode',
9496
+ body: 'body',
9497
+ };
9498
+ }
9499
+
9500
+ static types(): { [key: string]: any } {
9501
+ return {
9502
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9503
+ statusCode: 'number',
9504
+ body: GetErrorRequestSampleResponseBody,
9505
+ };
9506
+ }
9507
+
9508
+ constructor(map?: { [key: string]: any }) {
9509
+ super(map);
9510
+ }
9511
+ }
9512
+
9513
+ export class GetEventSubscriptionRequest extends $tea.Model {
9514
+ /**
9515
+ * @remarks
9516
+ * The instance ID.
9517
+ *
9518
+ * This parameter is required.
9519
+ *
9520
+ * @example
9521
+ * rm-2ze8g2am97624****
9522
+ */
9523
+ instanceId?: string;
9524
+ static names(): { [key: string]: string } {
9525
+ return {
9526
+ instanceId: 'InstanceId',
9527
+ };
9528
+ }
9529
+
9530
+ static types(): { [key: string]: any } {
9531
+ return {
9532
+ instanceId: 'string',
9533
+ };
9534
+ }
9535
+
9536
+ constructor(map?: { [key: string]: any }) {
9537
+ super(map);
9538
+ }
9539
+ }
9540
+
9541
+ export class GetEventSubscriptionResponseBody extends $tea.Model {
9542
+ /**
9543
+ * @remarks
9544
+ * The HTTP status code returned.
9545
+ *
9546
+ * @example
9547
+ * 200
9548
+ */
9549
+ code?: string;
9550
+ /**
9551
+ * @remarks
9552
+ * The data returned.
9553
+ */
9554
+ data?: GetEventSubscriptionResponseBodyData;
9555
+ /**
9556
+ * @remarks
9557
+ * The returned message.
9558
+ *
9559
+ * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
9560
+ *
9561
+ * @example
9562
+ * Successful
9563
+ */
9564
+ message?: string;
9565
+ /**
9566
+ * @remarks
9567
+ * The request ID.
9568
+ *
9569
+ * @example
9570
+ * B6D17591-B48B-4D31-9CD6-9B9796B2****
9571
+ */
9572
+ requestId?: string;
9573
+ /**
9574
+ * @remarks
9575
+ * Indicates whether the request was successful. Valid values:
9300
9576
  *
9301
9577
  * * **true**
9302
9578
  * * **false**
@@ -9444,9 +9720,9 @@ export class GetFullRequestOriginStatByInstanceIdRequest extends $tea.Model {
9444
9720
  role?: string;
9445
9721
  /**
9446
9722
  * @remarks
9447
- * The type of the SQL statement. Valid values: **SELECT**, **INSERT**, **UPDATE**, **DELETE**, **LOGIN**, **LOGOUT**, **MERGE**, **ALTER**, **CREATEINDEX**, **DROPINDEX**, **CREATE**, **DROP**, **SET**, **DESC**, **REPLACE**, **CALL**, **BEGIN**, **DESCRIBE**, **ROLLBACK**, **FLUSH**, **USE**, **SHOW**, **START**, **COMMIT**, and **RENAME**.
9723
+ * The type of the SQL statement. Valid values: **SELECT**, **INSERT**, **UPDATE**, **DELETE**, **MERGE**, **ALTER**, **CREATEINDEX**, **DROPINDEX**, **CREATE**, **DROP**, **SET**, **DESC**, **REPLACE**, **CALL**, **BEGIN**, **DESCRIBE**, **ROLLBACK**, **FLUSH**, **USE**, **SHOW**, **START**, **COMMIT**, and **RENAME**.
9448
9724
  *
9449
- * > If the database instance is an ApsaraDB RDS for MySQL instance, a PolarDB for MySQL cluster, or a PolarDB-X 2.0 instance, the statistics can be collected based on the SQL statement type.
9725
+ * > If the database instance is an ApsaraDB RDS for MySQL instance, a PolarDB for MySQL instance, or a PolarDB-X 2.0 instance, statistics can be collected based on the SQL statement type.
9450
9726
  *
9451
9727
  * @example
9452
9728
  * SELECT
@@ -11648,7 +11924,7 @@ export class GetPfsMetricTrendsRequest extends $tea.Model {
11648
11924
  * @remarks
11649
11925
  * The node ID.
11650
11926
  *
11651
- * > You must specify this parameter for an ApsaraDB RDS for MySQL cluster instance and a PolarDB for MySQL cluster.
11927
+ * > This parameter is required if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL clusters.
11652
11928
  *
11653
11929
  * @example
11654
11930
  * r-x****-db-0
@@ -11993,7 +12269,7 @@ export class GetPfsSqlSummariesRequest extends $tea.Model {
11993
12269
  * @remarks
11994
12270
  * The node ID.
11995
12271
  *
11996
- * > This parameter must be specified if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL cluster.
12272
+ * > This parameter is required if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL cluster.
11997
12273
  *
11998
12274
  * @example
11999
12275
  * r-****-db-0
@@ -12094,7 +12370,7 @@ export class GetPfsSqlSummariesResponseBody extends $tea.Model {
12094
12370
  code?: number;
12095
12371
  /**
12096
12372
  * @remarks
12097
- * The data returned.
12373
+ * The returned data.
12098
12374
  */
12099
12375
  data?: GetPfsSqlSummariesResponseBodyData;
12100
12376
  /**
@@ -14356,7 +14632,9 @@ export class GetRequestDiagnosisResultRequest extends $tea.Model {
14356
14632
  instanceId?: string;
14357
14633
  /**
14358
14634
  * @remarks
14359
- * The unique ID of the diagnostics task. You can call the [CreateRequestDiagnosis](https://help.aliyun.com/document_detail/341609.html) operation to query the diagnostics task ID.
14635
+ * The unique ID of the diagnostic task.[](~~341609~~)
14636
+ *
14637
+ * > If you set MessageId to the task ID of the automatic SQL optimization feature, no result is returned.
14360
14638
  *
14361
14639
  * This parameter is required.
14362
14640
  *
@@ -15434,7 +15712,7 @@ export class KillInstanceAllSessionResponse extends $tea.Model {
15434
15712
  export class ModifyAutoScalingConfigRequest extends $tea.Model {
15435
15713
  /**
15436
15714
  * @remarks
15437
- * The configuration item of the automatic bandwidth adjustment feature.
15715
+ * The configuration item of the bandwidth auto scaling feature.
15438
15716
  */
15439
15717
  bandwidth?: ModifyAutoScalingConfigRequestBandwidth;
15440
15718
  /**
@@ -15449,17 +15727,17 @@ export class ModifyAutoScalingConfigRequest extends $tea.Model {
15449
15727
  instanceId?: string;
15450
15728
  /**
15451
15729
  * @remarks
15452
- * The configuration item of the auto scaling feature for resources.
15730
+ * The configuration item of the resource auto scaling feature.
15453
15731
  */
15454
15732
  resource?: ModifyAutoScalingConfigRequestResource;
15455
15733
  /**
15456
15734
  * @remarks
15457
- * The configuration item of the auto scaling feature for shards.
15735
+ * The configuration item of the shard auto scaling feature.
15458
15736
  */
15459
15737
  shard?: ModifyAutoScalingConfigRequestShard;
15460
15738
  /**
15461
15739
  * @remarks
15462
- * The configuration item of the auto scaling feature for specifications.
15740
+ * The configuration item of the specification auto scaling feature.
15463
15741
  */
15464
15742
  spec?: ModifyAutoScalingConfigRequestSpec;
15465
15743
  /**
@@ -16162,235 +16440,6 @@ export class SetEventSubscriptionResponse extends $tea.Model {
16162
16440
  }
16163
16441
  }
16164
16442
 
16165
- export class StopCloudBenchTaskRequest extends $tea.Model {
16166
- /**
16167
- * @remarks
16168
- * The stress testing task ID. You can call the [DescribeCloudBenchTasks](https://help.aliyun.com/document_detail/230670.html) operation to query the task ID.
16169
- *
16170
- * This parameter is required.
16171
- *
16172
- * @example
16173
- * e5cec704-0518-430f-8263-76f4dcds****
16174
- */
16175
- taskId?: string;
16176
- static names(): { [key: string]: string } {
16177
- return {
16178
- taskId: 'TaskId',
16179
- };
16180
- }
16181
-
16182
- static types(): { [key: string]: any } {
16183
- return {
16184
- taskId: 'string',
16185
- };
16186
- }
16187
-
16188
- constructor(map?: { [key: string]: any }) {
16189
- super(map);
16190
- }
16191
- }
16192
-
16193
- export class StopCloudBenchTaskResponseBody extends $tea.Model {
16194
- /**
16195
- * @remarks
16196
- * The HTTP status code returned.
16197
- *
16198
- * @example
16199
- * 200
16200
- */
16201
- code?: string;
16202
- /**
16203
- * @remarks
16204
- * The reserved parameter.
16205
- *
16206
- * @example
16207
- * None
16208
- */
16209
- data?: string;
16210
- /**
16211
- * @remarks
16212
- * The returned message.
16213
- *
16214
- * > If the request was successful, **Successful** is returned. If the request failed, an error message such as an error code is returned.
16215
- *
16216
- * @example
16217
- * Successful
16218
- */
16219
- message?: string;
16220
- /**
16221
- * @remarks
16222
- * The request ID.
16223
- *
16224
- * @example
16225
- * B6D17591-B48B-4D31-9CD6-9B9796B2****
16226
- */
16227
- requestId?: string;
16228
- /**
16229
- * @remarks
16230
- * Indicates whether the request was successful. Valid values:
16231
- *
16232
- * * **true**
16233
- * * **false**
16234
- *
16235
- * @example
16236
- * true
16237
- */
16238
- success?: string;
16239
- static names(): { [key: string]: string } {
16240
- return {
16241
- code: 'Code',
16242
- data: 'Data',
16243
- message: 'Message',
16244
- requestId: 'RequestId',
16245
- success: 'Success',
16246
- };
16247
- }
16248
-
16249
- static types(): { [key: string]: any } {
16250
- return {
16251
- code: 'string',
16252
- data: 'string',
16253
- message: 'string',
16254
- requestId: 'string',
16255
- success: 'string',
16256
- };
16257
- }
16258
-
16259
- constructor(map?: { [key: string]: any }) {
16260
- super(map);
16261
- }
16262
- }
16263
-
16264
- export class StopCloudBenchTaskResponse extends $tea.Model {
16265
- headers?: { [key: string]: string };
16266
- statusCode?: number;
16267
- body?: StopCloudBenchTaskResponseBody;
16268
- static names(): { [key: string]: string } {
16269
- return {
16270
- headers: 'headers',
16271
- statusCode: 'statusCode',
16272
- body: 'body',
16273
- };
16274
- }
16275
-
16276
- static types(): { [key: string]: any } {
16277
- return {
16278
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16279
- statusCode: 'number',
16280
- body: StopCloudBenchTaskResponseBody,
16281
- };
16282
- }
16283
-
16284
- constructor(map?: { [key: string]: any }) {
16285
- super(map);
16286
- }
16287
- }
16288
-
16289
- export class SyncHDMAliyunResourceRequest extends $tea.Model {
16290
- async?: string;
16291
- resourceTypes?: string;
16292
- uid?: string;
16293
- userId?: string;
16294
- waitForModifySecurityIps?: string;
16295
- context?: string;
16296
- accessKey?: string;
16297
- signature?: string;
16298
- skipAuth?: string;
16299
- timestamp?: string;
16300
- static names(): { [key: string]: string } {
16301
- return {
16302
- async: 'Async',
16303
- resourceTypes: 'ResourceTypes',
16304
- uid: 'Uid',
16305
- userId: 'UserId',
16306
- waitForModifySecurityIps: 'WaitForModifySecurityIps',
16307
- context: '__context',
16308
- accessKey: 'accessKey',
16309
- signature: 'signature',
16310
- skipAuth: 'skipAuth',
16311
- timestamp: 'timestamp',
16312
- };
16313
- }
16314
-
16315
- static types(): { [key: string]: any } {
16316
- return {
16317
- async: 'string',
16318
- resourceTypes: 'string',
16319
- uid: 'string',
16320
- userId: 'string',
16321
- waitForModifySecurityIps: 'string',
16322
- context: 'string',
16323
- accessKey: 'string',
16324
- signature: 'string',
16325
- skipAuth: 'string',
16326
- timestamp: 'string',
16327
- };
16328
- }
16329
-
16330
- constructor(map?: { [key: string]: any }) {
16331
- super(map);
16332
- }
16333
- }
16334
-
16335
- export class SyncHDMAliyunResourceResponseBody extends $tea.Model {
16336
- code?: string;
16337
- data?: string;
16338
- message?: string;
16339
- requestId?: string;
16340
- success?: string;
16341
- synchro?: string;
16342
- static names(): { [key: string]: string } {
16343
- return {
16344
- code: 'Code',
16345
- data: 'Data',
16346
- message: 'Message',
16347
- requestId: 'RequestId',
16348
- success: 'Success',
16349
- synchro: 'Synchro',
16350
- };
16351
- }
16352
-
16353
- static types(): { [key: string]: any } {
16354
- return {
16355
- code: 'string',
16356
- data: 'string',
16357
- message: 'string',
16358
- requestId: 'string',
16359
- success: 'string',
16360
- synchro: 'string',
16361
- };
16362
- }
16363
-
16364
- constructor(map?: { [key: string]: any }) {
16365
- super(map);
16366
- }
16367
- }
16368
-
16369
- export class SyncHDMAliyunResourceResponse extends $tea.Model {
16370
- headers?: { [key: string]: string };
16371
- statusCode?: number;
16372
- body?: SyncHDMAliyunResourceResponseBody;
16373
- static names(): { [key: string]: string } {
16374
- return {
16375
- headers: 'headers',
16376
- statusCode: 'statusCode',
16377
- body: 'body',
16378
- };
16379
- }
16380
-
16381
- static types(): { [key: string]: any } {
16382
- return {
16383
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16384
- statusCode: 'number',
16385
- body: SyncHDMAliyunResourceResponseBody,
16386
- };
16387
- }
16388
-
16389
- constructor(map?: { [key: string]: any }) {
16390
- super(map);
16391
- }
16392
- }
16393
-
16394
16443
  export class UpdateAutoResourceOptimizeRulesAsyncRequest extends $tea.Model {
16395
16444
  /**
16396
16445
  * @remarks
@@ -17807,10 +17856,10 @@ export class DescribeAutoScalingConfigResponseBodyDataSpec extends $tea.Model {
17807
17856
  maxReadOnlyNodes?: number;
17808
17857
  /**
17809
17858
  * @remarks
17810
- * The maximum specifications to which the database instance can be upgraded. For more information about the specifications of each type of supported database instances, see the following topics:
17859
+ * The maximum specifications to which the cluster can be scaled up. For more information about the specifications of each type of supported database instances, see the following topics:
17811
17860
  *
17812
- * * PolarDB for MySQL Cluster Edition instances: [Specifications of compute nodes](https://help.aliyun.com/document_detail/102542.html).
17813
- * * ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or enhanced SSDs (ESSDs): [Specifications](https://help.aliyun.com/document_detail/276974.html).
17861
+ * * PolarDB for MySQL Cluster Edition instances: [Compute node specifications of PolarDB for MySQL Enterprise Edition](https://help.aliyun.com/document_detail/102542.html)
17862
+ * * ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or ESSDs: [Specifications](https://help.aliyun.com/document_detail/276974.html)
17814
17863
  *
17815
17864
  * @example
17816
17865
  * polar.mysql.x8.12xlarge
@@ -23251,7 +23300,7 @@ export class GetAsyncErrorRequestStatResultResponseBodyData extends $tea.Model {
23251
23300
  * @remarks
23252
23301
  * The returned data of the asynchronous request.
23253
23302
  */
23254
- result?: { [key: string]: DataResultValue }[];
23303
+ result?: { [key: string]: DataResultValue };
23255
23304
  /**
23256
23305
  * @remarks
23257
23306
  * The ID of the asynchronous request.
@@ -23297,7 +23346,7 @@ export class GetAsyncErrorRequestStatResultResponseBodyData extends $tea.Model {
23297
23346
  complete: 'boolean',
23298
23347
  fail: 'boolean',
23299
23348
  isFinish: 'boolean',
23300
- result: { 'type': 'array', 'itemType': { 'type': 'map', 'keyType': 'string', 'valueType': DataResultValue } },
23349
+ result: { 'type': 'map', 'keyType': 'string', 'valueType': DataResultValue },
23301
23350
  resultId: 'string',
23302
23351
  state: 'string',
23303
23352
  timestamp: 'number',
@@ -24256,7 +24305,7 @@ export class GetBlockingDetailListResponseBodyDataList extends $tea.Model {
24256
24305
  clientAppName?: string;
24257
24306
  /**
24258
24307
  * @remarks
24259
- * The time when the blocking data was collected.
24308
+ * The time when the blocking data was collected. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
24260
24309
  *
24261
24310
  * @example
24262
24311
  * 1700065800000
@@ -24264,7 +24313,7 @@ export class GetBlockingDetailListResponseBodyDataList extends $tea.Model {
24264
24313
  currentCollectionTime?: number;
24265
24314
  /**
24266
24315
  * @remarks
24267
- * The database name.
24316
+ * The name of the database.
24268
24317
  *
24269
24318
  * @example
24270
24319
  * school
@@ -24312,7 +24361,7 @@ export class GetBlockingDetailListResponseBodyDataList extends $tea.Model {
24312
24361
  sqlText?: string;
24313
24362
  /**
24314
24363
  * @remarks
24315
- * The time when the execution started.
24364
+ * The time when the execution started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
24316
24365
  *
24317
24366
  * @example
24318
24367
  * 1608888296000
@@ -24320,7 +24369,7 @@ export class GetBlockingDetailListResponseBodyDataList extends $tea.Model {
24320
24369
  startTime?: string;
24321
24370
  /**
24322
24371
  * @remarks
24323
- * The blocking duration. Unit: milliseconds.
24372
+ * The duration of the blocking. Unit: milliseconds.
24324
24373
  *
24325
24374
  * @example
24326
24375
  * 30000
@@ -24328,7 +24377,7 @@ export class GetBlockingDetailListResponseBodyDataList extends $tea.Model {
24328
24377
  waitTimeMs?: number;
24329
24378
  /**
24330
24379
  * @remarks
24331
- * The wait type.
24380
+ * The wait type. For more information about wait types, see [sys.dm_os_wait_stats (Transact-SQL)](https://learn.microsoft.com/en-us/sql/relational-databases/system-dynamic-management-views/sys-dm-os-wait-stats-transact-sql?view=sql-server-ver15).
24332
24381
  *
24333
24382
  * @example
24334
24383
  * MISCELLANEOUS
@@ -24977,7 +25026,7 @@ export class GetDasSQLLogHotDataResponseBodyData extends $tea.Model {
24977
25026
  export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $tea.Model {
24978
25027
  /**
24979
25028
  * @remarks
24980
- * The client application.
25029
+ * The name of the client that initiates the transaction in the session.
24981
25030
  *
24982
25031
  * @example
24983
25032
  * Microsoft SQL Server Management Studio - Query
@@ -24985,7 +25034,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
24985
25034
  clientApp?: string;
24986
25035
  /**
24987
25036
  * @remarks
24988
- * The database name.
25037
+ * The name of the database.
24989
25038
  *
24990
25039
  * @example
24991
25040
  * school
@@ -24993,7 +25042,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
24993
25042
  databaseName?: string;
24994
25043
  /**
24995
25044
  * @remarks
24996
- * The host name.
25045
+ * The hostname.
24997
25046
  *
24998
25047
  * @example
24999
25048
  * sd74020124
@@ -25001,7 +25050,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25001
25050
  hostName?: string;
25002
25051
  /**
25003
25052
  * @remarks
25004
- * The time when the transaction started.
25053
+ * The time when the transaction was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
25005
25054
  *
25006
25055
  * @example
25007
25056
  * 1702301152000
@@ -25009,7 +25058,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25009
25058
  lastTranStarted?: number;
25010
25059
  /**
25011
25060
  * @remarks
25012
- * The lock mode.
25061
+ * The mode of the lock. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25013
25062
  *
25014
25063
  * @example
25015
25064
  * U
@@ -25017,7 +25066,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25017
25066
  lockMode?: string;
25018
25067
  /**
25019
25068
  * @remarks
25020
- * The size of the logs generated by the session.
25069
+ * The size of the logs generated in the session. Unit: bytes.
25021
25070
  *
25022
25071
  * @example
25023
25072
  * 352
@@ -25025,7 +25074,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25025
25074
  logUsed?: number;
25026
25075
  /**
25027
25076
  * @remarks
25028
- * The username that is used for login.
25077
+ * The logon name of the user.
25029
25078
  *
25030
25079
  * @example
25031
25080
  * sd74020124\\\\Administrator
@@ -25041,7 +25090,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25041
25090
  objectOwned?: string;
25042
25091
  /**
25043
25092
  * @remarks
25044
- * The object that the current transaction requested to lock.
25093
+ * The object that the transaction requested to lock.
25045
25094
  *
25046
25095
  * @example
25047
25096
  * school.dbo.test1
@@ -25049,7 +25098,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25049
25098
  objectRequested?: string;
25050
25099
  /**
25051
25100
  * @remarks
25052
- * The holding mode.
25101
+ * The lock mode held by the session. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25053
25102
  *
25054
25103
  * @example
25055
25104
  * X
@@ -25057,7 +25106,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25057
25106
  ownMode?: string;
25058
25107
  /**
25059
25108
  * @remarks
25060
- * The ID of the session that started the transaction.
25109
+ * The ID of the session in which the transaction is started.
25061
25110
  *
25062
25111
  * @example
25063
25112
  * 61
@@ -25073,7 +25122,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25073
25122
  sqlText?: string;
25074
25123
  /**
25075
25124
  * @remarks
25076
- * The transaction status.
25125
+ * The status of the transaction.
25077
25126
  *
25078
25127
  * @example
25079
25128
  * suspended
@@ -25081,7 +25130,10 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25081
25130
  status?: string;
25082
25131
  /**
25083
25132
  * @remarks
25084
- * The victim.
25133
+ * Indicates whether the session is the victim of the deadlock. Valid values:
25134
+ *
25135
+ * * **0**: no.
25136
+ * * **1**: yes.
25085
25137
  *
25086
25138
  * @example
25087
25139
  * 0
@@ -25089,7 +25141,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25089
25141
  victim?: number;
25090
25142
  /**
25091
25143
  * @remarks
25092
- * The wait mode.
25144
+ * The lock mode requested by the session. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25093
25145
  *
25094
25146
  * @example
25095
25147
  * U
@@ -25097,7 +25149,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25097
25149
  waitMode?: string;
25098
25150
  /**
25099
25151
  * @remarks
25100
- * The pending resource.
25152
+ * The resources requested by the transaction.
25101
25153
  *
25102
25154
  * @example
25103
25155
  * RID: 5:1:312:0
@@ -25105,7 +25157,7 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25105
25157
  waitResource?: string;
25106
25158
  /**
25107
25159
  * @remarks
25108
- * The description of the pending resource.
25160
+ * The details of the resources requested by the transaction.
25109
25161
  *
25110
25162
  * @example
25111
25163
  * RID:school:school.mdf:312:0
@@ -25160,201 +25212,257 @@ export class GetDeadLockDetailListResponseBodyDataListBlockProcessList extends $
25160
25212
  }
25161
25213
  }
25162
25214
 
25163
- export class GetDeadLockDetailListResponseBodyDataList extends $tea.Model {
25164
- /**
25165
- * @remarks
25166
- * The time when the data was collected.
25167
- *
25168
- * @example
25169
- * 1702301170701
25170
- */
25171
- batchId?: number;
25172
- /**
25173
- * @remarks
25174
- * The blocking list.
25175
- */
25176
- blockProcessList?: GetDeadLockDetailListResponseBodyDataListBlockProcessList[];
25177
- /**
25178
- * @remarks
25179
- * The client application.
25180
- *
25181
- * @example
25182
- * Microsoft SQL Server Management Studio - Query
25183
- */
25184
- clientApp?: string;
25185
- /**
25186
- * @remarks
25187
- * The database name.
25188
- *
25189
- * @example
25190
- * school
25191
- */
25192
- databaseName?: string;
25193
- /**
25194
- * @remarks
25195
- * The host name.
25196
- *
25197
- * @example
25198
- * sd74020124
25199
- */
25200
- hostName?: string;
25201
- /**
25202
- * @remarks
25203
- * The time when the transaction started.
25204
- *
25205
- * @example
25206
- * 1702301141000
25207
- */
25208
- lastTranStarted?: number;
25209
- /**
25210
- * @remarks
25211
- * The lock mode.
25212
- *
25213
- * @example
25214
- * U
25215
- */
25216
- lockMode?: string;
25217
- /**
25218
- * @remarks
25219
- * The size of the logs generated by the session.
25220
- *
25221
- * @example
25222
- * 352
25223
- */
25224
- logUsed?: number;
25225
- /**
25226
- * @remarks
25227
- * The username that is used for login.
25228
- *
25229
- * @example
25230
- * sd74020124\\\\Administrator
25231
- */
25232
- loginName?: string;
25233
- /**
25234
- * @remarks
25235
- * The locked object.
25236
- *
25237
- * @example
25238
- * school.dbo.test1
25239
- */
25240
- objectOwned?: string;
25241
- /**
25242
- * @remarks
25243
- * The object that the current transaction requested to lock.
25244
- *
25245
- * @example
25246
- * school.dbo.test2
25247
- */
25248
- objectRequested?: string;
25249
- /**
25250
- * @remarks
25251
- * The holding mode.
25252
- *
25253
- * @example
25254
- * X
25255
- */
25256
- ownMode?: string;
25257
- /**
25258
- * @remarks
25259
- * The ID of the session that started the transaction.
25260
- *
25261
- * @example
25262
- * 56
25263
- */
25264
- spid?: number;
25265
- /**
25266
- * @remarks
25267
- * The SQL statement.
25268
- *
25269
- * @example
25270
- * update test2 set col1 =88
25271
- */
25272
- sqlText?: string;
25215
+ export class GetDeadLockDetailListResponseBodyDataList extends $tea.Model {
25216
+ /**
25217
+ * @remarks
25218
+ * The time when the data was collected. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
25219
+ *
25220
+ * @example
25221
+ * 1702301170701
25222
+ */
25223
+ batchId?: number;
25224
+ /**
25225
+ * @remarks
25226
+ * The blocking details of the instance. The details are information about the session that caused the lock.
25227
+ */
25228
+ blockProcessList?: GetDeadLockDetailListResponseBodyDataListBlockProcessList[];
25229
+ /**
25230
+ * @remarks
25231
+ * The name of the client.
25232
+ *
25233
+ * @example
25234
+ * Microsoft SQL Server Management Studio - Query
25235
+ */
25236
+ clientApp?: string;
25237
+ /**
25238
+ * @remarks
25239
+ * The name of the database.
25240
+ *
25241
+ * @example
25242
+ * school
25243
+ */
25244
+ databaseName?: string;
25245
+ /**
25246
+ * @remarks
25247
+ * The hostname.
25248
+ *
25249
+ * @example
25250
+ * sd74020124
25251
+ */
25252
+ hostName?: string;
25253
+ /**
25254
+ * @remarks
25255
+ * The time when the transaction was started. This value is a UNIX timestamp representing the number of milliseconds that have elapsed since January 1, 1970, 00:00:00 UTC.
25256
+ *
25257
+ * @example
25258
+ * 1702301141000
25259
+ */
25260
+ lastTranStarted?: number;
25261
+ /**
25262
+ * @remarks
25263
+ * The mode of the lock. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25264
+ *
25265
+ * @example
25266
+ * U
25267
+ */
25268
+ lockMode?: string;
25269
+ /**
25270
+ * @remarks
25271
+ * The size of the logs generated in the session. Unit: bytes.
25272
+ *
25273
+ * @example
25274
+ * 352
25275
+ */
25276
+ logUsed?: number;
25277
+ /**
25278
+ * @remarks
25279
+ * The logon name of the user.
25280
+ *
25281
+ * @example
25282
+ * sd74020124\\\\Administrator
25283
+ */
25284
+ loginName?: string;
25285
+ /**
25286
+ * @remarks
25287
+ * The locked object.
25288
+ *
25289
+ * @example
25290
+ * school.dbo.test1
25291
+ */
25292
+ objectOwned?: string;
25293
+ /**
25294
+ * @remarks
25295
+ * The object that the transaction requested to lock.
25296
+ *
25297
+ * @example
25298
+ * school.dbo.test2
25299
+ */
25300
+ objectRequested?: string;
25301
+ /**
25302
+ * @remarks
25303
+ * The lock mode held by the session. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25304
+ *
25305
+ * @example
25306
+ * X
25307
+ */
25308
+ ownMode?: string;
25309
+ /**
25310
+ * @remarks
25311
+ * The ID of the session in which the transaction is started.
25312
+ *
25313
+ * @example
25314
+ * 56
25315
+ */
25316
+ spid?: number;
25317
+ /**
25318
+ * @remarks
25319
+ * The SQL statement.
25320
+ *
25321
+ * @example
25322
+ * update test2 set col1 =88
25323
+ */
25324
+ sqlText?: string;
25325
+ /**
25326
+ * @remarks
25327
+ * The status of the transaction.
25328
+ *
25329
+ * @example
25330
+ * suspended
25331
+ */
25332
+ status?: string;
25333
+ /**
25334
+ * @remarks
25335
+ * Indicates whether the session is the victim of the deadlock. Valid values:
25336
+ *
25337
+ * * **0**: no.
25338
+ * * **1**: yes.
25339
+ *
25340
+ * @example
25341
+ * 1
25342
+ */
25343
+ victim?: number;
25344
+ /**
25345
+ * @remarks
25346
+ * The lock mode requested by the session. For more information, see [Lock modes](https://help.aliyun.com/document_detail/2362804.html).
25347
+ *
25348
+ * @example
25349
+ * U
25350
+ */
25351
+ waitMode?: string;
25352
+ /**
25353
+ * @remarks
25354
+ * The resources requested by the transaction.
25355
+ *
25356
+ * @example
25357
+ * RID: 5:1:376:0
25358
+ */
25359
+ waitResource?: string;
25360
+ /**
25361
+ * @remarks
25362
+ * The details of the resources requested by the transaction.
25363
+ *
25364
+ * @example
25365
+ * RID:school:school.mdf:376:0
25366
+ */
25367
+ waitResourceDescription?: string;
25368
+ static names(): { [key: string]: string } {
25369
+ return {
25370
+ batchId: 'BatchId',
25371
+ blockProcessList: 'BlockProcessList',
25372
+ clientApp: 'ClientApp',
25373
+ databaseName: 'DatabaseName',
25374
+ hostName: 'HostName',
25375
+ lastTranStarted: 'LastTranStarted',
25376
+ lockMode: 'LockMode',
25377
+ logUsed: 'LogUsed',
25378
+ loginName: 'LoginName',
25379
+ objectOwned: 'ObjectOwned',
25380
+ objectRequested: 'ObjectRequested',
25381
+ ownMode: 'OwnMode',
25382
+ spid: 'Spid',
25383
+ sqlText: 'SqlText',
25384
+ status: 'Status',
25385
+ victim: 'Victim',
25386
+ waitMode: 'WaitMode',
25387
+ waitResource: 'WaitResource',
25388
+ waitResourceDescription: 'WaitResourceDescription',
25389
+ };
25390
+ }
25391
+
25392
+ static types(): { [key: string]: any } {
25393
+ return {
25394
+ batchId: 'number',
25395
+ blockProcessList: { 'type': 'array', 'itemType': GetDeadLockDetailListResponseBodyDataListBlockProcessList },
25396
+ clientApp: 'string',
25397
+ databaseName: 'string',
25398
+ hostName: 'string',
25399
+ lastTranStarted: 'number',
25400
+ lockMode: 'string',
25401
+ logUsed: 'number',
25402
+ loginName: 'string',
25403
+ objectOwned: 'string',
25404
+ objectRequested: 'string',
25405
+ ownMode: 'string',
25406
+ spid: 'number',
25407
+ sqlText: 'string',
25408
+ status: 'string',
25409
+ victim: 'number',
25410
+ waitMode: 'string',
25411
+ waitResource: 'string',
25412
+ waitResourceDescription: 'string',
25413
+ };
25414
+ }
25415
+
25416
+ constructor(map?: { [key: string]: any }) {
25417
+ super(map);
25418
+ }
25419
+ }
25420
+
25421
+ export class GetDeadLockDetailListResponseBodyData extends $tea.Model {
25273
25422
  /**
25274
25423
  * @remarks
25275
- * The transaction status.
25276
- *
25277
- * @example
25278
- * suspended
25424
+ * The details of the data returned.
25279
25425
  */
25280
- status?: string;
25426
+ list?: GetDeadLockDetailListResponseBodyDataList[];
25281
25427
  /**
25282
25428
  * @remarks
25283
- * The victim.
25429
+ * The page number.
25284
25430
  *
25285
25431
  * @example
25286
25432
  * 1
25287
25433
  */
25288
- victim?: number;
25289
- /**
25290
- * @remarks
25291
- * The wait mode.
25292
- *
25293
- * @example
25294
- * U
25295
- */
25296
- waitMode?: string;
25434
+ pageNo?: number;
25297
25435
  /**
25298
25436
  * @remarks
25299
- * The pending resource.
25437
+ * The number of entries per page.
25300
25438
  *
25301
25439
  * @example
25302
- * RID: 5:1:376:0
25440
+ * 10
25303
25441
  */
25304
- waitResource?: string;
25442
+ pageSize?: number;
25305
25443
  /**
25306
25444
  * @remarks
25307
- * The description of the pending resource.
25445
+ * The total number of entries returned.
25308
25446
  *
25309
25447
  * @example
25310
- * RID:school:school.mdf:376:0
25448
+ * 2
25311
25449
  */
25312
- waitResourceDescription?: string;
25450
+ total?: number;
25313
25451
  static names(): { [key: string]: string } {
25314
25452
  return {
25315
- batchId: 'BatchId',
25316
- blockProcessList: 'BlockProcessList',
25317
- clientApp: 'ClientApp',
25318
- databaseName: 'DatabaseName',
25319
- hostName: 'HostName',
25320
- lastTranStarted: 'LastTranStarted',
25321
- lockMode: 'LockMode',
25322
- logUsed: 'LogUsed',
25323
- loginName: 'LoginName',
25324
- objectOwned: 'ObjectOwned',
25325
- objectRequested: 'ObjectRequested',
25326
- ownMode: 'OwnMode',
25327
- spid: 'Spid',
25328
- sqlText: 'SqlText',
25329
- status: 'Status',
25330
- victim: 'Victim',
25331
- waitMode: 'WaitMode',
25332
- waitResource: 'WaitResource',
25333
- waitResourceDescription: 'WaitResourceDescription',
25453
+ list: 'List',
25454
+ pageNo: 'PageNo',
25455
+ pageSize: 'PageSize',
25456
+ total: 'Total',
25334
25457
  };
25335
25458
  }
25336
25459
 
25337
25460
  static types(): { [key: string]: any } {
25338
25461
  return {
25339
- batchId: 'number',
25340
- blockProcessList: { 'type': 'array', 'itemType': GetDeadLockDetailListResponseBodyDataListBlockProcessList },
25341
- clientApp: 'string',
25342
- databaseName: 'string',
25343
- hostName: 'string',
25344
- lastTranStarted: 'number',
25345
- lockMode: 'string',
25346
- logUsed: 'number',
25347
- loginName: 'string',
25348
- objectOwned: 'string',
25349
- objectRequested: 'string',
25350
- ownMode: 'string',
25351
- spid: 'number',
25352
- sqlText: 'string',
25353
- status: 'string',
25354
- victim: 'number',
25355
- waitMode: 'string',
25356
- waitResource: 'string',
25357
- waitResourceDescription: 'string',
25462
+ list: { 'type': 'array', 'itemType': GetDeadLockDetailListResponseBodyDataList },
25463
+ pageNo: 'number',
25464
+ pageSize: 'number',
25465
+ total: 'number',
25358
25466
  };
25359
25467
  }
25360
25468
 
@@ -25363,51 +25471,70 @@ export class GetDeadLockDetailListResponseBodyDataList extends $tea.Model {
25363
25471
  }
25364
25472
  }
25365
25473
 
25366
- export class GetDeadLockDetailListResponseBodyData extends $tea.Model {
25474
+ export class GetDeadlockHistogramResponseBodyData extends $tea.Model {
25367
25475
  /**
25368
- * @remarks
25369
- * The details of the data returned.
25476
+ * @example
25477
+ * 1729998000000
25370
25478
  */
25371
- list?: GetDeadLockDetailListResponseBodyDataList[];
25479
+ endTime?: string;
25372
25480
  /**
25373
- * @remarks
25374
- * The page number of the returned page.
25375
- *
25376
25481
  * @example
25377
- * 1
25482
+ * pc-bp1u5mas9exx7****
25378
25483
  */
25379
- pageNo?: number;
25484
+ instanceId?: string;
25380
25485
  /**
25381
- * @remarks
25382
- * The number of entries returned on each page.
25383
- *
25384
25486
  * @example
25385
- * 10
25487
+ * 2
25386
25488
  */
25387
- pageSize?: number;
25489
+ lockNumber?: number;
25388
25490
  /**
25389
- * @remarks
25390
- * The total number of entries returned.
25391
- *
25392
25491
  * @example
25393
- * 2
25492
+ * pi-bp16v3824rt73****
25394
25493
  */
25395
- total?: number;
25494
+ nodeId?: string;
25495
+ /**
25496
+ * @example
25497
+ * 1729994400000
25498
+ */
25499
+ startTime?: string;
25500
+ /**
25501
+ * @example
25502
+ * SUCCESS
25503
+ */
25504
+ status?: string;
25505
+ /**
25506
+ * @example
25507
+ * B6D17591-B48B-4D31-9CD6-1321B394****
25508
+ */
25509
+ taskId?: string;
25510
+ /**
25511
+ * @example
25512
+ * 108************
25513
+ */
25514
+ userId?: string;
25396
25515
  static names(): { [key: string]: string } {
25397
25516
  return {
25398
- list: 'List',
25399
- pageNo: 'PageNo',
25400
- pageSize: 'PageSize',
25401
- total: 'Total',
25517
+ endTime: 'EndTime',
25518
+ instanceId: 'InstanceId',
25519
+ lockNumber: 'LockNumber',
25520
+ nodeId: 'NodeId',
25521
+ startTime: 'StartTime',
25522
+ status: 'Status',
25523
+ taskId: 'TaskId',
25524
+ userId: 'UserId',
25402
25525
  };
25403
25526
  }
25404
25527
 
25405
25528
  static types(): { [key: string]: any } {
25406
25529
  return {
25407
- list: { 'type': 'array', 'itemType': GetDeadLockDetailListResponseBodyDataList },
25408
- pageNo: 'number',
25409
- pageSize: 'number',
25410
- total: 'number',
25530
+ endTime: 'string',
25531
+ instanceId: 'string',
25532
+ lockNumber: 'number',
25533
+ nodeId: 'string',
25534
+ startTime: 'string',
25535
+ status: 'string',
25536
+ taskId: 'string',
25537
+ userId: 'string',
25411
25538
  };
25412
25539
  }
25413
25540
 
@@ -29430,7 +29557,7 @@ export class GetPfsSqlSummariesResponseBodyDataList extends $tea.Model {
29430
29557
  * @remarks
29431
29558
  * The node ID.
29432
29559
  *
29433
- * > This parameter is returned only if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL cluster.
29560
+ * > This parameter is returned only if the database instance is an ApsaraDB RDS for MySQL Cluster Edition instance or a PolarDB for MySQL cluster.
29434
29561
  *
29435
29562
  * @example
29436
29563
  * r-x****-db-0
@@ -29909,7 +30036,7 @@ export class GetPfsSqlSummariesResponseBodyData extends $tea.Model {
29909
30036
  extra?: any;
29910
30037
  /**
29911
30038
  * @remarks
29912
- * The detailed information.
30039
+ * The details of the data returned.
29913
30040
  */
29914
30041
  list?: GetPfsSqlSummariesResponseBodyDataList[];
29915
30042
  /**
@@ -32756,7 +32883,7 @@ export class GetStorageAnalysisResultResponseBodyData extends $tea.Model {
32756
32883
  export class ModifyAutoScalingConfigRequestBandwidth extends $tea.Model {
32757
32884
  /**
32758
32885
  * @remarks
32759
- * Specifies whether to apply the **Bandwidth** configuration of the automatic bandwidth adjustment feature. Valid values:
32886
+ * Specifies whether to apply the **Bandwidth** configuration of the bandwidth auto scaling feature. Valid values:
32760
32887
  *
32761
32888
  * * **true**
32762
32889
  * * **false**
@@ -32800,7 +32927,7 @@ export class ModifyAutoScalingConfigRequestBandwidth extends $tea.Model {
32800
32927
  bandwidthUsageUpperThreshold?: number;
32801
32928
  /**
32802
32929
  * @remarks
32803
- * Specifies whether to enable the automatic bandwidth downgrade feature. Valid values:
32930
+ * Specifies whether to enable automatic bandwidth downgrade. Valid values:
32804
32931
  *
32805
32932
  * * **true**
32806
32933
  * * **false**
@@ -32811,7 +32938,7 @@ export class ModifyAutoScalingConfigRequestBandwidth extends $tea.Model {
32811
32938
  downgrade?: boolean;
32812
32939
  /**
32813
32940
  * @remarks
32814
- * The observation window of the automatic bandwidth adjustment feature. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute. Valid values:
32941
+ * The observation window of the bandwidth auto scaling feature. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute. Valid values:
32815
32942
  *
32816
32943
  * * **1m**
32817
32944
  * * **5m**
@@ -32828,7 +32955,7 @@ export class ModifyAutoScalingConfigRequestBandwidth extends $tea.Model {
32828
32955
  observationWindowSize?: string;
32829
32956
  /**
32830
32957
  * @remarks
32831
- * Specifies whether to enable the automatic bandwidth upgrade feature. Valid values:
32958
+ * Specifies whether to enable automatic bandwidth upgrade. Valid values:
32832
32959
  *
32833
32960
  * * **true**
32834
32961
  * * **false**
@@ -32867,7 +32994,7 @@ export class ModifyAutoScalingConfigRequestBandwidth extends $tea.Model {
32867
32994
  export class ModifyAutoScalingConfigRequestResource extends $tea.Model {
32868
32995
  /**
32869
32996
  * @remarks
32870
- * Specifies whether to apply the **Resource** configuration of the auto scaling feature for resources. Valid values:
32997
+ * Specifies whether to apply the **Resource** configuration of the resource auto scaling feature. Valid values:
32871
32998
  *
32872
32999
  * * **true**
32873
33000
  * * **false**
@@ -32881,7 +33008,7 @@ export class ModifyAutoScalingConfigRequestResource extends $tea.Model {
32881
33008
  apply?: boolean;
32882
33009
  /**
32883
33010
  * @remarks
32884
- * The average CPU utilization threshold that triggers automatic scale-out of resources. Unit: %. Valid values:
33011
+ * The average CPU utilization threshold that triggers automatic resource scale-out. Unit: %. Valid values:
32885
33012
  *
32886
33013
  * * **70**
32887
33014
  * * **80**
@@ -32914,7 +33041,7 @@ export class ModifyAutoScalingConfigRequestResource extends $tea.Model {
32914
33041
  downgradeObservationWindowSize?: string;
32915
33042
  /**
32916
33043
  * @remarks
32917
- * Specifies whether to enable the auto scaling feature for resources. Valid values:
33044
+ * Specifies whether to enable resource auto scaling. Valid values:
32918
33045
  *
32919
33046
  * * **true**
32920
33047
  * * **false**
@@ -32972,12 +33099,12 @@ export class ModifyAutoScalingConfigRequestResource extends $tea.Model {
32972
33099
  export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
32973
33100
  /**
32974
33101
  * @remarks
32975
- * Specifies whether to apply the **Shard** configuration of the auto scaling feature for shards. Valid values:
33102
+ * Specifies whether to apply the **Shard** configuration of the shard auto scaling feature. Valid values:
32976
33103
  *
32977
33104
  * * **true**
32978
33105
  * * **false**
32979
33106
  *
32980
- * > The auto scaling feature for shards is available only for ApsaraDB for Redis Community Edition cloud-native instances on the China site (aliyun.com).
33107
+ * > The shard auto scaling feature is available only for Tair (Redis OSS-compatible) cloud-native cluster instances on the China site (aliyun.com).
32981
33108
  *
32982
33109
  * @example
32983
33110
  * true
@@ -32985,12 +33112,12 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
32985
33112
  apply?: boolean;
32986
33113
  /**
32987
33114
  * @remarks
32988
- * Specifies whether to enable the feature of automatically removing shards. Valid values:
33115
+ * Specifies whether to enable automatic shard removal. Valid values:
32989
33116
  *
32990
33117
  * * **true**
32991
33118
  * * **false**
32992
33119
  *
32993
- * > The feature of automatically removing shards is in canary release.
33120
+ * > The automatic shard removal feature is in a canary release.
32994
33121
  *
32995
33122
  * @example
32996
33123
  * true
@@ -32998,7 +33125,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
32998
33125
  downgrade?: boolean;
32999
33126
  /**
33000
33127
  * @remarks
33001
- * The observation window of the feature of automatically removing shards. The value of this parameter consists of a numeric value and a time unit suffix. The **h** time unit suffix specifies the hour. The **d** time unit suffix specifies the day. Valid values:
33128
+ * The observation window of the automatic shard removal feature. The value of this parameter consists of a numeric value and a time unit suffix. The **h** time unit suffix specifies the hour. The **d** time unit suffix specifies the day. Valid values:
33002
33129
  *
33003
33130
  * * **1h**
33004
33131
  * * **2h**
@@ -33026,7 +33153,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
33026
33153
  maxShards?: number;
33027
33154
  /**
33028
33155
  * @remarks
33029
- * The average memory usage threshold that triggers automatic removal of shards. Unit: %. Valid values:
33156
+ * The average memory usage threshold that triggers automatic shard removal. Unit: %. Valid values:
33030
33157
  *
33031
33158
  * * **10**
33032
33159
  * * **20**
@@ -33041,7 +33168,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
33041
33168
  memUsageLowerThreshold?: number;
33042
33169
  /**
33043
33170
  * @remarks
33044
- * The average memory usage threshold that triggers automatic adding of shards. Unit: %. Valid values:
33171
+ * The average memory usage threshold that triggers automatic shard addition. Unit: %. Valid values:
33045
33172
  *
33046
33173
  * * **50**
33047
33174
  * * **60**
@@ -33069,7 +33196,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
33069
33196
  minShards?: number;
33070
33197
  /**
33071
33198
  * @remarks
33072
- * Specifies whether to enable the feature of automatically adding shards. Valid values:
33199
+ * Specifies whether to enable automatic shard addition. Valid values:
33073
33200
  *
33074
33201
  * * **true**
33075
33202
  * * **false**
@@ -33080,7 +33207,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
33080
33207
  upgrade?: boolean;
33081
33208
  /**
33082
33209
  * @remarks
33083
- * The observation window of the feature of automatically adding shards. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute. Valid values:
33210
+ * The observation window of the automatic shard addition feature. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute. Valid values:
33084
33211
  *
33085
33212
  * * **5m**
33086
33213
  * * **10m**
@@ -33130,7 +33257,7 @@ export class ModifyAutoScalingConfigRequestShard extends $tea.Model {
33130
33257
  export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33131
33258
  /**
33132
33259
  * @remarks
33133
- * Specifies whether to apply the **Spec** configuration of the auto scaling feature for specifications. Valid values:
33260
+ * Specifies whether to apply the **Spec** configuration of the specification auto scaling feature. Valid values:
33134
33261
  *
33135
33262
  * * **true**
33136
33263
  * * **false**
@@ -33141,10 +33268,10 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33141
33268
  apply?: boolean;
33142
33269
  /**
33143
33270
  * @remarks
33144
- * The quiescent period. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute, the **h** time unit suffix specifies the hour, and the **d** time suffix unit specifies the day.
33271
+ * The quiescent period. The value of this parameter consists of a numeric value and a time unit suffix. The **m** time unit suffix specifies the minute, the **h** time unit suffix specifies the hour, and the **d** time unit suffix specifies the day.
33145
33272
  *
33146
33273
  * * Valid values for PolarDB for MySQL Cluster Edition instances: **5m**, **10m**, **30m**, **1h**, **2h**, **3h**, **1d**, and **7d**.
33147
- * * Valid values for ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or ESSDs: **5m**, **10m**, **30m**, **1h**, **2h**, **3h**, **1d**, and **7d**.
33274
+ * * Valid values for ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or Enterprise SSDs (ESSDs): **5m**, **10m**, **30m**, **1h**, **2h**, **3h**, **1d**, and **7d**.
33148
33275
  *
33149
33276
  * @example
33150
33277
  * 5m
@@ -33163,7 +33290,7 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33163
33290
  * * **80**
33164
33291
  * * **90**
33165
33292
  *
33166
- * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance or an ApsaraDB RDS for MySQL High-availability Edition instance that uses standard SSDs or ESSDs.
33293
+ * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance or an ApsaraDB RDS for MySQL High-availability Edition instance that uses standard SSDs or ESSDs.
33167
33294
  *
33168
33295
  * @example
33169
33296
  * 70
@@ -33174,12 +33301,12 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33174
33301
  cpuUsageUpperThreshold?: number;
33175
33302
  /**
33176
33303
  * @remarks
33177
- * Specifies whether to enable the automatic specification scale-down feature. Valid values:
33304
+ * Specifies whether to enable automatic specification scale-down. Valid values:
33178
33305
  *
33179
33306
  * * **true**
33180
33307
  * * **false**
33181
33308
  *
33182
- * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance or an ApsaraDB RDS for MySQL High-availability Edition instance that uses standard SSDs or ESSDs.
33309
+ * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance or an ApsaraDB RDS for MySQL High-availability Edition instance that uses standard SSDs or ESSDs.
33183
33310
  *
33184
33311
  * @example
33185
33312
  * true
@@ -33192,7 +33319,7 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33192
33319
  * @remarks
33193
33320
  * The maximum number of read-only nodes of the instance.
33194
33321
  *
33195
- * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance.
33322
+ * > This parameter must be specified if the database instance is a PolarDB for MySQL Cluster Edition instance.
33196
33323
  *
33197
33324
  * @example
33198
33325
  * 10
@@ -33225,7 +33352,7 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33225
33352
  * * **80**
33226
33353
  * * **90**
33227
33354
  *
33228
- * > This parameter must be specified if the database instance is an ApsaraDB for Redis Community Edition cloud-native instance on the China site (aliyun.com).
33355
+ * > This parameter must be specified if the database instance is a Tair (Redis OSS-compatible) Community Edition cloud-native instance on the China site (aliyun.com).
33229
33356
  *
33230
33357
  * @example
33231
33358
  * 70
@@ -33240,7 +33367,7 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33240
33367
  *
33241
33368
  * * Valid values for PolarDB for MySQL Cluster Edition instances: **5m**, **10m**, **15m**, and **30m**.
33242
33369
  * * Valid values for ApsaraDB RDS for MySQL High-availability Edition instances that use standard SSDs or ESSDs: **5m**, **20m**, **30m**, **40m**, and **1h**.
33243
- * * Valid values for ApsaraDB for Redis Community Edition cloud-native instances: **5m**, **10m**, **15m**, and **30m**.
33370
+ * * Valid values for Tair (Redis OSS-compatible) Community Edition cloud-native instances: **5m**, **10m**, **15m**, and **30m**.
33244
33371
  *
33245
33372
  * @example
33246
33373
  * 5m
@@ -33251,7 +33378,7 @@ export class ModifyAutoScalingConfigRequestSpec extends $tea.Model {
33251
33378
  observationWindowSize?: string;
33252
33379
  /**
33253
33380
  * @remarks
33254
- * Specifies whether to enable the automatic specification scale-up feature. Valid values:
33381
+ * Specifies whether to enable automatic specification scale-up. Valid values:
33255
33382
  *
33256
33383
  * * **true**
33257
33384
  * * **false**
@@ -33327,12 +33454,12 @@ export class ModifyAutoScalingConfigRequestStorage extends $tea.Model {
33327
33454
  diskUsageUpperThreshold?: number;
33328
33455
  /**
33329
33456
  * @remarks
33330
- * The maximum storage size of the database instance. The value must be greater than or equal to the total storage size of the instance. Valid values of different types of instances:
33457
+ * The maximum storage size of the database instance. Unit: GB. The value must be greater than or equal to the total storage size of the instance.
33331
33458
  *
33332
- * * If the ApsaraDB for RDS instance uses ESSDs, the value of this parameter can be set to 32000, in GB.
33333
- * * If the ApsaraDB for RDS instance uses standard SSDs, the value of this parameter can be set to 6000, in GB.
33459
+ * * If the instance uses ESSDs, the maximum value of this parameter can be 32000.
33460
+ * * If the instance uses standard SSDs, the maximum value of this parameter can be 6000.
33334
33461
  *
33335
- * > The ApsaraDB RDS for MySQL instances that use standard SSDs are discontinued. We recommend that you [upgrade the storage type of an ApsaraDB RDS for MySQL instance from standard SSDs to ESSDs](https://help.aliyun.com/document_detail/314678.html).
33462
+ * > The standard SSD storage type is phased out. We recommend that you [upgrade the storage type of your instance from standard SSDs to ESSDs](https://help.aliyun.com/document_detail/314678.html).
33336
33463
  *
33337
33464
  * @example
33338
33465
  * 32000
@@ -33343,7 +33470,7 @@ export class ModifyAutoScalingConfigRequestStorage extends $tea.Model {
33343
33470
  maxStorage?: number;
33344
33471
  /**
33345
33472
  * @remarks
33346
- * Specifies whether to enable the automatic storage expansion feature. Valid values:
33473
+ * Specifies whether to enable automatic storage expansion. Valid values:
33347
33474
  *
33348
33475
  * * **true**
33349
33476
  * * **false**
@@ -34549,117 +34676,16 @@ export default class Client extends OpenApi {
34549
34676
  return await this.addHDMInstanceWithOptions(request, runtime);
34550
34677
  }
34551
34678
 
34552
- /**
34553
- * Creates a stress testing task on Advanced Database & Application Migration (ADAM).
34554
- *
34555
- * @remarks
34556
- * Database Autonomy Service (DAS) provides the intelligent stress testing feature. You can create an Advanced Database & Application Migration (ADAM) stress testing task to check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
34557
- * Make sure that your database instances meet the following requirements:
34558
- * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
34559
- * * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
34560
- * * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
34561
- * * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
34562
- *
34563
- * @param request - CreateAdamBenchTaskRequest
34564
- * @param runtime - runtime options for this request RuntimeOptions
34565
- * @returns CreateAdamBenchTaskResponse
34566
- */
34567
- async createAdamBenchTaskWithOptions(request: CreateAdamBenchTaskRequest, runtime: $Util.RuntimeOptions): Promise<CreateAdamBenchTaskResponse> {
34568
- Util.validateModel(request);
34569
- let query = { };
34570
- if (!Util.isUnset(request.description)) {
34571
- query["Description"] = request.description;
34572
- }
34573
-
34574
- if (!Util.isUnset(request.dstInstanceId)) {
34575
- query["DstInstanceId"] = request.dstInstanceId;
34576
- }
34577
-
34578
- if (!Util.isUnset(request.dstSuperAccount)) {
34579
- query["DstSuperAccount"] = request.dstSuperAccount;
34580
- }
34581
-
34582
- if (!Util.isUnset(request.dstSuperPassword)) {
34583
- query["DstSuperPassword"] = request.dstSuperPassword;
34584
- }
34585
-
34586
- if (!Util.isUnset(request.rate)) {
34587
- query["Rate"] = request.rate;
34588
- }
34589
-
34590
- if (!Util.isUnset(request.requestDuration)) {
34591
- query["RequestDuration"] = request.requestDuration;
34592
- }
34593
-
34594
- if (!Util.isUnset(request.requestStartTime)) {
34595
- query["RequestStartTime"] = request.requestStartTime;
34596
- }
34597
-
34598
- if (!Util.isUnset(request.srcEngine)) {
34599
- query["SrcEngine"] = request.srcEngine;
34600
- }
34601
-
34602
- if (!Util.isUnset(request.srcEngineVersion)) {
34603
- query["SrcEngineVersion"] = request.srcEngineVersion;
34604
- }
34605
-
34606
- if (!Util.isUnset(request.srcMaxQps)) {
34607
- query["SrcMaxQps"] = request.srcMaxQps;
34608
- }
34609
-
34610
- if (!Util.isUnset(request.srcMeanQps)) {
34611
- query["SrcMeanQps"] = request.srcMeanQps;
34612
- }
34613
-
34614
- if (!Util.isUnset(request.srcSqlOssAddr)) {
34615
- query["SrcSqlOssAddr"] = request.srcSqlOssAddr;
34616
- }
34617
-
34618
- let req = new $OpenApi.OpenApiRequest({
34619
- query: OpenApiUtil.query(query),
34620
- });
34621
- let params = new $OpenApi.Params({
34622
- action: "CreateAdamBenchTask",
34623
- version: "2020-01-16",
34624
- protocol: "HTTPS",
34625
- pathname: "/",
34626
- method: "POST",
34627
- authType: "AK",
34628
- style: "RPC",
34629
- reqBodyType: "formData",
34630
- bodyType: "json",
34631
- });
34632
- return $tea.cast<CreateAdamBenchTaskResponse>(await this.callApi(params, req, runtime), new CreateAdamBenchTaskResponse({}));
34633
- }
34634
-
34635
- /**
34636
- * Creates a stress testing task on Advanced Database & Application Migration (ADAM).
34637
- *
34638
- * @remarks
34639
- * Database Autonomy Service (DAS) provides the intelligent stress testing feature. You can create an Advanced Database & Application Migration (ADAM) stress testing task to check whether you need to scale up your database instance to handle workloads during peak hours. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
34640
- * Make sure that your database instances meet the following requirements:
34641
- * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
34642
- * * The destination instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
34643
- * * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
34644
- * * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
34645
- *
34646
- * @param request - CreateAdamBenchTaskRequest
34647
- * @returns CreateAdamBenchTaskResponse
34648
- */
34649
- async createAdamBenchTask(request: CreateAdamBenchTaskRequest): Promise<CreateAdamBenchTaskResponse> {
34650
- let runtime = new $Util.RuntimeOptions({ });
34651
- return await this.createAdamBenchTaskWithOptions(request, runtime);
34652
- }
34653
-
34654
34679
  /**
34655
34680
  * Creates a cache analysis task.
34656
34681
  *
34657
34682
  * @remarks
34658
34683
  * Before you call this operation, take note of the following items:
34659
- * * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
34660
- * * If you use an SDK to call DAS, you must set the region to cn-shanghai.
34661
- * * This operation is applicable only to ApsaraDB for Redis Community Edition instances and performance-enhanced instances of the ApsaraDB for Redis Enhanced Edition (Tair).
34662
- * > Redis 7.0 is not supported. You are not allowed to use custom modules.
34684
+ * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
34685
+ * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
34686
+ * * You can call this operation to analyze the data structures of ApsaraDB for Redis and the following self-developed data structures of Tair: TairString, TairHash, TairGIS, TairBloom, TairDoc, TairCpc, and TairZset. Other self-developed Tair data structures are not supported.
34687
+ * * If the specifications of the database instance that you want to analyze are changed, the backup file generated before the specification change cannot be analyzed.
34688
+ * * Tair ESSD/SSD-based instances are not supported.
34663
34689
  *
34664
34690
  * @param request - CreateCacheAnalysisJobRequest
34665
34691
  * @param runtime - runtime options for this request RuntimeOptions
@@ -34706,10 +34732,11 @@ export default class Client extends OpenApi {
34706
34732
  *
34707
34733
  * @remarks
34708
34734
  * Before you call this operation, take note of the following items:
34709
- * * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
34710
- * * If you use an SDK to call DAS, you must set the region to cn-shanghai.
34711
- * * This operation is applicable only to ApsaraDB for Redis Community Edition instances and performance-enhanced instances of the ApsaraDB for Redis Enhanced Edition (Tair).
34712
- * > Redis 7.0 is not supported. You are not allowed to use custom modules.
34735
+ * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
34736
+ * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
34737
+ * * You can call this operation to analyze the data structures of ApsaraDB for Redis and the following self-developed data structures of Tair: TairString, TairHash, TairGIS, TairBloom, TairDoc, TairCpc, and TairZset. Other self-developed Tair data structures are not supported.
34738
+ * * If the specifications of the database instance that you want to analyze are changed, the backup file generated before the specification change cannot be analyzed.
34739
+ * * Tair ESSD/SSD-based instances are not supported.
34713
34740
  *
34714
34741
  * @param request - CreateCacheAnalysisJobRequest
34715
34742
  * @returns CreateCacheAnalysisJobResponse
@@ -34724,8 +34751,8 @@ export default class Client extends OpenApi {
34724
34751
  *
34725
34752
  * @remarks
34726
34753
  * Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html). Before you call this API operation, make sure that your database instances meet the following requirements:
34727
- * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
34728
- * * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance.
34754
+ * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition cluster.
34755
+ * * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
34729
34756
  * * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
34730
34757
  * * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
34731
34758
  *
@@ -34866,8 +34893,8 @@ export default class Client extends OpenApi {
34866
34893
  *
34867
34894
  * @remarks
34868
34895
  * Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html). Before you call this API operation, make sure that your database instances meet the following requirements:
34869
- * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition or X-Engine Edition cluster.
34870
- * * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL instance.
34896
+ * * The source database instance is an ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance, or a PolarDB for MySQL Cluster Edition cluster.
34897
+ * * The destination database instance is an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster.
34871
34898
  * * The source and destination database instances are connected to DAS. For information about how to connect database instances to DAS, see [Connect an Alibaba Cloud database instance to DAS](https://help.aliyun.com/document_detail/65405.html).
34872
34899
  * * DAS Enterprise Edition is enabled for the source and destination database instances. For more information, see [Overview](https://help.aliyun.com/document_detail/190912.html).
34873
34900
  *
@@ -35083,6 +35110,52 @@ export default class Client extends OpenApi {
35083
35110
  return await this.createKillInstanceSessionTaskWithMaintainUserWithOptions(request, runtime);
35084
35111
  }
35085
35112
 
35113
+ /**
35114
+ * 创建最近死锁分析任务
35115
+ *
35116
+ * @param request - CreateLatestDeadLockAnalysisRequest
35117
+ * @param runtime - runtime options for this request RuntimeOptions
35118
+ * @returns CreateLatestDeadLockAnalysisResponse
35119
+ */
35120
+ async createLatestDeadLockAnalysisWithOptions(request: CreateLatestDeadLockAnalysisRequest, runtime: $Util.RuntimeOptions): Promise<CreateLatestDeadLockAnalysisResponse> {
35121
+ Util.validateModel(request);
35122
+ let body : {[key: string ]: any} = { };
35123
+ if (!Util.isUnset(request.instanceId)) {
35124
+ body["InstanceId"] = request.instanceId;
35125
+ }
35126
+
35127
+ if (!Util.isUnset(request.nodeId)) {
35128
+ body["NodeId"] = request.nodeId;
35129
+ }
35130
+
35131
+ let req = new $OpenApi.OpenApiRequest({
35132
+ body: OpenApiUtil.parseToMap(body),
35133
+ });
35134
+ let params = new $OpenApi.Params({
35135
+ action: "CreateLatestDeadLockAnalysis",
35136
+ version: "2020-01-16",
35137
+ protocol: "HTTPS",
35138
+ pathname: "/",
35139
+ method: "POST",
35140
+ authType: "AK",
35141
+ style: "RPC",
35142
+ reqBodyType: "formData",
35143
+ bodyType: "json",
35144
+ });
35145
+ return $tea.cast<CreateLatestDeadLockAnalysisResponse>(await this.callApi(params, req, runtime), new CreateLatestDeadLockAnalysisResponse({}));
35146
+ }
35147
+
35148
+ /**
35149
+ * 创建最近死锁分析任务
35150
+ *
35151
+ * @param request - CreateLatestDeadLockAnalysisRequest
35152
+ * @returns CreateLatestDeadLockAnalysisResponse
35153
+ */
35154
+ async createLatestDeadLockAnalysis(request: CreateLatestDeadLockAnalysisRequest): Promise<CreateLatestDeadLockAnalysisResponse> {
35155
+ let runtime = new $Util.RuntimeOptions({ });
35156
+ return await this.createLatestDeadLockAnalysisWithOptions(request, runtime);
35157
+ }
35158
+
35086
35159
  /**
35087
35160
  * Adds a tag to a SQL template.
35088
35161
  *
@@ -36096,12 +36169,13 @@ export default class Client extends OpenApi {
36096
36169
  }
36097
36170
 
36098
36171
  /**
36099
- * Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
36172
+ * Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance.
36100
36173
  *
36101
36174
  * @remarks
36102
- * For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36175
+ * For more information about the database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36103
36176
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
36104
36177
  * * This operation is applicable only to DAS Enterprise Edition V1 and V2.
36178
+ * > We recommend that you call the [DescribeSqlLogConfig](https://help.aliyun.com/document_detail/2778837.html) operation to query the DAS Enterprise Edition configurations of a database instance.
36105
36179
  *
36106
36180
  * @param request - DescribeInstanceDasProRequest
36107
36181
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36132,12 +36206,13 @@ export default class Client extends OpenApi {
36132
36206
  }
36133
36207
 
36134
36208
  /**
36135
- * Queries whether Database Autonomy Service (DAS) Enterprise Edition is enabled for a database instance.
36209
+ * Queries whether Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled for a database instance.
36136
36210
  *
36137
36211
  * @remarks
36138
- * For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36212
+ * For more information about the database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36139
36213
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
36140
36214
  * * This operation is applicable only to DAS Enterprise Edition V1 and V2.
36215
+ * > We recommend that you call the [DescribeSqlLogConfig](https://help.aliyun.com/document_detail/2778837.html) operation to query the DAS Enterprise Edition configurations of a database instance.
36141
36216
  *
36142
36217
  * @param request - DescribeInstanceDasProRequest
36143
36218
  * @returns DescribeInstanceDasProResponse
@@ -36398,7 +36473,7 @@ export default class Client extends OpenApi {
36398
36473
  }
36399
36474
 
36400
36475
  /**
36401
- * Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
36476
+ * Queries the audit log tasks of a database instance.
36402
36477
  *
36403
36478
  * @remarks
36404
36479
  * Before you call this operation, take note of the following items:
@@ -36458,7 +36533,7 @@ export default class Client extends OpenApi {
36458
36533
  }
36459
36534
 
36460
36535
  /**
36461
- * Queries the SQL Explorer and Audit tasks of a database instance for which Database Autonomy Service (DAS) Enterprise Edition is enabled.
36536
+ * Queries the audit log tasks of a database instance.
36462
36537
  *
36463
36538
  * @remarks
36464
36539
  * Before you call this operation, take note of the following items:
@@ -36552,7 +36627,7 @@ export default class Client extends OpenApi {
36552
36627
  }
36553
36628
 
36554
36629
  /**
36555
- * Queries the top 100 hot keys over a period of time.
36630
+ * Queries the top 100 hotkeys over a period of time.
36556
36631
  *
36557
36632
  * @remarks
36558
36633
  * If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
@@ -36609,7 +36684,7 @@ export default class Client extends OpenApi {
36609
36684
  }
36610
36685
 
36611
36686
  /**
36612
- * Queries the top 100 hot keys over a period of time.
36687
+ * Queries the top 100 hotkeys over a period of time.
36613
36688
  *
36614
36689
  * @remarks
36615
36690
  * If the number of queries per second (QPS) of a key is greater than 3,000, the key is considered a hot key.
@@ -36790,12 +36865,13 @@ export default class Client extends OpenApi {
36790
36865
  }
36791
36866
 
36792
36867
  /**
36793
- * Disables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
36868
+ * Deactivates Database Autonomy Service (DAS) Professional Edition.
36794
36869
  *
36795
36870
  * @remarks
36796
- * For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36871
+ * For more information about the database instances that support DAS Enterprise Edition, see [Overview](https://help.aliyun.com/document_detail/190912.html).
36797
36872
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
36798
36873
  * * This operation is applicable only to DAS Enterprise Edition V1.
36874
+ * > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable or disable DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
36799
36875
  *
36800
36876
  * @param request - DisableDasProRequest
36801
36877
  * @param runtime - runtime options for this request RuntimeOptions
@@ -36830,12 +36906,13 @@ export default class Client extends OpenApi {
36830
36906
  }
36831
36907
 
36832
36908
  /**
36833
- * Disables Database Autonomy Service (DAS) Enterprise Edition for a database instance.
36909
+ * Deactivates Database Autonomy Service (DAS) Professional Edition.
36834
36910
  *
36835
36911
  * @remarks
36836
- * For more information about database instances that support DAS Enterprise Edition, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
36912
+ * For more information about the database instances that support DAS Enterprise Edition, see [Overview](https://help.aliyun.com/document_detail/190912.html).
36837
36913
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
36838
36914
  * * This operation is applicable only to DAS Enterprise Edition V1.
36915
+ * > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable or disable DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
36839
36916
  *
36840
36917
  * @param request - DisableDasProRequest
36841
36918
  * @returns DisableDasProResponse
@@ -36968,12 +37045,12 @@ export default class Client extends OpenApi {
36968
37045
  }
36969
37046
 
36970
37047
  /**
36971
- * Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
37048
+ * Activates Database Autonomy Service (DAS) Professional Edition.
36972
37049
  *
36973
37050
  * @remarks
36974
37051
  * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
36975
37052
  * * This operation is applicable only to DAS Enterprise Edition V1.
36976
- * > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
37053
+ * > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to activate or deactivate DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [DAS editions and supported features](https://help.aliyun.com/document_detail/156204.html).
36977
37054
  *
36978
37055
  * @param request - EnableDasProRequest
36979
37056
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37012,12 +37089,12 @@ export default class Client extends OpenApi {
37012
37089
  }
37013
37090
 
37014
37091
  /**
37015
- * Enables Database Autonomy Service (DAS) Enterprise Edition V1 for a database instance.
37092
+ * Activates Database Autonomy Service (DAS) Professional Edition.
37016
37093
  *
37017
37094
  * @remarks
37018
37095
  * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
37019
37096
  * * This operation is applicable only to DAS Enterprise Edition V1.
37020
- * > If your database instance supports DAS Enterprise Edition V3, you cannot call this operation to enable DAS Enterprise Edition V1. You can call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to enable DAS Enterprise Edition V3 for your database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [Editions and supported features](https://help.aliyun.com/document_detail/156204.html).
37097
+ * > We recommend that you call the [ModifySqlLogConfig](https://help.aliyun.com/document_detail/2778835.html) operation to activate or deactivate DAS Enterprise Edition for a database instance. For more information about the databases and regions supported by each version of DAS Enterprise Edition, see [DAS editions and supported features](https://help.aliyun.com/document_detail/156204.html).
37021
37098
  *
37022
37099
  * @param request - EnableDasProRequest
37023
37100
  * @returns EnableDasProResponse
@@ -37103,9 +37180,10 @@ export default class Client extends OpenApi {
37103
37180
  * Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
37104
37181
  *
37105
37182
  * @remarks
37106
- * > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
37107
- * * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
37108
- * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
37183
+ * > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the **isFinish** parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the **isFinish** parameter is **true**, the complete results are returned.
37184
+ * * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Enable and manage DAS Economy Edition and DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
37185
+ * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
37186
+ * * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
37109
37187
  *
37110
37188
  * @param request - GetAsyncErrorRequestListByCodeRequest
37111
37189
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37155,9 +37233,10 @@ export default class Client extends OpenApi {
37155
37233
  * Asynchronously queries the IDs of SQL statements that generate a MySQL error code in the SQL Explorer results of a database instance.
37156
37234
  *
37157
37235
  * @remarks
37158
- * > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of **isFinish** is **false** in the response, wait for 1 second and then send a request again. If the value of **isFinish** is **true**, the complete results are returned.
37159
- * * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Purchase DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
37160
- * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
37236
+ * > GetAsyncErrorRequestListByCode is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the **isFinish** parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the **isFinish** parameter is **true**, the complete results are returned.
37237
+ * * This API operation supports only ApsaraDB RDS for MySQL instances and PolarDB for MySQL clusters for which Database Autonomy Service (DAS) Enterprise Edition is enabled. For more information, see [Enable and manage DAS Economy Edition and DAS Enterprise Edition](https://help.aliyun.com/document_detail/163298.html).
37238
+ * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
37239
+ * * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
37161
37240
  *
37162
37241
  * @param request - GetAsyncErrorRequestListByCodeRequest
37163
37242
  * @returns GetAsyncErrorRequestListByCodeResponse
@@ -37435,9 +37514,9 @@ export default class Client extends OpenApi {
37435
37514
  * @remarks
37436
37515
  * Before you call this operation, take note of the following items:
37437
37516
  * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
37438
- * * The database instance that you want to manage is of one of the following types:
37439
- * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.
37440
- * * PolarDB for MySQL Cluster Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition instance that runs MySQL 8.0.
37517
+ * * The database instance that you want to manage must be of one of the following types:
37518
+ * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
37519
+ * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
37441
37520
  *
37442
37521
  * @param request - GetAutoThrottleRulesRequest
37443
37522
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37477,9 +37556,9 @@ export default class Client extends OpenApi {
37477
37556
  * @remarks
37478
37557
  * Before you call this operation, take note of the following items:
37479
37558
  * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
37480
- * * The database instance that you want to manage is of one of the following types:
37481
- * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0.
37482
- * * PolarDB for MySQL Cluster Edition instance that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition instance that runs MySQL 8.0.
37559
+ * * The database instance that you want to manage must be of one of the following types:
37560
+ * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
37561
+ * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
37483
37562
  *
37484
37563
  * @param request - GetAutoThrottleRulesRequest
37485
37564
  * @returns GetAutoThrottleRulesResponse
@@ -37646,7 +37725,7 @@ export default class Client extends OpenApi {
37646
37725
  }
37647
37726
 
37648
37727
  /**
37649
- * Queries the blocking statistics of an instance.
37728
+ * Queries the blocking data of an ApsaraDB RDS for SQL Server instance.
37650
37729
  *
37651
37730
  * @remarks
37652
37731
  * This operation is applicable only to ApsaraDB RDS for SQL Server instances.
@@ -37706,7 +37785,7 @@ export default class Client extends OpenApi {
37706
37785
  }
37707
37786
 
37708
37787
  /**
37709
- * Queries the blocking statistics of an instance.
37788
+ * Queries the blocking data of an ApsaraDB RDS for SQL Server instance.
37710
37789
  *
37711
37790
  * @remarks
37712
37791
  * This operation is applicable only to ApsaraDB RDS for SQL Server instances.
@@ -37780,13 +37859,14 @@ export default class Client extends OpenApi {
37780
37859
  }
37781
37860
 
37782
37861
  /**
37783
- * Queries the storage usage of SQL Explorer of a database instance.
37862
+ * Queries the storage usage of a database instance for which Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled.
37784
37863
  *
37785
37864
  * @remarks
37786
- * For information about database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
37787
- * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
37865
+ * For information about the database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
37866
+ * * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
37788
37867
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
37789
37868
  * * This operation is applicable only to DAS Enterprise Edition V1 and V2.
37869
+ * > We recommend that you call the [DescribeSqlLogStatistic](https://help.aliyun.com/document_detail/2778836.html) operation to query the data statistics of a database instance for which DAS Enterprise Edition is enabled.
37790
37870
  *
37791
37871
  * @param request - GetDasProServiceUsageRequest
37792
37872
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37821,13 +37901,14 @@ export default class Client extends OpenApi {
37821
37901
  }
37822
37902
 
37823
37903
  /**
37824
- * Queries the storage usage of SQL Explorer of a database instance.
37904
+ * Queries the storage usage of a database instance for which Database Autonomy Service (DAS) Enterprise Edition V1 or V2 is enabled.
37825
37905
  *
37826
37906
  * @remarks
37827
- * For information about database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
37828
- * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
37907
+ * For information about the database instances that support this operation, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
37908
+ * * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
37829
37909
  * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
37830
37910
  * * This operation is applicable only to DAS Enterprise Edition V1 and V2.
37911
+ * > We recommend that you call the [DescribeSqlLogStatistic](https://help.aliyun.com/document_detail/2778836.html) operation to query the data statistics of a database instance for which DAS Enterprise Edition is enabled.
37831
37912
  *
37832
37913
  * @param request - GetDasProServiceUsageRequest
37833
37914
  * @returns GetDasProServiceUsageResponse
@@ -37838,14 +37919,14 @@ export default class Client extends OpenApi {
37838
37919
  }
37839
37920
 
37840
37921
  /**
37841
- * Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
37922
+ * Queries the hot data of audit logs.
37842
37923
  *
37843
37924
  * @remarks
37844
37925
  * Before you call this operation, take note of the following items:
37845
37926
  * * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
37846
- * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
37847
- * * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
37848
- * > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
37927
+ * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
37928
+ * * This operation is applicable to PolarDB for MySQL, ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and ApsaraDB RDS for SQL Server.
37929
+ * > The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed one day. This operation can return a maximum of 10,000 entries.
37849
37930
  *
37850
37931
  * @param request - GetDasSQLLogHotDataRequest
37851
37932
  * @param runtime - runtime options for this request RuntimeOptions
@@ -37984,14 +38065,14 @@ export default class Client extends OpenApi {
37984
38065
  }
37985
38066
 
37986
38067
  /**
37987
- * Queries the details of the hot storage data that Database Autonomy Service (DAS) Enterprise Edition V2 or V3 generated for a database instance within the previous seven days.
38068
+ * Queries the hot data of audit logs.
37988
38069
  *
37989
38070
  * @remarks
37990
38071
  * Before you call this operation, take note of the following items:
37991
38072
  * * If you use an Alibaba Cloud SDK or DAS SDK to call this operation, we recommend that you use the latest version of the SDK.
37992
- * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
37993
- * * The database instance that you want to manage must be an ApsaraDB RDS for MySQL instance or a PolarDB for MySQL cluster in the China (Shanghai) region.
37994
- * > You can query only the data generated after DAS Enterprise Edition V2 or V3 was enabled. The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the beginning and the end of the time range to query cannot exceed 24 hours.
38073
+ * * If you use an SDK to call API operations of DAS, you must set the region ID to cn-shanghai.
38074
+ * * This operation is applicable to PolarDB for MySQL, ApsaraDB RDS for MySQL, ApsaraDB RDS for PostgreSQL, and ApsaraDB RDS for SQL Server.
38075
+ * > The beginning of the time range to query can be up to seven days earlier than the current time. The interval between the start time and the end time cannot exceed one day. This operation can return a maximum of 10,000 entries.
37995
38076
  *
37996
38077
  * @param request - GetDasSQLLogHotDataRequest
37997
38078
  * @returns GetDasSQLLogHotDataResponse
@@ -38002,7 +38083,61 @@ export default class Client extends OpenApi {
38002
38083
  }
38003
38084
 
38004
38085
  /**
38005
- * Queries the deadlock details of an instance.
38086
+ * 查询单个死锁详情
38087
+ *
38088
+ * @param request - GetDeadLockDetailRequest
38089
+ * @param runtime - runtime options for this request RuntimeOptions
38090
+ * @returns GetDeadLockDetailResponse
38091
+ */
38092
+ async getDeadLockDetailWithOptions(request: GetDeadLockDetailRequest, runtime: $Util.RuntimeOptions): Promise<GetDeadLockDetailResponse> {
38093
+ Util.validateModel(request);
38094
+ let query = { };
38095
+ if (!Util.isUnset(request.instanceId)) {
38096
+ query["InstanceId"] = request.instanceId;
38097
+ }
38098
+
38099
+ if (!Util.isUnset(request.nodeId)) {
38100
+ query["NodeId"] = request.nodeId;
38101
+ }
38102
+
38103
+ if (!Util.isUnset(request.source)) {
38104
+ query["Source"] = request.source;
38105
+ }
38106
+
38107
+ if (!Util.isUnset(request.textId)) {
38108
+ query["TextId"] = request.textId;
38109
+ }
38110
+
38111
+ let req = new $OpenApi.OpenApiRequest({
38112
+ query: OpenApiUtil.query(query),
38113
+ });
38114
+ let params = new $OpenApi.Params({
38115
+ action: "GetDeadLockDetail",
38116
+ version: "2020-01-16",
38117
+ protocol: "HTTPS",
38118
+ pathname: "/",
38119
+ method: "POST",
38120
+ authType: "AK",
38121
+ style: "RPC",
38122
+ reqBodyType: "formData",
38123
+ bodyType: "json",
38124
+ });
38125
+ return $tea.cast<GetDeadLockDetailResponse>(await this.callApi(params, req, runtime), new GetDeadLockDetailResponse({}));
38126
+ }
38127
+
38128
+ /**
38129
+ * 查询单个死锁详情
38130
+ *
38131
+ * @param request - GetDeadLockDetailRequest
38132
+ * @returns GetDeadLockDetailResponse
38133
+ */
38134
+ async getDeadLockDetail(request: GetDeadLockDetailRequest): Promise<GetDeadLockDetailResponse> {
38135
+ let runtime = new $Util.RuntimeOptions({ });
38136
+ return await this.getDeadLockDetailWithOptions(request, runtime);
38137
+ }
38138
+
38139
+ /**
38140
+ * Queries the deadlock details of an ApsaraDB RDS for SQL Server instance.
38006
38141
  *
38007
38142
  * @remarks
38008
38143
  * This operation is applicable only to ApsaraDB RDS for SQL Server instances.
@@ -38058,7 +38193,7 @@ export default class Client extends OpenApi {
38058
38193
  }
38059
38194
 
38060
38195
  /**
38061
- * Queries the deadlock details of an instance.
38196
+ * Queries the deadlock details of an ApsaraDB RDS for SQL Server instance.
38062
38197
  *
38063
38198
  * @remarks
38064
38199
  * This operation is applicable only to ApsaraDB RDS for SQL Server instances.
@@ -38073,6 +38208,130 @@ export default class Client extends OpenApi {
38073
38208
  return await this.getDeadLockDetailListWithOptions(request, runtime);
38074
38209
  }
38075
38210
 
38211
+ /**
38212
+ * 获取历史死锁记录
38213
+ *
38214
+ * @param request - GetDeadLockHistoryRequest
38215
+ * @param runtime - runtime options for this request RuntimeOptions
38216
+ * @returns GetDeadLockHistoryResponse
38217
+ */
38218
+ async getDeadLockHistoryWithOptions(request: GetDeadLockHistoryRequest, runtime: $Util.RuntimeOptions): Promise<GetDeadLockHistoryResponse> {
38219
+ Util.validateModel(request);
38220
+ let query = { };
38221
+ if (!Util.isUnset(request.endTime)) {
38222
+ query["EndTime"] = request.endTime;
38223
+ }
38224
+
38225
+ if (!Util.isUnset(request.instanceId)) {
38226
+ query["InstanceId"] = request.instanceId;
38227
+ }
38228
+
38229
+ if (!Util.isUnset(request.nodeId)) {
38230
+ query["NodeId"] = request.nodeId;
38231
+ }
38232
+
38233
+ if (!Util.isUnset(request.pageNo)) {
38234
+ query["PageNo"] = request.pageNo;
38235
+ }
38236
+
38237
+ if (!Util.isUnset(request.pageSize)) {
38238
+ query["PageSize"] = request.pageSize;
38239
+ }
38240
+
38241
+ if (!Util.isUnset(request.source)) {
38242
+ query["Source"] = request.source;
38243
+ }
38244
+
38245
+ if (!Util.isUnset(request.startTime)) {
38246
+ query["StartTime"] = request.startTime;
38247
+ }
38248
+
38249
+ let req = new $OpenApi.OpenApiRequest({
38250
+ query: OpenApiUtil.query(query),
38251
+ });
38252
+ let params = new $OpenApi.Params({
38253
+ action: "GetDeadLockHistory",
38254
+ version: "2020-01-16",
38255
+ protocol: "HTTPS",
38256
+ pathname: "/",
38257
+ method: "POST",
38258
+ authType: "AK",
38259
+ style: "RPC",
38260
+ reqBodyType: "formData",
38261
+ bodyType: "json",
38262
+ });
38263
+ return $tea.cast<GetDeadLockHistoryResponse>(await this.callApi(params, req, runtime), new GetDeadLockHistoryResponse({}));
38264
+ }
38265
+
38266
+ /**
38267
+ * 获取历史死锁记录
38268
+ *
38269
+ * @param request - GetDeadLockHistoryRequest
38270
+ * @returns GetDeadLockHistoryResponse
38271
+ */
38272
+ async getDeadLockHistory(request: GetDeadLockHistoryRequest): Promise<GetDeadLockHistoryResponse> {
38273
+ let runtime = new $Util.RuntimeOptions({ });
38274
+ return await this.getDeadLockHistoryWithOptions(request, runtime);
38275
+ }
38276
+
38277
+ /**
38278
+ * 查询时间范围内基于错误日志分析的死锁数量
38279
+ *
38280
+ * @param request - GetDeadlockHistogramRequest
38281
+ * @param runtime - runtime options for this request RuntimeOptions
38282
+ * @returns GetDeadlockHistogramResponse
38283
+ */
38284
+ async getDeadlockHistogramWithOptions(request: GetDeadlockHistogramRequest, runtime: $Util.RuntimeOptions): Promise<GetDeadlockHistogramResponse> {
38285
+ Util.validateModel(request);
38286
+ let body : {[key: string ]: any} = { };
38287
+ if (!Util.isUnset(request.endTime)) {
38288
+ body["EndTime"] = request.endTime;
38289
+ }
38290
+
38291
+ if (!Util.isUnset(request.instanceId)) {
38292
+ body["InstanceId"] = request.instanceId;
38293
+ }
38294
+
38295
+ if (!Util.isUnset(request.nodeId)) {
38296
+ body["NodeId"] = request.nodeId;
38297
+ }
38298
+
38299
+ if (!Util.isUnset(request.startTime)) {
38300
+ body["StartTime"] = request.startTime;
38301
+ }
38302
+
38303
+ if (!Util.isUnset(request.status)) {
38304
+ body["Status"] = request.status;
38305
+ }
38306
+
38307
+ let req = new $OpenApi.OpenApiRequest({
38308
+ body: OpenApiUtil.parseToMap(body),
38309
+ });
38310
+ let params = new $OpenApi.Params({
38311
+ action: "GetDeadlockHistogram",
38312
+ version: "2020-01-16",
38313
+ protocol: "HTTPS",
38314
+ pathname: "/",
38315
+ method: "POST",
38316
+ authType: "AK",
38317
+ style: "RPC",
38318
+ reqBodyType: "formData",
38319
+ bodyType: "json",
38320
+ });
38321
+ return $tea.cast<GetDeadlockHistogramResponse>(await this.callApi(params, req, runtime), new GetDeadlockHistogramResponse({}));
38322
+ }
38323
+
38324
+ /**
38325
+ * 查询时间范围内基于错误日志分析的死锁数量
38326
+ *
38327
+ * @param request - GetDeadlockHistogramRequest
38328
+ * @returns GetDeadlockHistogramResponse
38329
+ */
38330
+ async getDeadlockHistogram(request: GetDeadlockHistogramRequest): Promise<GetDeadlockHistogramResponse> {
38331
+ let runtime = new $Util.RuntimeOptions({ });
38332
+ return await this.getDeadlockHistogramWithOptions(request, runtime);
38333
+ }
38334
+
38076
38335
  /**
38077
38336
  * @param request - GetEndpointSwitchTaskRequest
38078
38337
  * @param runtime - runtime options for this request RuntimeOptions
@@ -38435,10 +38694,11 @@ export default class Client extends OpenApi {
38435
38694
  * Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
38436
38695
  *
38437
38696
  * @remarks
38438
- * > The complete query results are not returned immediately after an asynchronous request is sent. If the value of isFinish is **false** in the response, wait for 1 second and send the request again. The complete query results are returned until the value of isFinish is **true**.
38697
+ * > GetFullRequestStatResultByInstanceId is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the isFinish parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the isFinish parameter is **true**, the complete results are returned.
38439
38698
  * The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
38440
- * * For more information about database instances that support SQL Explorer, see [Overview](https://help.aliyun.com/document_detail/190912.html).
38441
- * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
38699
+ * * For more information about database instances that support this feature, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
38700
+ * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
38701
+ * * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
38442
38702
  *
38443
38703
  * @param request - GetFullRequestStatResultByInstanceIdRequest
38444
38704
  * @param runtime - runtime options for this request RuntimeOptions
@@ -38528,10 +38788,11 @@ export default class Client extends OpenApi {
38528
38788
  * Asynchronously collects the full request statistics in the SQL Explorer results of a database instance by SQL ID.
38529
38789
  *
38530
38790
  * @remarks
38531
- * > The complete query results are not returned immediately after an asynchronous request is sent. If the value of isFinish is **false** in the response, wait for 1 second and send the request again. The complete query results are returned until the value of isFinish is **true**.
38791
+ * > GetFullRequestStatResultByInstanceId is an asynchronous operation. After a request is sent, the complete results are not returned immediately. If the value of the isFinish parameter is **false** in the response, wait for 1 second and then send a request again. If the value of the isFinish parameter is **true**, the complete results are returned.
38532
38792
  * The SQL Explorer feature allows you to check the health status of SQL statements and troubleshoot performance issues. For more information, see [SQL Explorer](https://help.aliyun.com/document_detail/204096.html).
38533
- * * For more information about database instances that support SQL Explorer, see [Overview](https://help.aliyun.com/document_detail/190912.html).
38534
- * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
38793
+ * * For more information about database instances that support this feature, see [Overview of DAS Enterprise Edition](https://help.aliyun.com/document_detail/190912.html).
38794
+ * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
38795
+ * * When you call this operation, the value of the SqlId parameter changes due to the optimization of the SQL template algorithm starting from September 1, 2024. For more information, see [[Notice\\] Optimization of the SQL template algorithm](~~2845725~~).
38535
38796
  *
38536
38797
  * @param request - GetFullRequestStatResultByInstanceIdRequest
38537
38798
  * @returns GetFullRequestStatResultByInstanceIdResponse
@@ -40066,15 +40327,16 @@ export default class Client extends OpenApi {
40066
40327
  *
40067
40328
  * @remarks
40068
40329
  * Before you call this operation, take note of the following items:
40069
- * * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
40070
- * * This operation supports the following database engines:
40071
- * * ApsaraDB RDS for MySQL
40072
- * * ApsaraDB RDS for PostgreSQL
40073
- * * ApsaraDB RDS for SQL Server
40330
+ * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
40331
+ * * You cannot call this operation to query the diagnostic result of the automatic SQL optimization feature.
40332
+ * * This operation is applicable to the following database engines:
40333
+ * * RDS MySQL
40334
+ * * RDS PostgreSQL
40335
+ * * RDS SQL Server
40074
40336
  * * PolarDB for MySQL
40075
- * * PolarDB for PostgreSQL (compatible with Oracle)
40337
+ * * PolarDB for PostgreSQL (Compatible with Oracle)
40076
40338
  * * ApsaraDB for MongoDB
40077
- * > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
40339
+ * > If your instance is an ApsaraDB RDS for PostgreSQL instance, make sure that the minor engine version of your instance is 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
40078
40340
  *
40079
40341
  * @param request - GetRequestDiagnosisResultRequest
40080
40342
  * @param runtime - runtime options for this request RuntimeOptions
@@ -40125,15 +40387,16 @@ export default class Client extends OpenApi {
40125
40387
  *
40126
40388
  * @remarks
40127
40389
  * Before you call this operation, take note of the following items:
40128
- * * If you use an SDK to call operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
40129
- * * This operation supports the following database engines:
40130
- * * ApsaraDB RDS for MySQL
40131
- * * ApsaraDB RDS for PostgreSQL
40132
- * * ApsaraDB RDS for SQL Server
40390
+ * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
40391
+ * * You cannot call this operation to query the diagnostic result of the automatic SQL optimization feature.
40392
+ * * This operation is applicable to the following database engines:
40393
+ * * RDS MySQL
40394
+ * * RDS PostgreSQL
40395
+ * * RDS SQL Server
40133
40396
  * * PolarDB for MySQL
40134
- * * PolarDB for PostgreSQL (compatible with Oracle)
40397
+ * * PolarDB for PostgreSQL (Compatible with Oracle)
40135
40398
  * * ApsaraDB for MongoDB
40136
- * > The minor engine version of the Apsara RDS for PostgreSQL instance must be 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
40399
+ * > If your instance is an ApsaraDB RDS for PostgreSQL instance, make sure that the minor engine version of your instance is 20220130 or later. For more information about how to check and update the minor engine version of an ApsaraDB RDS for PostgreSQL instance, see [Update the minor engine version of an ApsaraDB RDS for PostgreSQL instance](https://help.aliyun.com/document_detail/146895.html).
40137
40400
  *
40138
40401
  * @param request - GetRequestDiagnosisResultRequest
40139
40402
  * @returns GetRequestDiagnosisResultResponse
@@ -40750,7 +41013,7 @@ export default class Client extends OpenApi {
40750
41013
  *
40751
41014
  * @remarks
40752
41015
  * Before you call this operation, take note of the following items:
40753
- * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
41016
+ * * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
40754
41017
  * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
40755
41018
  * * Make sure that the database instance that you want to manage is connected to DAS.
40756
41019
  *
@@ -40827,7 +41090,7 @@ export default class Client extends OpenApi {
40827
41090
  *
40828
41091
  * @remarks
40829
41092
  * Before you call this operation, take note of the following items:
40830
- * * If you use an Alibaba Cloud SDK or Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
41093
+ * * If you use an Alibaba Cloud SDK or a Database Autonomy Service (DAS) SDK to call this operation, we recommend that you use the latest version of the SDK.
40831
41094
  * * If you use an SDK to call the API operations of DAS, you must set the region ID to cn-shanghai.
40832
41095
  * * Make sure that the database instance that you want to manage is connected to DAS.
40833
41096
  *
@@ -40839,128 +41102,6 @@ export default class Client extends OpenApi {
40839
41102
  return await this.setEventSubscriptionWithOptions(request, runtime);
40840
41103
  }
40841
41104
 
40842
- /**
40843
- * Stops a stress testing task.
40844
- *
40845
- * @remarks
40846
- * Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
40847
- *
40848
- * @param request - StopCloudBenchTaskRequest
40849
- * @param runtime - runtime options for this request RuntimeOptions
40850
- * @returns StopCloudBenchTaskResponse
40851
- */
40852
- async stopCloudBenchTaskWithOptions(request: StopCloudBenchTaskRequest, runtime: $Util.RuntimeOptions): Promise<StopCloudBenchTaskResponse> {
40853
- Util.validateModel(request);
40854
- let query = { };
40855
- if (!Util.isUnset(request.taskId)) {
40856
- query["TaskId"] = request.taskId;
40857
- }
40858
-
40859
- let req = new $OpenApi.OpenApiRequest({
40860
- query: OpenApiUtil.query(query),
40861
- });
40862
- let params = new $OpenApi.Params({
40863
- action: "StopCloudBenchTask",
40864
- version: "2020-01-16",
40865
- protocol: "HTTPS",
40866
- pathname: "/",
40867
- method: "POST",
40868
- authType: "AK",
40869
- style: "RPC",
40870
- reqBodyType: "formData",
40871
- bodyType: "json",
40872
- });
40873
- return $tea.cast<StopCloudBenchTaskResponse>(await this.callApi(params, req, runtime), new StopCloudBenchTaskResponse({}));
40874
- }
40875
-
40876
- /**
40877
- * Stops a stress testing task.
40878
- *
40879
- * @remarks
40880
- * Database Autonomy Service (DAS) provides the intelligent stress testing feature. This feature helps you check whether your instance needs to be scaled up to effectively handle traffic spikes. For more information, see [Intelligent stress testing](https://help.aliyun.com/document_detail/155068.html).
40881
- *
40882
- * @param request - StopCloudBenchTaskRequest
40883
- * @returns StopCloudBenchTaskResponse
40884
- */
40885
- async stopCloudBenchTask(request: StopCloudBenchTaskRequest): Promise<StopCloudBenchTaskResponse> {
40886
- let runtime = new $Util.RuntimeOptions({ });
40887
- return await this.stopCloudBenchTaskWithOptions(request, runtime);
40888
- }
40889
-
40890
- /**
40891
- * @param request - SyncHDMAliyunResourceRequest
40892
- * @param runtime - runtime options for this request RuntimeOptions
40893
- * @returns SyncHDMAliyunResourceResponse
40894
- */
40895
- async syncHDMAliyunResourceWithOptions(request: SyncHDMAliyunResourceRequest, runtime: $Util.RuntimeOptions): Promise<SyncHDMAliyunResourceResponse> {
40896
- Util.validateModel(request);
40897
- let query = { };
40898
- if (!Util.isUnset(request.async)) {
40899
- query["Async"] = request.async;
40900
- }
40901
-
40902
- if (!Util.isUnset(request.resourceTypes)) {
40903
- query["ResourceTypes"] = request.resourceTypes;
40904
- }
40905
-
40906
- if (!Util.isUnset(request.uid)) {
40907
- query["Uid"] = request.uid;
40908
- }
40909
-
40910
- if (!Util.isUnset(request.userId)) {
40911
- query["UserId"] = request.userId;
40912
- }
40913
-
40914
- if (!Util.isUnset(request.waitForModifySecurityIps)) {
40915
- query["WaitForModifySecurityIps"] = request.waitForModifySecurityIps;
40916
- }
40917
-
40918
- if (!Util.isUnset(request.context)) {
40919
- query["__context"] = request.context;
40920
- }
40921
-
40922
- if (!Util.isUnset(request.accessKey)) {
40923
- query["accessKey"] = request.accessKey;
40924
- }
40925
-
40926
- if (!Util.isUnset(request.signature)) {
40927
- query["signature"] = request.signature;
40928
- }
40929
-
40930
- if (!Util.isUnset(request.skipAuth)) {
40931
- query["skipAuth"] = request.skipAuth;
40932
- }
40933
-
40934
- if (!Util.isUnset(request.timestamp)) {
40935
- query["timestamp"] = request.timestamp;
40936
- }
40937
-
40938
- let req = new $OpenApi.OpenApiRequest({
40939
- query: OpenApiUtil.query(query),
40940
- });
40941
- let params = new $OpenApi.Params({
40942
- action: "SyncHDMAliyunResource",
40943
- version: "2020-01-16",
40944
- protocol: "HTTPS",
40945
- pathname: "/",
40946
- method: "POST",
40947
- authType: "AK",
40948
- style: "RPC",
40949
- reqBodyType: "formData",
40950
- bodyType: "json",
40951
- });
40952
- return $tea.cast<SyncHDMAliyunResourceResponse>(await this.callApi(params, req, runtime), new SyncHDMAliyunResourceResponse({}));
40953
- }
40954
-
40955
- /**
40956
- * @param request - SyncHDMAliyunResourceRequest
40957
- * @returns SyncHDMAliyunResourceResponse
40958
- */
40959
- async syncHDMAliyunResource(request: SyncHDMAliyunResourceRequest): Promise<SyncHDMAliyunResourceResponse> {
40960
- let runtime = new $Util.RuntimeOptions({ });
40961
- return await this.syncHDMAliyunResourceWithOptions(request, runtime);
40962
- }
40963
-
40964
41105
  /**
40965
41106
  * Asynchronously configures parameters related to the automatic fragment recycling feature for multiple database instances at a time.
40966
41107
  *
@@ -41042,10 +41183,10 @@ export default class Client extends OpenApi {
41042
41183
  * Before you call this operation, take note of the following items:
41043
41184
  * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41044
41185
  * * DAS Enterprise Edition must be enabled for the database instance that you want to manage. To enable DAS Enterprise Edition for a database instance, you can call the [EnableDasPro](https://help.aliyun.com/document_detail/411645.html) operation.
41045
- * * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41186
+ * * The autonomy service must be enabled for the database instance. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41046
41187
  * * This operation supports the following database engines:
41047
41188
  * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
41048
- * * PolarDB for MySQL Cluster Edition or X-Engine Edition
41189
+ * * PolarDB for MySQL Cluster Edition
41049
41190
  *
41050
41191
  * @param request - UpdateAutoSqlOptimizeStatusRequest
41051
41192
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41086,10 +41227,10 @@ export default class Client extends OpenApi {
41086
41227
  * Before you call this operation, take note of the following items:
41087
41228
  * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41088
41229
  * * DAS Enterprise Edition must be enabled for the database instance that you want to manage. To enable DAS Enterprise Edition for a database instance, you can call the [EnableDasPro](https://help.aliyun.com/document_detail/411645.html) operation.
41089
- * * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41230
+ * * The autonomy service must be enabled for the database instance. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41090
41231
  * * This operation supports the following database engines:
41091
41232
  * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition
41092
- * * PolarDB for MySQL Cluster Edition or X-Engine Edition
41233
+ * * PolarDB for MySQL Cluster Edition
41093
41234
  *
41094
41235
  * @param request - UpdateAutoSqlOptimizeStatusRequest
41095
41236
  * @returns UpdateAutoSqlOptimizeStatusResponse
@@ -41103,13 +41244,13 @@ export default class Client extends OpenApi {
41103
41244
  * Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
41104
41245
  *
41105
41246
  * @remarks
41106
- * > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
41247
+ * > Asynchronous calls do not immediately return the complete results. To obtain the complete results, you must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.**** In this case, you must call this operation at least twice.
41107
41248
  * Before you call this operation, take note of the following items:
41108
- * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41249
+ * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41109
41250
  * * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41110
41251
  * * The database instance that you want to manage must be of one of the following types:
41111
41252
  * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
41112
- * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
41253
+ * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
41113
41254
  *
41114
41255
  * @param request - UpdateAutoThrottleRulesAsyncRequest
41115
41256
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41183,13 +41324,13 @@ export default class Client extends OpenApi {
41183
41324
  * Asynchronously configures parameters related to the automatic SQL throttling feature for multiple database instances at a time.
41184
41325
  *
41185
41326
  * @remarks
41186
- * > Asynchronous calls do not immediately return the complete results. You must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.
41327
+ * > Asynchronous calls do not immediately return the complete results. To obtain the complete results, you must use the value of **ResultId** returned in the response to re-initiate the call until the value of **isFinish** is **true**.**** In this case, you must call this operation at least twice.
41187
41328
  * Before you call this operation, take note of the following items:
41188
- * * If you use an SDK to call the API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41329
+ * * If you use an SDK to call API operations of Database Autonomy Service (DAS), you must set the region ID to cn-shanghai.
41189
41330
  * * The autonomy service must be enabled for the database instance that you want to manage. For more information, see [Autonomy center](https://help.aliyun.com/document_detail/152139.html).
41190
41331
  * * The database instance that you want to manage must be of one of the following types:
41191
41332
  * * ApsaraDB RDS for MySQL High-availability Edition or Enterprise Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
41192
- * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0, or PolarDB for MySQL X-Engine Edition that runs MySQL 8.0
41333
+ * * PolarDB for MySQL Cluster Edition that runs MySQL 5.6, MySQL 5.7, or MySQL 8.0
41193
41334
  *
41194
41335
  * @param request - UpdateAutoThrottleRulesAsyncRequest
41195
41336
  * @returns UpdateAutoThrottleRulesAsyncResponse