@alicloud/gpdb20160503 1.0.16 → 1.0.18
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 +241 -0
- package/dist/client.js +514 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +655 -6
package/dist/client.d.ts
CHANGED
|
@@ -184,6 +184,7 @@ export declare class CreateAccountResponse extends $tea.Model {
|
|
|
184
184
|
}
|
|
185
185
|
export declare class CreateDBInstanceRequest extends $tea.Model {
|
|
186
186
|
clientToken?: string;
|
|
187
|
+
createSampleData?: boolean;
|
|
187
188
|
DBInstanceCategory?: string;
|
|
188
189
|
DBInstanceClass?: string;
|
|
189
190
|
DBInstanceDescription?: string;
|
|
@@ -205,6 +206,7 @@ export declare class CreateDBInstanceRequest extends $tea.Model {
|
|
|
205
206
|
segStorageType?: string;
|
|
206
207
|
storageSize?: number;
|
|
207
208
|
storageType?: string;
|
|
209
|
+
tag?: CreateDBInstanceRequestTag[];
|
|
208
210
|
usedTime?: string;
|
|
209
211
|
VPCId?: string;
|
|
210
212
|
vSwitchId?: string;
|
|
@@ -373,6 +375,50 @@ export declare class CreateECSDBInstanceResponse extends $tea.Model {
|
|
|
373
375
|
[key: string]: any;
|
|
374
376
|
});
|
|
375
377
|
}
|
|
378
|
+
export declare class CreateSampleDataRequest extends $tea.Model {
|
|
379
|
+
DBInstanceId?: string;
|
|
380
|
+
ownerId?: number;
|
|
381
|
+
static names(): {
|
|
382
|
+
[key: string]: string;
|
|
383
|
+
};
|
|
384
|
+
static types(): {
|
|
385
|
+
[key: string]: any;
|
|
386
|
+
};
|
|
387
|
+
constructor(map?: {
|
|
388
|
+
[key: string]: any;
|
|
389
|
+
});
|
|
390
|
+
}
|
|
391
|
+
export declare class CreateSampleDataResponseBody extends $tea.Model {
|
|
392
|
+
DBInstanceId?: string;
|
|
393
|
+
errorMessage?: string;
|
|
394
|
+
requestId?: string;
|
|
395
|
+
status?: boolean;
|
|
396
|
+
static names(): {
|
|
397
|
+
[key: string]: string;
|
|
398
|
+
};
|
|
399
|
+
static types(): {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
};
|
|
402
|
+
constructor(map?: {
|
|
403
|
+
[key: string]: any;
|
|
404
|
+
});
|
|
405
|
+
}
|
|
406
|
+
export declare class CreateSampleDataResponse extends $tea.Model {
|
|
407
|
+
headers: {
|
|
408
|
+
[key: string]: string;
|
|
409
|
+
};
|
|
410
|
+
statusCode: number;
|
|
411
|
+
body: CreateSampleDataResponseBody;
|
|
412
|
+
static names(): {
|
|
413
|
+
[key: string]: string;
|
|
414
|
+
};
|
|
415
|
+
static types(): {
|
|
416
|
+
[key: string]: any;
|
|
417
|
+
};
|
|
418
|
+
constructor(map?: {
|
|
419
|
+
[key: string]: any;
|
|
420
|
+
});
|
|
421
|
+
}
|
|
376
422
|
export declare class CreateServiceLinkedRoleRequest extends $tea.Model {
|
|
377
423
|
ownerId?: number;
|
|
378
424
|
regionId?: string;
|
|
@@ -1507,6 +1553,7 @@ export declare class DescribeDataShareInstancesRequest extends $tea.Model {
|
|
|
1507
1553
|
pageNumber?: number;
|
|
1508
1554
|
pageSize?: number;
|
|
1509
1555
|
regionId?: string;
|
|
1556
|
+
resourceGroupId?: string;
|
|
1510
1557
|
searchValue?: string;
|
|
1511
1558
|
static names(): {
|
|
1512
1559
|
[key: string]: string;
|
|
@@ -1554,6 +1601,7 @@ export declare class DescribeDataSharePerformanceRequest extends $tea.Model {
|
|
|
1554
1601
|
endTime?: string;
|
|
1555
1602
|
key?: string;
|
|
1556
1603
|
regionId?: string;
|
|
1604
|
+
resourceGroupId?: string;
|
|
1557
1605
|
startTime?: string;
|
|
1558
1606
|
static names(): {
|
|
1559
1607
|
[key: string]: string;
|
|
@@ -2539,6 +2587,109 @@ export declare class DescribeSQLLogsOnSliceResponse extends $tea.Model {
|
|
|
2539
2587
|
[key: string]: any;
|
|
2540
2588
|
});
|
|
2541
2589
|
}
|
|
2590
|
+
export declare class DescribeSQLLogsV2Request extends $tea.Model {
|
|
2591
|
+
DBInstanceId?: string;
|
|
2592
|
+
database?: string;
|
|
2593
|
+
endTime?: string;
|
|
2594
|
+
executeCost?: string;
|
|
2595
|
+
executeState?: string;
|
|
2596
|
+
maxExecuteCost?: string;
|
|
2597
|
+
minExecuteCost?: string;
|
|
2598
|
+
operationClass?: string;
|
|
2599
|
+
operationType?: string;
|
|
2600
|
+
pageNumber?: string;
|
|
2601
|
+
pageSize?: string;
|
|
2602
|
+
queryKeywords?: string;
|
|
2603
|
+
regionId?: string;
|
|
2604
|
+
resourceGroupId?: string;
|
|
2605
|
+
sourceIP?: string;
|
|
2606
|
+
startTime?: string;
|
|
2607
|
+
user?: string;
|
|
2608
|
+
static names(): {
|
|
2609
|
+
[key: string]: string;
|
|
2610
|
+
};
|
|
2611
|
+
static types(): {
|
|
2612
|
+
[key: string]: any;
|
|
2613
|
+
};
|
|
2614
|
+
constructor(map?: {
|
|
2615
|
+
[key: string]: any;
|
|
2616
|
+
});
|
|
2617
|
+
}
|
|
2618
|
+
export declare class DescribeSQLLogsV2ResponseBody extends $tea.Model {
|
|
2619
|
+
items?: DescribeSQLLogsV2ResponseBodyItems[];
|
|
2620
|
+
pageNumber?: number;
|
|
2621
|
+
pageRecordCount?: number;
|
|
2622
|
+
requestId?: string;
|
|
2623
|
+
static names(): {
|
|
2624
|
+
[key: string]: string;
|
|
2625
|
+
};
|
|
2626
|
+
static types(): {
|
|
2627
|
+
[key: string]: any;
|
|
2628
|
+
};
|
|
2629
|
+
constructor(map?: {
|
|
2630
|
+
[key: string]: any;
|
|
2631
|
+
});
|
|
2632
|
+
}
|
|
2633
|
+
export declare class DescribeSQLLogsV2Response extends $tea.Model {
|
|
2634
|
+
headers: {
|
|
2635
|
+
[key: string]: string;
|
|
2636
|
+
};
|
|
2637
|
+
statusCode: number;
|
|
2638
|
+
body: DescribeSQLLogsV2ResponseBody;
|
|
2639
|
+
static names(): {
|
|
2640
|
+
[key: string]: string;
|
|
2641
|
+
};
|
|
2642
|
+
static types(): {
|
|
2643
|
+
[key: string]: any;
|
|
2644
|
+
};
|
|
2645
|
+
constructor(map?: {
|
|
2646
|
+
[key: string]: any;
|
|
2647
|
+
});
|
|
2648
|
+
}
|
|
2649
|
+
export declare class DescribeSampleDataRequest extends $tea.Model {
|
|
2650
|
+
DBInstanceId?: string;
|
|
2651
|
+
ownerId?: number;
|
|
2652
|
+
static names(): {
|
|
2653
|
+
[key: string]: string;
|
|
2654
|
+
};
|
|
2655
|
+
static types(): {
|
|
2656
|
+
[key: string]: any;
|
|
2657
|
+
};
|
|
2658
|
+
constructor(map?: {
|
|
2659
|
+
[key: string]: any;
|
|
2660
|
+
});
|
|
2661
|
+
}
|
|
2662
|
+
export declare class DescribeSampleDataResponseBody extends $tea.Model {
|
|
2663
|
+
DBInstanceId?: string;
|
|
2664
|
+
errorMessage?: string;
|
|
2665
|
+
hasSampleData?: boolean;
|
|
2666
|
+
requestId?: string;
|
|
2667
|
+
static names(): {
|
|
2668
|
+
[key: string]: string;
|
|
2669
|
+
};
|
|
2670
|
+
static types(): {
|
|
2671
|
+
[key: string]: any;
|
|
2672
|
+
};
|
|
2673
|
+
constructor(map?: {
|
|
2674
|
+
[key: string]: any;
|
|
2675
|
+
});
|
|
2676
|
+
}
|
|
2677
|
+
export declare class DescribeSampleDataResponse extends $tea.Model {
|
|
2678
|
+
headers: {
|
|
2679
|
+
[key: string]: string;
|
|
2680
|
+
};
|
|
2681
|
+
statusCode: number;
|
|
2682
|
+
body: DescribeSampleDataResponseBody;
|
|
2683
|
+
static names(): {
|
|
2684
|
+
[key: string]: string;
|
|
2685
|
+
};
|
|
2686
|
+
static types(): {
|
|
2687
|
+
[key: string]: any;
|
|
2688
|
+
};
|
|
2689
|
+
constructor(map?: {
|
|
2690
|
+
[key: string]: any;
|
|
2691
|
+
});
|
|
2692
|
+
}
|
|
2542
2693
|
export declare class DescribeSlowLogRecordsRequest extends $tea.Model {
|
|
2543
2694
|
DBInstanceId?: string;
|
|
2544
2695
|
DBName?: string;
|
|
@@ -2697,6 +2848,7 @@ export declare class DescribeTagsRequest extends $tea.Model {
|
|
|
2697
2848
|
ownerAccount?: string;
|
|
2698
2849
|
ownerId?: number;
|
|
2699
2850
|
regionId?: string;
|
|
2851
|
+
resourceGroupId?: string;
|
|
2700
2852
|
resourceOwnerAccount?: string;
|
|
2701
2853
|
resourceOwnerId?: number;
|
|
2702
2854
|
resourceType?: string;
|
|
@@ -3845,6 +3997,50 @@ export declare class TagResourcesResponse extends $tea.Model {
|
|
|
3845
3997
|
[key: string]: any;
|
|
3846
3998
|
});
|
|
3847
3999
|
}
|
|
4000
|
+
export declare class UnloadSampleDataRequest extends $tea.Model {
|
|
4001
|
+
DBInstanceId?: string;
|
|
4002
|
+
ownerId?: number;
|
|
4003
|
+
static names(): {
|
|
4004
|
+
[key: string]: string;
|
|
4005
|
+
};
|
|
4006
|
+
static types(): {
|
|
4007
|
+
[key: string]: any;
|
|
4008
|
+
};
|
|
4009
|
+
constructor(map?: {
|
|
4010
|
+
[key: string]: any;
|
|
4011
|
+
});
|
|
4012
|
+
}
|
|
4013
|
+
export declare class UnloadSampleDataResponseBody extends $tea.Model {
|
|
4014
|
+
DBInstanceId?: string;
|
|
4015
|
+
errorMessage?: string;
|
|
4016
|
+
requestId?: string;
|
|
4017
|
+
status?: boolean;
|
|
4018
|
+
static names(): {
|
|
4019
|
+
[key: string]: string;
|
|
4020
|
+
};
|
|
4021
|
+
static types(): {
|
|
4022
|
+
[key: string]: any;
|
|
4023
|
+
};
|
|
4024
|
+
constructor(map?: {
|
|
4025
|
+
[key: string]: any;
|
|
4026
|
+
});
|
|
4027
|
+
}
|
|
4028
|
+
export declare class UnloadSampleDataResponse extends $tea.Model {
|
|
4029
|
+
headers: {
|
|
4030
|
+
[key: string]: string;
|
|
4031
|
+
};
|
|
4032
|
+
statusCode: number;
|
|
4033
|
+
body: UnloadSampleDataResponseBody;
|
|
4034
|
+
static names(): {
|
|
4035
|
+
[key: string]: string;
|
|
4036
|
+
};
|
|
4037
|
+
static types(): {
|
|
4038
|
+
[key: string]: any;
|
|
4039
|
+
};
|
|
4040
|
+
constructor(map?: {
|
|
4041
|
+
[key: string]: any;
|
|
4042
|
+
});
|
|
4043
|
+
}
|
|
3848
4044
|
export declare class UntagResourcesRequest extends $tea.Model {
|
|
3849
4045
|
all?: boolean;
|
|
3850
4046
|
ownerAccount?: string;
|
|
@@ -4046,6 +4242,19 @@ export declare class UpgradeDBVersionResponse extends $tea.Model {
|
|
|
4046
4242
|
[key: string]: any;
|
|
4047
4243
|
});
|
|
4048
4244
|
}
|
|
4245
|
+
export declare class CreateDBInstanceRequestTag extends $tea.Model {
|
|
4246
|
+
key?: string;
|
|
4247
|
+
value?: string;
|
|
4248
|
+
static names(): {
|
|
4249
|
+
[key: string]: string;
|
|
4250
|
+
};
|
|
4251
|
+
static types(): {
|
|
4252
|
+
[key: string]: any;
|
|
4253
|
+
};
|
|
4254
|
+
constructor(map?: {
|
|
4255
|
+
[key: string]: any;
|
|
4256
|
+
});
|
|
4257
|
+
}
|
|
4049
4258
|
export declare class CreateECSDBInstanceRequestTag extends $tea.Model {
|
|
4050
4259
|
key?: string;
|
|
4051
4260
|
value?: string;
|
|
@@ -5415,6 +5624,30 @@ export declare class DescribeSQLLogsOnSliceResponseBodySliceLogItems extends $te
|
|
|
5415
5624
|
[key: string]: any;
|
|
5416
5625
|
});
|
|
5417
5626
|
}
|
|
5627
|
+
export declare class DescribeSQLLogsV2ResponseBodyItems extends $tea.Model {
|
|
5628
|
+
accountName?: string;
|
|
5629
|
+
DBName?: string;
|
|
5630
|
+
DBRole?: string;
|
|
5631
|
+
executeCost?: number;
|
|
5632
|
+
executeState?: string;
|
|
5633
|
+
operationClass?: string;
|
|
5634
|
+
operationExecuteTime?: string;
|
|
5635
|
+
operationType?: string;
|
|
5636
|
+
returnRowCounts?: number;
|
|
5637
|
+
SQLText?: string;
|
|
5638
|
+
scanRowCounts?: number;
|
|
5639
|
+
sourceIP?: string;
|
|
5640
|
+
sourcePort?: number;
|
|
5641
|
+
static names(): {
|
|
5642
|
+
[key: string]: string;
|
|
5643
|
+
};
|
|
5644
|
+
static types(): {
|
|
5645
|
+
[key: string]: any;
|
|
5646
|
+
};
|
|
5647
|
+
constructor(map?: {
|
|
5648
|
+
[key: string]: any;
|
|
5649
|
+
});
|
|
5650
|
+
}
|
|
5418
5651
|
export declare class DescribeSlowLogRecordsResponseBodyItemsSQLSlowRecord extends $tea.Model {
|
|
5419
5652
|
DBName?: string;
|
|
5420
5653
|
executionStartTime?: string;
|
|
@@ -5608,6 +5841,8 @@ export default class Client extends OpenApi {
|
|
|
5608
5841
|
createDBInstancePlan(request: CreateDBInstancePlanRequest): Promise<CreateDBInstancePlanResponse>;
|
|
5609
5842
|
createECSDBInstanceWithOptions(request: CreateECSDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<CreateECSDBInstanceResponse>;
|
|
5610
5843
|
createECSDBInstance(request: CreateECSDBInstanceRequest): Promise<CreateECSDBInstanceResponse>;
|
|
5844
|
+
createSampleDataWithOptions(request: CreateSampleDataRequest, runtime: $Util.RuntimeOptions): Promise<CreateSampleDataResponse>;
|
|
5845
|
+
createSampleData(request: CreateSampleDataRequest): Promise<CreateSampleDataResponse>;
|
|
5611
5846
|
createServiceLinkedRoleWithOptions(request: CreateServiceLinkedRoleRequest, runtime: $Util.RuntimeOptions): Promise<CreateServiceLinkedRoleResponse>;
|
|
5612
5847
|
createServiceLinkedRole(request: CreateServiceLinkedRoleRequest): Promise<CreateServiceLinkedRoleResponse>;
|
|
5613
5848
|
deleteDBInstanceWithOptions(request: DeleteDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<DeleteDBInstanceResponse>;
|
|
@@ -5700,6 +5935,10 @@ export default class Client extends OpenApi {
|
|
|
5700
5935
|
describeSQLLogs(request: DescribeSQLLogsRequest): Promise<DescribeSQLLogsResponse>;
|
|
5701
5936
|
describeSQLLogsOnSliceWithOptions(request: DescribeSQLLogsOnSliceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSQLLogsOnSliceResponse>;
|
|
5702
5937
|
describeSQLLogsOnSlice(request: DescribeSQLLogsOnSliceRequest): Promise<DescribeSQLLogsOnSliceResponse>;
|
|
5938
|
+
describeSQLLogsV2WithOptions(request: DescribeSQLLogsV2Request, runtime: $Util.RuntimeOptions): Promise<DescribeSQLLogsV2Response>;
|
|
5939
|
+
describeSQLLogsV2(request: DescribeSQLLogsV2Request): Promise<DescribeSQLLogsV2Response>;
|
|
5940
|
+
describeSampleDataWithOptions(request: DescribeSampleDataRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSampleDataResponse>;
|
|
5941
|
+
describeSampleData(request: DescribeSampleDataRequest): Promise<DescribeSampleDataResponse>;
|
|
5703
5942
|
describeSlowLogRecordsWithOptions(request: DescribeSlowLogRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowLogRecordsResponse>;
|
|
5704
5943
|
describeSlowLogRecords(request: DescribeSlowLogRecordsRequest): Promise<DescribeSlowLogRecordsResponse>;
|
|
5705
5944
|
describeSlowSQLLogsWithOptions(request: DescribeSlowSQLLogsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeSlowSQLLogsResponse>;
|
|
@@ -5758,6 +5997,8 @@ export default class Client extends OpenApi {
|
|
|
5758
5997
|
switchDBInstanceNetType(request: SwitchDBInstanceNetTypeRequest): Promise<SwitchDBInstanceNetTypeResponse>;
|
|
5759
5998
|
tagResourcesWithOptions(request: TagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<TagResourcesResponse>;
|
|
5760
5999
|
tagResources(request: TagResourcesRequest): Promise<TagResourcesResponse>;
|
|
6000
|
+
unloadSampleDataWithOptions(request: UnloadSampleDataRequest, runtime: $Util.RuntimeOptions): Promise<UnloadSampleDataResponse>;
|
|
6001
|
+
unloadSampleData(request: UnloadSampleDataRequest): Promise<UnloadSampleDataResponse>;
|
|
5761
6002
|
untagResourcesWithOptions(request: UntagResourcesRequest, runtime: $Util.RuntimeOptions): Promise<UntagResourcesResponse>;
|
|
5762
6003
|
untagResources(request: UntagResourcesRequest): Promise<UntagResourcesResponse>;
|
|
5763
6004
|
updateDBInstancePlanWithOptions(request: UpdateDBInstancePlanRequest, runtime: $Util.RuntimeOptions): Promise<UpdateDBInstancePlanResponse>;
|