@alicloud/adb20211201 3.5.0 → 3.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -860,6 +860,75 @@ export declare class AllocateClusterPublicConnectionResponse extends $tea.Model
860
860
  [key: string]: any;
861
861
  });
862
862
  }
863
+ export declare class ApplyAdviceByIdRequest extends $tea.Model {
864
+ /**
865
+ * @example
866
+ * 20221101
867
+ */
868
+ adviceDate?: number;
869
+ /**
870
+ * @example
871
+ * 0baf1f52-53df-487f-8292-99a03716****
872
+ */
873
+ adviceId?: string;
874
+ /**
875
+ * @remarks
876
+ * This parameter is required.
877
+ *
878
+ * @example
879
+ * am-uf6g8w25jacm7****
880
+ */
881
+ DBClusterId?: string;
882
+ /**
883
+ * @remarks
884
+ * This parameter is required.
885
+ *
886
+ * @example
887
+ * cn-hangzhou
888
+ */
889
+ regionId?: string;
890
+ static names(): {
891
+ [key: string]: string;
892
+ };
893
+ static types(): {
894
+ [key: string]: any;
895
+ };
896
+ constructor(map?: {
897
+ [key: string]: any;
898
+ });
899
+ }
900
+ export declare class ApplyAdviceByIdResponseBody extends $tea.Model {
901
+ /**
902
+ * @example
903
+ * 5DC10091-348D-12B1-906D-AB49D658012E
904
+ */
905
+ requestId?: string;
906
+ static names(): {
907
+ [key: string]: string;
908
+ };
909
+ static types(): {
910
+ [key: string]: any;
911
+ };
912
+ constructor(map?: {
913
+ [key: string]: any;
914
+ });
915
+ }
916
+ export declare class ApplyAdviceByIdResponse extends $tea.Model {
917
+ headers?: {
918
+ [key: string]: string;
919
+ };
920
+ statusCode?: number;
921
+ body?: ApplyAdviceByIdResponseBody;
922
+ static names(): {
923
+ [key: string]: string;
924
+ };
925
+ static types(): {
926
+ [key: string]: any;
927
+ };
928
+ constructor(map?: {
929
+ [key: string]: any;
930
+ });
931
+ }
863
932
  export declare class AttachUserENIRequest extends $tea.Model {
864
933
  /**
865
934
  * @remarks
@@ -918,6 +987,75 @@ export declare class AttachUserENIResponse extends $tea.Model {
918
987
  [key: string]: any;
919
988
  });
920
989
  }
990
+ export declare class BatchApplyAdviceByIdListRequest extends $tea.Model {
991
+ /**
992
+ * @example
993
+ * 20221115
994
+ */
995
+ adviceDate?: number;
996
+ /**
997
+ * @example
998
+ * c2589ff3-e86c-4f19-80c8-2aeb7dd9****,53414470-ebf4-4a53-a312-8a1ad8fd****,6e8dce84-fec8-4b0b-9c04-b0cea12c****,b3b9703d-55ca-47e0-96dd-6a4a9dbf****
999
+ */
1000
+ adviceIdList?: string;
1001
+ /**
1002
+ * @remarks
1003
+ * This parameter is required.
1004
+ *
1005
+ * @example
1006
+ * am-uf6g8w25jacm7****
1007
+ */
1008
+ DBClusterId?: string;
1009
+ /**
1010
+ * @remarks
1011
+ * This parameter is required.
1012
+ *
1013
+ * @example
1014
+ * cn-hangzhou
1015
+ */
1016
+ regionId?: string;
1017
+ static names(): {
1018
+ [key: string]: string;
1019
+ };
1020
+ static types(): {
1021
+ [key: string]: any;
1022
+ };
1023
+ constructor(map?: {
1024
+ [key: string]: any;
1025
+ });
1026
+ }
1027
+ export declare class BatchApplyAdviceByIdListResponseBody extends $tea.Model {
1028
+ /**
1029
+ * @example
1030
+ * 86F92D26-B774-5FA1-8E53-82CBEEEBB012
1031
+ */
1032
+ requestId?: string;
1033
+ static names(): {
1034
+ [key: string]: string;
1035
+ };
1036
+ static types(): {
1037
+ [key: string]: any;
1038
+ };
1039
+ constructor(map?: {
1040
+ [key: string]: any;
1041
+ });
1042
+ }
1043
+ export declare class BatchApplyAdviceByIdListResponse extends $tea.Model {
1044
+ headers?: {
1045
+ [key: string]: string;
1046
+ };
1047
+ statusCode?: number;
1048
+ body?: BatchApplyAdviceByIdListResponseBody;
1049
+ static names(): {
1050
+ [key: string]: string;
1051
+ };
1052
+ static types(): {
1053
+ [key: string]: any;
1054
+ };
1055
+ constructor(map?: {
1056
+ [key: string]: any;
1057
+ });
1058
+ }
921
1059
  export declare class BindAccountRequest extends $tea.Model {
922
1060
  /**
923
1061
  * @remarks
@@ -1273,6 +1411,149 @@ export declare class CheckSampleDataSetResponse extends $tea.Model {
1273
1411
  [key: string]: any;
1274
1412
  });
1275
1413
  }
1414
+ export declare class CreateAPSJobRequest extends $tea.Model {
1415
+ /**
1416
+ * @remarks
1417
+ * This parameter is required.
1418
+ *
1419
+ * @example
1420
+ * aps-xxxxx
1421
+ */
1422
+ apsJobName?: string;
1423
+ /**
1424
+ * @remarks
1425
+ * This parameter is required.
1426
+ *
1427
+ * @example
1428
+ * {"EntireInstance":true}
1429
+ */
1430
+ dbList?: string;
1431
+ /**
1432
+ * @remarks
1433
+ * This parameter is required.
1434
+ *
1435
+ * @example
1436
+ * amv-xxxxx
1437
+ */
1438
+ destinationEndpointInstanceID?: string;
1439
+ /**
1440
+ * @example
1441
+ * ******
1442
+ */
1443
+ destinationEndpointPassword?: string;
1444
+ /**
1445
+ * @example
1446
+ * ******
1447
+ */
1448
+ destinationEndpointUserName?: string;
1449
+ /**
1450
+ * @example
1451
+ * {}
1452
+ */
1453
+ partitionList?: string;
1454
+ /**
1455
+ * @remarks
1456
+ * This parameter is required.
1457
+ *
1458
+ * @example
1459
+ * cn-shanghai
1460
+ */
1461
+ regionId?: string;
1462
+ /**
1463
+ * @remarks
1464
+ * This parameter is required.
1465
+ *
1466
+ * @example
1467
+ * pc-xxxxx
1468
+ */
1469
+ sourceEndpointInstanceID?: string;
1470
+ /**
1471
+ * @example
1472
+ * ******
1473
+ */
1474
+ sourceEndpointPassword?: string;
1475
+ /**
1476
+ * @example
1477
+ * cn-beijing
1478
+ */
1479
+ sourceEndpointRegion?: string;
1480
+ /**
1481
+ * @example
1482
+ * xxxx
1483
+ */
1484
+ sourceEndpointUserName?: string;
1485
+ /**
1486
+ * @example
1487
+ * 1
1488
+ */
1489
+ targetTableMode?: string;
1490
+ static names(): {
1491
+ [key: string]: string;
1492
+ };
1493
+ static types(): {
1494
+ [key: string]: any;
1495
+ };
1496
+ constructor(map?: {
1497
+ [key: string]: any;
1498
+ });
1499
+ }
1500
+ export declare class CreateAPSJobResponseBody extends $tea.Model {
1501
+ /**
1502
+ * @example
1503
+ * aps-bj1xxxxxx
1504
+ */
1505
+ apsJobId?: string;
1506
+ /**
1507
+ * @example
1508
+ * InvalidInput
1509
+ */
1510
+ code?: string;
1511
+ /**
1512
+ * @example
1513
+ * 200
1514
+ */
1515
+ httpStatusCode?: number;
1516
+ /**
1517
+ * @example
1518
+ * OK
1519
+ */
1520
+ message?: string;
1521
+ /**
1522
+ * @example
1523
+ * D1B8ED33-5E9B-512D-B188-1579ED6xxx
1524
+ */
1525
+ requestId?: string;
1526
+ /**
1527
+ * @example
1528
+ * True
1529
+ */
1530
+ success?: boolean;
1531
+ static names(): {
1532
+ [key: string]: string;
1533
+ };
1534
+ static types(): {
1535
+ [key: string]: any;
1536
+ };
1537
+ constructor(map?: {
1538
+ [key: string]: any;
1539
+ });
1540
+ }
1541
+ export declare class CreateAPSJobResponse extends $tea.Model {
1542
+ headers?: {
1543
+ [key: string]: string;
1544
+ };
1545
+ statusCode?: number;
1546
+ body?: CreateAPSJobResponseBody;
1547
+ static names(): {
1548
+ [key: string]: string;
1549
+ };
1550
+ static types(): {
1551
+ [key: string]: any;
1552
+ };
1553
+ constructor(map?: {
1554
+ [key: string]: any;
1555
+ });
1556
+ }
1276
1557
  export declare class CreateAccountRequest extends $tea.Model {
1277
1558
  /**
1278
1559
  * @remarks
@@ -4148,6 +4429,75 @@ export declare class DescribeAdbMySqlTablesResponse extends $tea.Model {
4148
4429
  [key: string]: any;
4149
4430
  });
4150
4431
  }
4432
+ export declare class DescribeAdviceServiceEnabledRequest extends $tea.Model {
4433
+ /**
4434
+ * @remarks
4435
+ * This parameter is required.
4436
+ *
4437
+ * @example
4438
+ * amv-2ze0vp0j6t3to****
4439
+ */
4440
+ DBClusterId?: string;
4441
+ /**
4442
+ * @remarks
4443
+ * This parameter is required.
4444
+ *
4445
+ * @example
4446
+ * cn-hangzhou
4447
+ */
4448
+ regionId?: string;
4449
+ static names(): {
4450
+ [key: string]: string;
4451
+ };
4452
+ static types(): {
4453
+ [key: string]: any;
4454
+ };
4455
+ constructor(map?: {
4456
+ [key: string]: any;
4457
+ });
4458
+ }
4459
+ export declare class DescribeAdviceServiceEnabledResponseBody extends $tea.Model {
4460
+ /**
4461
+ * @example
4462
+ * Success
4463
+ */
4464
+ message?: string;
4465
+ /**
4466
+ * @example
4467
+ * E031AABF-BD56-5966-A063-4283EF18DB45
4468
+ */
4469
+ requestId?: string;
4470
+ /**
4471
+ * @example
4472
+ * False
4473
+ */
4474
+ result?: boolean;
4475
+ static names(): {
4476
+ [key: string]: string;
4477
+ };
4478
+ static types(): {
4479
+ [key: string]: any;
4480
+ };
4481
+ constructor(map?: {
4482
+ [key: string]: any;
4483
+ });
4484
+ }
4485
+ export declare class DescribeAdviceServiceEnabledResponse extends $tea.Model {
4486
+ headers?: {
4487
+ [key: string]: string;
4488
+ };
4489
+ statusCode?: number;
4490
+ body?: DescribeAdviceServiceEnabledResponseBody;
4491
+ static names(): {
4492
+ [key: string]: string;
4493
+ };
4494
+ static types(): {
4495
+ [key: string]: any;
4496
+ };
4497
+ constructor(map?: {
4498
+ [key: string]: any;
4499
+ });
4500
+ }
4151
4501
  export declare class DescribeAllDataSourceRequest extends $tea.Model {
4152
4502
  /**
4153
4503
  * @remarks
@@ -23450,6 +23800,21 @@ export default class Client extends OpenApi {
23450
23800
  * @returns AllocateClusterPublicConnectionResponse
23451
23801
  */
23452
23802
  allocateClusterPublicConnection(request: AllocateClusterPublicConnectionRequest): Promise<AllocateClusterPublicConnectionResponse>;
23803
+ /**
23804
+ * 应用单条优化建议
23805
+ *
23806
+ * @param request - ApplyAdviceByIdRequest
23807
+ * @param runtime - runtime options for this request RuntimeOptions
23808
+ * @returns ApplyAdviceByIdResponse
23809
+ */
23810
+ applyAdviceByIdWithOptions(request: ApplyAdviceByIdRequest, runtime: $Util.RuntimeOptions): Promise<ApplyAdviceByIdResponse>;
23811
+ /**
23812
+ * 应用单条优化建议
23813
+ *
23814
+ * @param request - ApplyAdviceByIdRequest
23815
+ * @returns ApplyAdviceByIdResponse
23816
+ */
23817
+ applyAdviceById(request: ApplyAdviceByIdRequest): Promise<ApplyAdviceByIdResponse>;
23453
23818
  /**
23454
23819
  * Attaches an elastic network interface (ENI) to an AnalyticDB for MySQL Data Lakehouse Edition cluster.
23455
23820
  *
@@ -23471,6 +23836,21 @@ export default class Client extends OpenApi {
23471
23836
  * @returns AttachUserENIResponse
23472
23837
  */
23473
23838
  attachUserENI(request: AttachUserENIRequest): Promise<AttachUserENIResponse>;
23839
+ /**
23840
+ * 批量应用优化建议
23841
+ *
23842
+ * @param request - BatchApplyAdviceByIdListRequest
23843
+ * @param runtime - runtime options for this request RuntimeOptions
23844
+ * @returns BatchApplyAdviceByIdListResponse
23845
+ */
23846
+ batchApplyAdviceByIdListWithOptions(request: BatchApplyAdviceByIdListRequest, runtime: $Util.RuntimeOptions): Promise<BatchApplyAdviceByIdListResponse>;
23847
+ /**
23848
+ * 批量应用优化建议
23849
+ *
23850
+ * @param request - BatchApplyAdviceByIdListRequest
23851
+ * @returns BatchApplyAdviceByIdListResponse
23852
+ */
23853
+ batchApplyAdviceByIdList(request: BatchApplyAdviceByIdListRequest): Promise<BatchApplyAdviceByIdListResponse>;
23474
23854
  /**
23475
23855
  * Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
23476
23856
  *
@@ -23566,6 +23946,21 @@ export default class Client extends OpenApi {
23566
23946
  * @returns CheckSampleDataSetResponse
23567
23947
  */
23568
23948
  checkSampleDataSet(request: CheckSampleDataSetRequest): Promise<CheckSampleDataSetResponse>;
23949
+ /**
23950
+ * 创建一站式链路
23951
+ *
23952
+ * @param request - CreateAPSJobRequest
23953
+ * @param runtime - runtime options for this request RuntimeOptions
23954
+ * @returns CreateAPSJobResponse
23955
+ */
23956
+ createAPSJobWithOptions(request: CreateAPSJobRequest, runtime: $Util.RuntimeOptions): Promise<CreateAPSJobResponse>;
23957
+ /**
23958
+ * 创建一站式链路
23959
+ *
23960
+ * @param request - CreateAPSJobRequest
23961
+ * @returns CreateAPSJobResponse
23962
+ */
23963
+ createAPSJob(request: CreateAPSJobRequest): Promise<CreateAPSJobResponse>;
23569
23964
  /**
23570
23965
  * Creates a database account for an AnalyticDB for MySQL cluster.
23571
23966
  *
@@ -24061,6 +24456,21 @@ export default class Client extends OpenApi {
24061
24456
  * @returns DescribeAdbMySqlTablesResponse
24062
24457
  */
24063
24458
  describeAdbMySqlTables(request: DescribeAdbMySqlTablesRequest): Promise<DescribeAdbMySqlTablesResponse>;
24459
+ /**
24460
+ * 查询建议服务是否开启
24461
+ *
24462
+ * @param request - DescribeAdviceServiceEnabledRequest
24463
+ * @param runtime - runtime options for this request RuntimeOptions
24464
+ * @returns DescribeAdviceServiceEnabledResponse
24465
+ */
24466
+ describeAdviceServiceEnabledWithOptions(request: DescribeAdviceServiceEnabledRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAdviceServiceEnabledResponse>;
24467
+ /**
24468
+ * 查询建议服务是否开启
24469
+ *
24470
+ * @param request - DescribeAdviceServiceEnabledRequest
24471
+ * @returns DescribeAdviceServiceEnabledResponse
24472
+ */
24473
+ describeAdviceServiceEnabled(request: DescribeAdviceServiceEnabledRequest): Promise<DescribeAdviceServiceEnabledResponse>;
24064
24474
  /**
24065
24475
  * Queries a list of databases, tables, and columns in an AnalyticDB for MySQL cluster.
24066
24476
  *