Mengaktifkan log aliran dan mulai menangkap trafik sumber daya yang ditentukan.
Deskripsi operasi
- Operasi ActiveFlowLog bersifat asinkron. Setelah Anda memanggil operasi ini, sistem mengembalikan ID permintaan, tetapi log aliran belum diaktifkan karena tugas aktivasi masih berjalan di latar belakang. Anda dapat memanggil DescribeFlowLogs untuk mengkueri status aktivasi log aliran:
Jika log aliran berada dalam status Activating, log aliran sedang diaktifkan.
Jika log aliran berada dalam status Active, log aliran telah diaktifkan.
Operasi ActiveFlowLog tidak mendukung aktivasi konkuren untuk log aliran yang sama.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
vpc:ActiveFlowLog |
update |
*FlowLog
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
ID wilayah log aliran. Anda dapat memanggil DescribeRegions untuk mengkueri ID wilayah. |
cn-qingdao |
| FlowLogId |
string |
Yes |
ID log aliran. |
fl-m5e8vhz2t21sel1nq**** |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| Success |
string |
Apakah panggilan berhasil.
|
true |
| RequestId |
string |
ID permintaan. |
F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1 |
Contoh
Respons sukses
JSONformat
{
"Success": "true",
"RequestId": "F7DDDC17-FA06-4AC2-8F35-59D2470FCFC1"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IncorrectBusinessStatus.FlowLog | The business status of flowLog is incorrect. | |
| 400 | InvalidInstanceId | Instance does not exist. | Instans tidak ada. |
| 400 | InvalidStatus | Current instance status is not valid for this action. | |
| 400 | InvalidRegionId.NotFound | The RegionId provided does not exist in our records. | |
| 400 | InvalidInstanceId.NotFound | The specfied instance is not existed. | |
| 400 | IncorrectStatus.flowlog | Invalid flowlog status. | Status flow log tidak valid dan flow log tidak dapat dihentikan. |
| 400 | Forbidden.OperateManagedFlowLog | Authentication is failed for operate managed flowlog. | Autentikasi gagal saat mengoperasikan flow log terkelola. |
| 400 | OperationDenied.FlowLogDeliverFailed | The operation is not allowed due to an invalid delivery address. | Alamat pengiriman flow log tidak valid dan flow log tidak dapat dimulai. |
| 400 | OperationDenied.NisTrafficAnalyzerAggregationIntervalMismatch | The sampling interval of the FlowLog is greater than the sampling interval of the NIS Traffic Analyzer. | Interval sampling FlowLog lebih besar daripada interval sampling NIS Traffic Analyzer. |
| 400 | OperationDenied.NisTrafficAnalyzerNotActive | The specified NIS Traffic Analyzer is not enabled. | NIS Traffic Analyzer yang ditentukan tidak diaktifkan. |
| 400 | OperationDenied.NisTrafficAnalyzerNotFound | The specified NIS Traffic Analyzer does not exist. | NIS Traffic Analyzer yang ditentukan tidak ada. |
| 400 | OperationFailed.InternalError | The request processing has failed due to some unknown error. | Terjadi error yang tidak diketahui. Coba ulangi operasi. Jika error tetap berlanjut, kirimkan tiket untuk dukungan teknis. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.