Updates an Object Storage Service (OSS) external store.
Operation description
Debugging
Authorization information
Request syntax
PUT /externalstores/{externalStoreName} HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
externalStoreName | string | Yes | The name of the external store. | test-oss-store |
body | object | Yes | The body of the request. | |
externalStoreName | string | Yes | The name of the external store. | test-oss-store |
storeType | string | Yes | The type of the external store. Set the value to oss. | oss |
parameter | object | Yes | The parameters that are configured for the external store. | |
accessid | string | Yes | The AccessKey ID of your account. | LTAI5tFsHGGeYry*****1Sz |
accesskey | string | Yes | The AccessKey secret of your account. | GyviCLDVHkHrOztdkxuE6******Rp6 |
endpoint | string | Yes | The Object Storage Service (OSS) endpoint. | oss-cn-hangzhou.aliyuncs.com |
bucket | string | Yes | The name of the OSS bucket. | my-bucket |
objects | array | Yes | The names of the OSS objects that are associated to the external store. | |
string | No | The name of the OSS object that is associated to the external store. | file-name | |
columns | array<object> | Yes | The fields that are associated to the external store. | |
object | No | |||
name | string | Yes | The name of the field. | test |
type | string | Yes | The type of the field. | varchar |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.