You need to enable JavaScript to run this app.
配置审计

配置审计

复制全文
配置记录器
StartConfigurationRecorder - 开启配置记录器
复制全文
StartConfigurationRecorder - 开启配置记录器

开启配置记录器

请求参数

下表仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数

参数
类型
是否必填
示例值
描述
Action
String

StartConfigurationRecorder

要执行的操作,取值:StartConfigurationRecorder。

Version
String

2025-01-01

API的版本,取值:2025-01-01。

RecorderType
String

配置记录器类型(SingleAccount-单账号配置记录器,Organization-组织配置记录器)

返回参数

下表仅列出本接口特有的返回参数。更多信息请参见返回结构

参数
类型
示例值
描述
RecorderId
String

配置记录器 ID

ConfigurationRecorderStatus
String

配置记录器状态

请求示例

POST /?Action=StartConfigurationRecorder&Version=2025-01-01 HTTP/1.1
Host: config.volcengineapi.com
Content-Type: application/json; charset=UTF-8
X-Date: 20251114T040913Z
X-Content-Sha256: 287e874e******d653b44d21e
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20251114/cn-beijing/config/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f

{
  "RecorderType": "SingleAccount"
}

返回示例

{
  "ResponseMetadata": {
    "RequestId": "2025111412093725111510512122C3A9",
    "Action": "StartConfigurationRecorder",
    "Version": "2025-01-01",
    "Service": "config",
    "Region": "cn-beijing"
  },
  "Result": {
    "RecorderId": "0198e557-7445-77e2-bb58-34792d089e90",
    "ConfigurationRecorderStatus": "PendingEnable"
  }
}

错误码

下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。

状态码
错误码
错误信息
说明
400
ConcurrentException

The operations frequency exceeds limit, please retry later.

500
InternalError

The request has failed due to an unknown error.

最近更新时间:2025.11.25 19:35:26
这个页面对您有帮助吗?
有用
有用
无用
无用