Updates an Object Storage Service (OSS) external store.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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. | LTAI**************** |
accesskey | string | Yes | The AccessKey secret. | yourAccessKeySecret |
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 associated OSS objects. | |
string | No | The name of the associated OSS object. | file-name | |
columns | array<object> | Yes | The associated fields. | |
object | No | The associated field. | ||
name | string | Yes | The name of the field. | test |
type | string | Yes | The data 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.