Checks whether the SQL collection feature is enabled for an AnalyticDB for PostgreSQL instance.

Request parameters

Parameter Type Required Description
<Common request parameters> N/A Yes For more information, see Common parameters.
Action String Yes The operation that you want to perform. Set the value to DescribeSQLCollectorPolicy.
DBInstanceId String Yes The ID of the instance.

Response parameters

Parameter Type Description
<Common response parameters> For more information, see Common response parameters.
SQLCollectorStatus String
  • Enabled: SQL collection is enabled.
  • Disabled: SQL collection is disabled.

Sample requests
&<Common request parameters>

Sample success responses

XML format


JSON format