Updates a waiting room event.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
esa:UpdateWaitingRoomEvent |
update |
*Site
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SiteId |
integer |
Yes |
The website ID, which can be obtained by calling the ListSites operation. |
123456**** |
| WaitingRoomEventId |
integer |
Yes |
The ID of the waiting room event, which can be obtained by calling the ListWaitingRoomEvents operation. |
89677721098**** |
| Enable |
string |
No |
Specifies whether to enable the waiting room event. Valid values:
|
on |
| Name |
string |
No |
The name of the waiting room event. |
测试事件2 |
| TotalActiveUsers |
string |
No |
The maximum number of active users. |
200 |
| NewUsersPerMinute |
string |
No |
The maximum number of new users per minute. |
300 |
| SessionDuration |
string |
No |
The maximum duration for which a session remains valid after a user leaves the origin. Unit: minutes. |
5 |
| DisableSessionRenewalEnable |
string |
No |
Specifies whether to disable session renewal. Valid values:
|
off |
| QueuingMethod |
string |
No |
The queuing method. Valid values:
|
fifo |
| QueuingStatusCode |
string |
No |
The HTTP status code to return while a user is in the queue. Valid values:
|
200 |
| JsonResponseEnable |
string |
No |
Specifies whether to enable JSON response. Valid values:
|
off |
| Description |
string |
No |
The description of the waiting room. |
http://yywyyw.com |
| WaitingRoomType |
string |
No |
The type of the waiting room. Valid values:
|
custom |
| CustomPageHtml |
string |
No |
The content of the custom waiting room page. You must specify this parameter if you set WaitingRoomType to custom. The content must be Base64-encoded. |
SGVsbG8gd29ybGQ= |
| StartTime |
string |
No |
The start time of the event. This value is a UNIX timestamp. |
1719763200 |
| EndTime |
string |
No |
The end time of the event. This value is a UNIX timestamp. |
1719849600 |
| PreQueueEnable |
string |
No |
Specifies whether to enable pre-queuing.
|
on |
| PreQueueStartTime |
string |
No |
The start time for pre-queuing. |
1719763200 |
| RandomPreQueueEnable |
string |
No |
Specifies whether to enable random queuing.
|
on |
| Language |
string |
No |
The default language. Valid values:
|
enus |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
0195619f-eab3-4a66-ac00-ed53d913e72e |
Examples
Success response
JSON format
{
"RequestId": "0195619f-eab3-4a66-ac00-ed53d913e72e"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | CompileRuleError | Rule compilation failed, please check the rule information passed in to ensure that the rule is written according to the syntax described in the document. | Rule compilation failed. Check the incoming rule configuration. For details, see the rule configuration format described in the interface document. |
| 400 | SiteConfigLengthExceedLimit | The overall configuration size of the site exceeds the limit, and the total size of all functional configurations of the site cannot exceed 512K. | The size of the site configuration exceeds the limit, and the total size cannot exceed 512K. |
| 400 | ConfigConflicts | Configuration conflicts, usually when multiple configurations are configured under the same function of the same site, such as duplicate rule names between multiple configurations. | The parameter uniqueness check failed. Check for duplicate parameter values. |
| 400 | RuleRegexQuotaCheckFailed | When configuring rules, rules with regular expressions are not allowed in this plan. Please check the relevant documentation of the plan or upgrade the plan. | The current plan does not support the configuration of a rule engine with a regular expression. Please check the plan description and upgrade your plan. |
| 400 | NestedRuleQuotaCheckFailed | The nesting level of rules allowed by the plan failed to be verified. Please modify the nesting level of rules or upgrade the plan. | The number of embedded sub-conditions in the rule exceeds the plan limit. Please check the plan description and upgrade your plan. |
| 400 | ServiceInvokeFailed | The call to the internal service failed. The engineer is resolving the problem. Please wait a moment before trying, or contact customer service for details. | Failed to call the service. Please try again later or contact customer service for details. |
| 400 | FunctionConflict | The feature configuration conflicts. Sites with version management enabled cannot configure this feature. | The currently configured function conflicts with other functions. If you need to configure, delete the conflicting function configurations first. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InvalidParameter.ArgName | Invalid ArgName. Check your website configuration parameters and make sure that they match the supported features and parameter names listed in the official documentation. | Invalid ArgName. Check your website configuration parameters and make sure that they match the supported features and parameter names listed in the official documentation. |
| 400 | InvalidParameter.ArgValue | Invalid parameter value. Check whether the value format and length meet the requirements. | Invalid parameter value. Check whether the value format and length meet the requirements. |
| 400 | InstanceNotExist | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. | The instance does not exist. Check whether the specified instance ID is correct or whether the instance belongs to your account. |
| 400 | LockFailed | The system is handling requests you previously submitted. Try again later. | The system is handling requests you previously submitted. Try again later. |
| 400 | InvalidConfigId | The input configuration ID: ConfigId it does not exist, query the existing configuration and its valid ConfigId through the ListSiteFunction. | The ConfigId does not exist. |
| 400 | WaitingRoomEventNotExist | The waiting room event that you want to modify does not exist. Specify a valid one. | The waiting room event that you want to modify does not exist. Specify a valid one. |
| 400 | FunctionQuotaCheckFailed | The quota verification for this function fails. It may be that the configuration of this function exceeds the limit of the site plan. Please check the plan introduction document corresponding to this site. | The current plan does not support the configuration of restricted functions, please check the plan related function description. |
| 400 | QuotaCheckFailed.FunctionArg | The specified feature parameter is not allowed in your plan, or the feature parameter configurations have reached the upper limit in your plan. | The specified feature parameter is not allowed in your plan, or the feature parameter configurations have reached the upper limit in your plan. |
| 404 | SiteNotFound | The website does not exist or does not belong to you. | The website does not exist or does not belong to you. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.