Sets the intelligent rate limiting threshold for a site.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:SetAutomaticFrequencyControlConfig |
none |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The ID of the site. You can obtain the ID by calling the ListSites operation. |
123456**** |
| SiteVersion |
integer |
No |
The version number of the site. For sites with version management enabled, you can use this parameter to specify the site version to which the configuration applies. Default value: 0. |
0 |
| Enable |
string |
Yes |
Specifies whether to enable the feature. Valid values:
Valid values:
|
on |
| Level |
string |
Yes |
The protection level. Valid values:
Valid values:
|
normal |
| ActionType |
string |
Yes |
The action to perform. Valid values:
Valid values:
|
js |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
F32C57AA-7BF8-49AE-A2CC-9F42390F5A19 |
| Enable |
string |
Specifies whether to enable the feature. Valid values:
|
on |
| Level |
string |
The protection level. Valid values:
|
normal |
| ActionType |
string |
The action to perform. Valid values:
|
js |
Examples
Success response
JSON format
{
"RequestId": "F32C57AA-7BF8-49AE-A2CC-9F42390F5A19",
"Enable": "on",
"Level": "normal",
"ActionType": "js"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 500 | InternalError | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.