This API is used to enable or disable SQL collection for the specified RDS instance.

Request parameters

Name Type Required or not Description
Action String Yes Required parameter. Value: ModifySQLCollectorPolicy.
DBInstanceId String Yes Instance ID
SQLCollectorStatus String Yes
  • Enable: SQL collection is enabled.
  • Disabled: SQL collection is disabled.

Return parameters

Name Type Description
<Public Return Parameters> -  For more information, see Public parameters.