@alicloud/rdsai20250507 2.4.0 → 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 (37) hide show
  1. package/dist/client.d.ts +32 -8
  2. package/dist/client.js +32 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEdgeFunctionRequest.d.ts +33 -0
  5. package/dist/models/CreateEdgeFunctionRequest.js +2 -0
  6. package/dist/models/CreateEdgeFunctionRequest.js.map +1 -1
  7. package/dist/models/CreateEdgeFunctionResponseBody.d.ts +6 -0
  8. package/dist/models/CreateEdgeFunctionResponseBody.js.map +1 -1
  9. package/dist/models/CreateEdgeFunctionShrinkRequest.d.ts +23 -0
  10. package/dist/models/CreateEdgeFunctionShrinkRequest.js.map +1 -1
  11. package/dist/models/DeleteEdgeFunctionRequest.d.ts +11 -0
  12. package/dist/models/DeleteEdgeFunctionRequest.js.map +1 -1
  13. package/dist/models/DeleteEdgeFunctionResponseBody.d.ts +3 -0
  14. package/dist/models/DeleteEdgeFunctionResponseBody.js.map +1 -1
  15. package/dist/models/DescribeEdgeFunctionsRequest.d.ts +8 -0
  16. package/dist/models/DescribeEdgeFunctionsRequest.js.map +1 -1
  17. package/dist/models/DescribeEdgeFunctionsResponseBody.d.ts +37 -0
  18. package/dist/models/DescribeEdgeFunctionsResponseBody.js.map +1 -1
  19. package/dist/models/UpdateEdgeFunctionRequest.d.ts +31 -2
  20. package/dist/models/UpdateEdgeFunctionRequest.js +3 -1
  21. package/dist/models/UpdateEdgeFunctionRequest.js.map +1 -1
  22. package/dist/models/UpdateEdgeFunctionResponseBody.d.ts +5 -2
  23. package/dist/models/UpdateEdgeFunctionResponseBody.js.map +1 -1
  24. package/dist/models/UpdateEdgeFunctionShrinkRequest.d.ts +20 -1
  25. package/dist/models/UpdateEdgeFunctionShrinkRequest.js.map +1 -1
  26. package/package.json +1 -1
  27. package/src/client.ts +32 -8
  28. package/src/models/CreateEdgeFunctionRequest.ts +35 -0
  29. package/src/models/CreateEdgeFunctionResponseBody.ts +6 -0
  30. package/src/models/CreateEdgeFunctionShrinkRequest.ts +23 -0
  31. package/src/models/DeleteEdgeFunctionRequest.ts +11 -0
  32. package/src/models/DeleteEdgeFunctionResponseBody.ts +3 -0
  33. package/src/models/DescribeEdgeFunctionsRequest.ts +8 -0
  34. package/src/models/DescribeEdgeFunctionsResponseBody.ts +37 -0
  35. package/src/models/UpdateEdgeFunctionRequest.ts +34 -3
  36. package/src/models/UpdateEdgeFunctionResponseBody.ts +5 -2
  37. package/src/models/UpdateEdgeFunctionShrinkRequest.ts +20 -1
@@ -3,23 +3,34 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class CreateEdgeFunctionRequestCode extends $dara.Model {
6
+ downloadUrl?: string;
6
7
  /**
8
+ * @remarks
9
+ * The name of the OSS bucket.
10
+ *
7
11
  * @example
8
12
  * code
9
13
  */
10
14
  ossBucketName?: string;
11
15
  /**
16
+ * @remarks
17
+ * The OSS path of a code file.
18
+ *
12
19
  * @example
13
20
  * example.zip
14
21
  */
15
22
  ossObjectName?: string;
16
23
  /**
24
+ * @remarks
25
+ * The storage class of the OSS bucket.
26
+ *
17
27
  * @example
18
28
  * supabase
19
29
  */
20
30
  ossType?: string;
21
31
  static names(): { [key: string]: string } {
22
32
  return {
33
+ downloadUrl: 'DownloadUrl',
23
34
  ossBucketName: 'OssBucketName',
24
35
  ossObjectName: 'OssObjectName',
25
36
  ossType: 'OssType',
@@ -28,6 +39,7 @@ export class CreateEdgeFunctionRequestCode extends $dara.Model {
28
39
 
29
40
  static types(): { [key: string]: any } {
30
41
  return {
42
+ downloadUrl: 'string',
31
43
  ossBucketName: 'string',
32
44
  ossObjectName: 'string',
33
45
  ossType: 'string',
@@ -45,20 +57,40 @@ export class CreateEdgeFunctionRequestCode extends $dara.Model {
45
57
 
46
58
  export class CreateEdgeFunctionRequest extends $dara.Model {
47
59
  /**
60
+ * @remarks
61
+ * The client token that is used to ensure the idempotence of the request.
62
+ *
48
63
  * @example
49
64
  * ETnLKlblzczshOTUbOCz****
50
65
  */
51
66
  clientToken?: string;
67
+ /**
68
+ * @remarks
69
+ * The code parameters.
70
+ */
52
71
  code?: CreateEdgeFunctionRequestCode;
72
+ /**
73
+ * @remarks
74
+ * The configuration parameters of the edge function.
75
+ */
53
76
  customConfig?: { [key: string]: number };
54
77
  /**
78
+ * @remarks
79
+ * The name of the function.
80
+ *
55
81
  * @example
56
82
  * ef-*****
57
83
  */
58
84
  edgeFunctionName?: string;
85
+ /**
86
+ * @remarks
87
+ * The environment variables.
88
+ */
59
89
  envs?: { [key: string]: string };
60
90
  /**
61
91
  * @remarks
92
+ * The ID of the RDS Supabase instance.
93
+ *
62
94
  * This parameter is required.
63
95
  *
64
96
  * @example
@@ -66,6 +98,9 @@ export class CreateEdgeFunctionRequest extends $dara.Model {
66
98
  */
67
99
  instanceName?: string;
68
100
  /**
101
+ * @remarks
102
+ * The region ID.
103
+ *
69
104
  * @example
70
105
  * cn-beijing
71
106
  */
@@ -4,11 +4,17 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateEdgeFunctionResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The name of the edge function.
9
+ *
7
10
  * @example
8
11
  * ef-****
9
12
  */
10
13
  edgeFunctionName?: string;
11
14
  /**
15
+ * @remarks
16
+ * The ID of the RDS Supabase instance.
17
+ *
12
18
  * @example
13
19
  * ra-supabase-8moov5lxba****
14
20
  */
@@ -4,20 +4,40 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateEdgeFunctionShrinkRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
7
10
  * @example
8
11
  * ETnLKlblzczshOTUbOCz****
9
12
  */
10
13
  clientToken?: string;
14
+ /**
15
+ * @remarks
16
+ * The code parameters.
17
+ */
11
18
  codeShrink?: string;
19
+ /**
20
+ * @remarks
21
+ * The configuration parameters of the edge function.
22
+ */
12
23
  customConfigShrink?: string;
13
24
  /**
25
+ * @remarks
26
+ * The name of the function.
27
+ *
14
28
  * @example
15
29
  * ef-*****
16
30
  */
17
31
  edgeFunctionName?: string;
32
+ /**
33
+ * @remarks
34
+ * The environment variables.
35
+ */
18
36
  envsShrink?: string;
19
37
  /**
20
38
  * @remarks
39
+ * The ID of the RDS Supabase instance.
40
+ *
21
41
  * This parameter is required.
22
42
  *
23
43
  * @example
@@ -25,6 +45,9 @@ export class CreateEdgeFunctionShrinkRequest extends $dara.Model {
25
45
  */
26
46
  instanceName?: string;
27
47
  /**
48
+ * @remarks
49
+ * The region ID.
50
+ *
28
51
  * @example
29
52
  * cn-beijing
30
53
  */
@@ -4,17 +4,25 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DeleteEdgeFunctionRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
7
10
  * @example
8
11
  * ETnLKlblzczshOTUbOCz****
9
12
  */
10
13
  clientToken?: string;
11
14
  /**
15
+ * @remarks
16
+ * The name of the edge function.
17
+ *
12
18
  * @example
13
19
  * ef-****
14
20
  */
15
21
  edgeFunctionName?: string;
16
22
  /**
17
23
  * @remarks
24
+ * The ID of the RDS Supabase instance.
25
+ *
18
26
  * This parameter is required.
19
27
  *
20
28
  * @example
@@ -22,6 +30,9 @@ export class DeleteEdgeFunctionRequest extends $dara.Model {
22
30
  */
23
31
  instanceName?: string;
24
32
  /**
33
+ * @remarks
34
+ * The region ID.
35
+ *
25
36
  * @example
26
37
  * cn-beijing
27
38
  */
@@ -12,6 +12,9 @@ export class DeleteEdgeFunctionResponseBody extends $dara.Model {
12
12
  */
13
13
  edgeFunctionName?: string;
14
14
  /**
15
+ * @remarks
16
+ * The ID of the RDS Supabase instance.
17
+ *
15
18
  * @example
16
19
  * ra-supabase-8moov5lxba***
17
20
  */
@@ -4,6 +4,9 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeEdgeFunctionsRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
7
10
  * @example
8
11
  * ETnLKlblzczshOTUbOCz****
9
12
  */
@@ -18,6 +21,8 @@ export class DescribeEdgeFunctionsRequest extends $dara.Model {
18
21
  edgeFunctionName?: string;
19
22
  /**
20
23
  * @remarks
24
+ * The ID of the RDS Supabase instance.
25
+ *
21
26
  * This parameter is required.
22
27
  *
23
28
  * @example
@@ -25,6 +30,9 @@ export class DescribeEdgeFunctionsRequest extends $dara.Model {
25
30
  */
26
31
  instanceName?: string;
27
32
  /**
33
+ * @remarks
34
+ * The region ID.
35
+ *
28
36
  * @example
29
37
  * cn-beijing
30
38
  */
@@ -4,51 +4,81 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeEdgeFunctionsResponseBodyEdgeFunctions extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The number of vCPUs used by the cluster.
9
+ *
7
10
  * @example
8
11
  * 1
9
12
  */
10
13
  cpu?: string;
11
14
  /**
15
+ * @remarks
16
+ * The time when the function was created.
17
+ *
12
18
  * @example
13
19
  * 2021-11-12T21:35:03
14
20
  */
15
21
  createdTime?: string;
16
22
  /**
23
+ * @remarks
24
+ * The edge function name.
25
+ *
17
26
  * @example
18
27
  * ef-****
19
28
  */
20
29
  edgeFunctionName?: string;
21
30
  /**
31
+ * @remarks
32
+ * The URL for accessing the function.
33
+ *
22
34
  * @example
23
35
  * https://fcnext.console.aliyun.com/cn-beijing/functions/fc****
24
36
  */
25
37
  functionUrl?: string;
26
38
  /**
39
+ * @remarks
40
+ * The memory size. Unit: MiB.
41
+ *
27
42
  * @example
28
43
  * 512
29
44
  */
30
45
  memorySize?: string;
31
46
  /**
47
+ * @remarks
48
+ * The time when the function was last created. The time is displayed in UTC.
49
+ *
32
50
  * @example
33
51
  * 2025-05-25 10:22:54 +0800
34
52
  */
35
53
  modifiedTime?: string;
36
54
  /**
55
+ * @remarks
56
+ * The runtime environment for the function, which includes the Linux environment and the Deno version.
57
+ *
37
58
  * @example
38
59
  * custom.debian12-deno-2.5.6
39
60
  */
40
61
  runtime?: string;
41
62
  /**
63
+ * @remarks
64
+ * The instance status. For more information, see [Instance state table](https://help.aliyun.com/document_detail/2623972.html).
65
+ *
42
66
  * @example
43
67
  * Running
44
68
  */
45
69
  status?: string;
46
70
  /**
71
+ * @remarks
72
+ * The public URL for accessing the application.
73
+ *
47
74
  * @example
48
75
  * https://fc-bfvmoi****.cn-beijing.fcapp.run
49
76
  */
50
77
  urlInternet?: string;
51
78
  /**
79
+ * @remarks
80
+ * The internal URL for accessing the application.
81
+ *
52
82
  * @example
53
83
  * https://fc-bfvmoi****.cn-beijing-vpc.fcapp.run
54
84
  */
@@ -93,8 +123,15 @@ export class DescribeEdgeFunctionsResponseBodyEdgeFunctions extends $dara.Model
93
123
  }
94
124
 
95
125
  export class DescribeEdgeFunctionsResponseBody extends $dara.Model {
126
+ /**
127
+ * @remarks
128
+ * The list of edge functions.
129
+ */
96
130
  edgeFunctions?: DescribeEdgeFunctionsResponseBodyEdgeFunctions[];
97
131
  /**
132
+ * @remarks
133
+ * The ID of the RDS Supabase instance.
134
+ *
98
135
  * @example
99
136
  * ra-supabase-8moov5lxba****
100
137
  */
@@ -3,23 +3,34 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class UpdateEdgeFunctionRequestCode extends $dara.Model {
6
+ downloadUrl?: string;
6
7
  /**
8
+ * @remarks
9
+ * The name of the OSS bucket.
10
+ *
7
11
  * @example
8
12
  * code
9
13
  */
10
14
  ossBucketName?: string;
11
15
  /**
16
+ * @remarks
17
+ * The path of the code file.
18
+ *
12
19
  * @example
13
20
  * example2.zip
14
21
  */
15
22
  ossObjectName?: string;
16
23
  /**
24
+ * @remarks
25
+ * The storage class of the OSS bucket.
26
+ *
17
27
  * @example
18
28
  * supabase
19
29
  */
20
30
  ossType?: string;
21
31
  static names(): { [key: string]: string } {
22
32
  return {
33
+ downloadUrl: 'DownloadUrl',
23
34
  ossBucketName: 'OssBucketName',
24
35
  ossObjectName: 'OssObjectName',
25
36
  ossType: 'OssType',
@@ -28,6 +39,7 @@ export class UpdateEdgeFunctionRequestCode extends $dara.Model {
28
39
 
29
40
  static types(): { [key: string]: any } {
30
41
  return {
42
+ downloadUrl: 'string',
31
43
  ossBucketName: 'string',
32
44
  ossObjectName: 'string',
33
45
  ossType: 'string',
@@ -45,27 +57,43 @@ export class UpdateEdgeFunctionRequestCode extends $dara.Model {
45
57
 
46
58
  export class UpdateEdgeFunctionRequest extends $dara.Model {
47
59
  /**
60
+ * @remarks
61
+ * The client token that is used to ensure the idempotence of the request.
62
+ *
48
63
  * @example
49
64
  * ETnLKlblzczshOTUbOCz****
50
65
  */
51
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
+ */
52
71
  code?: UpdateEdgeFunctionRequestCode;
53
72
  /**
73
+ * @remarks
74
+ * The configuration parameters of the edge function.
75
+ *
54
76
  * @example
55
77
  * {}
56
78
  */
57
- customConfig?: { [key: string]: any };
79
+ customConfig?: { [key: string]: string };
58
80
  /**
59
81
  * @remarks
60
- * fc-xxxx。
82
+ * fc-xxxx
61
83
  *
62
84
  * @example
63
85
  * ef-****
64
86
  */
65
87
  edgeFunctionName?: string;
88
+ /**
89
+ * @remarks
90
+ * The environment variables of the edge function.
91
+ */
66
92
  envs?: { [key: string]: string };
67
93
  /**
68
94
  * @remarks
95
+ * The ID of the RDS Supabase instance.
96
+ *
69
97
  * This parameter is required.
70
98
  *
71
99
  * @example
@@ -73,6 +101,9 @@ export class UpdateEdgeFunctionRequest extends $dara.Model {
73
101
  */
74
102
  instanceName?: string;
75
103
  /**
104
+ * @remarks
105
+ * The region ID.
106
+ *
76
107
  * @example
77
108
  * cn-beijing
78
109
  */
@@ -93,7 +124,7 @@ export class UpdateEdgeFunctionRequest extends $dara.Model {
93
124
  return {
94
125
  clientToken: 'string',
95
126
  code: UpdateEdgeFunctionRequestCode,
96
- customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
127
+ customConfig: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
97
128
  edgeFunctionName: 'string',
98
129
  envs: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
99
130
  instanceName: 'string',
@@ -5,20 +5,23 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateEdgeFunctionResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * fc-xxxx。
8
+ * fc-xxxx
9
9
  *
10
10
  * @example
11
11
  * ef-****
12
12
  */
13
13
  edgeFunctionName?: string;
14
14
  /**
15
+ * @remarks
16
+ * The ID of the RDS Supabase instance.
17
+ *
15
18
  * @example
16
19
  * ra-supabase-8moov5lxba****
17
20
  */
18
21
  instanceName?: string;
19
22
  /**
20
23
  * @remarks
21
- * Id of the request。
24
+ * The request ID.
22
25
  *
23
26
  * @example
24
27
  * FE9C65D7-930F-57A5-A207-8C396329241C
@@ -4,27 +4,43 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class UpdateEdgeFunctionShrinkRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The client token that is used to ensure the idempotence of the request.
9
+ *
7
10
  * @example
8
11
  * ETnLKlblzczshOTUbOCz****
9
12
  */
10
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
+ */
11
18
  codeShrink?: string;
12
19
  /**
20
+ * @remarks
21
+ * The configuration parameters of the edge function.
22
+ *
13
23
  * @example
14
24
  * {}
15
25
  */
16
26
  customConfigShrink?: string;
17
27
  /**
18
28
  * @remarks
19
- * fc-xxxx。
29
+ * fc-xxxx
20
30
  *
21
31
  * @example
22
32
  * ef-****
23
33
  */
24
34
  edgeFunctionName?: string;
35
+ /**
36
+ * @remarks
37
+ * The environment variables of the edge function.
38
+ */
25
39
  envsShrink?: string;
26
40
  /**
27
41
  * @remarks
42
+ * The ID of the RDS Supabase instance.
43
+ *
28
44
  * This parameter is required.
29
45
  *
30
46
  * @example
@@ -32,6 +48,9 @@ export class UpdateEdgeFunctionShrinkRequest extends $dara.Model {
32
48
  */
33
49
  instanceName?: string;
34
50
  /**
51
+ * @remarks
52
+ * The region ID.
53
+ *
35
54
  * @example
36
55
  * cn-beijing
37
56
  */