All Products
Search
Document Center

OpenSearch:ModifyDataSourceDeploy

Last Updated:Jul 16, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

PUT /openapi/ha3/instances/{instanceId}/data-sources/{dataSourceName}/deploys/{deployName}

Request parameters

ParameterTypeRequiredDescriptionExample
instanceIdstringYes

The cluster ID.

ha-cn-0ju2rps6c08
deployNamestringYes

The name of the data center.

vpc_hz_domain_1
dataSourceNamestringYes

The name of the data source.

ha-cn-0ju2rps6c08_api_test
generationIdlongNo

The ID of the full index version.

1708674867
dryRunbooleanNo

Specifies whether to perform only a dry run, without performing the actual request. The system only checks the validity of the data source. Valid values: true and false.

true
bodyobjectNo

The request body.

storageobjectNo

The information about the data source.

endpointstringNo

The endpoint of the MaxCompute data source.

http://service.cn-hangzhou.maxcompute.aliyun-inc.com/api
accessKeystringNo

The AccessKey ID of the MaxCompute data source.

ak
accessSecretstringNo

The AccessKey secret of the MaxCompute data source.

as
projectstringNo

The name of the MaxCompute project that is used as the data source.

kubenest
partitionstringNo

The partition in the MaxCompute table.

ds=20220713
tablestringNo

The name of the MaxCompute table that is used as the data source.

item
namespacestringNo

The namespace. This parameter is applicable to the SARO data source used in the intranet of Alibaba Group.

dp-dev
pathstringNo

The file path in the Apsara File Storage for HDFS file system.

/ude_jobs/iflow_offline_data_access
ossPathstringNo

The Object Storage Service (OSS) path.

/opensearch
bucketstringNo

The name of the OSS bucket.

test-bucket
autoBuildIndexbooleanNo

Specifies whether to enable the automatic full indexing feature.

true
processorobjectNo

The parameters of the process.

argsstringNo

The startup parameters of the process.

{}
resourcestringNo

The resource information.

{}
extendobjectNo

The extended information.

saroobjectNo

The information about the SARO data source. This parameter is applicable to the SARO data source used in the intranet of Alibaba Group.

pathstringNo

The path of the SARO data source.

/
versionstringNo

The version number of the SARO data source.

1
hdfsobjectNo

The information about the Apsara File Storage for HDFS data source.

pathstringNo

The path of the Apsara File Storage for HDFS data source.

ymsh-service/src/main/java/cn/ymsh/util/jd
odpsobjectNo

The information about the MaxCompute data source.

partitionsobjectNo

The partitions in the MaxCompute table.

stringNo

The partition in the MaxCompute table.

ds=20230824
ossobjectNo

The information about the OSS data source.

pathstringNo

The path of the OSS data source.

oss://test
swiftobjectNo

The information about the incremental data source Swift.

zkstringNo

zk

zk
topicstringNo

The topic.

ha-cn-0ju2rps6c08_api

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

The request ID.

93A9E542-8CF8-5BA6-99AB-94C0FE520429
resultobject

The result.

{}

Examples

Sample success responses

JSONformat

{
  "requestId": "93A9E542-8CF8-5BA6-99AB-94C0FE520429",
  "result": {}
}

Error codes

For a list of error codes, visit the Service error codes.