v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-141341,3811.0 MB

Creates a data source.

post/accounts/{AwsAccountId}/data-sources

Path parameters

AwsAccountIdstring required

The Amazon Web Services account ID.

Request body

DataSourceIdstring required

An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

Namestring required

A display name for the data source.

Type'ADOBE_ANALYTICS' | 'AMAZON_ELASTICSEARCH' | 'ATHENA' | 'AURORA' | 'AURORA_POSTGRESQL' | 'AWS_IOT_ANALYTICS' | 'GITHUB' | 'JIRA' | 'MARIADB' | 'MYSQL' | 'ORACLE' | 'POSTGRESQL' | 'PRESTO' | 'REDSHIFT' | 'S3' | 'SALESFORCE' | 'SERVICENOW' | 'SNOWFLAKE' | 'SPARK' | 'SQLSERVER' | 'TERADATA' | 'TWITTER' | 'TIMESTREAM' | 'AMAZON_OPENSEARCH' | 'EXASOL' | 'DATABRICKS' required
<p>The type of the data source. To return a list of all data sources, use <code>ListDataSources</code>.</p> <p>Use <code>AMAZON_ELASTICSEARCH</code> for Amazon OpenSearch Service.</p>

Response

Success

Arnstring

The Amazon Resource Name (ARN) of the data source.

DataSourceIdstring

The ID of the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.

CreationStatus'CREATION_IN_PROGRESS' | 'CREATION_SUCCESSFUL' | 'CREATION_FAILED' | 'UPDATE_IN_PROGRESS' | 'UPDATE_SUCCESSFUL' | 'UPDATE_FAILED' | 'DELETED'

The status of creating the data source.

RequestIdstring

The Amazon Web Services request ID for this operation.

Statusinteger

The HTTP status of the request.