v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1496640547.5 KB

Creates a new direct-query data source to the specified domain. For more information, see <a href="https://docs.aws.amazon.com/opensearch-service/latest/developerguide/direct-query-s3-creating.html">Creating Amazon OpenSearch Service data source integrations with Amazon S3</a>.

post/2021-01-01/opensearch/domain/{DomainName}/dataSource

Path parameters

DomainNamestring required

The name of an OpenSearch Service domain. Domain names are unique across the domains owned by an account within an Amazon Web Services Region.

The name of the domain to add the data source to.

Request body

Namestring required

A name for the data source.

Descriptionstring

A description of the data source.

Response

Success

Messagestring

A message associated with creation of the data source.