v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Updates the configuration or properties of an existing direct query data source in Amazon OpenSearch Service.

put/2021-01-01/opensearch/directQueryDataSource/{DataSourceName}

Path parameters

DataSourceNamestring required

A unique, user-defined label to identify the data source within your OpenSearch Service environment.

Request body

Descriptionstring

An optional text field for providing additional context and details about the data source.

OpenSearchArnsARN[]

An optional list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source. This field is required for CloudWatchLogs and SecurityLake datasource types.

DataSourceAccessPolicystring

Access policy rules for an Amazon OpenSearch Service domain endpoint. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/createupdatedomains.html#createdomain-configure-access-policies">Configuring access policies</a>. The maximum size of a policy document is 100 KB.

Response

Success

DataSourceArnstring

The unique, system-generated identifier that represents the data source.