Mengatur Status Perlindungan Aturan Serangan DDoS HTTP yang Ditentukan
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:SetHttpDDoSAttackRuleStatus |
update |
*Site
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
ID Situs, yang dapat diperoleh dengan memanggil antarmuka ListSites. |
123456**** |
| RuleIds |
string |
Yes |
Daftar ID aturan yang akan dioperasikan, dipisahkan dengan koma bahasa Inggris (,). Catatan
Anda dapat memanggil antarmuka DescribeHttpDDoSAttackRules untuk mendapatkan parameter ini. |
87570 |
| Status |
string |
Yes |
Status aturan
|
on |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Skema respons |
||
| RequestId |
string |
ID permintaan |
F7B84CF8-F8A4-53F8-9B91-2643FD72042B |
Contoh
Respons sukses
JSONformat
{
"RequestId": "F7B84CF8-F8A4-53F8-9B91-2643FD72042B"
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter.SiteId | The specified SiteId is invalid. | |
| 400 | ErrSiteIdNoteEnterprise | This feature is unavailable because your website is not associated with an Enterprise plan. Upgrade your plan to Enterprise. | |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | |
| 403 | SiteIdDDoSVersionCheckFailed | SiteId DDoS version check failed. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.