v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Returns detailed configuration information for a specific direct query data source in Amazon OpenSearch Service.

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

Path parameters

DataSourceNamestring required

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

Response

Success

DataSourceNamestring

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

Descriptionstring

A description that provides additional context and details about the data source.

OpenSearchArnsARN[]

A list of Amazon Resource Names (ARNs) for the OpenSearch collections that are associated with the direct query data source.

DataSourceAccessPolicystring

The IAM access policy document that defines the permissions for accessing the direct query data source. Returns the current policy configuration in JSON format, or null if no custom policy is configured.

DataSourceArnstring

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