@alicloud/gpdb20160503 3.3.0 → 3.4.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
@@ -2840,7 +2840,7 @@ export default class Client extends OpenApi {
2840
2840
  */
2841
2841
  getSupabaseProject(request: $_model.GetSupabaseProjectRequest): Promise<$_model.GetSupabaseProjectResponse>;
2842
2842
  /**
2843
- * Queries a list of API keys for a Supabase project.
2843
+ * Queries the API keys and JWT secrets of a Supabase instance.
2844
2844
  *
2845
2845
  * @remarks
2846
2846
  * You can call this operation to query a list of API keys for a Supabase project.
@@ -2851,7 +2851,7 @@ export default class Client extends OpenApi {
2851
2851
  */
2852
2852
  getSupabaseProjectApiKeysWithOptions(request: $_model.GetSupabaseProjectApiKeysRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSupabaseProjectApiKeysResponse>;
2853
2853
  /**
2854
- * Queries a list of API keys for a Supabase project.
2854
+ * Queries the API keys and JWT secrets of a Supabase instance.
2855
2855
  *
2856
2856
  * @remarks
2857
2857
  * You can call this operation to query a list of API keys for a Supabase project.
@@ -3859,7 +3859,7 @@ export default class Client extends OpenApi {
3859
3859
  */
3860
3860
  modifyStreamingJob(request: $_model.ModifyStreamingJobRequest): Promise<$_model.ModifyStreamingJobResponse>;
3861
3861
  /**
3862
- * 修改Supabase自动启停策略
3862
+ * Modify the auto pause/resume policy of Supabase.
3863
3863
  *
3864
3864
  * @param request - ModifySupabaseAutoScalePolicyRequest
3865
3865
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3867,12 +3867,27 @@ export default class Client extends OpenApi {
3867
3867
  */
3868
3868
  modifySupabaseAutoScalePolicyWithOptions(request: $_model.ModifySupabaseAutoScalePolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
3869
3869
  /**
3870
- * 修改Supabase自动启停策略
3870
+ * Modify the auto pause/resume policy of Supabase.
3871
3871
  *
3872
3872
  * @param request - ModifySupabaseAutoScalePolicyRequest
3873
3873
  * @returns ModifySupabaseAutoScalePolicyResponse
3874
3874
  */
3875
3875
  modifySupabaseAutoScalePolicy(request: $_model.ModifySupabaseAutoScalePolicyRequest): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
3876
+ /**
3877
+ * 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
+ *
3879
+ * @param request - ModifySupabaseProjectResourceRequest
3880
+ * @param runtime - runtime options for this request RuntimeOptions
3881
+ * @returns ModifySupabaseProjectResourceResponse
3882
+ */
3883
+ modifySupabaseProjectResourceWithOptions(request: $_model.ModifySupabaseProjectResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseProjectResourceResponse>;
3884
+ /**
3885
+ * Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
3886
+ *
3887
+ * @param request - ModifySupabaseProjectResourceRequest
3888
+ * @returns ModifySupabaseProjectResourceResponse
3889
+ */
3890
+ modifySupabaseProjectResource(request: $_model.ModifySupabaseProjectResourceRequest): Promise<$_model.ModifySupabaseProjectResourceResponse>;
3876
3891
  /**
3877
3892
  * Sets or replaces the IP address whitelist for a specified Supabase project.
3878
3893
  *
package/dist/client.js CHANGED
@@ -9083,7 +9083,7 @@ class Client extends openapi_core_1.default {
9083
9083
  return await this.getSupabaseProjectWithOptions(request, runtime);
9084
9084
  }
9085
9085
  /**
9086
- * Queries a list of API keys for a Supabase project.
9086
+ * Queries the API keys and JWT secrets of a Supabase instance.
9087
9087
  *
9088
9088
  * @remarks
9089
9089
  * You can call this operation to query a list of API keys for a Supabase project.
@@ -9118,7 +9118,7 @@ class Client extends openapi_core_1.default {
9118
9118
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSupabaseProjectApiKeysResponse({}));
9119
9119
  }
9120
9120
  /**
9121
- * Queries a list of API keys for a Supabase project.
9121
+ * Queries the API keys and JWT secrets of a Supabase instance.
9122
9122
  *
9123
9123
  * @remarks
9124
9124
  * You can call this operation to query a list of API keys for a Supabase project.
@@ -12345,7 +12345,7 @@ class Client extends openapi_core_1.default {
12345
12345
  return await this.modifyStreamingJobWithOptions(request, runtime);
12346
12346
  }
12347
12347
  /**
12348
- * 修改Supabase自动启停策略
12348
+ * Modify the auto pause/resume policy of Supabase.
12349
12349
  *
12350
12350
  * @param request - ModifySupabaseAutoScalePolicyRequest
12351
12351
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12380,7 +12380,7 @@ class Client extends openapi_core_1.default {
12380
12380
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseAutoScalePolicyResponse({}));
12381
12381
  }
12382
12382
  /**
12383
- * 修改Supabase自动启停策略
12383
+ * Modify the auto pause/resume policy of Supabase.
12384
12384
  *
12385
12385
  * @param request - ModifySupabaseAutoScalePolicyRequest
12386
12386
  * @returns ModifySupabaseAutoScalePolicyResponse
@@ -12389,6 +12389,57 @@ class Client extends openapi_core_1.default {
12389
12389
  let runtime = new $dara.RuntimeOptions({});
12390
12390
  return await this.modifySupabaseAutoScalePolicyWithOptions(request, runtime);
12391
12391
  }
12392
+ /**
12393
+ * 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
+ *
12395
+ * @param request - ModifySupabaseProjectResourceRequest
12396
+ * @param runtime - runtime options for this request RuntimeOptions
12397
+ * @returns ModifySupabaseProjectResourceResponse
12398
+ */
12399
+ async modifySupabaseProjectResourceWithOptions(request, runtime) {
12400
+ request.validate();
12401
+ let query = {};
12402
+ if (!$dara.isNull(request.modifyType)) {
12403
+ query["ModifyType"] = request.modifyType;
12404
+ }
12405
+ if (!$dara.isNull(request.projectId)) {
12406
+ query["ProjectId"] = request.projectId;
12407
+ }
12408
+ if (!$dara.isNull(request.projectSpec)) {
12409
+ query["ProjectSpec"] = request.projectSpec;
12410
+ }
12411
+ if (!$dara.isNull(request.regionId)) {
12412
+ query["RegionId"] = request.regionId;
12413
+ }
12414
+ if (!$dara.isNull(request.storageSize)) {
12415
+ query["StorageSize"] = request.storageSize;
12416
+ }
12417
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
12418
+ query: openapi_core_2.OpenApiUtil.query(query),
12419
+ });
12420
+ let params = new openapi_core_2.$OpenApiUtil.Params({
12421
+ action: "ModifySupabaseProjectResource",
12422
+ version: "2016-05-03",
12423
+ protocol: "HTTPS",
12424
+ pathname: "/",
12425
+ method: "POST",
12426
+ authType: "AK",
12427
+ style: "RPC",
12428
+ reqBodyType: "formData",
12429
+ bodyType: "json",
12430
+ });
12431
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseProjectResourceResponse({}));
12432
+ }
12433
+ /**
12434
+ * Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
12435
+ *
12436
+ * @param request - ModifySupabaseProjectResourceRequest
12437
+ * @returns ModifySupabaseProjectResourceResponse
12438
+ */
12439
+ async modifySupabaseProjectResource(request) {
12440
+ let runtime = new $dara.RuntimeOptions({});
12441
+ return await this.modifySupabaseProjectResourceWithOptions(request, runtime);
12442
+ }
12392
12443
  /**
12393
12444
  * Sets or replaces the IP address whitelist for a specified Supabase project.
12394
12445
  *