ID に基づいて WAF ルールセットを更新します。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
esa:UpdateWafRuleset |
update |
*Site
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SiteId |
integer |
任意 |
サイトの ID。この ID は ListSites API を呼び出すことで取得できます。 |
1 |
| SiteVersion |
integer |
任意 |
サイト構成のバージョン番号。構成バージョン管理が有効になっているサイトの場合、このパラメーターは更新するバージョンを指定します。デフォルト値は 0 です。 |
0 |
| Id |
integer |
必須 |
WAF ルールセットの ID。この ID は ListWafRulesets API を呼び出すことで取得できます。 |
10000001 |
| Status |
string |
任意 |
ルールセットのターゲットステータス。 |
on |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答スキーマ。 |
||
| RequestId |
string |
リクエスト ID。 |
36af3fcc-43d0-441c-86b1-428951dc8225 |
例
成功レスポンス
JSONJSON
{
"RequestId": "36af3fcc-43d0-441c-86b1-428951dc8225"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid. | |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | |
| 400 | SpecifiedVersionReadOnly | The specified version number is read-only and cannot be modified. | |
| 403 | %s.NotSupport | The specified resource type %s is not supported. | |
| 403 | %s.OverQuota | The quantity of %s exceeds the quota. | |
| 403 | %s.WrongValueMatched | The value of specified parameter %s can not pass the matching check. | 需要手动添加日文描述 |
| 403 | Ruleset.NotExist | The specified rule set does not exist or has not been registered in the system.Check whether the specified rule set identifier is valid and matches a rule set that has been correctly defined and maintained by the system's rule set registry.If you want to add a new rule set, make sure that the creation and registration process is complete to bring the rule set into effect. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。