@alicloud/gpdb20160503 3.4.1 → 3.5.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 +60 -0
- package/dist/client.js +195 -0
- package/dist/client.js.map +1 -1
- package/dist/models/ListSupabaseProjectTagsRequest.d.ts +55 -0
- package/dist/models/ListSupabaseProjectTagsRequest.js +93 -0
- package/dist/models/ListSupabaseProjectTagsRequest.js.map +1 -0
- package/dist/models/ListSupabaseProjectTagsResponse.d.ts +19 -0
- package/dist/models/ListSupabaseProjectTagsResponse.js +69 -0
- package/dist/models/ListSupabaseProjectTagsResponse.js.map +1 -0
- package/dist/models/ListSupabaseProjectTagsResponseBody.d.ts +59 -0
- package/dist/models/ListSupabaseProjectTagsResponseBody.js +90 -0
- package/dist/models/ListSupabaseProjectTagsResponseBody.js.map +1 -0
- package/dist/models/ModifySupabaseProjectDescriptionRequest.d.ts +28 -0
- package/dist/models/ModifySupabaseProjectDescriptionRequest.js +62 -0
- package/dist/models/ModifySupabaseProjectDescriptionRequest.js.map +1 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponse.d.ts +19 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponse.js +69 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponse.js.map +1 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponseBody.d.ts +21 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponseBody.js +58 -0
- package/dist/models/ModifySupabaseProjectDescriptionResponseBody.js.map +1 -0
- package/dist/models/TagSupabaseProjectRequest.d.ts +47 -0
- package/dist/models/TagSupabaseProjectRequest.js +91 -0
- package/dist/models/TagSupabaseProjectRequest.js.map +1 -0
- package/dist/models/TagSupabaseProjectResponse.d.ts +19 -0
- package/dist/models/TagSupabaseProjectResponse.js +69 -0
- package/dist/models/TagSupabaseProjectResponse.js.map +1 -0
- package/dist/models/TagSupabaseProjectResponseBody.d.ts +21 -0
- package/dist/models/TagSupabaseProjectResponseBody.js +58 -0
- package/dist/models/TagSupabaseProjectResponseBody.js.map +1 -0
- package/dist/models/UntagSupabaseProjectRequest.d.ts +30 -0
- package/dist/models/UntagSupabaseProjectRequest.js +72 -0
- package/dist/models/UntagSupabaseProjectRequest.js.map +1 -0
- package/dist/models/UntagSupabaseProjectResponse.d.ts +19 -0
- package/dist/models/UntagSupabaseProjectResponse.js +69 -0
- package/dist/models/UntagSupabaseProjectResponse.js.map +1 -0
- package/dist/models/UntagSupabaseProjectResponseBody.d.ts +21 -0
- package/dist/models/UntagSupabaseProjectResponseBody.js +58 -0
- package/dist/models/UntagSupabaseProjectResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +48 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +220 -0
- package/src/models/ListSupabaseProjectTagsRequest.ts +94 -0
- package/src/models/ListSupabaseProjectTagsResponse.ts +40 -0
- package/src/models/ListSupabaseProjectTagsResponseBody.ts +95 -0
- package/src/models/ModifySupabaseProjectDescriptionRequest.ts +45 -0
- package/src/models/ModifySupabaseProjectDescriptionResponse.ts +40 -0
- package/src/models/ModifySupabaseProjectDescriptionResponseBody.ts +34 -0
- package/src/models/TagSupabaseProjectRequest.ts +84 -0
- package/src/models/TagSupabaseProjectResponse.ts +40 -0
- package/src/models/TagSupabaseProjectResponseBody.ts +34 -0
- package/src/models/UntagSupabaseProjectRequest.ts +57 -0
- package/src/models/UntagSupabaseProjectResponse.ts +40 -0
- package/src/models/UntagSupabaseProjectResponseBody.ts +34 -0
- package/src/models/model.ts +15 -0
package/dist/client.d.ts
CHANGED
|
@@ -3337,6 +3337,21 @@ export default class Client extends OpenApi {
|
|
|
3337
3337
|
* @returns ListStreamingJobsResponse
|
|
3338
3338
|
*/
|
|
3339
3339
|
listStreamingJobs(request: $_model.ListStreamingJobsRequest): Promise<$_model.ListStreamingJobsResponse>;
|
|
3340
|
+
/**
|
|
3341
|
+
* Query the label List of Supabase instances
|
|
3342
|
+
*
|
|
3343
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
3344
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3345
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
3346
|
+
*/
|
|
3347
|
+
listSupabaseProjectTagsWithOptions(request: $_model.ListSupabaseProjectTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSupabaseProjectTagsResponse>;
|
|
3348
|
+
/**
|
|
3349
|
+
* Query the label List of Supabase instances
|
|
3350
|
+
*
|
|
3351
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
3352
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
3353
|
+
*/
|
|
3354
|
+
listSupabaseProjectTags(request: $_model.ListSupabaseProjectTagsRequest): Promise<$_model.ListSupabaseProjectTagsResponse>;
|
|
3340
3355
|
/**
|
|
3341
3356
|
* Retrieves a paginated list of Supabase instances in your account. You can filter the list by region.
|
|
3342
3357
|
*
|
|
@@ -3873,6 +3888,21 @@ export default class Client extends OpenApi {
|
|
|
3873
3888
|
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
3874
3889
|
*/
|
|
3875
3890
|
modifySupabaseAutoScalePolicy(request: $_model.ModifySupabaseAutoScalePolicyRequest): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
|
|
3891
|
+
/**
|
|
3892
|
+
* Modify the Supabase project description
|
|
3893
|
+
*
|
|
3894
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
3895
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3896
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
3897
|
+
*/
|
|
3898
|
+
modifySupabaseProjectDescriptionWithOptions(request: $_model.ModifySupabaseProjectDescriptionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseProjectDescriptionResponse>;
|
|
3899
|
+
/**
|
|
3900
|
+
* Modify the Supabase project description
|
|
3901
|
+
*
|
|
3902
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
3903
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
3904
|
+
*/
|
|
3905
|
+
modifySupabaseProjectDescription(request: $_model.ModifySupabaseProjectDescriptionRequest): Promise<$_model.ModifySupabaseProjectDescriptionResponse>;
|
|
3876
3906
|
/**
|
|
3877
3907
|
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
3878
3908
|
*
|
|
@@ -4295,6 +4325,21 @@ export default class Client extends OpenApi {
|
|
|
4295
4325
|
* @returns TagResourcesResponse
|
|
4296
4326
|
*/
|
|
4297
4327
|
tagResources(request: $_model.TagResourcesRequest): Promise<$_model.TagResourcesResponse>;
|
|
4328
|
+
/**
|
|
4329
|
+
* Supabase project labeling
|
|
4330
|
+
*
|
|
4331
|
+
* @param request - TagSupabaseProjectRequest
|
|
4332
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4333
|
+
* @returns TagSupabaseProjectResponse
|
|
4334
|
+
*/
|
|
4335
|
+
tagSupabaseProjectWithOptions(request: $_model.TagSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagSupabaseProjectResponse>;
|
|
4336
|
+
/**
|
|
4337
|
+
* Supabase project labeling
|
|
4338
|
+
*
|
|
4339
|
+
* @param request - TagSupabaseProjectRequest
|
|
4340
|
+
* @returns TagSupabaseProjectResponse
|
|
4341
|
+
*/
|
|
4342
|
+
tagSupabaseProject(request: $_model.TagSupabaseProjectRequest): Promise<$_model.TagSupabaseProjectResponse>;
|
|
4298
4343
|
/**
|
|
4299
4344
|
* Generates text embeddings using an embedding model.
|
|
4300
4345
|
*
|
|
@@ -4365,6 +4410,21 @@ export default class Client extends OpenApi {
|
|
|
4365
4410
|
* @returns UntagResourcesResponse
|
|
4366
4411
|
*/
|
|
4367
4412
|
untagResources(request: $_model.UntagResourcesRequest): Promise<$_model.UntagResourcesResponse>;
|
|
4413
|
+
/**
|
|
4414
|
+
* Detach labels from a Supabase instance
|
|
4415
|
+
*
|
|
4416
|
+
* @param request - UntagSupabaseProjectRequest
|
|
4417
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4418
|
+
* @returns UntagSupabaseProjectResponse
|
|
4419
|
+
*/
|
|
4420
|
+
untagSupabaseProjectWithOptions(request: $_model.UntagSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagSupabaseProjectResponse>;
|
|
4421
|
+
/**
|
|
4422
|
+
* Detach labels from a Supabase instance
|
|
4423
|
+
*
|
|
4424
|
+
* @param request - UntagSupabaseProjectRequest
|
|
4425
|
+
* @returns UntagSupabaseProjectResponse
|
|
4426
|
+
*/
|
|
4427
|
+
untagSupabaseProject(request: $_model.UntagSupabaseProjectRequest): Promise<$_model.UntagSupabaseProjectResponse>;
|
|
4368
4428
|
/**
|
|
4369
4429
|
* Update Metadata of Collection Data
|
|
4370
4430
|
*
|
package/dist/client.js
CHANGED
|
@@ -10682,6 +10682,57 @@ class Client extends openapi_core_1.default {
|
|
|
10682
10682
|
let runtime = new $dara.RuntimeOptions({});
|
|
10683
10683
|
return await this.listStreamingJobsWithOptions(request, runtime);
|
|
10684
10684
|
}
|
|
10685
|
+
/**
|
|
10686
|
+
* Query the label List of Supabase instances
|
|
10687
|
+
*
|
|
10688
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
10689
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10690
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
10691
|
+
*/
|
|
10692
|
+
async listSupabaseProjectTagsWithOptions(request, runtime) {
|
|
10693
|
+
request.validate();
|
|
10694
|
+
let query = {};
|
|
10695
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
10696
|
+
query["NextToken"] = request.nextToken;
|
|
10697
|
+
}
|
|
10698
|
+
if (!$dara.isNull(request.regionId)) {
|
|
10699
|
+
query["RegionId"] = request.regionId;
|
|
10700
|
+
}
|
|
10701
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
10702
|
+
query["ResourceId"] = request.resourceId;
|
|
10703
|
+
}
|
|
10704
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
10705
|
+
query["ResourceType"] = request.resourceType;
|
|
10706
|
+
}
|
|
10707
|
+
if (!$dara.isNull(request.tag)) {
|
|
10708
|
+
query["Tag"] = request.tag;
|
|
10709
|
+
}
|
|
10710
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10711
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10712
|
+
});
|
|
10713
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10714
|
+
action: "ListSupabaseProjectTags",
|
|
10715
|
+
version: "2016-05-03",
|
|
10716
|
+
protocol: "HTTPS",
|
|
10717
|
+
pathname: "/",
|
|
10718
|
+
method: "POST",
|
|
10719
|
+
authType: "AK",
|
|
10720
|
+
style: "RPC",
|
|
10721
|
+
reqBodyType: "formData",
|
|
10722
|
+
bodyType: "json",
|
|
10723
|
+
});
|
|
10724
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSupabaseProjectTagsResponse({}));
|
|
10725
|
+
}
|
|
10726
|
+
/**
|
|
10727
|
+
* Query the label List of Supabase instances
|
|
10728
|
+
*
|
|
10729
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
10730
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
10731
|
+
*/
|
|
10732
|
+
async listSupabaseProjectTags(request) {
|
|
10733
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10734
|
+
return await this.listSupabaseProjectTagsWithOptions(request, runtime);
|
|
10735
|
+
}
|
|
10685
10736
|
/**
|
|
10686
10737
|
* Retrieves a paginated list of Supabase instances in your account. You can filter the list by region.
|
|
10687
10738
|
*
|
|
@@ -12389,6 +12440,51 @@ class Client extends openapi_core_1.default {
|
|
|
12389
12440
|
let runtime = new $dara.RuntimeOptions({});
|
|
12390
12441
|
return await this.modifySupabaseAutoScalePolicyWithOptions(request, runtime);
|
|
12391
12442
|
}
|
|
12443
|
+
/**
|
|
12444
|
+
* Modify the Supabase project description
|
|
12445
|
+
*
|
|
12446
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
12447
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12448
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
12449
|
+
*/
|
|
12450
|
+
async modifySupabaseProjectDescriptionWithOptions(request, runtime) {
|
|
12451
|
+
request.validate();
|
|
12452
|
+
let query = {};
|
|
12453
|
+
if (!$dara.isNull(request.projectDescription)) {
|
|
12454
|
+
query["ProjectDescription"] = request.projectDescription;
|
|
12455
|
+
}
|
|
12456
|
+
if (!$dara.isNull(request.projectId)) {
|
|
12457
|
+
query["ProjectId"] = request.projectId;
|
|
12458
|
+
}
|
|
12459
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12460
|
+
query["RegionId"] = request.regionId;
|
|
12461
|
+
}
|
|
12462
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12463
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
12464
|
+
});
|
|
12465
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12466
|
+
action: "ModifySupabaseProjectDescription",
|
|
12467
|
+
version: "2016-05-03",
|
|
12468
|
+
protocol: "HTTPS",
|
|
12469
|
+
pathname: "/",
|
|
12470
|
+
method: "POST",
|
|
12471
|
+
authType: "AK",
|
|
12472
|
+
style: "RPC",
|
|
12473
|
+
reqBodyType: "formData",
|
|
12474
|
+
bodyType: "json",
|
|
12475
|
+
});
|
|
12476
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseProjectDescriptionResponse({}));
|
|
12477
|
+
}
|
|
12478
|
+
/**
|
|
12479
|
+
* Modify the Supabase project description
|
|
12480
|
+
*
|
|
12481
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
12482
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
12483
|
+
*/
|
|
12484
|
+
async modifySupabaseProjectDescription(request) {
|
|
12485
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12486
|
+
return await this.modifySupabaseProjectDescriptionWithOptions(request, runtime);
|
|
12487
|
+
}
|
|
12392
12488
|
/**
|
|
12393
12489
|
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
12394
12490
|
*
|
|
@@ -13807,6 +13903,54 @@ class Client extends openapi_core_1.default {
|
|
|
13807
13903
|
let runtime = new $dara.RuntimeOptions({});
|
|
13808
13904
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
13809
13905
|
}
|
|
13906
|
+
/**
|
|
13907
|
+
* Supabase project labeling
|
|
13908
|
+
*
|
|
13909
|
+
* @param request - TagSupabaseProjectRequest
|
|
13910
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13911
|
+
* @returns TagSupabaseProjectResponse
|
|
13912
|
+
*/
|
|
13913
|
+
async tagSupabaseProjectWithOptions(request, runtime) {
|
|
13914
|
+
request.validate();
|
|
13915
|
+
let query = {};
|
|
13916
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13917
|
+
query["RegionId"] = request.regionId;
|
|
13918
|
+
}
|
|
13919
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
13920
|
+
query["ResourceId"] = request.resourceId;
|
|
13921
|
+
}
|
|
13922
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
13923
|
+
query["ResourceType"] = request.resourceType;
|
|
13924
|
+
}
|
|
13925
|
+
if (!$dara.isNull(request.tag)) {
|
|
13926
|
+
query["Tag"] = request.tag;
|
|
13927
|
+
}
|
|
13928
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13929
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13930
|
+
});
|
|
13931
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13932
|
+
action: "TagSupabaseProject",
|
|
13933
|
+
version: "2016-05-03",
|
|
13934
|
+
protocol: "HTTPS",
|
|
13935
|
+
pathname: "/",
|
|
13936
|
+
method: "POST",
|
|
13937
|
+
authType: "AK",
|
|
13938
|
+
style: "RPC",
|
|
13939
|
+
reqBodyType: "formData",
|
|
13940
|
+
bodyType: "json",
|
|
13941
|
+
});
|
|
13942
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.TagSupabaseProjectResponse({}));
|
|
13943
|
+
}
|
|
13944
|
+
/**
|
|
13945
|
+
* Supabase project labeling
|
|
13946
|
+
*
|
|
13947
|
+
* @param request - TagSupabaseProjectRequest
|
|
13948
|
+
* @returns TagSupabaseProjectResponse
|
|
13949
|
+
*/
|
|
13950
|
+
async tagSupabaseProject(request) {
|
|
13951
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13952
|
+
return await this.tagSupabaseProjectWithOptions(request, runtime);
|
|
13953
|
+
}
|
|
13810
13954
|
/**
|
|
13811
13955
|
* Generates text embeddings using an embedding model.
|
|
13812
13956
|
*
|
|
@@ -14036,6 +14180,57 @@ class Client extends openapi_core_1.default {
|
|
|
14036
14180
|
let runtime = new $dara.RuntimeOptions({});
|
|
14037
14181
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
14038
14182
|
}
|
|
14183
|
+
/**
|
|
14184
|
+
* Detach labels from a Supabase instance
|
|
14185
|
+
*
|
|
14186
|
+
* @param request - UntagSupabaseProjectRequest
|
|
14187
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14188
|
+
* @returns UntagSupabaseProjectResponse
|
|
14189
|
+
*/
|
|
14190
|
+
async untagSupabaseProjectWithOptions(request, runtime) {
|
|
14191
|
+
request.validate();
|
|
14192
|
+
let query = {};
|
|
14193
|
+
if (!$dara.isNull(request.all)) {
|
|
14194
|
+
query["All"] = request.all;
|
|
14195
|
+
}
|
|
14196
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14197
|
+
query["RegionId"] = request.regionId;
|
|
14198
|
+
}
|
|
14199
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
14200
|
+
query["ResourceId"] = request.resourceId;
|
|
14201
|
+
}
|
|
14202
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
14203
|
+
query["ResourceType"] = request.resourceType;
|
|
14204
|
+
}
|
|
14205
|
+
if (!$dara.isNull(request.tagKey)) {
|
|
14206
|
+
query["TagKey"] = request.tagKey;
|
|
14207
|
+
}
|
|
14208
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
14209
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
14210
|
+
});
|
|
14211
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
14212
|
+
action: "UntagSupabaseProject",
|
|
14213
|
+
version: "2016-05-03",
|
|
14214
|
+
protocol: "HTTPS",
|
|
14215
|
+
pathname: "/",
|
|
14216
|
+
method: "POST",
|
|
14217
|
+
authType: "AK",
|
|
14218
|
+
style: "RPC",
|
|
14219
|
+
reqBodyType: "formData",
|
|
14220
|
+
bodyType: "json",
|
|
14221
|
+
});
|
|
14222
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UntagSupabaseProjectResponse({}));
|
|
14223
|
+
}
|
|
14224
|
+
/**
|
|
14225
|
+
* Detach labels from a Supabase instance
|
|
14226
|
+
*
|
|
14227
|
+
* @param request - UntagSupabaseProjectRequest
|
|
14228
|
+
* @returns UntagSupabaseProjectResponse
|
|
14229
|
+
*/
|
|
14230
|
+
async untagSupabaseProject(request) {
|
|
14231
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
14232
|
+
return await this.untagSupabaseProjectWithOptions(request, runtime);
|
|
14233
|
+
}
|
|
14039
14234
|
/**
|
|
14040
14235
|
* Update Metadata of Collection Data
|
|
14041
14236
|
*
|