Queries the information about an AnalyticDB Pipeline Service (APS) data source.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| RegionId | string | Yes | The region ID. | cn-beijing |
| DBClusterId | string | Yes | The ID of the AnalyticDB for MySQL cluster. | am-******* |
| DatasourceId | long | Yes | The data source ID. | 1 |
Response parameters
Examples
Sample success responses
JSONformat
{
"RequestId": "******-**D8-5***-A***-****587",
"ApsDatasource": {
"DatasourceName": "kafka-2024***",
"CreateTime": "2024-04-12T15:03:38Z",
"DatasourceType": "KAFKA",
"DatasourceDescription": "test",
"SlsInfo": {
"SourceRegionId": "cn-hangzhou",
"Project": "***",
"Store": "***",
"Across": false,
"AcrossUid": 123456,
"AcrossRole": "test"
},
"KafkaInfo": {
"KafkaClusterId": "-",
"KafkaTopic": "[{'value': 'hongxian_test'}]"
},
"HiveInfo": {
"MetaStoreUri": "-",
"Vswitch": "vsw-******",
"SecurityGroup": "sg-******",
"EmrClusterId": "-"
},
"RdsMysqlInfo": {
"UserName": "-",
"RegionId": "-",
"InstanceId": "-",
"ConnectUrl": "-",
"SecurityGroup": "-"
},
"PolarDBMysqlInfo": {
"UserName": "-",
"RegionId": "-",
"InstanceId": "-",
"ConnectUrl": "-",
"SecurityGroup": "-",
"Across": true,
"AcrossUid": "-",
"AcrossRole": "-"
},
"DBClusterId": "amv-******",
"DatabricksInfo": {
"accessToken": "******",
"workspaceURL": "-"
}
}
}Error codes
| HTTP status code | Error code | Error message |
|---|---|---|
| 400 | InvalidInput | The specified parameter is invalid. |
For a list of error codes, visit the Service error codes.
