关闭配置审计服务。
接口说明
说明
当您关闭配置审计服务后,配置审计中存储的资源配置数据、已创建的规则和合规结果将自动被清空且不可恢复,请您慎重操作。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
config:StopConfigurationRecorder |
update |
*全部资源
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
关于公共请求参数的详情,请参见公共参数。
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| RequestId |
string |
请求 ID。 |
AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D |
| StopConfigurationRecorderResult |
boolean |
关闭配置审计服务的结果。取值:
|
true |
示例
正常返回示例
JSON格式
{
"RequestId": "AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D",
"StopConfigurationRecorderResult": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | AdminStopSLRFail | The administrator account is prohibited from closing the service without completely removing the aggregators. | |
| 400 | MemberStopSLRFail | The member exists in the aggregator, and it is forbidden to close the service. | |
| 400 | StopSLRFail | Stop config service fail. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。