alibabacloud-rdsai20250507 2.0.3__py3-none-any.whl → 2.1.0__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 +114 -0
- alibabacloud_rdsai20250507/models/__init__.py +10 -0
- alibabacloud_rdsai20250507/models/_chat_messages_request.py +13 -0
- alibabacloud_rdsai20250507/models/_chat_messages_response_body.py +9 -0
- alibabacloud_rdsai20250507/models/_chat_messages_shrink_request.py +13 -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 +14 -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 +17 -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 +11 -0
- alibabacloud_rdsai20250507/models/_get_messages_response_body.py +63 -1
- 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_instances_sslrequest.py +77 -0
- alibabacloud_rdsai20250507/models/_modify_instances_sslresponse.py +54 -0
- alibabacloud_rdsai20250507/models/_modify_instances_sslresponse_body.py +43 -0
- alibabacloud_rdsai20250507/models/_modify_instances_sslshrink_request.py +75 -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.3.dist-info → alibabacloud_rdsai20250507-2.1.0.dist-info}/METADATA +2 -2
- {alibabacloud_rdsai20250507-2.0.3.dist-info → alibabacloud_rdsai20250507-2.1.0.dist-info}/RECORD +81 -77
- {alibabacloud_rdsai20250507-2.0.3.dist-info → alibabacloud_rdsai20250507-2.1.0.dist-info}/LICENSE +0 -0
- {alibabacloud_rdsai20250507-2.0.3.dist-info → alibabacloud_rdsai20250507-2.1.0.dist-info}/WHEEL +0 -0
- {alibabacloud_rdsai20250507-2.0.3.dist-info → alibabacloud_rdsai20250507-2.1.0.dist-info}/top_level.txt +0 -0
|
@@ -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):
|
|
@@ -109,11 +117,17 @@ class DescribeEventsListResponseBodyEvents(DaraModel):
|
|
|
109
117
|
recovery_time: str = None,
|
|
110
118
|
region_id: str = None,
|
|
111
119
|
):
|
|
120
|
+
# The event code.
|
|
112
121
|
self.event_code = event_code
|
|
122
|
+
# The state of the event.
|
|
113
123
|
self.event_status = event_status
|
|
124
|
+
# The event.
|
|
114
125
|
self.event_time_list = event_time_list
|
|
126
|
+
# The description of the instance.
|
|
115
127
|
self.instance_description = instance_description
|
|
128
|
+
# The instance ID.
|
|
116
129
|
self.instance_id = instance_id
|
|
130
|
+
# The recovery time.
|
|
117
131
|
self.recovery_time = recovery_time
|
|
118
132
|
self.region_id = region_id
|
|
119
133
|
|
|
@@ -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):
|
|
@@ -15,9 +15,13 @@ class DescribeInstanceEndpointsResponseBody(DaraModel):
|
|
|
15
15
|
instance_name: str = None,
|
|
16
16
|
request_id: str = None,
|
|
17
17
|
):
|
|
18
|
+
# The information about the endpoints of the RDS instance.
|
|
18
19
|
self.dbinstance_endpoints = dbinstance_endpoints
|
|
20
|
+
# The information about the endpoints of the RDS Supabase instance.
|
|
19
21
|
self.instance_endpoints = instance_endpoints
|
|
22
|
+
# The ID of the RDS Supabase instance.
|
|
20
23
|
self.instance_name = instance_name
|
|
24
|
+
# The request ID.
|
|
21
25
|
self.request_id = request_id
|
|
22
26
|
|
|
23
27
|
def validate(self):
|
|
@@ -83,9 +87,16 @@ class DescribeInstanceEndpointsResponseBodyInstanceEndpoints(DaraModel):
|
|
|
83
87
|
ip_type: str = None,
|
|
84
88
|
port: str = None,
|
|
85
89
|
):
|
|
90
|
+
# The endpoint of the RDS Supabase instance.
|
|
86
91
|
self.connection_string = connection_string
|
|
92
|
+
# The IP address used to access the RDS Supabase instance.
|
|
87
93
|
self.ip = ip
|
|
94
|
+
# The network type of the RDS Supabase instance. Valid values:
|
|
95
|
+
#
|
|
96
|
+
# * **public**: Internet
|
|
97
|
+
# * **vpc**: VPC
|
|
88
98
|
self.ip_type = ip_type
|
|
99
|
+
# The port used to access the RDS Supabase instance.
|
|
89
100
|
self.port = port
|
|
90
101
|
|
|
91
102
|
def validate(self):
|
|
@@ -133,8 +144,14 @@ class DescribeInstanceEndpointsResponseBodyDBInstanceEndpoints(DaraModel):
|
|
|
133
144
|
ip_type: str = None,
|
|
134
145
|
port: str = None,
|
|
135
146
|
):
|
|
147
|
+
# The endpoint of the RDS instance.
|
|
136
148
|
self.connection_string = connection_string
|
|
149
|
+
# The network type of the RDS instance. Valid values:
|
|
150
|
+
#
|
|
151
|
+
# * **public**: Internet
|
|
152
|
+
# * **vpc**: VPC
|
|
137
153
|
self.ip_type = ip_type
|
|
154
|
+
# The port used to access the RDS instance.
|
|
138
155
|
self.port = port
|
|
139
156
|
|
|
140
157
|
def validate(self):
|
|
@@ -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):
|
|
@@ -8,11 +8,16 @@ class GetMessagesRequest(DaraModel):
|
|
|
8
8
|
def __init__(
|
|
9
9
|
self,
|
|
10
10
|
conversation_id: str = None,
|
|
11
|
+
event_mode: str = None,
|
|
11
12
|
first_id: str = None,
|
|
12
13
|
limit: int = None,
|
|
13
14
|
):
|
|
15
|
+
# The operation that you want to perform. Set the value to **GetMessages**.
|
|
14
16
|
self.conversation_id = conversation_id
|
|
17
|
+
self.event_mode = event_mode
|
|
18
|
+
# The ID of the conversation.
|
|
15
19
|
self.first_id = first_id
|
|
20
|
+
# The ID of the first message.
|
|
16
21
|
self.limit = limit
|
|
17
22
|
|
|
18
23
|
def validate(self):
|
|
@@ -26,6 +31,9 @@ class GetMessagesRequest(DaraModel):
|
|
|
26
31
|
if self.conversation_id is not None:
|
|
27
32
|
result['ConversationId'] = self.conversation_id
|
|
28
33
|
|
|
34
|
+
if self.event_mode is not None:
|
|
35
|
+
result['EventMode'] = self.event_mode
|
|
36
|
+
|
|
29
37
|
if self.first_id is not None:
|
|
30
38
|
result['FirstId'] = self.first_id
|
|
31
39
|
|
|
@@ -39,6 +47,9 @@ class GetMessagesRequest(DaraModel):
|
|
|
39
47
|
if m.get('ConversationId') is not None:
|
|
40
48
|
self.conversation_id = m.get('ConversationId')
|
|
41
49
|
|
|
50
|
+
if m.get('EventMode') is not None:
|
|
51
|
+
self.event_mode = m.get('EventMode')
|
|
52
|
+
|
|
42
53
|
if m.get('FirstId') is not None:
|
|
43
54
|
self.first_id = m.get('FirstId')
|
|
44
55
|
|
|
@@ -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):
|
|
@@ -72,21 +76,33 @@ class GetMessagesResponseBodyData(DaraModel):
|
|
|
72
76
|
answer: str = None,
|
|
73
77
|
conversation_id: str = None,
|
|
74
78
|
created_at: str = None,
|
|
79
|
+
events: List[main_models.GetMessagesResponseBodyDataEvents] = None,
|
|
75
80
|
feedback: str = None,
|
|
76
81
|
id: str = None,
|
|
77
82
|
query: str = None,
|
|
78
83
|
retriever_resources: List[Any] = None,
|
|
79
84
|
):
|
|
85
|
+
# The response to the query.
|
|
80
86
|
self.answer = answer
|
|
87
|
+
# The ID of the conversation.
|
|
81
88
|
self.conversation_id = conversation_id
|
|
89
|
+
# The creation time of the conversation.
|
|
82
90
|
self.created_at = created_at
|
|
91
|
+
self.events = events
|
|
92
|
+
# The feedback.
|
|
83
93
|
self.feedback = feedback
|
|
94
|
+
# The message ID.
|
|
84
95
|
self.id = id
|
|
96
|
+
# The query statement.
|
|
85
97
|
self.query = query
|
|
98
|
+
# The retriever resources.
|
|
86
99
|
self.retriever_resources = retriever_resources
|
|
87
100
|
|
|
88
101
|
def validate(self):
|
|
89
|
-
|
|
102
|
+
if self.events:
|
|
103
|
+
for v1 in self.events:
|
|
104
|
+
if v1:
|
|
105
|
+
v1.validate()
|
|
90
106
|
|
|
91
107
|
def to_map(self):
|
|
92
108
|
result = dict()
|
|
@@ -102,6 +118,11 @@ class GetMessagesResponseBodyData(DaraModel):
|
|
|
102
118
|
if self.created_at is not None:
|
|
103
119
|
result['CreatedAt'] = self.created_at
|
|
104
120
|
|
|
121
|
+
result['Events'] = []
|
|
122
|
+
if self.events is not None:
|
|
123
|
+
for k1 in self.events:
|
|
124
|
+
result['Events'].append(k1.to_map() if k1 else None)
|
|
125
|
+
|
|
105
126
|
if self.feedback is not None:
|
|
106
127
|
result['Feedback'] = self.feedback
|
|
107
128
|
|
|
@@ -127,6 +148,12 @@ class GetMessagesResponseBodyData(DaraModel):
|
|
|
127
148
|
if m.get('CreatedAt') is not None:
|
|
128
149
|
self.created_at = m.get('CreatedAt')
|
|
129
150
|
|
|
151
|
+
self.events = []
|
|
152
|
+
if m.get('Events') is not None:
|
|
153
|
+
for k1 in m.get('Events'):
|
|
154
|
+
temp_model = main_models.GetMessagesResponseBodyDataEvents()
|
|
155
|
+
self.events.append(temp_model.from_map(k1))
|
|
156
|
+
|
|
130
157
|
if m.get('Feedback') is not None:
|
|
131
158
|
self.feedback = m.get('Feedback')
|
|
132
159
|
|
|
@@ -141,3 +168,38 @@ class GetMessagesResponseBodyData(DaraModel):
|
|
|
141
168
|
|
|
142
169
|
return self
|
|
143
170
|
|
|
171
|
+
class GetMessagesResponseBodyDataEvents(DaraModel):
|
|
172
|
+
def __init__(
|
|
173
|
+
self,
|
|
174
|
+
answer: str = None,
|
|
175
|
+
event: str = None,
|
|
176
|
+
):
|
|
177
|
+
self.answer = answer
|
|
178
|
+
self.event = event
|
|
179
|
+
|
|
180
|
+
def validate(self):
|
|
181
|
+
pass
|
|
182
|
+
|
|
183
|
+
def to_map(self):
|
|
184
|
+
result = dict()
|
|
185
|
+
_map = super().to_map()
|
|
186
|
+
if _map is not None:
|
|
187
|
+
result = _map
|
|
188
|
+
if self.answer is not None:
|
|
189
|
+
result['answer'] = self.answer
|
|
190
|
+
|
|
191
|
+
if self.event is not None:
|
|
192
|
+
result['event'] = self.event
|
|
193
|
+
|
|
194
|
+
return result
|
|
195
|
+
|
|
196
|
+
def from_map(self, m: dict = None):
|
|
197
|
+
m = m or dict()
|
|
198
|
+
if m.get('answer') is not None:
|
|
199
|
+
self.answer = m.get('answer')
|
|
200
|
+
|
|
201
|
+
if m.get('event') is not None:
|
|
202
|
+
self.event = m.get('event')
|
|
203
|
+
|
|
204
|
+
return self
|
|
205
|
+
|
|
@@ -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):
|