Enables a public domain name for a Mem0 instance.
Operation description
This operation is used to confirm that no active connections exist before a rollback task, to ensure operation safety.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region in which the instance resides. |
cn-shanghai |
| DBInstanceName |
string |
Yes |
The name of the instance. |
pxc-spsil01pww4hfz |
| ConnectionStringPrefix |
string |
Yes |
The prefix of the public network connection string. |
pxc-************** |
| Port |
string |
Yes |
The port number. |
3306 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
Id of the request |
A501A191-BD70-5E50-98A9-C2A486A82**** |
| AccessDeniedDetail |
object |
The details about the access denial. |
|
| AuthAction |
string |
As described above. |
xxx |
| AuthPrincipalType |
string |
As described above. |
222 |
| AuthPrincipalOwnerId |
string |
As described above. |
111 |
| AuthPrincipalDisplayName |
string |
The identity used for authentication in the request. |
xxx |
| PolicyType |
string |
PolicyType |
PRIORITY |
| NoPermissionType |
string |
NoPermissionType |
ImplicitDeny |
| EncodedDiagnosticMessage |
string |
The encoded diagnostic message. |
AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg== |
Examples
Success response
JSON format
{
"RequestId": "A501A191-BD70-5E50-98A9-C2A486A82****",
"AccessDeniedDetail": {
"AuthAction": "xxx",
"AuthPrincipalType": "222",
"AuthPrincipalOwnerId": "111",
"AuthPrincipalDisplayName": "xxx",
"PolicyType": "PRIORITY",
"NoPermissionType": "ImplicitDeny",
"EncodedDiagnosticMessage": "AQEAAAAAaKPfwjY0MzMyODRGLUZCQkQtNTA1RS04MUUxLTc5NTkzODk2MUIzMg=="
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.