All Products
Search
Document Center

Cloud Config:StopConfigurationRecorder

Last Updated:Jul 02, 2024

Deactivates Cloud Config.

Operation description

Note After you deactivate Cloud Config, the resource configurations, created rules, and compliance evaluation results that are stored in Cloud Config are automatically cleared and cannot be restored. Proceed with caution.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

For more information about common request parameters, see Common parameters.

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D
StopConfigurationRecorderResultboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "AB2E892E-8A43-5B0F-8FE3-B53ADA53CB2D",
  "StopConfigurationRecorderResult": true
}

Error codes

HTTP status codeError codeError messageDescription
400AdminStopSLRFailThe administrator account is prohibited from closing the service without completely removing the aggregators.The administrator account is not allowed to deactivate the service if the account group is not completely deleted.
400MemberStopSLRFailThe member exists in the aggregator, and it is forbidden to close the service.The member account exists in the account group. Therefore, Cloud Config cannot be deactivated.
400StopSLRFailStop config service fail.Failed to deactivate Cloud Config.

For a list of error codes, visit the Service error codes.