Updates information for a data source. Its type and workspace cannot be changed.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
featurestore:UpdateDatasource |
update |
*All Resource
|
None | None |
Request syntax
PUT /api/v1/instances/{InstanceId}/datasources/{DatasourceId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
The instance ID. You can obtain the ID by calling the ListInstances operation. |
fs-cn-******** |
| DatasourceId |
string |
Yes |
The data source ID. You can obtain the ID by calling the ListDatasources operation. |
3 |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| Name |
string |
Yes |
The data source name. |
datasource1 |
| Uri |
string |
Yes |
The resource URI. |
igraph_instance1 |
| Config |
string |
No |
The resource configuration. |
{"address": ""} |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response body. |
||
| RequestId |
string |
The request ID. |
C33E160C-BFCA-5719-B958-942850E949F6 |
Examples
Success response
JSON format
{
"RequestId": "C33E160C-BFCA-5719-B958-942850E949F6"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.