alibabacloud-rdsai20250507 2.0.2__py3-none-any.whl → 2.0.4__py3-none-any.whl
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.
- alibabacloud_rdsai20250507/__init__.py +1 -1
- alibabacloud_rdsai20250507/client.py +4 -0
- alibabacloud_rdsai20250507/models/__init__.py +2 -0
- alibabacloud_rdsai20250507/models/_chat_messages_request.py +5 -0
- alibabacloud_rdsai20250507/models/_chat_messages_response_body.py +9 -0
- alibabacloud_rdsai20250507/models/_chat_messages_shrink_request.py +5 -0
- alibabacloud_rdsai20250507/models/_chat_messages_task_stop_request.py +2 -0
- alibabacloud_rdsai20250507/models/_chat_messages_task_stop_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_create_app_instance_request.py +29 -0
- alibabacloud_rdsai20250507/models/_create_app_instance_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_create_app_instance_shrink_request.py +29 -0
- alibabacloud_rdsai20250507/models/_create_custom_agent_request.py +5 -0
- alibabacloud_rdsai20250507/models/_create_custom_agent_response_body.py +6 -0
- alibabacloud_rdsai20250507/models/_create_custom_agent_shrink_request.py +5 -0
- alibabacloud_rdsai20250507/models/_delete_app_instance_request.py +3 -0
- alibabacloud_rdsai20250507/models/_delete_app_instance_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_delete_custom_agent_request.py +1 -1
- alibabacloud_rdsai20250507/models/_delete_custom_agent_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_describe_app_instance_attribute_request.py +2 -0
- alibabacloud_rdsai20250507/models/_describe_app_instance_attribute_response_body.py +13 -0
- alibabacloud_rdsai20250507/models/_describe_app_instances_request.py +5 -0
- alibabacloud_rdsai20250507/models/_describe_app_instances_response_body.py +17 -0
- alibabacloud_rdsai20250507/models/_describe_events_list_request.py +7 -0
- alibabacloud_rdsai20250507/models/_describe_events_list_response_body.py +22 -0
- alibabacloud_rdsai20250507/models/_describe_instance_auth_info_request.py +2 -0
- alibabacloud_rdsai20250507/models/_describe_instance_auth_info_response_body.py +21 -3
- alibabacloud_rdsai20250507/models/_describe_instance_endpoints_request.py +2 -0
- alibabacloud_rdsai20250507/models/_describe_instance_endpoints_response_body.py +77 -0
- alibabacloud_rdsai20250507/models/_describe_instance_ip_whitelist_request.py +10 -0
- alibabacloud_rdsai20250507/models/_describe_instance_ip_whitelist_response_body.py +5 -0
- alibabacloud_rdsai20250507/models/_describe_instance_ragconfig_request.py +3 -0
- alibabacloud_rdsai20250507/models/_describe_instance_ragconfig_response_body.py +9 -0
- alibabacloud_rdsai20250507/models/_describe_instance_sslrequest.py +3 -0
- alibabacloud_rdsai20250507/models/_describe_instance_sslresponse_body.py +9 -0
- alibabacloud_rdsai20250507/models/_describe_instance_storage_config_request.py +3 -0
- alibabacloud_rdsai20250507/models/_describe_instance_storage_config_response_body.py +13 -0
- alibabacloud_rdsai20250507/models/_get_conversations_request.py +4 -0
- alibabacloud_rdsai20250507/models/_get_conversations_response_body.py +8 -0
- alibabacloud_rdsai20250507/models/_get_custom_agent_request.py +1 -0
- alibabacloud_rdsai20250507/models/_get_custom_agent_response_body.py +8 -0
- alibabacloud_rdsai20250507/models/_get_messages_request.py +3 -0
- alibabacloud_rdsai20250507/models/_get_messages_response_body.py +11 -0
- alibabacloud_rdsai20250507/models/_list_custom_agent_request.py +2 -0
- alibabacloud_rdsai20250507/models/_list_custom_agent_response_body.py +12 -1
- alibabacloud_rdsai20250507/models/_list_custom_agent_tools_response_body.py +8 -0
- alibabacloud_rdsai20250507/models/_modify_instance_auth_config_request.py +3 -0
- alibabacloud_rdsai20250507/models/_modify_instance_auth_config_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_modify_instance_auth_config_shrink_request.py +3 -0
- alibabacloud_rdsai20250507/models/_modify_instance_config_request.py +6 -0
- alibabacloud_rdsai20250507/models/_modify_instance_ip_whitelist_request.py +16 -0
- alibabacloud_rdsai20250507/models/_modify_instance_ip_whitelist_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_modify_instance_ragconfig_request.py +9 -0
- alibabacloud_rdsai20250507/models/_modify_instance_ragconfig_response_body.py +6 -0
- alibabacloud_rdsai20250507/models/_modify_instance_ragconfig_shrink_request.py +9 -0
- alibabacloud_rdsai20250507/models/_modify_instance_sslrequest.py +15 -0
- alibabacloud_rdsai20250507/models/_modify_instance_sslresponse_body.py +2 -0
- alibabacloud_rdsai20250507/models/_modify_instance_storage_config_request.py +5 -0
- alibabacloud_rdsai20250507/models/_modify_instance_storage_config_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_modify_instance_storage_config_shrink_request.py +5 -0
- alibabacloud_rdsai20250507/models/_modify_messages_feedbacks_request.py +8 -0
- alibabacloud_rdsai20250507/models/_modify_messages_feedbacks_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_reset_instance_password_request.py +7 -0
- alibabacloud_rdsai20250507/models/_reset_instance_password_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_restart_instance_request.py +3 -0
- alibabacloud_rdsai20250507/models/_restart_instance_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_start_instance_request.py +2 -0
- alibabacloud_rdsai20250507/models/_start_instance_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_stop_instance_request.py +3 -0
- alibabacloud_rdsai20250507/models/_stop_instance_response_body.py +2 -0
- alibabacloud_rdsai20250507/models/_update_custom_agent_request.py +5 -1
- alibabacloud_rdsai20250507/models/_update_custom_agent_response_body.py +6 -1
- alibabacloud_rdsai20250507/models/_update_custom_agent_shrink_request.py +5 -1
- {alibabacloud_rdsai20250507-2.0.2.dist-info → alibabacloud_rdsai20250507-2.0.4.dist-info}/METADATA +1 -1
- {alibabacloud_rdsai20250507-2.0.2.dist-info → alibabacloud_rdsai20250507-2.0.4.dist-info}/RECORD +77 -77
- {alibabacloud_rdsai20250507-2.0.2.dist-info → alibabacloud_rdsai20250507-2.0.4.dist-info}/LICENSE +0 -0
- {alibabacloud_rdsai20250507-2.0.2.dist-info → alibabacloud_rdsai20250507-2.0.4.dist-info}/WHEEL +0 -0
- {alibabacloud_rdsai20250507-2.0.2.dist-info → alibabacloud_rdsai20250507-2.0.4.dist-info}/top_level.txt +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = '2.0.
|
|
1
|
+
__version__ = '2.0.4'
|
|
@@ -1074,6 +1074,8 @@ class Client(OpenApiClient):
|
|
|
1074
1074
|
) -> main_models.DescribeInstanceIpWhitelistResponse:
|
|
1075
1075
|
request.validate()
|
|
1076
1076
|
query = {}
|
|
1077
|
+
if not DaraCore.is_null(request.group_name):
|
|
1078
|
+
query['GroupName'] = request.group_name
|
|
1077
1079
|
if not DaraCore.is_null(request.instance_name):
|
|
1078
1080
|
query['InstanceName'] = request.instance_name
|
|
1079
1081
|
if not DaraCore.is_null(request.region_id):
|
|
@@ -1104,6 +1106,8 @@ class Client(OpenApiClient):
|
|
|
1104
1106
|
) -> main_models.DescribeInstanceIpWhitelistResponse:
|
|
1105
1107
|
request.validate()
|
|
1106
1108
|
query = {}
|
|
1109
|
+
if not DaraCore.is_null(request.group_name):
|
|
1110
|
+
query['GroupName'] = request.group_name
|
|
1107
1111
|
if not DaraCore.is_null(request.instance_name):
|
|
1108
1112
|
query['InstanceName'] = request.instance_name
|
|
1109
1113
|
if not DaraCore.is_null(request.region_id):
|
|
@@ -110,6 +110,7 @@ from ._describe_app_instances_response_body import DescribeAppInstancesResponseB
|
|
|
110
110
|
from ._describe_events_list_response_body import DescribeEventsListResponseBodyEvents
|
|
111
111
|
from ._describe_instance_auth_info_response_body import DescribeInstanceAuthInfoResponseBodyApiKeys
|
|
112
112
|
from ._describe_instance_auth_info_response_body import DescribeInstanceAuthInfoResponseBodyConfigList
|
|
113
|
+
from ._describe_instance_endpoints_response_body import DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints
|
|
113
114
|
from ._describe_instance_endpoints_response_body import DescribeInstanceEndpointsResponseBodyInstanceEndpoints
|
|
114
115
|
from ._describe_instance_ip_whitelist_response_body import DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups
|
|
115
116
|
from ._describe_instance_ragconfig_response_body import DescribeInstanceRAGConfigResponseBodyConfigList
|
|
@@ -231,6 +232,7 @@ __all__ = [
|
|
|
231
232
|
DescribeEventsListResponseBodyEvents,
|
|
232
233
|
DescribeInstanceAuthInfoResponseBodyApiKeys,
|
|
233
234
|
DescribeInstanceAuthInfoResponseBodyConfigList,
|
|
235
|
+
DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints,
|
|
234
236
|
DescribeInstanceEndpointsResponseBodyInstanceEndpoints,
|
|
235
237
|
DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups,
|
|
236
238
|
DescribeInstanceRAGConfigResponseBodyConfigList,
|
|
@@ -13,9 +13,14 @@ class ChatMessagesRequest(DaraModel):
|
|
|
13
13
|
parent_message_id: str = None,
|
|
14
14
|
query: str = None,
|
|
15
15
|
):
|
|
16
|
+
# The query content.
|
|
16
17
|
self.conversation_id = conversation_id
|
|
18
|
+
# The ID of the parent message.
|
|
17
19
|
self.inputs = inputs
|
|
20
|
+
# The ID of the conversation.
|
|
18
21
|
self.parent_message_id = parent_message_id
|
|
22
|
+
# The operation that you want to perform. Set the value to **ChatMessages**.
|
|
23
|
+
#
|
|
19
24
|
# This parameter is required.
|
|
20
25
|
self.query = query
|
|
21
26
|
|
|
@@ -17,14 +17,23 @@ class ChatMessagesResponseBody(DaraModel):
|
|
|
17
17
|
request_id: str = None,
|
|
18
18
|
task_id: str = None,
|
|
19
19
|
):
|
|
20
|
+
# The answer.
|
|
20
21
|
self.answer = answer
|
|
22
|
+
# The ID of the conversation.
|
|
21
23
|
self.conversation_id = conversation_id
|
|
24
|
+
# The creation time of the conversation.
|
|
22
25
|
self.created_at = created_at
|
|
26
|
+
# The event.
|
|
23
27
|
self.event = event
|
|
28
|
+
# The message ID.
|
|
24
29
|
self.id = id
|
|
30
|
+
# The message ID.
|
|
25
31
|
self.message_id = message_id
|
|
32
|
+
# The query mode.
|
|
26
33
|
self.mode = mode
|
|
34
|
+
# The request ID.
|
|
27
35
|
self.request_id = request_id
|
|
36
|
+
# The ID of the asynchronous task.
|
|
28
37
|
self.task_id = task_id
|
|
29
38
|
|
|
30
39
|
def validate(self):
|
|
@@ -12,9 +12,14 @@ class ChatMessagesShrinkRequest(DaraModel):
|
|
|
12
12
|
parent_message_id: str = None,
|
|
13
13
|
query: str = None,
|
|
14
14
|
):
|
|
15
|
+
# The query content.
|
|
15
16
|
self.conversation_id = conversation_id
|
|
17
|
+
# The ID of the parent message.
|
|
16
18
|
self.inputs_shrink = inputs_shrink
|
|
19
|
+
# The ID of the conversation.
|
|
17
20
|
self.parent_message_id = parent_message_id
|
|
21
|
+
# The operation that you want to perform. Set the value to **ChatMessages**.
|
|
22
|
+
#
|
|
18
23
|
# This parameter is required.
|
|
19
24
|
self.query = query
|
|
20
25
|
|
|
@@ -24,20 +24,49 @@ class CreateAppInstanceRequest(DaraModel):
|
|
|
24
24
|
region_id: str = None,
|
|
25
25
|
v_switch_id: str = None,
|
|
26
26
|
):
|
|
27
|
+
# The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated.
|
|
28
|
+
#
|
|
29
|
+
# > : Only newly purchased empty RDS for PostgreSQL instances are supported. The major engine version must be PostgreSQL 17 and the minor version must be 20250630 or later.
|
|
27
30
|
self.app_name = app_name
|
|
31
|
+
# The region ID of the instance.
|
|
28
32
|
self.app_type = app_type
|
|
33
|
+
# The name of the new AI application.
|
|
29
34
|
self.client_token = client_token
|
|
35
|
+
# A reserved parameter.
|
|
30
36
|
self.dbinstance_config = dbinstance_config
|
|
37
|
+
# The instance type. Only **rdsai.supabase.basic** is supported.
|
|
31
38
|
self.dbinstance_name = dbinstance_name
|
|
39
|
+
# The Supabase Dashboard user name.
|
|
32
40
|
self.dashboard_password = dashboard_password
|
|
41
|
+
# The password used to access the RDS database.
|
|
42
|
+
#
|
|
43
|
+
# The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_).
|
|
33
44
|
self.dashboard_username = dashboard_username
|
|
45
|
+
# The idempotency token. The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.
|
|
34
46
|
self.database_password = database_password
|
|
47
|
+
# Specifies whether to enable public endpoint.
|
|
48
|
+
#
|
|
49
|
+
# * true (default)
|
|
50
|
+
# * false
|
|
35
51
|
self.initialize_with_existing_data = initialize_with_existing_data
|
|
52
|
+
# The vSwitch ID.
|
|
36
53
|
self.instance_class = instance_class
|
|
54
|
+
# The billing method of the RDS for PostgreSQL instance.
|
|
37
55
|
self.public_endpoint_enabled = public_endpoint_enabled
|
|
56
|
+
# The Supabase Dashboard password.
|
|
57
|
+
#
|
|
58
|
+
# The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_).
|
|
38
59
|
self.public_network_access_enabled = public_network_access_enabled
|
|
60
|
+
# Specifies whether to enable the Internet NAT gateway. Valid values:
|
|
61
|
+
#
|
|
62
|
+
# * **true**: enable the Internet NAT gateway.
|
|
63
|
+
# * **false** (default): disable the Internet NAT gateway.
|
|
64
|
+
#
|
|
65
|
+
# > If an Internet NAT gateway is enabled for the vSwitch that you specify for VSwitchId, select false for this parameter.
|
|
39
66
|
self.ragenabled = ragenabled
|
|
67
|
+
# The operation that you want to perform. Set the value to **CreateAppInstance**.
|
|
40
68
|
self.region_id = region_id
|
|
69
|
+
# The application type. Only **supabase** is supported.
|
|
41
70
|
self.v_switch_id = v_switch_id
|
|
42
71
|
|
|
43
72
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class CreateAppInstanceResponseBody(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
request_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The ID of the RDS Supabase instance.
|
|
13
14
|
self.instance_name = instance_name
|
|
15
|
+
# The request ID.
|
|
14
16
|
self.request_id = request_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
@@ -23,20 +23,49 @@ class CreateAppInstanceShrinkRequest(DaraModel):
|
|
|
23
23
|
region_id: str = None,
|
|
24
24
|
v_switch_id: str = None,
|
|
25
25
|
):
|
|
26
|
+
# The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated.
|
|
27
|
+
#
|
|
28
|
+
# > : Only newly purchased empty RDS for PostgreSQL instances are supported. The major engine version must be PostgreSQL 17 and the minor version must be 20250630 or later.
|
|
26
29
|
self.app_name = app_name
|
|
30
|
+
# The region ID of the instance.
|
|
27
31
|
self.app_type = app_type
|
|
32
|
+
# The name of the new AI application.
|
|
28
33
|
self.client_token = client_token
|
|
34
|
+
# A reserved parameter.
|
|
29
35
|
self.dbinstance_config_shrink = dbinstance_config_shrink
|
|
36
|
+
# The instance type. Only **rdsai.supabase.basic** is supported.
|
|
30
37
|
self.dbinstance_name = dbinstance_name
|
|
38
|
+
# The Supabase Dashboard user name.
|
|
31
39
|
self.dashboard_password = dashboard_password
|
|
40
|
+
# The password used to access the RDS database.
|
|
41
|
+
#
|
|
42
|
+
# The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_).
|
|
32
43
|
self.dashboard_username = dashboard_username
|
|
44
|
+
# The idempotency token. The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make sure that the token is unique among different requests.
|
|
33
45
|
self.database_password = database_password
|
|
46
|
+
# Specifies whether to enable public endpoint.
|
|
47
|
+
#
|
|
48
|
+
# * true (default)
|
|
49
|
+
# * false
|
|
34
50
|
self.initialize_with_existing_data = initialize_with_existing_data
|
|
51
|
+
# The vSwitch ID.
|
|
35
52
|
self.instance_class = instance_class
|
|
53
|
+
# The billing method of the RDS for PostgreSQL instance.
|
|
36
54
|
self.public_endpoint_enabled = public_endpoint_enabled
|
|
55
|
+
# The Supabase Dashboard password.
|
|
56
|
+
#
|
|
57
|
+
# The password must be 8 to 32 characters in length and must contain at least three of the following characters: uppercase letters, lowercase letters, digits, and underscores (_).
|
|
37
58
|
self.public_network_access_enabled = public_network_access_enabled
|
|
59
|
+
# Specifies whether to enable the Internet NAT gateway. Valid values:
|
|
60
|
+
#
|
|
61
|
+
# * **true**: enable the Internet NAT gateway.
|
|
62
|
+
# * **false** (default): disable the Internet NAT gateway.
|
|
63
|
+
#
|
|
64
|
+
# > If an Internet NAT gateway is enabled for the vSwitch that you specify for VSwitchId, select false for this parameter.
|
|
38
65
|
self.ragenabled = ragenabled
|
|
66
|
+
# The operation that you want to perform. Set the value to **CreateAppInstance**.
|
|
39
67
|
self.region_id = region_id
|
|
68
|
+
# The application type. Only **supabase** is supported.
|
|
40
69
|
self.v_switch_id = v_switch_id
|
|
41
70
|
|
|
42
71
|
def validate(self):
|
|
@@ -14,10 +14,15 @@ class CreateCustomAgentRequest(DaraModel):
|
|
|
14
14
|
system_prompt: str = None,
|
|
15
15
|
tools: List[str] = None,
|
|
16
16
|
):
|
|
17
|
+
# The system prompts.
|
|
17
18
|
self.enable_tools = enable_tools
|
|
19
|
+
# The operation that you want to perform. Set the value to **CreateCustomAgent**.
|
|
18
20
|
self.name = name
|
|
21
|
+
# The name of the dedicated agent.
|
|
22
|
+
#
|
|
19
23
|
# This parameter is required.
|
|
20
24
|
self.system_prompt = system_prompt
|
|
25
|
+
# Specifies whether to enable tools.
|
|
21
26
|
self.tools = tools
|
|
22
27
|
|
|
23
28
|
def validate(self):
|
|
@@ -17,13 +17,19 @@ class CreateCustomAgentResponseBody(DaraModel):
|
|
|
17
17
|
system_prompt: str = None,
|
|
18
18
|
tools: List[str] = None,
|
|
19
19
|
):
|
|
20
|
+
# The creation time of the agent.
|
|
20
21
|
self.created_at = created_at
|
|
22
|
+
# Indicates whether tools are enabled.
|
|
21
23
|
self.enable_tools = enable_tools
|
|
22
24
|
# AgentId
|
|
23
25
|
self.id = id
|
|
26
|
+
# The name of the agent.
|
|
24
27
|
self.name = name
|
|
28
|
+
# The request ID.
|
|
25
29
|
self.request_id = request_id
|
|
30
|
+
# The system prompts.
|
|
26
31
|
self.system_prompt = system_prompt
|
|
32
|
+
# The information about the tool.
|
|
27
33
|
self.tools = tools
|
|
28
34
|
|
|
29
35
|
def validate(self):
|
|
@@ -12,10 +12,15 @@ class CreateCustomAgentShrinkRequest(DaraModel):
|
|
|
12
12
|
system_prompt: str = None,
|
|
13
13
|
tools_shrink: str = None,
|
|
14
14
|
):
|
|
15
|
+
# The system prompts.
|
|
15
16
|
self.enable_tools = enable_tools
|
|
17
|
+
# The operation that you want to perform. Set the value to **CreateCustomAgent**.
|
|
16
18
|
self.name = name
|
|
19
|
+
# The name of the dedicated agent.
|
|
20
|
+
#
|
|
17
21
|
# This parameter is required.
|
|
18
22
|
self.system_prompt = system_prompt
|
|
23
|
+
# Specifies whether to enable tools.
|
|
19
24
|
self.tools_shrink = tools_shrink
|
|
20
25
|
|
|
21
26
|
def validate(self):
|
|
@@ -11,8 +11,11 @@ class DeleteAppInstanceRequest(DaraModel):
|
|
|
11
11
|
instance_name: str = None,
|
|
12
12
|
region_id: str = None,
|
|
13
13
|
):
|
|
14
|
+
# The ID of the RDS Supabase instance.
|
|
14
15
|
self.client_token = client_token
|
|
16
|
+
# The region ID.
|
|
15
17
|
self.instance_name = instance_name
|
|
18
|
+
# The operation that you want to perform. Set the value to **DeleteAppInstance**.
|
|
16
19
|
self.region_id = region_id
|
|
17
20
|
|
|
18
21
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class DeleteAppInstanceResponseBody(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
request_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The ID of the RDS Supabase instance.
|
|
13
14
|
self.instance_name = instance_name
|
|
15
|
+
# The request ID.
|
|
14
16
|
self.request_id = request_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class DescribeAppInstanceAttributeRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID.
|
|
13
14
|
self.instance_name = instance_name
|
|
15
|
+
# The operation that you want to perform. Set the value to **DescribeAppInstanceAttribute**.
|
|
14
16
|
self.region_id = region_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
@@ -23,20 +23,33 @@ class DescribeAppInstanceAttributeResponseBody(DaraModel):
|
|
|
23
23
|
vpc_connection_string: str = None,
|
|
24
24
|
zone_id: str = None,
|
|
25
25
|
):
|
|
26
|
+
# The name of the AI application.
|
|
26
27
|
self.app_name = app_name
|
|
28
|
+
# The application type. Only **supabase** is supported. For more information, see [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html).
|
|
27
29
|
self.app_type = app_type
|
|
30
|
+
# The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated.
|
|
28
31
|
self.dbinstance_name = dbinstance_name
|
|
29
32
|
self.eip_status = eip_status
|
|
33
|
+
# The instance type of the RDS Supabase instance.
|
|
30
34
|
self.instance_class = instance_class
|
|
35
|
+
# The minor version number of RDS Supabase instance.
|
|
31
36
|
self.instance_minor_version = instance_minor_version
|
|
37
|
+
# The ID of the RDS Supabase instance.
|
|
32
38
|
self.instance_name = instance_name
|
|
33
39
|
self.nat_status = nat_status
|
|
40
|
+
# The public endpoint of the AI application.
|
|
34
41
|
self.public_connection_string = public_connection_string
|
|
42
|
+
# The region ID.
|
|
35
43
|
self.region_id = region_id
|
|
44
|
+
# The request ID.
|
|
36
45
|
self.request_id = request_id
|
|
46
|
+
# The status of the instance. For more information, see [Instance state table](https://help.aliyun.com/document_detail/2623972.html).
|
|
37
47
|
self.status = status
|
|
48
|
+
# The ID of the vSwitch.
|
|
38
49
|
self.v_switch_id = v_switch_id
|
|
50
|
+
# The internal endpoint of the AI application.
|
|
39
51
|
self.vpc_connection_string = vpc_connection_string
|
|
52
|
+
# The zone ID.
|
|
40
53
|
self.zone_id = zone_id
|
|
41
54
|
|
|
42
55
|
def validate(self):
|
|
@@ -13,10 +13,15 @@ class DescribeAppInstancesRequest(DaraModel):
|
|
|
13
13
|
page_size: int = None,
|
|
14
14
|
region_id: str = None,
|
|
15
15
|
):
|
|
16
|
+
# The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated. If you specify this parameter, the RDS Supabase instances associated with the specified RDS for PostgreSQL instance are queried.
|
|
16
17
|
self.app_type = app_type
|
|
18
|
+
# The region ID.
|
|
17
19
|
self.dbinstance_name = dbinstance_name
|
|
20
|
+
# The number of records per page. Valid values: **1 to 50**.
|
|
18
21
|
self.page_number = page_number
|
|
22
|
+
# The application type. Only **supabase** is supported. For more information, see [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html).
|
|
19
23
|
self.page_size = page_size
|
|
24
|
+
# The operation that you want to perform. Set the value to **DescribeAppInstances**.
|
|
20
25
|
self.region_id = region_id
|
|
21
26
|
|
|
22
27
|
def validate(self):
|
|
@@ -17,11 +17,17 @@ class DescribeAppInstancesResponseBody(DaraModel):
|
|
|
17
17
|
request_id: str = None,
|
|
18
18
|
total_count: int = None,
|
|
19
19
|
):
|
|
20
|
+
# The information about the RDS Supabase instances.
|
|
20
21
|
self.instances = instances
|
|
22
|
+
# A reserved parameter. You do not need to specify this parameter.
|
|
21
23
|
self.max_results = max_results
|
|
24
|
+
# The page number of the returned page.
|
|
22
25
|
self.page_number = page_number
|
|
26
|
+
# The number of entries returned on each page.
|
|
23
27
|
self.page_size = page_size
|
|
28
|
+
# The request ID.
|
|
24
29
|
self.request_id = request_id
|
|
30
|
+
# The total number of entries returned.
|
|
25
31
|
self.total_count = total_count
|
|
26
32
|
|
|
27
33
|
def validate(self):
|
|
@@ -97,16 +103,27 @@ class DescribeAppInstancesResponseBodyInstances(DaraModel):
|
|
|
97
103
|
v_switch_id: str = None,
|
|
98
104
|
vpc_connection_string: str = None,
|
|
99
105
|
):
|
|
106
|
+
# The name of the AI application.
|
|
100
107
|
self.app_name = app_name
|
|
108
|
+
# The application type. Only **supabase** is supported. For more information, see [RDS Supabase](https://help.aliyun.com/document_detail/2938735.html).
|
|
101
109
|
self.app_type = app_type
|
|
110
|
+
# The ID of the RDS for PostgreSQL instance with which the RDS Supabase instances are associated.
|
|
102
111
|
self.dbinstance_name = dbinstance_name
|
|
112
|
+
# The instance type.
|
|
103
113
|
self.instance_class = instance_class
|
|
114
|
+
# The minor version number of RDS Supabase instance.
|
|
104
115
|
self.instance_minor_version = instance_minor_version
|
|
116
|
+
# The ID of the RDS Supabase instance.
|
|
105
117
|
self.instance_name = instance_name
|
|
118
|
+
# The public endpoint of the AI application.
|
|
106
119
|
self.public_connection_string = public_connection_string
|
|
120
|
+
# The region ID.
|
|
107
121
|
self.region_id = region_id
|
|
122
|
+
# The instance status. For more information, see [Instance state table](https://help.aliyun.com/document_detail/2623972.html).
|
|
108
123
|
self.status = status
|
|
124
|
+
# The ID of the vSwitch.
|
|
109
125
|
self.v_switch_id = v_switch_id
|
|
126
|
+
# The internal endpoint of the AI application.
|
|
110
127
|
self.vpc_connection_string = vpc_connection_string
|
|
111
128
|
|
|
112
129
|
def validate(self):
|
|
@@ -14,12 +14,19 @@ class DescribeEventsListRequest(DaraModel):
|
|
|
14
14
|
region_id: str = None,
|
|
15
15
|
start_time: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The start time of the query period.
|
|
17
18
|
self.end_time = end_time
|
|
19
|
+
# The region ID.
|
|
18
20
|
self.instance_id_list = instance_id_list
|
|
21
|
+
# The number of records per page.
|
|
19
22
|
self.page_number = page_number
|
|
23
|
+
# The end time of the query period.
|
|
20
24
|
self.page_size = page_size
|
|
25
|
+
# The operation that you want to perform. Set the value to **DescribeEventsList**.
|
|
26
|
+
#
|
|
21
27
|
# This parameter is required.
|
|
22
28
|
self.region_id = region_id
|
|
29
|
+
# The RDS Supabase instances.
|
|
23
30
|
self.start_time = start_time
|
|
24
31
|
|
|
25
32
|
def validate(self):
|
|
@@ -19,13 +19,21 @@ class DescribeEventsListResponseBody(DaraModel):
|
|
|
19
19
|
total_count: int = None,
|
|
20
20
|
total_pages: int = None,
|
|
21
21
|
):
|
|
22
|
+
# The total number of events.
|
|
22
23
|
self.event_code_counts = event_code_counts
|
|
24
|
+
# The information about the events.
|
|
23
25
|
self.events = events
|
|
26
|
+
# The total number of pages.
|
|
24
27
|
self.page_count = page_count
|
|
28
|
+
# The page number of the returned page.
|
|
25
29
|
self.page_number = page_number
|
|
30
|
+
# The number of entries returned on each page.
|
|
26
31
|
self.page_size = page_size
|
|
32
|
+
# The request ID.
|
|
27
33
|
self.request_id = request_id
|
|
34
|
+
# The total number of entries returned.
|
|
28
35
|
self.total_count = total_count
|
|
36
|
+
# The number of entries per page.
|
|
29
37
|
self.total_pages = total_pages
|
|
30
38
|
|
|
31
39
|
def validate(self):
|
|
@@ -107,13 +115,21 @@ class DescribeEventsListResponseBodyEvents(DaraModel):
|
|
|
107
115
|
instance_description: str = None,
|
|
108
116
|
instance_id: str = None,
|
|
109
117
|
recovery_time: str = None,
|
|
118
|
+
region_id: str = None,
|
|
110
119
|
):
|
|
120
|
+
# The event code.
|
|
111
121
|
self.event_code = event_code
|
|
122
|
+
# The state of the event.
|
|
112
123
|
self.event_status = event_status
|
|
124
|
+
# The event.
|
|
113
125
|
self.event_time_list = event_time_list
|
|
126
|
+
# The description of the instance.
|
|
114
127
|
self.instance_description = instance_description
|
|
128
|
+
# The instance ID.
|
|
115
129
|
self.instance_id = instance_id
|
|
130
|
+
# The recovery time.
|
|
116
131
|
self.recovery_time = recovery_time
|
|
132
|
+
self.region_id = region_id
|
|
117
133
|
|
|
118
134
|
def validate(self):
|
|
119
135
|
pass
|
|
@@ -141,6 +157,9 @@ class DescribeEventsListResponseBodyEvents(DaraModel):
|
|
|
141
157
|
if self.recovery_time is not None:
|
|
142
158
|
result['RecoveryTime'] = self.recovery_time
|
|
143
159
|
|
|
160
|
+
if self.region_id is not None:
|
|
161
|
+
result['RegionId'] = self.region_id
|
|
162
|
+
|
|
144
163
|
return result
|
|
145
164
|
|
|
146
165
|
def from_map(self, m: dict = None):
|
|
@@ -163,5 +182,8 @@ class DescribeEventsListResponseBodyEvents(DaraModel):
|
|
|
163
182
|
if m.get('RecoveryTime') is not None:
|
|
164
183
|
self.recovery_time = m.get('RecoveryTime')
|
|
165
184
|
|
|
185
|
+
if m.get('RegionId') is not None:
|
|
186
|
+
self.region_id = m.get('RegionId')
|
|
187
|
+
|
|
166
188
|
return self
|
|
167
189
|
|
|
@@ -10,7 +10,9 @@ class DescribeInstanceAuthInfoRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID.
|
|
13
14
|
self.instance_name = instance_name
|
|
15
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceAuthInfo**.
|
|
14
16
|
self.region_id = region_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
@@ -16,11 +16,15 @@ class DescribeInstanceAuthInfoResponseBody(DaraModel):
|
|
|
16
16
|
jwt_secret: str = None,
|
|
17
17
|
request_id: str = None,
|
|
18
18
|
):
|
|
19
|
-
# API
|
|
19
|
+
# The API keys.
|
|
20
20
|
self.api_keys = api_keys
|
|
21
|
+
# The authentication configurations.
|
|
21
22
|
self.config_list = config_list
|
|
23
|
+
# The ID of the RDS Supabase instance.
|
|
22
24
|
self.instance_name = instance_name
|
|
25
|
+
# The JWT key.
|
|
23
26
|
self.jwt_secret = jwt_secret
|
|
27
|
+
# The request ID.
|
|
24
28
|
self.request_id = request_id
|
|
25
29
|
|
|
26
30
|
def validate(self):
|
|
@@ -84,7 +88,21 @@ class DescribeInstanceAuthInfoResponseBodyConfigList(DaraModel):
|
|
|
84
88
|
name: str = None,
|
|
85
89
|
value: str = None,
|
|
86
90
|
):
|
|
91
|
+
# The name of the configuration item. Valid values:
|
|
92
|
+
#
|
|
93
|
+
# * **GOTRUE_EXTERNAL_EMAIL_ENABLED**: Enables authentication via external email addresses.
|
|
94
|
+
# * **GOTRUE_SITE_URL**: the URL that is displayed in the emails sent from the instance.
|
|
95
|
+
# * **GOTRUE_SMTP_PORT**: the port of the SMTP service provider.
|
|
96
|
+
# * **GOTRUE_SMTP_SENDER_NAME**: the name of the sender of the email.
|
|
97
|
+
# * **GOTRUE_SMTP_USER**: the username of the SMTP service provider.
|
|
98
|
+
# * **GOTRUE_SMTP_PASS**: the key of the SMTP service provider.
|
|
99
|
+
# * **GOTRUE_SMTP_ADMIN_EMAIL**: the email address of the SMTP service provider.
|
|
100
|
+
# * **GOTRUE_SMTP_HOST**: The host address of the SMTP service provider.
|
|
101
|
+
# * **GOTRUE_MAILER_AUTOCONFIRM**: specifies whether to enable automatic confirmation.
|
|
102
|
+
# * **GOTRUE_MAILER_OTP_EXP**: The validity period of the one-time password (OTP). Unit: seconds.
|
|
103
|
+
# * **GOTRUE_MAILER_OTP_LENGTH**: The verification code length of the one-time password (OTP). The value must be an integer greater than or equal to 6.
|
|
87
104
|
self.name = name
|
|
105
|
+
# The value of the configuration item.
|
|
88
106
|
self.value = value
|
|
89
107
|
|
|
90
108
|
def validate(self):
|
|
@@ -119,9 +137,9 @@ class DescribeInstanceAuthInfoResponseBodyApiKeys(DaraModel):
|
|
|
119
137
|
anon_key: str = None,
|
|
120
138
|
service_key: str = None,
|
|
121
139
|
):
|
|
122
|
-
#
|
|
140
|
+
# The ANON_KEY of Supabase.
|
|
123
141
|
self.anon_key = anon_key
|
|
124
|
-
#
|
|
142
|
+
# The SERVICE_ROLE_KEY of Supabase.
|
|
125
143
|
self.service_key = service_key
|
|
126
144
|
|
|
127
145
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class DescribeInstanceEndpointsRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID.
|
|
13
14
|
self.instance_name = instance_name
|
|
15
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceEndpoints**.
|
|
14
16
|
self.region_id = region_id
|
|
15
17
|
|
|
16
18
|
def validate(self):
|