@alicloud/rdsai20250507 2.3.1 → 2.4.1
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 +84 -0
- package/dist/client.js +274 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateEdgeFunctionRequest.d.ts +103 -0
- package/dist/models/CreateEdgeFunctionRequest.js +104 -0
- package/dist/models/CreateEdgeFunctionRequest.js.map +1 -0
- package/dist/models/CreateEdgeFunctionResponse.d.ts +19 -0
- package/dist/models/CreateEdgeFunctionResponse.js +69 -0
- package/dist/models/CreateEdgeFunctionResponse.js.map +1 -0
- package/dist/models/CreateEdgeFunctionResponseBody.d.ts +37 -0
- package/dist/models/CreateEdgeFunctionResponseBody.js +62 -0
- package/dist/models/CreateEdgeFunctionResponseBody.js.map +1 -0
- package/dist/models/CreateEdgeFunctionShrinkRequest.d.ts +62 -0
- package/dist/models/CreateEdgeFunctionShrinkRequest.js +70 -0
- package/dist/models/CreateEdgeFunctionShrinkRequest.js.map +1 -0
- package/dist/models/CreateInspectionTaskRequest.d.ts +2 -2
- package/dist/models/CreateInspectionTaskRequest.js +4 -0
- package/dist/models/CreateInspectionTaskRequest.js.map +1 -1
- package/dist/models/CreateScheduledTaskRequest.d.ts +2 -2
- package/dist/models/CreateScheduledTaskRequest.js +4 -0
- package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
- package/dist/models/DeleteEdgeFunctionRequest.d.ts +47 -0
- package/dist/models/DeleteEdgeFunctionRequest.js +64 -0
- package/dist/models/DeleteEdgeFunctionRequest.js.map +1 -0
- package/dist/models/DeleteEdgeFunctionResponse.d.ts +19 -0
- package/dist/models/DeleteEdgeFunctionResponse.js +69 -0
- package/dist/models/DeleteEdgeFunctionResponse.js.map +1 -0
- package/dist/models/DeleteEdgeFunctionResponseBody.d.ts +37 -0
- package/dist/models/DeleteEdgeFunctionResponseBody.js +62 -0
- package/dist/models/DeleteEdgeFunctionResponseBody.js.map +1 -0
- package/dist/models/DescribeEdgeFunctionsRequest.d.ts +47 -0
- package/dist/models/DescribeEdgeFunctionsRequest.js +64 -0
- package/dist/models/DescribeEdgeFunctionsRequest.js.map +1 -0
- package/dist/models/DescribeEdgeFunctionsResponse.d.ts +19 -0
- package/dist/models/DescribeEdgeFunctionsResponse.js +69 -0
- package/dist/models/DescribeEdgeFunctionsResponse.js.map +1 -0
- package/dist/models/DescribeEdgeFunctionsResponseBody.d.ts +126 -0
- package/dist/models/DescribeEdgeFunctionsResponseBody.js +102 -0
- package/dist/models/DescribeEdgeFunctionsResponseBody.js.map +1 -0
- package/dist/models/GetInspectionReportRequest.d.ts +1 -0
- package/dist/models/GetInspectionReportRequest.js +2 -0
- package/dist/models/GetInspectionReportRequest.js.map +1 -1
- package/dist/models/GetScheduledReportsResponseBody.d.ts +2 -0
- package/dist/models/GetScheduledReportsResponseBody.js +4 -0
- package/dist/models/GetScheduledReportsResponseBody.js.map +1 -1
- package/dist/models/GetStandAloneReportsRequest.d.ts +1 -0
- package/dist/models/GetStandAloneReportsRequest.js +2 -0
- package/dist/models/GetStandAloneReportsRequest.js.map +1 -1
- package/dist/models/GetStandAloneReportsResponseBody.d.ts +2 -0
- package/dist/models/GetStandAloneReportsResponseBody.js +4 -0
- package/dist/models/GetStandAloneReportsResponseBody.js.map +1 -1
- package/dist/models/ListScheduledTasksResponseBody.d.ts +2 -0
- package/dist/models/ListScheduledTasksResponseBody.js +4 -0
- package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
- package/dist/models/UpdateEdgeFunctionRequest.d.ts +106 -0
- package/dist/models/UpdateEdgeFunctionRequest.js +104 -0
- package/dist/models/UpdateEdgeFunctionRequest.js.map +1 -0
- package/dist/models/UpdateEdgeFunctionResponse.d.ts +19 -0
- package/dist/models/UpdateEdgeFunctionResponse.js +69 -0
- package/dist/models/UpdateEdgeFunctionResponse.js.map +1 -0
- package/dist/models/UpdateEdgeFunctionResponseBody.d.ts +37 -0
- package/dist/models/UpdateEdgeFunctionResponseBody.js +62 -0
- package/dist/models/UpdateEdgeFunctionResponseBody.js.map +1 -0
- package/dist/models/UpdateEdgeFunctionShrinkRequest.d.ts +65 -0
- package/dist/models/UpdateEdgeFunctionShrinkRequest.js +70 -0
- package/dist/models/UpdateEdgeFunctionShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +17 -0
- package/dist/models/model.js +39 -4
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +316 -0
- package/src/models/CreateEdgeFunctionRequest.ts +149 -0
- package/src/models/CreateEdgeFunctionResponse.ts +40 -0
- package/src/models/CreateEdgeFunctionResponseBody.ts +54 -0
- package/src/models/CreateEdgeFunctionShrinkRequest.ts +87 -0
- package/src/models/CreateInspectionTaskRequest.ts +6 -2
- package/src/models/CreateScheduledTaskRequest.ts +6 -2
- package/src/models/DeleteEdgeFunctionRequest.ts +66 -0
- package/src/models/DeleteEdgeFunctionResponse.ts +40 -0
- package/src/models/DeleteEdgeFunctionResponseBody.ts +54 -0
- package/src/models/DescribeEdgeFunctionsRequest.ts +66 -0
- package/src/models/DescribeEdgeFunctionsResponse.ts +40 -0
- package/src/models/DescribeEdgeFunctionsResponseBody.ts +174 -0
- package/src/models/GetInspectionReportRequest.ts +3 -0
- package/src/models/GetScheduledReportsResponseBody.ts +6 -0
- package/src/models/GetStandAloneReportsRequest.ts +3 -0
- package/src/models/GetStandAloneReportsResponseBody.ts +6 -0
- package/src/models/ListScheduledTasksResponseBody.ts +6 -0
- package/src/models/UpdateEdgeFunctionRequest.ts +152 -0
- package/src/models/UpdateEdgeFunctionResponse.ts +40 -0
- package/src/models/UpdateEdgeFunctionResponseBody.ts +54 -0
- package/src/models/UpdateEdgeFunctionShrinkRequest.ts +90 -0
- package/src/models/model.ts +17 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeEdgeFunctionsResponseBodyEdgeFunctions extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The number of vCPUs used by the cluster.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 1
|
|
12
|
+
*/
|
|
13
|
+
cpu?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The time when the function was created.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 2021-11-12T21:35:03
|
|
20
|
+
*/
|
|
21
|
+
createdTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The edge function name.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ef-****
|
|
28
|
+
*/
|
|
29
|
+
edgeFunctionName?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The URL for accessing the function.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* https://fcnext.console.aliyun.com/cn-beijing/functions/fc****
|
|
36
|
+
*/
|
|
37
|
+
functionUrl?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The memory size. Unit: MiB.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 512
|
|
44
|
+
*/
|
|
45
|
+
memorySize?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The time when the function was last created. The time is displayed in UTC.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 2025-05-25 10:22:54 +0800
|
|
52
|
+
*/
|
|
53
|
+
modifiedTime?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The runtime environment for the function, which includes the Linux environment and the Deno version.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* custom.debian12-deno-2.5.6
|
|
60
|
+
*/
|
|
61
|
+
runtime?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The instance status. For more information, see [Instance state table](https://help.aliyun.com/document_detail/2623972.html).
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* Running
|
|
68
|
+
*/
|
|
69
|
+
status?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The public URL for accessing the application.
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* https://fc-bfvmoi****.cn-beijing.fcapp.run
|
|
76
|
+
*/
|
|
77
|
+
urlInternet?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The internal URL for accessing the application.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* https://fc-bfvmoi****.cn-beijing-vpc.fcapp.run
|
|
84
|
+
*/
|
|
85
|
+
urlIntranet?: string;
|
|
86
|
+
static names(): { [key: string]: string } {
|
|
87
|
+
return {
|
|
88
|
+
cpu: 'Cpu',
|
|
89
|
+
createdTime: 'CreatedTime',
|
|
90
|
+
edgeFunctionName: 'EdgeFunctionName',
|
|
91
|
+
functionUrl: 'FunctionUrl',
|
|
92
|
+
memorySize: 'MemorySize',
|
|
93
|
+
modifiedTime: 'ModifiedTime',
|
|
94
|
+
runtime: 'Runtime',
|
|
95
|
+
status: 'Status',
|
|
96
|
+
urlInternet: 'UrlInternet',
|
|
97
|
+
urlIntranet: 'UrlIntranet',
|
|
98
|
+
};
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
static types(): { [key: string]: any } {
|
|
102
|
+
return {
|
|
103
|
+
cpu: 'string',
|
|
104
|
+
createdTime: 'string',
|
|
105
|
+
edgeFunctionName: 'string',
|
|
106
|
+
functionUrl: 'string',
|
|
107
|
+
memorySize: 'string',
|
|
108
|
+
modifiedTime: 'string',
|
|
109
|
+
runtime: 'string',
|
|
110
|
+
status: 'string',
|
|
111
|
+
urlInternet: 'string',
|
|
112
|
+
urlIntranet: 'string',
|
|
113
|
+
};
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
validate() {
|
|
117
|
+
super.validate();
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
constructor(map?: { [key: string]: any }) {
|
|
121
|
+
super(map);
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export class DescribeEdgeFunctionsResponseBody extends $dara.Model {
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The list of edge functions.
|
|
129
|
+
*/
|
|
130
|
+
edgeFunctions?: DescribeEdgeFunctionsResponseBodyEdgeFunctions[];
|
|
131
|
+
/**
|
|
132
|
+
* @remarks
|
|
133
|
+
* The ID of the RDS Supabase instance.
|
|
134
|
+
*
|
|
135
|
+
* @example
|
|
136
|
+
* ra-supabase-8moov5lxba****
|
|
137
|
+
*/
|
|
138
|
+
instanceName?: string;
|
|
139
|
+
/**
|
|
140
|
+
* @remarks
|
|
141
|
+
* Id of the request
|
|
142
|
+
*
|
|
143
|
+
* @example
|
|
144
|
+
* FE9C65D7-930F-57A5-A207-8C396329****
|
|
145
|
+
*/
|
|
146
|
+
requestId?: string;
|
|
147
|
+
static names(): { [key: string]: string } {
|
|
148
|
+
return {
|
|
149
|
+
edgeFunctions: 'EdgeFunctions',
|
|
150
|
+
instanceName: 'InstanceName',
|
|
151
|
+
requestId: 'RequestId',
|
|
152
|
+
};
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
static types(): { [key: string]: any } {
|
|
156
|
+
return {
|
|
157
|
+
edgeFunctions: { 'type': 'array', 'itemType': DescribeEdgeFunctionsResponseBodyEdgeFunctions },
|
|
158
|
+
instanceName: 'string',
|
|
159
|
+
requestId: 'string',
|
|
160
|
+
};
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
validate() {
|
|
164
|
+
if(Array.isArray(this.edgeFunctions)) {
|
|
165
|
+
$dara.Model.validateArray(this.edgeFunctions);
|
|
166
|
+
}
|
|
167
|
+
super.validate();
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
constructor(map?: { [key: string]: any }) {
|
|
171
|
+
super(map);
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
|
|
@@ -11,6 +11,7 @@ export class GetInspectionReportRequest extends $dara.Model {
|
|
|
11
11
|
* rm-2zep6e5u6l2yu****
|
|
12
12
|
*/
|
|
13
13
|
instanceId?: string;
|
|
14
|
+
reportType?: string;
|
|
14
15
|
/**
|
|
15
16
|
* @remarks
|
|
16
17
|
* The ID of the inspection report.
|
|
@@ -24,6 +25,7 @@ export class GetInspectionReportRequest extends $dara.Model {
|
|
|
24
25
|
static names(): { [key: string]: string } {
|
|
25
26
|
return {
|
|
26
27
|
instanceId: 'InstanceId',
|
|
28
|
+
reportType: 'ReportType',
|
|
27
29
|
taskId: 'TaskId',
|
|
28
30
|
};
|
|
29
31
|
}
|
|
@@ -31,6 +33,7 @@ export class GetInspectionReportRequest extends $dara.Model {
|
|
|
31
33
|
static types(): { [key: string]: any } {
|
|
32
34
|
return {
|
|
33
35
|
instanceId: 'string',
|
|
36
|
+
reportType: 'string',
|
|
34
37
|
taskId: 'string',
|
|
35
38
|
};
|
|
36
39
|
}
|
|
@@ -19,7 +19,9 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
19
19
|
* 2025-01-01T23:59:59Z
|
|
20
20
|
*/
|
|
21
21
|
endTime?: string;
|
|
22
|
+
regionId?: string;
|
|
22
23
|
reportLanguage?: string;
|
|
24
|
+
reportType?: string;
|
|
23
25
|
/**
|
|
24
26
|
* @remarks
|
|
25
27
|
* The start time of the inspection task. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
@@ -48,7 +50,9 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
48
50
|
return {
|
|
49
51
|
createdTime: 'CreatedTime',
|
|
50
52
|
endTime: 'EndTime',
|
|
53
|
+
regionId: 'RegionId',
|
|
51
54
|
reportLanguage: 'ReportLanguage',
|
|
55
|
+
reportType: 'ReportType',
|
|
52
56
|
startTime: 'StartTime',
|
|
53
57
|
status: 'Status',
|
|
54
58
|
taskId: 'TaskId',
|
|
@@ -59,7 +63,9 @@ export class GetScheduledReportsResponseBodyReports extends $dara.Model {
|
|
|
59
63
|
return {
|
|
60
64
|
createdTime: 'string',
|
|
61
65
|
endTime: 'string',
|
|
66
|
+
regionId: 'string',
|
|
62
67
|
reportLanguage: 'string',
|
|
68
|
+
reportType: 'string',
|
|
63
69
|
startTime: 'string',
|
|
64
70
|
status: 'string',
|
|
65
71
|
taskId: 'string',
|
|
@@ -27,6 +27,7 @@ export class GetStandAloneReportsRequest extends $dara.Model {
|
|
|
27
27
|
* 10
|
|
28
28
|
*/
|
|
29
29
|
pageSize?: number;
|
|
30
|
+
reportType?: string;
|
|
30
31
|
/**
|
|
31
32
|
* @remarks
|
|
32
33
|
* The task start time based on which the reports are filtered. If you do not specify this parameter, all reports are returned.
|
|
@@ -40,6 +41,7 @@ export class GetStandAloneReportsRequest extends $dara.Model {
|
|
|
40
41
|
endTime: 'EndTime',
|
|
41
42
|
pageNumber: 'PageNumber',
|
|
42
43
|
pageSize: 'PageSize',
|
|
44
|
+
reportType: 'ReportType',
|
|
43
45
|
startTime: 'StartTime',
|
|
44
46
|
};
|
|
45
47
|
}
|
|
@@ -49,6 +51,7 @@ export class GetStandAloneReportsRequest extends $dara.Model {
|
|
|
49
51
|
endTime: 'string',
|
|
50
52
|
pageNumber: 'number',
|
|
51
53
|
pageSize: 'number',
|
|
54
|
+
reportType: 'string',
|
|
52
55
|
startTime: 'string',
|
|
53
56
|
};
|
|
54
57
|
}
|
|
@@ -19,7 +19,9 @@ export class GetStandAloneReportsResponseBodyReports extends $dara.Model {
|
|
|
19
19
|
* 2026-01-23T08:20:31Z
|
|
20
20
|
*/
|
|
21
21
|
endTime?: string;
|
|
22
|
+
regionId?: string;
|
|
22
23
|
reportLanguage?: string;
|
|
24
|
+
reportType?: string;
|
|
23
25
|
/**
|
|
24
26
|
* @remarks
|
|
25
27
|
* The start time of the inspection. The time is in the YYYY-MM-DDTHH:mm:ssZ format.
|
|
@@ -48,7 +50,9 @@ export class GetStandAloneReportsResponseBodyReports extends $dara.Model {
|
|
|
48
50
|
return {
|
|
49
51
|
createdTime: 'CreatedTime',
|
|
50
52
|
endTime: 'EndTime',
|
|
53
|
+
regionId: 'RegionId',
|
|
51
54
|
reportLanguage: 'ReportLanguage',
|
|
55
|
+
reportType: 'ReportType',
|
|
52
56
|
startTime: 'StartTime',
|
|
53
57
|
status: 'Status',
|
|
54
58
|
taskId: 'TaskId',
|
|
@@ -59,7 +63,9 @@ export class GetStandAloneReportsResponseBodyReports extends $dara.Model {
|
|
|
59
63
|
return {
|
|
60
64
|
createdTime: 'string',
|
|
61
65
|
endTime: 'string',
|
|
66
|
+
regionId: 'string',
|
|
62
67
|
reportLanguage: 'string',
|
|
68
|
+
reportType: 'string',
|
|
63
69
|
startTime: 'string',
|
|
64
70
|
status: 'string',
|
|
65
71
|
taskId: 'string',
|
|
@@ -48,7 +48,9 @@ export class ListScheduledTasksResponseBodySchedules extends $dara.Model {
|
|
|
48
48
|
* The name of the task.
|
|
49
49
|
*/
|
|
50
50
|
name?: string;
|
|
51
|
+
regionId?: string;
|
|
51
52
|
reportLanguage?: string;
|
|
53
|
+
reportType?: string;
|
|
52
54
|
/**
|
|
53
55
|
* @remarks
|
|
54
56
|
* The ID of the scheduled inspection configuration.
|
|
@@ -77,7 +79,9 @@ export class ListScheduledTasksResponseBodySchedules extends $dara.Model {
|
|
|
77
79
|
frequency: 'Frequency',
|
|
78
80
|
instanceCount: 'InstanceCount',
|
|
79
81
|
name: 'Name',
|
|
82
|
+
regionId: 'RegionId',
|
|
80
83
|
reportLanguage: 'ReportLanguage',
|
|
84
|
+
reportType: 'ReportType',
|
|
81
85
|
scheduledId: 'ScheduledId',
|
|
82
86
|
taskStartTime: 'TaskStartTime',
|
|
83
87
|
timeRange: 'TimeRange',
|
|
@@ -91,7 +95,9 @@ export class ListScheduledTasksResponseBodySchedules extends $dara.Model {
|
|
|
91
95
|
frequency: 'string',
|
|
92
96
|
instanceCount: 'number',
|
|
93
97
|
name: 'string',
|
|
98
|
+
regionId: 'string',
|
|
94
99
|
reportLanguage: 'string',
|
|
100
|
+
reportType: 'string',
|
|
95
101
|
scheduledId: 'string',
|
|
96
102
|
taskStartTime: 'string',
|
|
97
103
|
timeRange: 'string',
|
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEdgeFunctionRequestCode extends $dara.Model {
|
|
6
|
+
downloadUrl?: string;
|
|
7
|
+
/**
|
|
8
|
+
* @remarks
|
|
9
|
+
* The name of the OSS bucket.
|
|
10
|
+
*
|
|
11
|
+
* @example
|
|
12
|
+
* code
|
|
13
|
+
*/
|
|
14
|
+
ossBucketName?: string;
|
|
15
|
+
/**
|
|
16
|
+
* @remarks
|
|
17
|
+
* The path of the code file.
|
|
18
|
+
*
|
|
19
|
+
* @example
|
|
20
|
+
* example2.zip
|
|
21
|
+
*/
|
|
22
|
+
ossObjectName?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @remarks
|
|
25
|
+
* The storage class of the OSS bucket.
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* supabase
|
|
29
|
+
*/
|
|
30
|
+
ossType?: string;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
downloadUrl: 'DownloadUrl',
|
|
34
|
+
ossBucketName: 'OssBucketName',
|
|
35
|
+
ossObjectName: 'OssObjectName',
|
|
36
|
+
ossType: 'OssType',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
static types(): { [key: string]: any } {
|
|
41
|
+
return {
|
|
42
|
+
downloadUrl: 'string',
|
|
43
|
+
ossBucketName: 'string',
|
|
44
|
+
ossObjectName: 'string',
|
|
45
|
+
ossType: 'string',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
validate() {
|
|
50
|
+
super.validate();
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
constructor(map?: { [key: string]: any }) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
export class UpdateEdgeFunctionRequest extends $dara.Model {
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ETnLKlblzczshOTUbOCz****
|
|
65
|
+
*/
|
|
66
|
+
clientToken?: string;
|
|
67
|
+
/**
|
|
68
|
+
* @remarks
|
|
69
|
+
* The error code that is returned if the request failed. For more information, see the "Error codes" section of the topic.
|
|
70
|
+
*/
|
|
71
|
+
code?: UpdateEdgeFunctionRequestCode;
|
|
72
|
+
/**
|
|
73
|
+
* @remarks
|
|
74
|
+
* The configuration parameters of the edge function.
|
|
75
|
+
*
|
|
76
|
+
* @example
|
|
77
|
+
* {}
|
|
78
|
+
*/
|
|
79
|
+
customConfig?: { [key: string]: string };
|
|
80
|
+
/**
|
|
81
|
+
* @remarks
|
|
82
|
+
* fc-xxxx
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* ef-****
|
|
86
|
+
*/
|
|
87
|
+
edgeFunctionName?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @remarks
|
|
90
|
+
* The environment variables of the edge function.
|
|
91
|
+
*/
|
|
92
|
+
envs?: { [key: string]: string };
|
|
93
|
+
/**
|
|
94
|
+
* @remarks
|
|
95
|
+
* The ID of the RDS Supabase instance.
|
|
96
|
+
*
|
|
97
|
+
* This parameter is required.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
* ra-supabase-8moov5lxba****
|
|
101
|
+
*/
|
|
102
|
+
instanceName?: string;
|
|
103
|
+
/**
|
|
104
|
+
* @remarks
|
|
105
|
+
* The region ID.
|
|
106
|
+
*
|
|
107
|
+
* @example
|
|
108
|
+
* cn-beijing
|
|
109
|
+
*/
|
|
110
|
+
regionId?: string;
|
|
111
|
+
static names(): { [key: string]: string } {
|
|
112
|
+
return {
|
|
113
|
+
clientToken: 'ClientToken',
|
|
114
|
+
code: 'Code',
|
|
115
|
+
customConfig: 'CustomConfig',
|
|
116
|
+
edgeFunctionName: 'EdgeFunctionName',
|
|
117
|
+
envs: 'Envs',
|
|
118
|
+
instanceName: 'InstanceName',
|
|
119
|
+
regionId: 'RegionId',
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
static types(): { [key: string]: any } {
|
|
124
|
+
return {
|
|
125
|
+
clientToken: 'string',
|
|
126
|
+
code: UpdateEdgeFunctionRequestCode,
|
|
127
|
+
customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
128
|
+
edgeFunctionName: 'string',
|
|
129
|
+
envs: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
130
|
+
instanceName: 'string',
|
|
131
|
+
regionId: 'string',
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
validate() {
|
|
136
|
+
if(this.code && typeof (this.code as any).validate === 'function') {
|
|
137
|
+
(this.code as any).validate();
|
|
138
|
+
}
|
|
139
|
+
if(this.customConfig) {
|
|
140
|
+
$dara.Model.validateMap(this.customConfig);
|
|
141
|
+
}
|
|
142
|
+
if(this.envs) {
|
|
143
|
+
$dara.Model.validateMap(this.envs);
|
|
144
|
+
}
|
|
145
|
+
super.validate();
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
constructor(map?: { [key: string]: any }) {
|
|
149
|
+
super(map);
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { UpdateEdgeFunctionResponseBody } from "./UpdateEdgeFunctionResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class UpdateEdgeFunctionResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: UpdateEdgeFunctionResponseBody;
|
|
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: UpdateEdgeFunctionResponseBody,
|
|
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,54 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEdgeFunctionResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* fc-xxxx
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ef-****
|
|
12
|
+
*/
|
|
13
|
+
edgeFunctionName?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The ID of the RDS Supabase instance.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ra-supabase-8moov5lxba****
|
|
20
|
+
*/
|
|
21
|
+
instanceName?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The request ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* FE9C65D7-930F-57A5-A207-8C396329241C
|
|
28
|
+
*/
|
|
29
|
+
requestId?: string;
|
|
30
|
+
static names(): { [key: string]: string } {
|
|
31
|
+
return {
|
|
32
|
+
edgeFunctionName: 'EdgeFunctionName',
|
|
33
|
+
instanceName: 'InstanceName',
|
|
34
|
+
requestId: 'RequestId',
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
static types(): { [key: string]: any } {
|
|
39
|
+
return {
|
|
40
|
+
edgeFunctionName: 'string',
|
|
41
|
+
instanceName: 'string',
|
|
42
|
+
requestId: 'string',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
validate() {
|
|
47
|
+
super.validate();
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
constructor(map?: { [key: string]: any }) {
|
|
51
|
+
super(map);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateEdgeFunctionShrinkRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The client token that is used to ensure the idempotence of the request.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ETnLKlblzczshOTUbOCz****
|
|
12
|
+
*/
|
|
13
|
+
clientToken?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The error code that is returned if the request failed. For more information, see the "Error codes" section of the topic.
|
|
17
|
+
*/
|
|
18
|
+
codeShrink?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The configuration parameters of the edge function.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* {}
|
|
25
|
+
*/
|
|
26
|
+
customConfigShrink?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @remarks
|
|
29
|
+
* fc-xxxx
|
|
30
|
+
*
|
|
31
|
+
* @example
|
|
32
|
+
* ef-****
|
|
33
|
+
*/
|
|
34
|
+
edgeFunctionName?: string;
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* The environment variables of the edge function.
|
|
38
|
+
*/
|
|
39
|
+
envsShrink?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The ID of the RDS Supabase instance.
|
|
43
|
+
*
|
|
44
|
+
* This parameter is required.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ra-supabase-8moov5lxba****
|
|
48
|
+
*/
|
|
49
|
+
instanceName?: string;
|
|
50
|
+
/**
|
|
51
|
+
* @remarks
|
|
52
|
+
* The region ID.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* cn-beijing
|
|
56
|
+
*/
|
|
57
|
+
regionId?: string;
|
|
58
|
+
static names(): { [key: string]: string } {
|
|
59
|
+
return {
|
|
60
|
+
clientToken: 'ClientToken',
|
|
61
|
+
codeShrink: 'Code',
|
|
62
|
+
customConfigShrink: 'CustomConfig',
|
|
63
|
+
edgeFunctionName: 'EdgeFunctionName',
|
|
64
|
+
envsShrink: 'Envs',
|
|
65
|
+
instanceName: 'InstanceName',
|
|
66
|
+
regionId: 'RegionId',
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
static types(): { [key: string]: any } {
|
|
71
|
+
return {
|
|
72
|
+
clientToken: 'string',
|
|
73
|
+
codeShrink: 'string',
|
|
74
|
+
customConfigShrink: 'string',
|
|
75
|
+
edgeFunctionName: 'string',
|
|
76
|
+
envsShrink: 'string',
|
|
77
|
+
instanceName: 'string',
|
|
78
|
+
regionId: 'string',
|
|
79
|
+
};
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
validate() {
|
|
83
|
+
super.validate();
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
constructor(map?: { [key: string]: any }) {
|
|
87
|
+
super(map);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
|