@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/src/client.ts
CHANGED
|
@@ -12080,6 +12080,64 @@ export default class Client extends OpenApi {
|
|
|
12080
12080
|
return await this.listStreamingJobsWithOptions(request, runtime);
|
|
12081
12081
|
}
|
|
12082
12082
|
|
|
12083
|
+
/**
|
|
12084
|
+
* Query the label List of Supabase instances
|
|
12085
|
+
*
|
|
12086
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
12087
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12088
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
12089
|
+
*/
|
|
12090
|
+
async listSupabaseProjectTagsWithOptions(request: $_model.ListSupabaseProjectTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSupabaseProjectTagsResponse> {
|
|
12091
|
+
request.validate();
|
|
12092
|
+
let query = { };
|
|
12093
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
12094
|
+
query["NextToken"] = request.nextToken;
|
|
12095
|
+
}
|
|
12096
|
+
|
|
12097
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12098
|
+
query["RegionId"] = request.regionId;
|
|
12099
|
+
}
|
|
12100
|
+
|
|
12101
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
12102
|
+
query["ResourceId"] = request.resourceId;
|
|
12103
|
+
}
|
|
12104
|
+
|
|
12105
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
12106
|
+
query["ResourceType"] = request.resourceType;
|
|
12107
|
+
}
|
|
12108
|
+
|
|
12109
|
+
if (!$dara.isNull(request.tag)) {
|
|
12110
|
+
query["Tag"] = request.tag;
|
|
12111
|
+
}
|
|
12112
|
+
|
|
12113
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
12114
|
+
query: OpenApiUtil.query(query),
|
|
12115
|
+
});
|
|
12116
|
+
let params = new $OpenApiUtil.Params({
|
|
12117
|
+
action: "ListSupabaseProjectTags",
|
|
12118
|
+
version: "2016-05-03",
|
|
12119
|
+
protocol: "HTTPS",
|
|
12120
|
+
pathname: "/",
|
|
12121
|
+
method: "POST",
|
|
12122
|
+
authType: "AK",
|
|
12123
|
+
style: "RPC",
|
|
12124
|
+
reqBodyType: "formData",
|
|
12125
|
+
bodyType: "json",
|
|
12126
|
+
});
|
|
12127
|
+
return $dara.cast<$_model.ListSupabaseProjectTagsResponse>(await this.callApi(params, req, runtime), new $_model.ListSupabaseProjectTagsResponse({}));
|
|
12128
|
+
}
|
|
12129
|
+
|
|
12130
|
+
/**
|
|
12131
|
+
* Query the label List of Supabase instances
|
|
12132
|
+
*
|
|
12133
|
+
* @param request - ListSupabaseProjectTagsRequest
|
|
12134
|
+
* @returns ListSupabaseProjectTagsResponse
|
|
12135
|
+
*/
|
|
12136
|
+
async listSupabaseProjectTags(request: $_model.ListSupabaseProjectTagsRequest): Promise<$_model.ListSupabaseProjectTagsResponse> {
|
|
12137
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
12138
|
+
return await this.listSupabaseProjectTagsWithOptions(request, runtime);
|
|
12139
|
+
}
|
|
12140
|
+
|
|
12083
12141
|
/**
|
|
12084
12142
|
* Retrieves a paginated list of Supabase instances in your account. You can filter the list by region.
|
|
12085
12143
|
*
|
|
@@ -14026,6 +14084,56 @@ export default class Client extends OpenApi {
|
|
|
14026
14084
|
return await this.modifySupabaseAutoScalePolicyWithOptions(request, runtime);
|
|
14027
14085
|
}
|
|
14028
14086
|
|
|
14087
|
+
/**
|
|
14088
|
+
* Modify the Supabase project description
|
|
14089
|
+
*
|
|
14090
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
14091
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
14092
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
14093
|
+
*/
|
|
14094
|
+
async modifySupabaseProjectDescriptionWithOptions(request: $_model.ModifySupabaseProjectDescriptionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseProjectDescriptionResponse> {
|
|
14095
|
+
request.validate();
|
|
14096
|
+
let query = { };
|
|
14097
|
+
if (!$dara.isNull(request.projectDescription)) {
|
|
14098
|
+
query["ProjectDescription"] = request.projectDescription;
|
|
14099
|
+
}
|
|
14100
|
+
|
|
14101
|
+
if (!$dara.isNull(request.projectId)) {
|
|
14102
|
+
query["ProjectId"] = request.projectId;
|
|
14103
|
+
}
|
|
14104
|
+
|
|
14105
|
+
if (!$dara.isNull(request.regionId)) {
|
|
14106
|
+
query["RegionId"] = request.regionId;
|
|
14107
|
+
}
|
|
14108
|
+
|
|
14109
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
14110
|
+
query: OpenApiUtil.query(query),
|
|
14111
|
+
});
|
|
14112
|
+
let params = new $OpenApiUtil.Params({
|
|
14113
|
+
action: "ModifySupabaseProjectDescription",
|
|
14114
|
+
version: "2016-05-03",
|
|
14115
|
+
protocol: "HTTPS",
|
|
14116
|
+
pathname: "/",
|
|
14117
|
+
method: "POST",
|
|
14118
|
+
authType: "AK",
|
|
14119
|
+
style: "RPC",
|
|
14120
|
+
reqBodyType: "formData",
|
|
14121
|
+
bodyType: "json",
|
|
14122
|
+
});
|
|
14123
|
+
return $dara.cast<$_model.ModifySupabaseProjectDescriptionResponse>(await this.callApi(params, req, runtime), new $_model.ModifySupabaseProjectDescriptionResponse({}));
|
|
14124
|
+
}
|
|
14125
|
+
|
|
14126
|
+
/**
|
|
14127
|
+
* Modify the Supabase project description
|
|
14128
|
+
*
|
|
14129
|
+
* @param request - ModifySupabaseProjectDescriptionRequest
|
|
14130
|
+
* @returns ModifySupabaseProjectDescriptionResponse
|
|
14131
|
+
*/
|
|
14132
|
+
async modifySupabaseProjectDescription(request: $_model.ModifySupabaseProjectDescriptionRequest): Promise<$_model.ModifySupabaseProjectDescriptionResponse> {
|
|
14133
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
14134
|
+
return await this.modifySupabaseProjectDescriptionWithOptions(request, runtime);
|
|
14135
|
+
}
|
|
14136
|
+
|
|
14029
14137
|
/**
|
|
14030
14138
|
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
14031
14139
|
*
|
|
@@ -15634,6 +15742,60 @@ export default class Client extends OpenApi {
|
|
|
15634
15742
|
return await this.tagResourcesWithOptions(request, runtime);
|
|
15635
15743
|
}
|
|
15636
15744
|
|
|
15745
|
+
/**
|
|
15746
|
+
* Supabase project labeling
|
|
15747
|
+
*
|
|
15748
|
+
* @param request - TagSupabaseProjectRequest
|
|
15749
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15750
|
+
* @returns TagSupabaseProjectResponse
|
|
15751
|
+
*/
|
|
15752
|
+
async tagSupabaseProjectWithOptions(request: $_model.TagSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.TagSupabaseProjectResponse> {
|
|
15753
|
+
request.validate();
|
|
15754
|
+
let query = { };
|
|
15755
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15756
|
+
query["RegionId"] = request.regionId;
|
|
15757
|
+
}
|
|
15758
|
+
|
|
15759
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
15760
|
+
query["ResourceId"] = request.resourceId;
|
|
15761
|
+
}
|
|
15762
|
+
|
|
15763
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
15764
|
+
query["ResourceType"] = request.resourceType;
|
|
15765
|
+
}
|
|
15766
|
+
|
|
15767
|
+
if (!$dara.isNull(request.tag)) {
|
|
15768
|
+
query["Tag"] = request.tag;
|
|
15769
|
+
}
|
|
15770
|
+
|
|
15771
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
15772
|
+
query: OpenApiUtil.query(query),
|
|
15773
|
+
});
|
|
15774
|
+
let params = new $OpenApiUtil.Params({
|
|
15775
|
+
action: "TagSupabaseProject",
|
|
15776
|
+
version: "2016-05-03",
|
|
15777
|
+
protocol: "HTTPS",
|
|
15778
|
+
pathname: "/",
|
|
15779
|
+
method: "POST",
|
|
15780
|
+
authType: "AK",
|
|
15781
|
+
style: "RPC",
|
|
15782
|
+
reqBodyType: "formData",
|
|
15783
|
+
bodyType: "json",
|
|
15784
|
+
});
|
|
15785
|
+
return $dara.cast<$_model.TagSupabaseProjectResponse>(await this.callApi(params, req, runtime), new $_model.TagSupabaseProjectResponse({}));
|
|
15786
|
+
}
|
|
15787
|
+
|
|
15788
|
+
/**
|
|
15789
|
+
* Supabase project labeling
|
|
15790
|
+
*
|
|
15791
|
+
* @param request - TagSupabaseProjectRequest
|
|
15792
|
+
* @returns TagSupabaseProjectResponse
|
|
15793
|
+
*/
|
|
15794
|
+
async tagSupabaseProject(request: $_model.TagSupabaseProjectRequest): Promise<$_model.TagSupabaseProjectResponse> {
|
|
15795
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
15796
|
+
return await this.tagSupabaseProjectWithOptions(request, runtime);
|
|
15797
|
+
}
|
|
15798
|
+
|
|
15637
15799
|
/**
|
|
15638
15800
|
* Generates text embeddings using an embedding model.
|
|
15639
15801
|
*
|
|
@@ -15894,6 +16056,64 @@ export default class Client extends OpenApi {
|
|
|
15894
16056
|
return await this.untagResourcesWithOptions(request, runtime);
|
|
15895
16057
|
}
|
|
15896
16058
|
|
|
16059
|
+
/**
|
|
16060
|
+
* Detach labels from a Supabase instance
|
|
16061
|
+
*
|
|
16062
|
+
* @param request - UntagSupabaseProjectRequest
|
|
16063
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16064
|
+
* @returns UntagSupabaseProjectResponse
|
|
16065
|
+
*/
|
|
16066
|
+
async untagSupabaseProjectWithOptions(request: $_model.UntagSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UntagSupabaseProjectResponse> {
|
|
16067
|
+
request.validate();
|
|
16068
|
+
let query = { };
|
|
16069
|
+
if (!$dara.isNull(request.all)) {
|
|
16070
|
+
query["All"] = request.all;
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16073
|
+
if (!$dara.isNull(request.regionId)) {
|
|
16074
|
+
query["RegionId"] = request.regionId;
|
|
16075
|
+
}
|
|
16076
|
+
|
|
16077
|
+
if (!$dara.isNull(request.resourceId)) {
|
|
16078
|
+
query["ResourceId"] = request.resourceId;
|
|
16079
|
+
}
|
|
16080
|
+
|
|
16081
|
+
if (!$dara.isNull(request.resourceType)) {
|
|
16082
|
+
query["ResourceType"] = request.resourceType;
|
|
16083
|
+
}
|
|
16084
|
+
|
|
16085
|
+
if (!$dara.isNull(request.tagKey)) {
|
|
16086
|
+
query["TagKey"] = request.tagKey;
|
|
16087
|
+
}
|
|
16088
|
+
|
|
16089
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
16090
|
+
query: OpenApiUtil.query(query),
|
|
16091
|
+
});
|
|
16092
|
+
let params = new $OpenApiUtil.Params({
|
|
16093
|
+
action: "UntagSupabaseProject",
|
|
16094
|
+
version: "2016-05-03",
|
|
16095
|
+
protocol: "HTTPS",
|
|
16096
|
+
pathname: "/",
|
|
16097
|
+
method: "POST",
|
|
16098
|
+
authType: "AK",
|
|
16099
|
+
style: "RPC",
|
|
16100
|
+
reqBodyType: "formData",
|
|
16101
|
+
bodyType: "json",
|
|
16102
|
+
});
|
|
16103
|
+
return $dara.cast<$_model.UntagSupabaseProjectResponse>(await this.callApi(params, req, runtime), new $_model.UntagSupabaseProjectResponse({}));
|
|
16104
|
+
}
|
|
16105
|
+
|
|
16106
|
+
/**
|
|
16107
|
+
* Detach labels from a Supabase instance
|
|
16108
|
+
*
|
|
16109
|
+
* @param request - UntagSupabaseProjectRequest
|
|
16110
|
+
* @returns UntagSupabaseProjectResponse
|
|
16111
|
+
*/
|
|
16112
|
+
async untagSupabaseProject(request: $_model.UntagSupabaseProjectRequest): Promise<$_model.UntagSupabaseProjectResponse> {
|
|
16113
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
16114
|
+
return await this.untagSupabaseProjectWithOptions(request, runtime);
|
|
16115
|
+
}
|
|
16116
|
+
|
|
15897
16117
|
/**
|
|
15898
16118
|
* Update Metadata of Collection Data
|
|
15899
16119
|
*
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListSupabaseProjectTagsRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test-key
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* TestValue
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class ListSupabaseProjectTagsRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
43
|
+
*/
|
|
44
|
+
nextToken?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @remarks
|
|
47
|
+
* Region ID
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* cn-hangzhou
|
|
51
|
+
*/
|
|
52
|
+
regionId?: string;
|
|
53
|
+
resourceId?: string[];
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* instance
|
|
57
|
+
*/
|
|
58
|
+
resourceType?: string;
|
|
59
|
+
tag?: ListSupabaseProjectTagsRequestTag[];
|
|
60
|
+
static names(): { [key: string]: string } {
|
|
61
|
+
return {
|
|
62
|
+
nextToken: 'NextToken',
|
|
63
|
+
regionId: 'RegionId',
|
|
64
|
+
resourceId: 'ResourceId',
|
|
65
|
+
resourceType: 'ResourceType',
|
|
66
|
+
tag: 'Tag',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
nextToken: 'string',
|
|
73
|
+
regionId: 'string',
|
|
74
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
75
|
+
resourceType: 'string',
|
|
76
|
+
tag: { 'type': 'array', 'itemType': ListSupabaseProjectTagsRequestTag },
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
validate() {
|
|
81
|
+
if(Array.isArray(this.resourceId)) {
|
|
82
|
+
$dara.Model.validateArray(this.resourceId);
|
|
83
|
+
}
|
|
84
|
+
if(Array.isArray(this.tag)) {
|
|
85
|
+
$dara.Model.validateArray(this.tag);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
constructor(map?: { [key: string]: any }) {
|
|
91
|
+
super(map);
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListSupabaseProjectTagsResponseBody } from "./ListSupabaseProjectTagsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListSupabaseProjectTagsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListSupabaseProjectTagsResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ListSupabaseProjectTagsResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListSupabaseProjectTagsResponseBodyTagResources extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* spb-xxxxxxxxxx
|
|
9
|
+
*/
|
|
10
|
+
resourceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* instance
|
|
14
|
+
*/
|
|
15
|
+
resourceType?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* TestKey
|
|
19
|
+
*/
|
|
20
|
+
tagKey?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* TestValue
|
|
24
|
+
*/
|
|
25
|
+
tagValue?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
resourceId: 'ResourceId',
|
|
29
|
+
resourceType: 'ResourceType',
|
|
30
|
+
tagKey: 'TagKey',
|
|
31
|
+
tagValue: 'TagValue',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
resourceId: 'string',
|
|
38
|
+
resourceType: 'string',
|
|
39
|
+
tagKey: 'string',
|
|
40
|
+
tagValue: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class ListSupabaseProjectTagsResponseBody extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* caeba0bbb2be03f84eb48b699f0a4883
|
|
57
|
+
*/
|
|
58
|
+
nextToken?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* Id of the request
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* 34b32a0a-08ef-4a87-b6be-cdd9f56fc3ad
|
|
65
|
+
*/
|
|
66
|
+
requestId?: string;
|
|
67
|
+
tagResources?: ListSupabaseProjectTagsResponseBodyTagResources[];
|
|
68
|
+
static names(): { [key: string]: string } {
|
|
69
|
+
return {
|
|
70
|
+
nextToken: 'NextToken',
|
|
71
|
+
requestId: 'RequestId',
|
|
72
|
+
tagResources: 'TagResources',
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
static types(): { [key: string]: any } {
|
|
77
|
+
return {
|
|
78
|
+
nextToken: 'string',
|
|
79
|
+
requestId: 'string',
|
|
80
|
+
tagResources: { 'type': 'array', 'itemType': ListSupabaseProjectTagsResponseBodyTagResources },
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
validate() {
|
|
85
|
+
if(Array.isArray(this.tagResources)) {
|
|
86
|
+
$dara.Model.validateArray(this.tagResources);
|
|
87
|
+
}
|
|
88
|
+
super.validate();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
constructor(map?: { [key: string]: any }) {
|
|
92
|
+
super(map);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySupabaseProjectDescriptionRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* for-test-project
|
|
9
|
+
*/
|
|
10
|
+
projectDescription?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* sbp-twmoe9bakow
|
|
14
|
+
*/
|
|
15
|
+
projectId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* cn-hangzhou
|
|
19
|
+
*/
|
|
20
|
+
regionId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
projectDescription: 'ProjectDescription',
|
|
24
|
+
projectId: 'ProjectId',
|
|
25
|
+
regionId: 'RegionId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
projectDescription: 'string',
|
|
32
|
+
projectId: 'string',
|
|
33
|
+
regionId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ModifySupabaseProjectDescriptionResponseBody } from "./ModifySupabaseProjectDescriptionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ModifySupabaseProjectDescriptionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ModifySupabaseProjectDescriptionResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ModifySupabaseProjectDescriptionResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ModifySupabaseProjectDescriptionResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* Id of the request
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ABB39CC3-4488-4857-905D-2E4A051D0521
|
|
12
|
+
*/
|
|
13
|
+
requestId?: string;
|
|
14
|
+
static names(): { [key: string]: string } {
|
|
15
|
+
return {
|
|
16
|
+
requestId: 'RequestId',
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
static types(): { [key: string]: any } {
|
|
21
|
+
return {
|
|
22
|
+
requestId: 'string',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
super.validate();
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
constructor(map?: { [key: string]: any }) {
|
|
31
|
+
super(map);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class TagSupabaseProjectRequestTag extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* test-key
|
|
9
|
+
*/
|
|
10
|
+
key?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test-value
|
|
14
|
+
*/
|
|
15
|
+
value?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
key: 'Key',
|
|
19
|
+
value: 'Value',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
key: 'string',
|
|
26
|
+
value: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class TagSupabaseProjectRequest extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* cn-hangzhou
|
|
43
|
+
*/
|
|
44
|
+
regionId?: string;
|
|
45
|
+
resourceId?: string[];
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* instance
|
|
49
|
+
*/
|
|
50
|
+
resourceType?: string;
|
|
51
|
+
tag?: TagSupabaseProjectRequestTag[];
|
|
52
|
+
static names(): { [key: string]: string } {
|
|
53
|
+
return {
|
|
54
|
+
regionId: 'RegionId',
|
|
55
|
+
resourceId: 'ResourceId',
|
|
56
|
+
resourceType: 'ResourceType',
|
|
57
|
+
tag: 'Tag',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
static types(): { [key: string]: any } {
|
|
62
|
+
return {
|
|
63
|
+
regionId: 'string',
|
|
64
|
+
resourceId: { 'type': 'array', 'itemType': 'string' },
|
|
65
|
+
resourceType: 'string',
|
|
66
|
+
tag: { 'type': 'array', 'itemType': TagSupabaseProjectRequestTag },
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
validate() {
|
|
71
|
+
if(Array.isArray(this.resourceId)) {
|
|
72
|
+
$dara.Model.validateArray(this.resourceId);
|
|
73
|
+
}
|
|
74
|
+
if(Array.isArray(this.tag)) {
|
|
75
|
+
$dara.Model.validateArray(this.tag);
|
|
76
|
+
}
|
|
77
|
+
super.validate();
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
constructor(map?: { [key: string]: any }) {
|
|
81
|
+
super(map);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|