@alicloud/gpdb20160503 3.11.1 → 3.12.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 +126 -0
- package/dist/client.js +316 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CheckSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/CheckSaasServiceVersionRequest.js +60 -0
- package/dist/models/CheckSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/CheckSaasServiceVersionResponse.js +69 -0
- package/dist/models/CheckSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.d.ts +45 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js +64 -0
- package/dist/models/CheckSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/GetApiEndpointsRequest.d.ts +37 -0
- package/dist/models/GetApiEndpointsRequest.js +62 -0
- package/dist/models/GetApiEndpointsRequest.js.map +1 -0
- package/dist/models/GetApiEndpointsResponse.d.ts +19 -0
- package/dist/models/GetApiEndpointsResponse.js +69 -0
- package/dist/models/GetApiEndpointsResponse.js.map +1 -0
- package/dist/models/GetApiEndpointsResponseBody.d.ts +89 -0
- package/dist/models/GetApiEndpointsResponseBody.js +92 -0
- package/dist/models/GetApiEndpointsResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyRequest.js +67 -0
- package/dist/models/GrantApiKeyRequest.js.map +1 -0
- package/dist/models/GrantApiKeyResponse.d.ts +19 -0
- package/dist/models/GrantApiKeyResponse.js +69 -0
- package/dist/models/GrantApiKeyResponse.js.map +1 -0
- package/dist/models/GrantApiKeyResponseBody.d.ts +21 -0
- package/dist/models/GrantApiKeyResponseBody.js +58 -0
- package/dist/models/GrantApiKeyResponseBody.js.map +1 -0
- package/dist/models/GrantApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/GrantApiKeyShrinkRequest.js +64 -0
- package/dist/models/GrantApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/ListSaasServiceRequest.d.ts +1 -1
- package/dist/models/ListSaasServiceResponseBody.d.ts +59 -0
- package/dist/models/ListSaasServiceResponseBody.js.map +1 -1
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.d.ts +39 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionRequest.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.d.ts +19 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js +69 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponse.js.map +1 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.d.ts +37 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js +62 -0
- package/dist/models/ModifySaasServiceDeletionProtectionResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyRequest.js +67 -0
- package/dist/models/RevokeApiKeyRequest.js.map +1 -0
- package/dist/models/RevokeApiKeyResponse.d.ts +19 -0
- package/dist/models/RevokeApiKeyResponse.js +69 -0
- package/dist/models/RevokeApiKeyResponse.js.map +1 -0
- package/dist/models/RevokeApiKeyResponseBody.d.ts +21 -0
- package/dist/models/RevokeApiKeyResponseBody.js +58 -0
- package/dist/models/RevokeApiKeyResponseBody.js.map +1 -0
- package/dist/models/RevokeApiKeyShrinkRequest.d.ts +48 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js +64 -0
- package/dist/models/RevokeApiKeyShrinkRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionRequest.d.ts +31 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js +60 -0
- package/dist/models/UpdateSaasServiceVersionRequest.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponse.d.ts +19 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js +69 -0
- package/dist/models/UpdateSaasServiceVersionResponse.js.map +1 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.d.ts +37 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js +62 -0
- package/dist/models/UpdateSaasServiceVersionResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +21 -0
- package/dist/models/model.js +63 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +348 -0
- package/src/models/CheckSaasServiceVersionRequest.ts +46 -0
- package/src/models/CheckSaasServiceVersionResponse.ts +40 -0
- package/src/models/CheckSaasServiceVersionResponseBody.ts +64 -0
- package/src/models/GetApiEndpointsRequest.ts +54 -0
- package/src/models/GetApiEndpointsResponse.ts +40 -0
- package/src/models/GetApiEndpointsResponseBody.ts +127 -0
- package/src/models/GrantApiKeyRequest.ts +70 -0
- package/src/models/GrantApiKeyResponse.ts +40 -0
- package/src/models/GrantApiKeyResponseBody.ts +34 -0
- package/src/models/GrantApiKeyShrinkRequest.ts +67 -0
- package/src/models/ListSaasServiceRequest.ts +1 -1
- package/src/models/ListSaasServiceResponseBody.ts +59 -0
- package/src/models/ModifySaasServiceDeletionProtectionRequest.ts +56 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponse.ts +40 -0
- package/src/models/ModifySaasServiceDeletionProtectionResponseBody.ts +54 -0
- package/src/models/RevokeApiKeyRequest.ts +70 -0
- package/src/models/RevokeApiKeyResponse.ts +40 -0
- package/src/models/RevokeApiKeyResponseBody.ts +34 -0
- package/src/models/RevokeApiKeyShrinkRequest.ts +67 -0
- package/src/models/UpdateSaasServiceVersionRequest.ts +46 -0
- package/src/models/UpdateSaasServiceVersionResponse.ts +40 -0
- package/src/models/UpdateSaasServiceVersionResponseBody.ts +54 -0
- package/src/models/model.ts +21 -0
package/dist/client.d.ts
CHANGED
|
@@ -259,6 +259,27 @@ export default class Client extends OpenApi {
|
|
|
259
259
|
* @returns CheckJDBCSourceNetConnectionResponse
|
|
260
260
|
*/
|
|
261
261
|
checkJDBCSourceNetConnection(request: $_model.CheckJDBCSourceNetConnectionRequest): Promise<$_model.CheckJDBCSourceNetConnectionResponse>;
|
|
262
|
+
/**
|
|
263
|
+
* Checks the available update versions for a SaaS service.
|
|
264
|
+
*
|
|
265
|
+
* @remarks
|
|
266
|
+
* Checks the available update versions for a SaaS service.
|
|
267
|
+
*
|
|
268
|
+
* @param request - CheckSaasServiceVersionRequest
|
|
269
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
270
|
+
* @returns CheckSaasServiceVersionResponse
|
|
271
|
+
*/
|
|
272
|
+
checkSaasServiceVersionWithOptions(request: $_model.CheckSaasServiceVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckSaasServiceVersionResponse>;
|
|
273
|
+
/**
|
|
274
|
+
* Checks the available update versions for a SaaS service.
|
|
275
|
+
*
|
|
276
|
+
* @remarks
|
|
277
|
+
* Checks the available update versions for a SaaS service.
|
|
278
|
+
*
|
|
279
|
+
* @param request - CheckSaasServiceVersionRequest
|
|
280
|
+
* @returns CheckSaasServiceVersionResponse
|
|
281
|
+
*/
|
|
282
|
+
checkSaasServiceVersion(request: $_model.CheckSaasServiceVersionRequest): Promise<$_model.CheckSaasServiceVersionResponse>;
|
|
262
283
|
/**
|
|
263
284
|
* Checks whether a service-linked role is created.
|
|
264
285
|
*
|
|
@@ -3053,6 +3074,27 @@ export default class Client extends OpenApi {
|
|
|
3053
3074
|
* @returns GetAccountResponse
|
|
3054
3075
|
*/
|
|
3055
3076
|
getAccount(request: $_model.GetAccountRequest): Promise<$_model.GetAccountResponse>;
|
|
3077
|
+
/**
|
|
3078
|
+
* Queries API endpoints.
|
|
3079
|
+
*
|
|
3080
|
+
* @remarks
|
|
3081
|
+
* Queries API access endpoints.
|
|
3082
|
+
*
|
|
3083
|
+
* @param request - GetApiEndpointsRequest
|
|
3084
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3085
|
+
* @returns GetApiEndpointsResponse
|
|
3086
|
+
*/
|
|
3087
|
+
getApiEndpointsWithOptions(request: $_model.GetApiEndpointsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApiEndpointsResponse>;
|
|
3088
|
+
/**
|
|
3089
|
+
* Queries API endpoints.
|
|
3090
|
+
*
|
|
3091
|
+
* @remarks
|
|
3092
|
+
* Queries API access endpoints.
|
|
3093
|
+
*
|
|
3094
|
+
* @param request - GetApiEndpointsRequest
|
|
3095
|
+
* @returns GetApiEndpointsResponse
|
|
3096
|
+
*/
|
|
3097
|
+
getApiEndpoints(request: $_model.GetApiEndpointsRequest): Promise<$_model.GetApiEndpointsResponse>;
|
|
3056
3098
|
/**
|
|
3057
3099
|
* Retrieves the details of an API key.
|
|
3058
3100
|
*
|
|
@@ -3322,6 +3364,27 @@ export default class Client extends OpenApi {
|
|
|
3322
3364
|
* @returns GetWorkspaceResponse
|
|
3323
3365
|
*/
|
|
3324
3366
|
getWorkspace(request: $_model.GetWorkspaceRequest): Promise<$_model.GetWorkspaceResponse>;
|
|
3367
|
+
/**
|
|
3368
|
+
* Authorizes an API key to access SaaS services.
|
|
3369
|
+
*
|
|
3370
|
+
* @remarks
|
|
3371
|
+
* Retrieves the details of an API key.
|
|
3372
|
+
*
|
|
3373
|
+
* @param tmpReq - GrantApiKeyRequest
|
|
3374
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3375
|
+
* @returns GrantApiKeyResponse
|
|
3376
|
+
*/
|
|
3377
|
+
grantApiKeyWithOptions(tmpReq: $_model.GrantApiKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GrantApiKeyResponse>;
|
|
3378
|
+
/**
|
|
3379
|
+
* Authorizes an API key to access SaaS services.
|
|
3380
|
+
*
|
|
3381
|
+
* @remarks
|
|
3382
|
+
* Retrieves the details of an API key.
|
|
3383
|
+
*
|
|
3384
|
+
* @param request - GrantApiKeyRequest
|
|
3385
|
+
* @returns GrantApiKeyResponse
|
|
3386
|
+
*/
|
|
3387
|
+
grantApiKey(request: $_model.GrantApiKeyRequest): Promise<$_model.GrantApiKeyResponse>;
|
|
3325
3388
|
/**
|
|
3326
3389
|
* Grants vector collection permissions to a namespace.
|
|
3327
3390
|
*
|
|
@@ -4320,6 +4383,27 @@ export default class Client extends OpenApi {
|
|
|
4320
4383
|
* @returns ModifySQLCollectorPolicyResponse
|
|
4321
4384
|
*/
|
|
4322
4385
|
modifySQLCollectorPolicy(request: $_model.ModifySQLCollectorPolicyRequest): Promise<$_model.ModifySQLCollectorPolicyResponse>;
|
|
4386
|
+
/**
|
|
4387
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
4388
|
+
*
|
|
4389
|
+
* @remarks
|
|
4390
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
4391
|
+
*
|
|
4392
|
+
* @param request - ModifySaasServiceDeletionProtectionRequest
|
|
4393
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4394
|
+
* @returns ModifySaasServiceDeletionProtectionResponse
|
|
4395
|
+
*/
|
|
4396
|
+
modifySaasServiceDeletionProtectionWithOptions(request: $_model.ModifySaasServiceDeletionProtectionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySaasServiceDeletionProtectionResponse>;
|
|
4397
|
+
/**
|
|
4398
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
4399
|
+
*
|
|
4400
|
+
* @remarks
|
|
4401
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
4402
|
+
*
|
|
4403
|
+
* @param request - ModifySaasServiceDeletionProtectionRequest
|
|
4404
|
+
* @returns ModifySaasServiceDeletionProtectionResponse
|
|
4405
|
+
*/
|
|
4406
|
+
modifySaasServiceDeletionProtection(request: $_model.ModifySaasServiceDeletionProtectionRequest): Promise<$_model.ModifySaasServiceDeletionProtectionResponse>;
|
|
4323
4407
|
/**
|
|
4324
4408
|
* Modifies the IP address whitelist of an AnalyticDB for PostgreSQL instance.
|
|
4325
4409
|
*
|
|
@@ -4912,6 +4996,27 @@ export default class Client extends OpenApi {
|
|
|
4912
4996
|
* @returns ResumeSupabaseProjectResponse
|
|
4913
4997
|
*/
|
|
4914
4998
|
resumeSupabaseProject(request: $_model.ResumeSupabaseProjectRequest): Promise<$_model.ResumeSupabaseProjectResponse>;
|
|
4999
|
+
/**
|
|
5000
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
5001
|
+
*
|
|
5002
|
+
* @remarks
|
|
5003
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
5004
|
+
*
|
|
5005
|
+
* @param tmpReq - RevokeApiKeyRequest
|
|
5006
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5007
|
+
* @returns RevokeApiKeyResponse
|
|
5008
|
+
*/
|
|
5009
|
+
revokeApiKeyWithOptions(tmpReq: $_model.RevokeApiKeyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RevokeApiKeyResponse>;
|
|
5010
|
+
/**
|
|
5011
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
5012
|
+
*
|
|
5013
|
+
* @remarks
|
|
5014
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
5015
|
+
*
|
|
5016
|
+
* @param request - RevokeApiKeyRequest
|
|
5017
|
+
* @returns RevokeApiKeyResponse
|
|
5018
|
+
*/
|
|
5019
|
+
revokeApiKey(request: $_model.RevokeApiKeyRequest): Promise<$_model.RevokeApiKeyResponse>;
|
|
4915
5020
|
/**
|
|
4916
5021
|
* Sets the default branch for a Supabase project.
|
|
4917
5022
|
*
|
|
@@ -5188,6 +5293,27 @@ export default class Client extends OpenApi {
|
|
|
5188
5293
|
* @returns UpdateDBInstancePlanResponse
|
|
5189
5294
|
*/
|
|
5190
5295
|
updateDBInstancePlan(request: $_model.UpdateDBInstancePlanRequest): Promise<$_model.UpdateDBInstancePlanResponse>;
|
|
5296
|
+
/**
|
|
5297
|
+
* Updates the SaaS service version.
|
|
5298
|
+
*
|
|
5299
|
+
* @remarks
|
|
5300
|
+
* Updates the SaaS service version.
|
|
5301
|
+
*
|
|
5302
|
+
* @param request - UpdateSaasServiceVersionRequest
|
|
5303
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5304
|
+
* @returns UpdateSaasServiceVersionResponse
|
|
5305
|
+
*/
|
|
5306
|
+
updateSaasServiceVersionWithOptions(request: $_model.UpdateSaasServiceVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateSaasServiceVersionResponse>;
|
|
5307
|
+
/**
|
|
5308
|
+
* Updates the SaaS service version.
|
|
5309
|
+
*
|
|
5310
|
+
* @remarks
|
|
5311
|
+
* Updates the SaaS service version.
|
|
5312
|
+
*
|
|
5313
|
+
* @param request - UpdateSaasServiceVersionRequest
|
|
5314
|
+
* @returns UpdateSaasServiceVersionResponse
|
|
5315
|
+
*/
|
|
5316
|
+
updateSaasServiceVersion(request: $_model.UpdateSaasServiceVersionRequest): Promise<$_model.UpdateSaasServiceVersionResponse>;
|
|
5191
5317
|
/**
|
|
5192
5318
|
* Changes the specifications of an AnalyticDB for PostgreSQL instance.
|
|
5193
5319
|
*
|
package/dist/client.js
CHANGED
|
@@ -950,6 +950,54 @@ class Client extends openapi_core_1.default {
|
|
|
950
950
|
let runtime = new $dara.RuntimeOptions({});
|
|
951
951
|
return await this.checkJDBCSourceNetConnectionWithOptions(request, runtime);
|
|
952
952
|
}
|
|
953
|
+
/**
|
|
954
|
+
* Checks the available update versions for a SaaS service.
|
|
955
|
+
*
|
|
956
|
+
* @remarks
|
|
957
|
+
* Checks the available update versions for a SaaS service.
|
|
958
|
+
*
|
|
959
|
+
* @param request - CheckSaasServiceVersionRequest
|
|
960
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
961
|
+
* @returns CheckSaasServiceVersionResponse
|
|
962
|
+
*/
|
|
963
|
+
async checkSaasServiceVersionWithOptions(request, runtime) {
|
|
964
|
+
request.validate();
|
|
965
|
+
let query = {};
|
|
966
|
+
if (!$dara.isNull(request.regionId)) {
|
|
967
|
+
query["RegionId"] = request.regionId;
|
|
968
|
+
}
|
|
969
|
+
if (!$dara.isNull(request.serviceId)) {
|
|
970
|
+
query["ServiceId"] = request.serviceId;
|
|
971
|
+
}
|
|
972
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
973
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
974
|
+
});
|
|
975
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
976
|
+
action: "CheckSaasServiceVersion",
|
|
977
|
+
version: "2016-05-03",
|
|
978
|
+
protocol: "HTTPS",
|
|
979
|
+
pathname: "/",
|
|
980
|
+
method: "POST",
|
|
981
|
+
authType: "AK",
|
|
982
|
+
style: "RPC",
|
|
983
|
+
reqBodyType: "formData",
|
|
984
|
+
bodyType: "json",
|
|
985
|
+
});
|
|
986
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CheckSaasServiceVersionResponse({}));
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Checks the available update versions for a SaaS service.
|
|
990
|
+
*
|
|
991
|
+
* @remarks
|
|
992
|
+
* Checks the available update versions for a SaaS service.
|
|
993
|
+
*
|
|
994
|
+
* @param request - CheckSaasServiceVersionRequest
|
|
995
|
+
* @returns CheckSaasServiceVersionResponse
|
|
996
|
+
*/
|
|
997
|
+
async checkSaasServiceVersion(request) {
|
|
998
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
999
|
+
return await this.checkSaasServiceVersionWithOptions(request, runtime);
|
|
1000
|
+
}
|
|
953
1001
|
/**
|
|
954
1002
|
* Checks whether a service-linked role is created.
|
|
955
1003
|
*
|
|
@@ -9641,6 +9689,57 @@ class Client extends openapi_core_1.default {
|
|
|
9641
9689
|
let runtime = new $dara.RuntimeOptions({});
|
|
9642
9690
|
return await this.getAccountWithOptions(request, runtime);
|
|
9643
9691
|
}
|
|
9692
|
+
/**
|
|
9693
|
+
* Queries API endpoints.
|
|
9694
|
+
*
|
|
9695
|
+
* @remarks
|
|
9696
|
+
* Queries API access endpoints.
|
|
9697
|
+
*
|
|
9698
|
+
* @param request - GetApiEndpointsRequest
|
|
9699
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9700
|
+
* @returns GetApiEndpointsResponse
|
|
9701
|
+
*/
|
|
9702
|
+
async getApiEndpointsWithOptions(request, runtime) {
|
|
9703
|
+
request.validate();
|
|
9704
|
+
let query = {};
|
|
9705
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9706
|
+
query["MaxResults"] = request.maxResults;
|
|
9707
|
+
}
|
|
9708
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9709
|
+
query["NextToken"] = request.nextToken;
|
|
9710
|
+
}
|
|
9711
|
+
if (!$dara.isNull(request.regionId)) {
|
|
9712
|
+
query["RegionId"] = request.regionId;
|
|
9713
|
+
}
|
|
9714
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9715
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9716
|
+
});
|
|
9717
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9718
|
+
action: "GetApiEndpoints",
|
|
9719
|
+
version: "2016-05-03",
|
|
9720
|
+
protocol: "HTTPS",
|
|
9721
|
+
pathname: "/",
|
|
9722
|
+
method: "POST",
|
|
9723
|
+
authType: "AK",
|
|
9724
|
+
style: "RPC",
|
|
9725
|
+
reqBodyType: "formData",
|
|
9726
|
+
bodyType: "json",
|
|
9727
|
+
});
|
|
9728
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApiEndpointsResponse({}));
|
|
9729
|
+
}
|
|
9730
|
+
/**
|
|
9731
|
+
* Queries API endpoints.
|
|
9732
|
+
*
|
|
9733
|
+
* @remarks
|
|
9734
|
+
* Queries API access endpoints.
|
|
9735
|
+
*
|
|
9736
|
+
* @param request - GetApiEndpointsRequest
|
|
9737
|
+
* @returns GetApiEndpointsResponse
|
|
9738
|
+
*/
|
|
9739
|
+
async getApiEndpoints(request) {
|
|
9740
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9741
|
+
return await this.getApiEndpointsWithOptions(request, runtime);
|
|
9742
|
+
}
|
|
9644
9743
|
/**
|
|
9645
9744
|
* Retrieves the details of an API key.
|
|
9646
9745
|
*
|
|
@@ -10343,6 +10442,65 @@ class Client extends openapi_core_1.default {
|
|
|
10343
10442
|
let runtime = new $dara.RuntimeOptions({});
|
|
10344
10443
|
return await this.getWorkspaceWithOptions(request, runtime);
|
|
10345
10444
|
}
|
|
10445
|
+
/**
|
|
10446
|
+
* Authorizes an API key to access SaaS services.
|
|
10447
|
+
*
|
|
10448
|
+
* @remarks
|
|
10449
|
+
* Retrieves the details of an API key.
|
|
10450
|
+
*
|
|
10451
|
+
* @param tmpReq - GrantApiKeyRequest
|
|
10452
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10453
|
+
* @returns GrantApiKeyResponse
|
|
10454
|
+
*/
|
|
10455
|
+
async grantApiKeyWithOptions(tmpReq, runtime) {
|
|
10456
|
+
tmpReq.validate();
|
|
10457
|
+
let request = new $_model.GrantApiKeyShrinkRequest({});
|
|
10458
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
10459
|
+
if (!$dara.isNull(tmpReq.serviceIds)) {
|
|
10460
|
+
request.serviceIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.serviceIds, "ServiceIds", "json");
|
|
10461
|
+
}
|
|
10462
|
+
let query = {};
|
|
10463
|
+
if (!$dara.isNull(request.keyId)) {
|
|
10464
|
+
query["KeyId"] = request.keyId;
|
|
10465
|
+
}
|
|
10466
|
+
if (!$dara.isNull(request.regionId)) {
|
|
10467
|
+
query["RegionId"] = request.regionId;
|
|
10468
|
+
}
|
|
10469
|
+
if (!$dara.isNull(request.serviceIdsShrink)) {
|
|
10470
|
+
query["ServiceIds"] = request.serviceIdsShrink;
|
|
10471
|
+
}
|
|
10472
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
10473
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
10474
|
+
}
|
|
10475
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
10476
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
10477
|
+
});
|
|
10478
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
10479
|
+
action: "GrantApiKey",
|
|
10480
|
+
version: "2016-05-03",
|
|
10481
|
+
protocol: "HTTPS",
|
|
10482
|
+
pathname: "/",
|
|
10483
|
+
method: "POST",
|
|
10484
|
+
authType: "AK",
|
|
10485
|
+
style: "RPC",
|
|
10486
|
+
reqBodyType: "formData",
|
|
10487
|
+
bodyType: "json",
|
|
10488
|
+
});
|
|
10489
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GrantApiKeyResponse({}));
|
|
10490
|
+
}
|
|
10491
|
+
/**
|
|
10492
|
+
* Authorizes an API key to access SaaS services.
|
|
10493
|
+
*
|
|
10494
|
+
* @remarks
|
|
10495
|
+
* Retrieves the details of an API key.
|
|
10496
|
+
*
|
|
10497
|
+
* @param request - GrantApiKeyRequest
|
|
10498
|
+
* @returns GrantApiKeyResponse
|
|
10499
|
+
*/
|
|
10500
|
+
async grantApiKey(request) {
|
|
10501
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
10502
|
+
return await this.grantApiKeyWithOptions(request, runtime);
|
|
10503
|
+
}
|
|
10346
10504
|
/**
|
|
10347
10505
|
* Grants vector collection permissions to a namespace.
|
|
10348
10506
|
*
|
|
@@ -13479,6 +13637,57 @@ class Client extends openapi_core_1.default {
|
|
|
13479
13637
|
let runtime = new $dara.RuntimeOptions({});
|
|
13480
13638
|
return await this.modifySQLCollectorPolicyWithOptions(request, runtime);
|
|
13481
13639
|
}
|
|
13640
|
+
/**
|
|
13641
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
13642
|
+
*
|
|
13643
|
+
* @remarks
|
|
13644
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
13645
|
+
*
|
|
13646
|
+
* @param request - ModifySaasServiceDeletionProtectionRequest
|
|
13647
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13648
|
+
* @returns ModifySaasServiceDeletionProtectionResponse
|
|
13649
|
+
*/
|
|
13650
|
+
async modifySaasServiceDeletionProtectionWithOptions(request, runtime) {
|
|
13651
|
+
request.validate();
|
|
13652
|
+
let query = {};
|
|
13653
|
+
if (!$dara.isNull(request.deletionProtection)) {
|
|
13654
|
+
query["DeletionProtection"] = request.deletionProtection;
|
|
13655
|
+
}
|
|
13656
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13657
|
+
query["RegionId"] = request.regionId;
|
|
13658
|
+
}
|
|
13659
|
+
if (!$dara.isNull(request.serviceId)) {
|
|
13660
|
+
query["ServiceId"] = request.serviceId;
|
|
13661
|
+
}
|
|
13662
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13663
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13664
|
+
});
|
|
13665
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
13666
|
+
action: "ModifySaasServiceDeletionProtection",
|
|
13667
|
+
version: "2016-05-03",
|
|
13668
|
+
protocol: "HTTPS",
|
|
13669
|
+
pathname: "/",
|
|
13670
|
+
method: "POST",
|
|
13671
|
+
authType: "AK",
|
|
13672
|
+
style: "RPC",
|
|
13673
|
+
reqBodyType: "formData",
|
|
13674
|
+
bodyType: "json",
|
|
13675
|
+
});
|
|
13676
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySaasServiceDeletionProtectionResponse({}));
|
|
13677
|
+
}
|
|
13678
|
+
/**
|
|
13679
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
13680
|
+
*
|
|
13681
|
+
* @remarks
|
|
13682
|
+
* Modifies the deletion protection setting for a SaaS service.
|
|
13683
|
+
*
|
|
13684
|
+
* @param request - ModifySaasServiceDeletionProtectionRequest
|
|
13685
|
+
* @returns ModifySaasServiceDeletionProtectionResponse
|
|
13686
|
+
*/
|
|
13687
|
+
async modifySaasServiceDeletionProtection(request) {
|
|
13688
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
13689
|
+
return await this.modifySaasServiceDeletionProtectionWithOptions(request, runtime);
|
|
13690
|
+
}
|
|
13482
13691
|
/**
|
|
13483
13692
|
* Modifies the IP address whitelist of an AnalyticDB for PostgreSQL instance.
|
|
13484
13693
|
*
|
|
@@ -15385,6 +15594,65 @@ class Client extends openapi_core_1.default {
|
|
|
15385
15594
|
let runtime = new $dara.RuntimeOptions({});
|
|
15386
15595
|
return await this.resumeSupabaseProjectWithOptions(request, runtime);
|
|
15387
15596
|
}
|
|
15597
|
+
/**
|
|
15598
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
15599
|
+
*
|
|
15600
|
+
* @remarks
|
|
15601
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
15602
|
+
*
|
|
15603
|
+
* @param tmpReq - RevokeApiKeyRequest
|
|
15604
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15605
|
+
* @returns RevokeApiKeyResponse
|
|
15606
|
+
*/
|
|
15607
|
+
async revokeApiKeyWithOptions(tmpReq, runtime) {
|
|
15608
|
+
tmpReq.validate();
|
|
15609
|
+
let request = new $_model.RevokeApiKeyShrinkRequest({});
|
|
15610
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
15611
|
+
if (!$dara.isNull(tmpReq.serviceIds)) {
|
|
15612
|
+
request.serviceIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.serviceIds, "ServiceIds", "json");
|
|
15613
|
+
}
|
|
15614
|
+
let query = {};
|
|
15615
|
+
if (!$dara.isNull(request.keyId)) {
|
|
15616
|
+
query["KeyId"] = request.keyId;
|
|
15617
|
+
}
|
|
15618
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15619
|
+
query["RegionId"] = request.regionId;
|
|
15620
|
+
}
|
|
15621
|
+
if (!$dara.isNull(request.serviceIdsShrink)) {
|
|
15622
|
+
query["ServiceIds"] = request.serviceIdsShrink;
|
|
15623
|
+
}
|
|
15624
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
15625
|
+
query["WorkspaceId"] = request.workspaceId;
|
|
15626
|
+
}
|
|
15627
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15628
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15629
|
+
});
|
|
15630
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15631
|
+
action: "RevokeApiKey",
|
|
15632
|
+
version: "2016-05-03",
|
|
15633
|
+
protocol: "HTTPS",
|
|
15634
|
+
pathname: "/",
|
|
15635
|
+
method: "POST",
|
|
15636
|
+
authType: "AK",
|
|
15637
|
+
style: "RPC",
|
|
15638
|
+
reqBodyType: "formData",
|
|
15639
|
+
bodyType: "json",
|
|
15640
|
+
});
|
|
15641
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RevokeApiKeyResponse({}));
|
|
15642
|
+
}
|
|
15643
|
+
/**
|
|
15644
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
15645
|
+
*
|
|
15646
|
+
* @remarks
|
|
15647
|
+
* Revokes the access permissions of an API key to SaaS services.
|
|
15648
|
+
*
|
|
15649
|
+
* @param request - RevokeApiKeyRequest
|
|
15650
|
+
* @returns RevokeApiKeyResponse
|
|
15651
|
+
*/
|
|
15652
|
+
async revokeApiKey(request) {
|
|
15653
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15654
|
+
return await this.revokeApiKeyWithOptions(request, runtime);
|
|
15655
|
+
}
|
|
15388
15656
|
/**
|
|
15389
15657
|
* Sets the default branch for a Supabase project.
|
|
15390
15658
|
*
|
|
@@ -16217,6 +16485,54 @@ class Client extends openapi_core_1.default {
|
|
|
16217
16485
|
let runtime = new $dara.RuntimeOptions({});
|
|
16218
16486
|
return await this.updateDBInstancePlanWithOptions(request, runtime);
|
|
16219
16487
|
}
|
|
16488
|
+
/**
|
|
16489
|
+
* Updates the SaaS service version.
|
|
16490
|
+
*
|
|
16491
|
+
* @remarks
|
|
16492
|
+
* Updates the SaaS service version.
|
|
16493
|
+
*
|
|
16494
|
+
* @param request - UpdateSaasServiceVersionRequest
|
|
16495
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16496
|
+
* @returns UpdateSaasServiceVersionResponse
|
|
16497
|
+
*/
|
|
16498
|
+
async updateSaasServiceVersionWithOptions(request, runtime) {
|
|
16499
|
+
request.validate();
|
|
16500
|
+
let query = {};
|
|
16501
|
+
if (!$dara.isNull(request.regionId)) {
|
|
16502
|
+
query["RegionId"] = request.regionId;
|
|
16503
|
+
}
|
|
16504
|
+
if (!$dara.isNull(request.serviceId)) {
|
|
16505
|
+
query["ServiceId"] = request.serviceId;
|
|
16506
|
+
}
|
|
16507
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16508
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16509
|
+
});
|
|
16510
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16511
|
+
action: "UpdateSaasServiceVersion",
|
|
16512
|
+
version: "2016-05-03",
|
|
16513
|
+
protocol: "HTTPS",
|
|
16514
|
+
pathname: "/",
|
|
16515
|
+
method: "POST",
|
|
16516
|
+
authType: "AK",
|
|
16517
|
+
style: "RPC",
|
|
16518
|
+
reqBodyType: "formData",
|
|
16519
|
+
bodyType: "json",
|
|
16520
|
+
});
|
|
16521
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateSaasServiceVersionResponse({}));
|
|
16522
|
+
}
|
|
16523
|
+
/**
|
|
16524
|
+
* Updates the SaaS service version.
|
|
16525
|
+
*
|
|
16526
|
+
* @remarks
|
|
16527
|
+
* Updates the SaaS service version.
|
|
16528
|
+
*
|
|
16529
|
+
* @param request - UpdateSaasServiceVersionRequest
|
|
16530
|
+
* @returns UpdateSaasServiceVersionResponse
|
|
16531
|
+
*/
|
|
16532
|
+
async updateSaasServiceVersion(request) {
|
|
16533
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16534
|
+
return await this.updateSaasServiceVersionWithOptions(request, runtime);
|
|
16535
|
+
}
|
|
16220
16536
|
/**
|
|
16221
16537
|
* Changes the specifications of an AnalyticDB for PostgreSQL instance.
|
|
16222
16538
|
*
|