Memodifikasi konfigurasi audit SQL pada kluster AnalyticDB for MySQL.
Deskripsi operasi
Untuk informasi mengenai titik akhir (endpoints) AnalyticDB for MySQL, lihat Endpoints.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
adb:ModifyAuditLogConfig |
update |
DBClusterLakeVersion
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| DBClusterId |
string |
Yes |
ID kluster AnalyticDB for MySQL Edisi Data Lakehouse. Catatan
Anda dapat memanggil operasi DescribeDBClusters untuk menanyakan ID semua kluster AnalyticDB for MySQL dalam suatu wilayah. |
amv-t4nj8619bz2w3**** |
| RegionId |
string |
Yes |
ID wilayah kluster. Catatan
Anda dapat memanggil operasi DescribeRegions untuk menanyakan daftar wilayah terbaru. |
cn-hangzhou |
| AuditLogStatus |
string |
Yes |
Status yang ingin Anda ubah untuk fitur audit SQL. Nilai yang valid:
Catatan
Setelah Anda menonaktifkan fitur audit SQL, semua log audit SQL akan dihapus. Anda harus menanyakan dan mengekspor log audit SQL sebelum menonaktifkan fitur tersebut. Untuk informasi selengkapnya, lihat DescribeAuditLogRecords. Saat Anda mengaktifkan kembali audit SQL, log audit yang dihasilkan sejak terakhir kali audit SQL diaktifkan tersedia untuk ditanyakan. |
on |
| EngineType |
string |
No |
Jenis mesin komputasi. Nilai yang valid:
|
XIHE |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter respons. |
||
| RequestId |
string |
ID permintaan. |
CDC59E56-BD07-56CA-A05F-B7907DE5C862 |
| UpdateSucceed |
boolean |
Menunjukkan apakah status audit SQL berhasil diperbarui. Nilai yang valid:
|
true |
Contoh
Respons sukses
JSONformat
{
"RequestId": "CDC59E56-BD07-56CA-A05F-B7907DE5C862",
"UpdateSucceed": true
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 404 | InvalidDBCluster.NotFound | The DBClusterId provided does not exist in our records. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.