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
|
@@ -10,15 +10,25 @@ from darabonba.model import DaraModel
|
|
|
10
10
|
class DescribeInstanceEndpointsResponseBody(DaraModel):
|
|
11
11
|
def __init__(
|
|
12
12
|
self,
|
|
13
|
+
dbinstance_endpoints: List[main_models.DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints] = None,
|
|
13
14
|
instance_endpoints: List[main_models.DescribeInstanceEndpointsResponseBodyInstanceEndpoints] = None,
|
|
14
15
|
instance_name: str = None,
|
|
15
16
|
request_id: str = None,
|
|
16
17
|
):
|
|
18
|
+
# The information about the endpoints of the RDS instance.
|
|
19
|
+
self.dbinstance_endpoints = dbinstance_endpoints
|
|
20
|
+
# The information about the endpoints of the RDS Supabase instance.
|
|
17
21
|
self.instance_endpoints = instance_endpoints
|
|
22
|
+
# The ID of the RDS Supabase instance.
|
|
18
23
|
self.instance_name = instance_name
|
|
24
|
+
# The request ID.
|
|
19
25
|
self.request_id = request_id
|
|
20
26
|
|
|
21
27
|
def validate(self):
|
|
28
|
+
if self.dbinstance_endpoints:
|
|
29
|
+
for v1 in self.dbinstance_endpoints:
|
|
30
|
+
if v1:
|
|
31
|
+
v1.validate()
|
|
22
32
|
if self.instance_endpoints:
|
|
23
33
|
for v1 in self.instance_endpoints:
|
|
24
34
|
if v1:
|
|
@@ -29,6 +39,11 @@ class DescribeInstanceEndpointsResponseBody(DaraModel):
|
|
|
29
39
|
_map = super().to_map()
|
|
30
40
|
if _map is not None:
|
|
31
41
|
result = _map
|
|
42
|
+
result['DBInstanceEndpoints'] = []
|
|
43
|
+
if self.dbinstance_endpoints is not None:
|
|
44
|
+
for k1 in self.dbinstance_endpoints:
|
|
45
|
+
result['DBInstanceEndpoints'].append(k1.to_map() if k1 else None)
|
|
46
|
+
|
|
32
47
|
result['InstanceEndpoints'] = []
|
|
33
48
|
if self.instance_endpoints is not None:
|
|
34
49
|
for k1 in self.instance_endpoints:
|
|
@@ -44,6 +59,12 @@ class DescribeInstanceEndpointsResponseBody(DaraModel):
|
|
|
44
59
|
|
|
45
60
|
def from_map(self, m: dict = None):
|
|
46
61
|
m = m or dict()
|
|
62
|
+
self.dbinstance_endpoints = []
|
|
63
|
+
if m.get('DBInstanceEndpoints') is not None:
|
|
64
|
+
for k1 in m.get('DBInstanceEndpoints'):
|
|
65
|
+
temp_model = main_models.DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints()
|
|
66
|
+
self.dbinstance_endpoints.append(temp_model.from_map(k1))
|
|
67
|
+
|
|
47
68
|
self.instance_endpoints = []
|
|
48
69
|
if m.get('InstanceEndpoints') is not None:
|
|
49
70
|
for k1 in m.get('InstanceEndpoints'):
|
|
@@ -66,9 +87,16 @@ class DescribeInstanceEndpointsResponseBodyInstanceEndpoints(DaraModel):
|
|
|
66
87
|
ip_type: str = None,
|
|
67
88
|
port: str = None,
|
|
68
89
|
):
|
|
90
|
+
# The endpoint of the RDS Supabase instance.
|
|
69
91
|
self.connection_string = connection_string
|
|
92
|
+
# The IP address used to access the RDS Supabase instance.
|
|
70
93
|
self.ip = ip
|
|
94
|
+
# The network type of the RDS Supabase instance. Valid values:
|
|
95
|
+
#
|
|
96
|
+
# * **public**: Internet
|
|
97
|
+
# * **vpc**: VPC
|
|
71
98
|
self.ip_type = ip_type
|
|
99
|
+
# The port used to access the RDS Supabase instance.
|
|
72
100
|
self.port = port
|
|
73
101
|
|
|
74
102
|
def validate(self):
|
|
@@ -109,3 +137,52 @@ class DescribeInstanceEndpointsResponseBodyInstanceEndpoints(DaraModel):
|
|
|
109
137
|
|
|
110
138
|
return self
|
|
111
139
|
|
|
140
|
+
class DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints(DaraModel):
|
|
141
|
+
def __init__(
|
|
142
|
+
self,
|
|
143
|
+
connection_string: str = None,
|
|
144
|
+
ip_type: str = None,
|
|
145
|
+
port: str = None,
|
|
146
|
+
):
|
|
147
|
+
# The endpoint of the RDS instance.
|
|
148
|
+
self.connection_string = connection_string
|
|
149
|
+
# The network type of the RDS instance. Valid values:
|
|
150
|
+
#
|
|
151
|
+
# * **public**: Internet
|
|
152
|
+
# * **vpc**: VPC
|
|
153
|
+
self.ip_type = ip_type
|
|
154
|
+
# The port used to access the RDS instance.
|
|
155
|
+
self.port = port
|
|
156
|
+
|
|
157
|
+
def validate(self):
|
|
158
|
+
pass
|
|
159
|
+
|
|
160
|
+
def to_map(self):
|
|
161
|
+
result = dict()
|
|
162
|
+
_map = super().to_map()
|
|
163
|
+
if _map is not None:
|
|
164
|
+
result = _map
|
|
165
|
+
if self.connection_string is not None:
|
|
166
|
+
result['ConnectionString'] = self.connection_string
|
|
167
|
+
|
|
168
|
+
if self.ip_type is not None:
|
|
169
|
+
result['IpType'] = self.ip_type
|
|
170
|
+
|
|
171
|
+
if self.port is not None:
|
|
172
|
+
result['Port'] = self.port
|
|
173
|
+
|
|
174
|
+
return result
|
|
175
|
+
|
|
176
|
+
def from_map(self, m: dict = None):
|
|
177
|
+
m = m or dict()
|
|
178
|
+
if m.get('ConnectionString') is not None:
|
|
179
|
+
self.connection_string = m.get('ConnectionString')
|
|
180
|
+
|
|
181
|
+
if m.get('IpType') is not None:
|
|
182
|
+
self.ip_type = m.get('IpType')
|
|
183
|
+
|
|
184
|
+
if m.get('Port') is not None:
|
|
185
|
+
self.port = m.get('Port')
|
|
186
|
+
|
|
187
|
+
return self
|
|
188
|
+
|
|
@@ -7,10 +7,14 @@ from darabonba.model import DaraModel
|
|
|
7
7
|
class DescribeInstanceIpWhitelistRequest(DaraModel):
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
|
+
group_name: str = None,
|
|
10
11
|
instance_name: str = None,
|
|
11
12
|
region_id: str = None,
|
|
12
13
|
):
|
|
14
|
+
self.group_name = group_name
|
|
15
|
+
# The region ID of the instance.
|
|
13
16
|
self.instance_name = instance_name
|
|
17
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceIpWhitelist**.
|
|
14
18
|
self.region_id = region_id
|
|
15
19
|
|
|
16
20
|
def validate(self):
|
|
@@ -21,6 +25,9 @@ class DescribeInstanceIpWhitelistRequest(DaraModel):
|
|
|
21
25
|
_map = super().to_map()
|
|
22
26
|
if _map is not None:
|
|
23
27
|
result = _map
|
|
28
|
+
if self.group_name is not None:
|
|
29
|
+
result['GroupName'] = self.group_name
|
|
30
|
+
|
|
24
31
|
if self.instance_name is not None:
|
|
25
32
|
result['InstanceName'] = self.instance_name
|
|
26
33
|
|
|
@@ -31,6 +38,9 @@ class DescribeInstanceIpWhitelistRequest(DaraModel):
|
|
|
31
38
|
|
|
32
39
|
def from_map(self, m: dict = None):
|
|
33
40
|
m = m or dict()
|
|
41
|
+
if m.get('GroupName') is not None:
|
|
42
|
+
self.group_name = m.get('GroupName')
|
|
43
|
+
|
|
34
44
|
if m.get('InstanceName') is not None:
|
|
35
45
|
self.instance_name = m.get('InstanceName')
|
|
36
46
|
|
|
@@ -14,8 +14,11 @@ class DescribeInstanceIpWhitelistResponseBody(DaraModel):
|
|
|
14
14
|
ip_white_list_groups: List[main_models.DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups] = None,
|
|
15
15
|
request_id: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The ID of the RDS Supabase instance.
|
|
17
18
|
self.instance_name = instance_name
|
|
19
|
+
# The IP address whitelists.
|
|
18
20
|
self.ip_white_list_groups = ip_white_list_groups
|
|
21
|
+
# The request ID.
|
|
19
22
|
self.request_id = request_id
|
|
20
23
|
|
|
21
24
|
def validate(self):
|
|
@@ -64,7 +67,9 @@ class DescribeInstanceIpWhitelistResponseBodyIpWhiteListGroups(DaraModel):
|
|
|
64
67
|
group_name: str = None,
|
|
65
68
|
ip_whitelist: str = None,
|
|
66
69
|
):
|
|
70
|
+
# The IP address whitelist name.
|
|
67
71
|
self.group_name = group_name
|
|
72
|
+
# The IP addresses or CIDR blocks in the whitelist.
|
|
68
73
|
self.ip_whitelist = ip_whitelist
|
|
69
74
|
|
|
70
75
|
def validate(self):
|
|
@@ -10,8 +10,11 @@ class DescribeInstanceRAGConfigRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID.
|
|
14
|
+
#
|
|
13
15
|
# This parameter is required.
|
|
14
16
|
self.instance_name = instance_name
|
|
17
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceRAGConfig**.
|
|
15
18
|
self.region_id = region_id
|
|
16
19
|
|
|
17
20
|
def validate(self):
|
|
@@ -15,9 +15,16 @@ class DescribeInstanceRAGConfigResponseBody(DaraModel):
|
|
|
15
15
|
request_id: str = None,
|
|
16
16
|
status: bool = None,
|
|
17
17
|
):
|
|
18
|
+
# The RAG agent configurations.
|
|
18
19
|
self.config_list = config_list
|
|
20
|
+
# The ID of the RDS Supabase instance.
|
|
19
21
|
self.instance_name = instance_name
|
|
22
|
+
# The request ID.
|
|
20
23
|
self.request_id = request_id
|
|
24
|
+
# The status of the RAG agent.
|
|
25
|
+
#
|
|
26
|
+
# * **true**: RAG agent is enabled.
|
|
27
|
+
# * **false**: RAG agent is disabled.
|
|
21
28
|
self.status = status
|
|
22
29
|
|
|
23
30
|
def validate(self):
|
|
@@ -72,7 +79,9 @@ class DescribeInstanceRAGConfigResponseBodyConfigList(DaraModel):
|
|
|
72
79
|
name: str = None,
|
|
73
80
|
value: str = None,
|
|
74
81
|
):
|
|
82
|
+
# The name of the configuration item.
|
|
75
83
|
self.name = name
|
|
84
|
+
# The value of the configuration item.
|
|
76
85
|
self.value = value
|
|
77
86
|
|
|
78
87
|
def validate(self):
|
|
@@ -10,8 +10,11 @@ class DescribeInstanceSSLRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID of the instance.
|
|
14
|
+
#
|
|
13
15
|
# This parameter is required.
|
|
14
16
|
self.instance_name = instance_name
|
|
17
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceSSL**.
|
|
15
18
|
self.region_id = region_id
|
|
16
19
|
|
|
17
20
|
def validate(self):
|
|
@@ -14,11 +14,20 @@ class DescribeInstanceSSLResponseBody(DaraModel):
|
|
|
14
14
|
server_cert: str = None,
|
|
15
15
|
server_key: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The type of the certificate. Set the value to **custom**, which indicates that a custom certificate is used.
|
|
17
18
|
self.catype = catype
|
|
19
|
+
# The ID of the RDS Supabase instance.
|
|
18
20
|
self.instance_name = instance_name
|
|
21
|
+
# The request ID.
|
|
19
22
|
self.request_id = request_id
|
|
23
|
+
# Specifies whether to enable SSL encryption. Valid values:
|
|
24
|
+
#
|
|
25
|
+
# * **1**: enables SSL encryption.
|
|
26
|
+
# * **0**: disables SSL encryption.
|
|
20
27
|
self.sslenabled = sslenabled
|
|
28
|
+
# The content of the custom certificate.
|
|
21
29
|
self.server_cert = server_cert
|
|
30
|
+
# The private key of the certificate.
|
|
22
31
|
self.server_key = server_key
|
|
23
32
|
|
|
24
33
|
def validate(self):
|
|
@@ -10,8 +10,11 @@ class DescribeInstanceStorageConfigRequest(DaraModel):
|
|
|
10
10
|
instance_name: str = None,
|
|
11
11
|
region_id: str = None,
|
|
12
12
|
):
|
|
13
|
+
# The region ID.
|
|
14
|
+
#
|
|
13
15
|
# This parameter is required.
|
|
14
16
|
self.instance_name = instance_name
|
|
17
|
+
# The operation that you want to perform. Set the value to **DescribeInstanceStorageConfig**.
|
|
15
18
|
self.region_id = region_id
|
|
16
19
|
|
|
17
20
|
def validate(self):
|
|
@@ -14,8 +14,11 @@ class DescribeInstanceStorageConfigResponseBody(DaraModel):
|
|
|
14
14
|
instance_name: str = None,
|
|
15
15
|
request_id: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The storage configurations.
|
|
17
18
|
self.config_list = config_list
|
|
19
|
+
# The ID of the RDS Supabase instance.
|
|
18
20
|
self.instance_name = instance_name
|
|
21
|
+
# The request ID.
|
|
19
22
|
self.request_id = request_id
|
|
20
23
|
|
|
21
24
|
def validate(self):
|
|
@@ -64,7 +67,17 @@ class DescribeInstanceStorageConfigResponseBodyConfigList(DaraModel):
|
|
|
64
67
|
name: str = None,
|
|
65
68
|
value: str = None,
|
|
66
69
|
):
|
|
70
|
+
# The configuration item name. Valid values:
|
|
71
|
+
#
|
|
72
|
+
# * **AWS_SESSION_TOKEN**: temporary OSS access token (session token).
|
|
73
|
+
# * **AWS_ACCESS_KEY_ID**: the AccessKey ID of OSS.
|
|
74
|
+
# * **AWS_SECRET_ACCESS_KEY**: the AccessKey secret of OSS.
|
|
75
|
+
# * **GLOBAL_S3_BUCKET**: the name of the OSS bucket.
|
|
76
|
+
# * **TENANT_ID**: the tenant ID of the OSS Prefix (prefix or directory).
|
|
77
|
+
# * **GLOBAL_S3_ENDPOINT**: the endpoint of OSS.
|
|
78
|
+
# * **REGION**: the region of OSS.
|
|
67
79
|
self.name = name
|
|
80
|
+
# The value of the configuration item.
|
|
68
81
|
self.value = value
|
|
69
82
|
|
|
70
83
|
def validate(self):
|
|
@@ -12,9 +12,13 @@ class GetConversationsRequest(DaraModel):
|
|
|
12
12
|
pinned: str = None,
|
|
13
13
|
sort_by: str = None,
|
|
14
14
|
):
|
|
15
|
+
# The operation that you want to perform. Set the value to **GetConversations**.
|
|
15
16
|
self.last_id = last_id
|
|
17
|
+
# The ID of the last conversation.
|
|
16
18
|
self.limit = limit
|
|
19
|
+
# The number of entries per page. Valid values: 1 to 100.
|
|
17
20
|
self.pinned = pinned
|
|
21
|
+
# Specifies whether to pin the application.
|
|
18
22
|
self.sort_by = sort_by
|
|
19
23
|
|
|
20
24
|
def validate(self):
|
|
@@ -15,9 +15,13 @@ class GetConversationsResponseBody(DaraModel):
|
|
|
15
15
|
limit: int = None,
|
|
16
16
|
request_id: str = None,
|
|
17
17
|
):
|
|
18
|
+
# The returned results.
|
|
18
19
|
self.data = data
|
|
20
|
+
# Indicates whether the current page is followed by a page.
|
|
19
21
|
self.has_more = has_more
|
|
22
|
+
# The number of entries per page. Valid values: 1 to 100. Default value: 100.
|
|
20
23
|
self.limit = limit
|
|
24
|
+
# The request ID.
|
|
21
25
|
self.request_id = request_id
|
|
22
26
|
|
|
23
27
|
def validate(self):
|
|
@@ -74,9 +78,13 @@ class GetConversationsResponseBodyData(DaraModel):
|
|
|
74
78
|
introduction: str = None,
|
|
75
79
|
name: str = None,
|
|
76
80
|
):
|
|
81
|
+
# The creation time of the conversation.
|
|
77
82
|
self.created_at = created_at
|
|
83
|
+
# The ID of the history conversation.
|
|
78
84
|
self.id = id
|
|
85
|
+
# The introduction to the conversation.
|
|
79
86
|
self.introduction = introduction
|
|
87
|
+
# The name of the history conversation.
|
|
80
88
|
self.name = name
|
|
81
89
|
|
|
82
90
|
def validate(self):
|
|
@@ -18,13 +18,21 @@ class GetCustomAgentResponseBody(DaraModel):
|
|
|
18
18
|
tools: List[str] = None,
|
|
19
19
|
updated_at: str = None,
|
|
20
20
|
):
|
|
21
|
+
# The creation time of the agent.
|
|
21
22
|
self.created_at = created_at
|
|
23
|
+
# Indicates whether tools are enabled.
|
|
22
24
|
self.enable_tools = enable_tools
|
|
25
|
+
# The ID of the backup set.
|
|
23
26
|
self.id = id
|
|
27
|
+
# The name of the dedicated agent.
|
|
24
28
|
self.name = name
|
|
29
|
+
# The request ID.
|
|
25
30
|
self.request_id = request_id
|
|
31
|
+
# The system prompts.
|
|
26
32
|
self.system_prompt = system_prompt
|
|
33
|
+
# The details of the tools.
|
|
27
34
|
self.tools = tools
|
|
35
|
+
# The modification time of the agent.
|
|
28
36
|
self.updated_at = updated_at
|
|
29
37
|
|
|
30
38
|
def validate(self):
|
|
@@ -11,8 +11,11 @@ class GetMessagesRequest(DaraModel):
|
|
|
11
11
|
first_id: str = None,
|
|
12
12
|
limit: int = None,
|
|
13
13
|
):
|
|
14
|
+
# The operation that you want to perform. Set the value to **GetMessages**.
|
|
14
15
|
self.conversation_id = conversation_id
|
|
16
|
+
# The ID of the conversation.
|
|
15
17
|
self.first_id = first_id
|
|
18
|
+
# The ID of the first message.
|
|
16
19
|
self.limit = limit
|
|
17
20
|
|
|
18
21
|
def validate(self):
|
|
@@ -15,9 +15,13 @@ class GetMessagesResponseBody(DaraModel):
|
|
|
15
15
|
limit: int = None,
|
|
16
16
|
request_id: str = None,
|
|
17
17
|
):
|
|
18
|
+
# The returned results.
|
|
18
19
|
self.data = data
|
|
20
|
+
# Indicates whether the current page is followed by a page.
|
|
19
21
|
self.has_more = has_more
|
|
22
|
+
# The maximum number of entries to return.
|
|
20
23
|
self.limit = limit
|
|
24
|
+
# The request ID.
|
|
21
25
|
self.request_id = request_id
|
|
22
26
|
|
|
23
27
|
def validate(self):
|
|
@@ -77,12 +81,19 @@ class GetMessagesResponseBodyData(DaraModel):
|
|
|
77
81
|
query: str = None,
|
|
78
82
|
retriever_resources: List[Any] = None,
|
|
79
83
|
):
|
|
84
|
+
# The response to the query.
|
|
80
85
|
self.answer = answer
|
|
86
|
+
# The ID of the conversation.
|
|
81
87
|
self.conversation_id = conversation_id
|
|
88
|
+
# The creation time of the conversation.
|
|
82
89
|
self.created_at = created_at
|
|
90
|
+
# The feedback.
|
|
83
91
|
self.feedback = feedback
|
|
92
|
+
# The message ID.
|
|
84
93
|
self.id = id
|
|
94
|
+
# The query statement.
|
|
85
95
|
self.query = query
|
|
96
|
+
# The retriever resources.
|
|
86
97
|
self.retriever_resources = retriever_resources
|
|
87
98
|
|
|
88
99
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class ListCustomAgentRequest(DaraModel):
|
|
|
10
10
|
page_number: int = None,
|
|
11
11
|
page_size: int = None,
|
|
12
12
|
):
|
|
13
|
+
# The operation that you want to perform. Set the value to **ListCustomAgent**.
|
|
13
14
|
self.page_number = page_number
|
|
15
|
+
# The page number of the returned page.
|
|
14
16
|
self.page_size = page_size
|
|
15
17
|
|
|
16
18
|
def validate(self):
|
|
@@ -16,10 +16,15 @@ class ListCustomAgentResponseBody(DaraModel):
|
|
|
16
16
|
request_id: str = None,
|
|
17
17
|
total_count: int = None,
|
|
18
18
|
):
|
|
19
|
+
# The returned data.
|
|
19
20
|
self.data = data
|
|
21
|
+
# The page number of the returned page.
|
|
20
22
|
self.page_number = page_number
|
|
23
|
+
# The number of entries returned on each page.
|
|
21
24
|
self.page_size = page_size
|
|
25
|
+
# The request ID.
|
|
22
26
|
self.request_id = request_id
|
|
27
|
+
# The total number of entries returned. By default, this parameter is not returned.
|
|
23
28
|
self.total_count = total_count
|
|
24
29
|
|
|
25
30
|
def validate(self):
|
|
@@ -85,13 +90,19 @@ class ListCustomAgentResponseBodyData(DaraModel):
|
|
|
85
90
|
tools: List[str] = None,
|
|
86
91
|
updated_at: str = None,
|
|
87
92
|
):
|
|
93
|
+
# The creation time of the agent.
|
|
88
94
|
self.created_at = created_at
|
|
95
|
+
# Indicates whether tools are enabled.
|
|
89
96
|
self.enable_tools = enable_tools
|
|
90
|
-
#
|
|
97
|
+
# The ID of the agent.
|
|
91
98
|
self.id = id
|
|
99
|
+
# The name of the dedicated agent.
|
|
92
100
|
self.name = name
|
|
101
|
+
# The system prompts.
|
|
93
102
|
self.system_prompt = system_prompt
|
|
103
|
+
# The information about the tool.
|
|
94
104
|
self.tools = tools
|
|
105
|
+
# The modification time of the agent.
|
|
95
106
|
self.updated_at = updated_at
|
|
96
107
|
|
|
97
108
|
def validate(self):
|
|
@@ -13,7 +13,9 @@ class ListCustomAgentToolsResponseBody(DaraModel):
|
|
|
13
13
|
data: List[main_models.ListCustomAgentToolsResponseBodyData] = None,
|
|
14
14
|
request_id: str = None,
|
|
15
15
|
):
|
|
16
|
+
# The returned data.
|
|
16
17
|
self.data = data
|
|
18
|
+
# The request ID.
|
|
17
19
|
self.request_id = request_id
|
|
18
20
|
|
|
19
21
|
def validate(self):
|
|
@@ -60,11 +62,17 @@ class ListCustomAgentToolsResponseBodyData(DaraModel):
|
|
|
60
62
|
type: str = None,
|
|
61
63
|
zh: str = None,
|
|
62
64
|
):
|
|
65
|
+
# The description in English.
|
|
63
66
|
self.en = en
|
|
67
|
+
# The description in Japanese.
|
|
64
68
|
self.ja = ja
|
|
69
|
+
# The tool name.
|
|
65
70
|
self.name = name
|
|
71
|
+
# The description in Traditional Chinese.
|
|
66
72
|
self.tc = tc
|
|
73
|
+
# The read/write type of the tool.
|
|
67
74
|
self.type = type
|
|
75
|
+
# The description in Simplified Chinese.
|
|
68
76
|
self.zh = zh
|
|
69
77
|
|
|
70
78
|
def validate(self):
|
|
@@ -14,8 +14,11 @@ class ModifyInstanceAuthConfigRequest(DaraModel):
|
|
|
14
14
|
instance_name: str = None,
|
|
15
15
|
region_id: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The ID of the RDS Supabase instance.
|
|
17
18
|
self.config_list = config_list
|
|
19
|
+
# The region ID.
|
|
18
20
|
self.instance_name = instance_name
|
|
21
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceAuthConfig**.
|
|
19
22
|
self.region_id = region_id
|
|
20
23
|
|
|
21
24
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class ModifyInstanceAuthConfigResponseBody(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):
|
|
@@ -11,8 +11,11 @@ class ModifyInstanceAuthConfigShrinkRequest(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.config_list_shrink = config_list_shrink
|
|
16
|
+
# The region ID.
|
|
15
17
|
self.instance_name = instance_name
|
|
18
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceAuthConfig**.
|
|
16
19
|
self.region_id = region_id
|
|
17
20
|
|
|
18
21
|
def validate(self):
|
|
@@ -13,11 +13,17 @@ class ModifyInstanceConfigRequest(DaraModel):
|
|
|
13
13
|
instance_name: str = None,
|
|
14
14
|
region_id: str = None,
|
|
15
15
|
):
|
|
16
|
+
# The ID of the RDS Supabase instance.
|
|
16
17
|
self.client_token = client_token
|
|
18
|
+
# The client token that is used to ensure the idempotence of the request.
|
|
17
19
|
self.config_name = config_name
|
|
20
|
+
# The name of the configuration item that you want to modify. Configure this parameter together with the ConfigValue parameter.
|
|
18
21
|
self.config_value = config_value
|
|
22
|
+
# The region ID of the instance.
|
|
23
|
+
#
|
|
19
24
|
# This parameter is required.
|
|
20
25
|
self.instance_name = instance_name
|
|
26
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceConfig**.
|
|
21
27
|
self.region_id = region_id
|
|
22
28
|
|
|
23
29
|
def validate(self):
|
|
@@ -14,11 +14,27 @@ class ModifyInstanceIpWhitelistRequest(DaraModel):
|
|
|
14
14
|
modify_mode: str = None,
|
|
15
15
|
region_id: str = None,
|
|
16
16
|
):
|
|
17
|
+
# The method that is used to modify the IP address whitelist. Valid values:
|
|
18
|
+
#
|
|
19
|
+
# * **Cover** (default): Uses the IP addresses and CIDR blocks that are specified in the **IpWhitelist** parameter to **overwrite** the existing ones in the current whitelist.
|
|
20
|
+
# * **Append**: **Appends** the IP addresses and CIDR blocks that are specified in the **IpWhitelist** parameter to the current whitelist.
|
|
21
|
+
# * **Delete**: **Deletes** the IP addresses and CIDR blocks that are specified in the **IpWhitelist** parameter from the current whitelist. You must retain at least one IP address or CIDR block.
|
|
17
22
|
self.client_token = client_token
|
|
23
|
+
# 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.
|
|
18
24
|
self.group_name = group_name
|
|
25
|
+
# The region ID.
|
|
19
26
|
self.instance_name = instance_name
|
|
27
|
+
# The ID of the RDS Supabase instance.
|
|
20
28
|
self.ip_whitelist = ip_whitelist
|
|
29
|
+
# The IP address whitelist. Before you modify the IP address whitelist, call the DescribeInstanceIpWhitelist operation to query the existing IP address whitelist of the instance.
|
|
30
|
+
#
|
|
31
|
+
# **Configuration rules**
|
|
32
|
+
#
|
|
33
|
+
# * You can configure IP addresses (such as 10.23.XXX.XXX) or CIDR blocks (such as 10.23.XXX.XXX/24).
|
|
34
|
+
# * Separate multiple IP addresses or CIDR blocks with commas (,) and do not add spaces preceding or following the commas.
|
|
35
|
+
# * You can configure up to 1,000 IP addresses and CIDR blocks in total for each instance. If you want to add a large number of IP addresses, we recommend that you merge the IP addresses into CIDR blocks, such as 10.23.XXX.XXX/24.
|
|
21
36
|
self.modify_mode = modify_mode
|
|
37
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceIpWhitelist**.
|
|
22
38
|
self.region_id = region_id
|
|
23
39
|
|
|
24
40
|
def validate(self):
|
|
@@ -10,7 +10,9 @@ class ModifyInstanceIpWhitelistResponseBody(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):
|
|
@@ -16,11 +16,20 @@ class ModifyInstanceRAGConfigRequest(DaraModel):
|
|
|
16
16
|
region_id: str = None,
|
|
17
17
|
status: bool = None,
|
|
18
18
|
):
|
|
19
|
+
# The value of the configuration item.
|
|
19
20
|
self.client_token = client_token
|
|
21
|
+
# Specifies whether to enable the RAG agent. If you do not configure this parameter, the RAG agent state remains unchanged. Valid values:
|
|
22
|
+
#
|
|
23
|
+
# * **true**
|
|
24
|
+
# * **false**
|
|
20
25
|
self.config_list = config_list
|
|
26
|
+
# The region ID.
|
|
27
|
+
#
|
|
21
28
|
# This parameter is required.
|
|
22
29
|
self.instance_name = instance_name
|
|
30
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceRAGConfig**.
|
|
23
31
|
self.region_id = region_id
|
|
32
|
+
# The ID of the RDS Supabase instance.
|
|
24
33
|
self.status = status
|
|
25
34
|
|
|
26
35
|
def validate(self):
|
|
@@ -11,8 +11,14 @@ class ModifyInstanceRAGConfigResponseBody(DaraModel):
|
|
|
11
11
|
request_id: str = None,
|
|
12
12
|
status: str = None,
|
|
13
13
|
):
|
|
14
|
+
# The ID of the RDS Supabase instance.
|
|
14
15
|
self.instance_name = instance_name
|
|
16
|
+
# The request ID.
|
|
15
17
|
self.request_id = request_id
|
|
18
|
+
# The status of the RAG agent.
|
|
19
|
+
#
|
|
20
|
+
# * **true**
|
|
21
|
+
# * **false**
|
|
16
22
|
self.status = status
|
|
17
23
|
|
|
18
24
|
def validate(self):
|
|
@@ -13,11 +13,20 @@ class ModifyInstanceRAGConfigShrinkRequest(DaraModel):
|
|
|
13
13
|
region_id: str = None,
|
|
14
14
|
status: bool = None,
|
|
15
15
|
):
|
|
16
|
+
# The value of the configuration item.
|
|
16
17
|
self.client_token = client_token
|
|
18
|
+
# Specifies whether to enable the RAG agent. If you do not configure this parameter, the RAG agent state remains unchanged. Valid values:
|
|
19
|
+
#
|
|
20
|
+
# * **true**
|
|
21
|
+
# * **false**
|
|
17
22
|
self.config_list_shrink = config_list_shrink
|
|
23
|
+
# The region ID.
|
|
24
|
+
#
|
|
18
25
|
# This parameter is required.
|
|
19
26
|
self.instance_name = instance_name
|
|
27
|
+
# The operation that you want to perform. Set the value to **ModifyInstanceRAGConfig**.
|
|
20
28
|
self.region_id = region_id
|
|
29
|
+
# The ID of the RDS Supabase instance.
|
|
21
30
|
self.status = status
|
|
22
31
|
|
|
23
32
|
def validate(self):
|