@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.
Files changed (93) hide show
  1. package/dist/client.d.ts +84 -0
  2. package/dist/client.js +274 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEdgeFunctionRequest.d.ts +103 -0
  5. package/dist/models/CreateEdgeFunctionRequest.js +104 -0
  6. package/dist/models/CreateEdgeFunctionRequest.js.map +1 -0
  7. package/dist/models/CreateEdgeFunctionResponse.d.ts +19 -0
  8. package/dist/models/CreateEdgeFunctionResponse.js +69 -0
  9. package/dist/models/CreateEdgeFunctionResponse.js.map +1 -0
  10. package/dist/models/CreateEdgeFunctionResponseBody.d.ts +37 -0
  11. package/dist/models/CreateEdgeFunctionResponseBody.js +62 -0
  12. package/dist/models/CreateEdgeFunctionResponseBody.js.map +1 -0
  13. package/dist/models/CreateEdgeFunctionShrinkRequest.d.ts +62 -0
  14. package/dist/models/CreateEdgeFunctionShrinkRequest.js +70 -0
  15. package/dist/models/CreateEdgeFunctionShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateInspectionTaskRequest.d.ts +2 -2
  17. package/dist/models/CreateInspectionTaskRequest.js +4 -0
  18. package/dist/models/CreateInspectionTaskRequest.js.map +1 -1
  19. package/dist/models/CreateScheduledTaskRequest.d.ts +2 -2
  20. package/dist/models/CreateScheduledTaskRequest.js +4 -0
  21. package/dist/models/CreateScheduledTaskRequest.js.map +1 -1
  22. package/dist/models/DeleteEdgeFunctionRequest.d.ts +47 -0
  23. package/dist/models/DeleteEdgeFunctionRequest.js +64 -0
  24. package/dist/models/DeleteEdgeFunctionRequest.js.map +1 -0
  25. package/dist/models/DeleteEdgeFunctionResponse.d.ts +19 -0
  26. package/dist/models/DeleteEdgeFunctionResponse.js +69 -0
  27. package/dist/models/DeleteEdgeFunctionResponse.js.map +1 -0
  28. package/dist/models/DeleteEdgeFunctionResponseBody.d.ts +37 -0
  29. package/dist/models/DeleteEdgeFunctionResponseBody.js +62 -0
  30. package/dist/models/DeleteEdgeFunctionResponseBody.js.map +1 -0
  31. package/dist/models/DescribeEdgeFunctionsRequest.d.ts +47 -0
  32. package/dist/models/DescribeEdgeFunctionsRequest.js +64 -0
  33. package/dist/models/DescribeEdgeFunctionsRequest.js.map +1 -0
  34. package/dist/models/DescribeEdgeFunctionsResponse.d.ts +19 -0
  35. package/dist/models/DescribeEdgeFunctionsResponse.js +69 -0
  36. package/dist/models/DescribeEdgeFunctionsResponse.js.map +1 -0
  37. package/dist/models/DescribeEdgeFunctionsResponseBody.d.ts +126 -0
  38. package/dist/models/DescribeEdgeFunctionsResponseBody.js +102 -0
  39. package/dist/models/DescribeEdgeFunctionsResponseBody.js.map +1 -0
  40. package/dist/models/GetInspectionReportRequest.d.ts +1 -0
  41. package/dist/models/GetInspectionReportRequest.js +2 -0
  42. package/dist/models/GetInspectionReportRequest.js.map +1 -1
  43. package/dist/models/GetScheduledReportsResponseBody.d.ts +2 -0
  44. package/dist/models/GetScheduledReportsResponseBody.js +4 -0
  45. package/dist/models/GetScheduledReportsResponseBody.js.map +1 -1
  46. package/dist/models/GetStandAloneReportsRequest.d.ts +1 -0
  47. package/dist/models/GetStandAloneReportsRequest.js +2 -0
  48. package/dist/models/GetStandAloneReportsRequest.js.map +1 -1
  49. package/dist/models/GetStandAloneReportsResponseBody.d.ts +2 -0
  50. package/dist/models/GetStandAloneReportsResponseBody.js +4 -0
  51. package/dist/models/GetStandAloneReportsResponseBody.js.map +1 -1
  52. package/dist/models/ListScheduledTasksResponseBody.d.ts +2 -0
  53. package/dist/models/ListScheduledTasksResponseBody.js +4 -0
  54. package/dist/models/ListScheduledTasksResponseBody.js.map +1 -1
  55. package/dist/models/UpdateEdgeFunctionRequest.d.ts +106 -0
  56. package/dist/models/UpdateEdgeFunctionRequest.js +104 -0
  57. package/dist/models/UpdateEdgeFunctionRequest.js.map +1 -0
  58. package/dist/models/UpdateEdgeFunctionResponse.d.ts +19 -0
  59. package/dist/models/UpdateEdgeFunctionResponse.js +69 -0
  60. package/dist/models/UpdateEdgeFunctionResponse.js.map +1 -0
  61. package/dist/models/UpdateEdgeFunctionResponseBody.d.ts +37 -0
  62. package/dist/models/UpdateEdgeFunctionResponseBody.js +62 -0
  63. package/dist/models/UpdateEdgeFunctionResponseBody.js.map +1 -0
  64. package/dist/models/UpdateEdgeFunctionShrinkRequest.d.ts +65 -0
  65. package/dist/models/UpdateEdgeFunctionShrinkRequest.js +70 -0
  66. package/dist/models/UpdateEdgeFunctionShrinkRequest.js.map +1 -0
  67. package/dist/models/model.d.ts +17 -0
  68. package/dist/models/model.js +39 -4
  69. package/dist/models/model.js.map +1 -1
  70. package/package.json +1 -1
  71. package/src/client.ts +316 -0
  72. package/src/models/CreateEdgeFunctionRequest.ts +149 -0
  73. package/src/models/CreateEdgeFunctionResponse.ts +40 -0
  74. package/src/models/CreateEdgeFunctionResponseBody.ts +54 -0
  75. package/src/models/CreateEdgeFunctionShrinkRequest.ts +87 -0
  76. package/src/models/CreateInspectionTaskRequest.ts +6 -2
  77. package/src/models/CreateScheduledTaskRequest.ts +6 -2
  78. package/src/models/DeleteEdgeFunctionRequest.ts +66 -0
  79. package/src/models/DeleteEdgeFunctionResponse.ts +40 -0
  80. package/src/models/DeleteEdgeFunctionResponseBody.ts +54 -0
  81. package/src/models/DescribeEdgeFunctionsRequest.ts +66 -0
  82. package/src/models/DescribeEdgeFunctionsResponse.ts +40 -0
  83. package/src/models/DescribeEdgeFunctionsResponseBody.ts +174 -0
  84. package/src/models/GetInspectionReportRequest.ts +3 -0
  85. package/src/models/GetScheduledReportsResponseBody.ts +6 -0
  86. package/src/models/GetStandAloneReportsRequest.ts +3 -0
  87. package/src/models/GetStandAloneReportsResponseBody.ts +6 -0
  88. package/src/models/ListScheduledTasksResponseBody.ts +6 -0
  89. package/src/models/UpdateEdgeFunctionRequest.ts +152 -0
  90. package/src/models/UpdateEdgeFunctionResponse.ts +40 -0
  91. package/src/models/UpdateEdgeFunctionResponseBody.ts +54 -0
  92. package/src/models/UpdateEdgeFunctionShrinkRequest.ts +90 -0
  93. package/src/models/model.ts +17 -0
@@ -0,0 +1,149 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateEdgeFunctionRequestCode 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 OSS path of a code file.
18
+ *
19
+ * @example
20
+ * example.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 CreateEdgeFunctionRequest 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 code parameters.
70
+ */
71
+ code?: CreateEdgeFunctionRequestCode;
72
+ /**
73
+ * @remarks
74
+ * The configuration parameters of the edge function.
75
+ */
76
+ customConfig?: { [key: string]: number };
77
+ /**
78
+ * @remarks
79
+ * The name of the function.
80
+ *
81
+ * @example
82
+ * ef-*****
83
+ */
84
+ edgeFunctionName?: string;
85
+ /**
86
+ * @remarks
87
+ * The environment variables.
88
+ */
89
+ envs?: { [key: string]: string };
90
+ /**
91
+ * @remarks
92
+ * The ID of the RDS Supabase instance.
93
+ *
94
+ * This parameter is required.
95
+ *
96
+ * @example
97
+ * ra-supabase-8moov5lxba****
98
+ */
99
+ instanceName?: string;
100
+ /**
101
+ * @remarks
102
+ * The region ID.
103
+ *
104
+ * @example
105
+ * cn-beijing
106
+ */
107
+ regionId?: string;
108
+ static names(): { [key: string]: string } {
109
+ return {
110
+ clientToken: 'ClientToken',
111
+ code: 'Code',
112
+ customConfig: 'CustomConfig',
113
+ edgeFunctionName: 'EdgeFunctionName',
114
+ envs: 'Envs',
115
+ instanceName: 'InstanceName',
116
+ regionId: 'RegionId',
117
+ };
118
+ }
119
+
120
+ static types(): { [key: string]: any } {
121
+ return {
122
+ clientToken: 'string',
123
+ code: CreateEdgeFunctionRequestCode,
124
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
125
+ edgeFunctionName: 'string',
126
+ envs: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
127
+ instanceName: 'string',
128
+ regionId: 'string',
129
+ };
130
+ }
131
+
132
+ validate() {
133
+ if(this.code && typeof (this.code as any).validate === 'function') {
134
+ (this.code as any).validate();
135
+ }
136
+ if(this.customConfig) {
137
+ $dara.Model.validateMap(this.customConfig);
138
+ }
139
+ if(this.envs) {
140
+ $dara.Model.validateMap(this.envs);
141
+ }
142
+ super.validate();
143
+ }
144
+
145
+ constructor(map?: { [key: string]: any }) {
146
+ super(map);
147
+ }
148
+ }
149
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateEdgeFunctionResponseBody } from "./CreateEdgeFunctionResponseBody";
4
+
5
+
6
+ export class CreateEdgeFunctionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateEdgeFunctionResponseBody;
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: CreateEdgeFunctionResponseBody,
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 CreateEdgeFunctionResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The name of the edge function.
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
+ * Id of the request
25
+ *
26
+ * @example
27
+ * FE9C65D7-930F-57A5-A207-8C396329****
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,87 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateEdgeFunctionShrinkRequest 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 code parameters.
17
+ */
18
+ codeShrink?: string;
19
+ /**
20
+ * @remarks
21
+ * The configuration parameters of the edge function.
22
+ */
23
+ customConfigShrink?: string;
24
+ /**
25
+ * @remarks
26
+ * The name of the function.
27
+ *
28
+ * @example
29
+ * ef-*****
30
+ */
31
+ edgeFunctionName?: string;
32
+ /**
33
+ * @remarks
34
+ * The environment variables.
35
+ */
36
+ envsShrink?: string;
37
+ /**
38
+ * @remarks
39
+ * The ID of the RDS Supabase instance.
40
+ *
41
+ * This parameter is required.
42
+ *
43
+ * @example
44
+ * ra-supabase-8moov5lxba****
45
+ */
46
+ instanceName?: string;
47
+ /**
48
+ * @remarks
49
+ * The region ID.
50
+ *
51
+ * @example
52
+ * cn-beijing
53
+ */
54
+ regionId?: string;
55
+ static names(): { [key: string]: string } {
56
+ return {
57
+ clientToken: 'ClientToken',
58
+ codeShrink: 'Code',
59
+ customConfigShrink: 'CustomConfig',
60
+ edgeFunctionName: 'EdgeFunctionName',
61
+ envsShrink: 'Envs',
62
+ instanceName: 'InstanceName',
63
+ regionId: 'RegionId',
64
+ };
65
+ }
66
+
67
+ static types(): { [key: string]: any } {
68
+ return {
69
+ clientToken: 'string',
70
+ codeShrink: 'string',
71
+ customConfigShrink: 'string',
72
+ edgeFunctionName: 'string',
73
+ envsShrink: 'string',
74
+ instanceName: 'string',
75
+ regionId: 'string',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
@@ -38,13 +38,13 @@ export class CreateInspectionTaskRequest extends $dara.Model {
38
38
  * @remarks
39
39
  * The instances covered by the task. Separates multiple instance IDs with commas (,).
40
40
  *
41
- * This parameter is required.
42
- *
43
41
  * @example
44
42
  * rm-2ze6mk259v322****,rm-2zef3b65430j0****
45
43
  */
46
44
  instanceIds?: string;
45
+ regionId?: string;
47
46
  reportLanguage?: string;
47
+ reportType?: string;
48
48
  /**
49
49
  * @remarks
50
50
  * The start time of the inspection task. The time follows the ISO 8601 standard in the YYYY-MM-DDTHH:mm:ssZ format. By default, the time range of the task is the latest 24 hours.
@@ -58,7 +58,9 @@ export class CreateInspectionTaskRequest extends $dara.Model {
58
58
  endTime: 'EndTime',
59
59
  inspectionItems: 'InspectionItems',
60
60
  instanceIds: 'InstanceIds',
61
+ regionId: 'RegionId',
61
62
  reportLanguage: 'ReportLanguage',
63
+ reportType: 'ReportType',
62
64
  startTime: 'StartTime',
63
65
  };
64
66
  }
@@ -68,7 +70,9 @@ export class CreateInspectionTaskRequest extends $dara.Model {
68
70
  endTime: 'string',
69
71
  inspectionItems: 'string',
70
72
  instanceIds: 'string',
73
+ regionId: 'string',
71
74
  reportLanguage: 'string',
75
+ reportType: 'string',
72
76
  startTime: 'string',
73
77
  };
74
78
  }
@@ -30,8 +30,6 @@ export class CreateScheduledTaskRequest extends $dara.Model {
30
30
  * @remarks
31
31
  * The IDs of the related instances. Separate multiple IDs with commas (,).
32
32
  *
33
- * This parameter is required.
34
- *
35
33
  * @example
36
34
  * rm-2ze6mk259v322****,rm-2zef3b65430j0****
37
35
  */
@@ -43,7 +41,9 @@ export class CreateScheduledTaskRequest extends $dara.Model {
43
41
  * This parameter is required.
44
42
  */
45
43
  name?: string;
44
+ regionId?: string;
46
45
  reportLanguage?: string;
46
+ reportType?: string;
47
47
  /**
48
48
  * @remarks
49
49
  * The time when the inspection task is executed. Specify the time in the ISO 8601 standard in the HH:mm:ssZ format. The time must be in UTC. Default value: 02:00 AM.
@@ -66,7 +66,9 @@ export class CreateScheduledTaskRequest extends $dara.Model {
66
66
  frequency: 'Frequency',
67
67
  instanceIds: 'InstanceIds',
68
68
  name: 'Name',
69
+ regionId: 'RegionId',
69
70
  reportLanguage: 'ReportLanguage',
71
+ reportType: 'ReportType',
70
72
  startTime: 'StartTime',
71
73
  timeRange: 'TimeRange',
72
74
  };
@@ -78,7 +80,9 @@ export class CreateScheduledTaskRequest extends $dara.Model {
78
80
  frequency: 'string',
79
81
  instanceIds: 'string',
80
82
  name: 'string',
83
+ regionId: 'string',
81
84
  reportLanguage: 'string',
85
+ reportType: 'string',
82
86
  startTime: 'string',
83
87
  timeRange: 'string',
84
88
  };
@@ -0,0 +1,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteEdgeFunctionRequest 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 name of the edge function.
17
+ *
18
+ * @example
19
+ * ef-****
20
+ */
21
+ edgeFunctionName?: string;
22
+ /**
23
+ * @remarks
24
+ * The ID of the RDS Supabase instance.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * ra-supabase-8moov5lxba****
30
+ */
31
+ instanceName?: string;
32
+ /**
33
+ * @remarks
34
+ * The region ID.
35
+ *
36
+ * @example
37
+ * cn-beijing
38
+ */
39
+ regionId?: string;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ edgeFunctionName: 'EdgeFunctionName',
44
+ instanceName: 'InstanceName',
45
+ regionId: 'RegionId',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ clientToken: 'string',
52
+ edgeFunctionName: 'string',
53
+ instanceName: 'string',
54
+ regionId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteEdgeFunctionResponseBody } from "./DeleteEdgeFunctionResponseBody";
4
+
5
+
6
+ export class DeleteEdgeFunctionResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteEdgeFunctionResponseBody;
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: DeleteEdgeFunctionResponseBody,
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 DeleteEdgeFunctionResponseBody 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
+ * Id of the request
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,66 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeEdgeFunctionsRequest 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
+ * fc-xxxx
17
+ *
18
+ * @example
19
+ * ef-****
20
+ */
21
+ edgeFunctionName?: string;
22
+ /**
23
+ * @remarks
24
+ * The ID of the RDS Supabase instance.
25
+ *
26
+ * This parameter is required.
27
+ *
28
+ * @example
29
+ * ra-supabase-8moov5lxba****
30
+ */
31
+ instanceName?: string;
32
+ /**
33
+ * @remarks
34
+ * The region ID.
35
+ *
36
+ * @example
37
+ * cn-beijing
38
+ */
39
+ regionId?: string;
40
+ static names(): { [key: string]: string } {
41
+ return {
42
+ clientToken: 'ClientToken',
43
+ edgeFunctionName: 'EdgeFunctionName',
44
+ instanceName: 'InstanceName',
45
+ regionId: 'RegionId',
46
+ };
47
+ }
48
+
49
+ static types(): { [key: string]: any } {
50
+ return {
51
+ clientToken: 'string',
52
+ edgeFunctionName: 'string',
53
+ instanceName: 'string',
54
+ regionId: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeEdgeFunctionsResponseBody } from "./DescribeEdgeFunctionsResponseBody";
4
+
5
+
6
+ export class DescribeEdgeFunctionsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeEdgeFunctionsResponseBody;
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: DescribeEdgeFunctionsResponseBody,
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
+