http://quicksight.{region}.amazonaws.com/accounts/{AwsAccountId}/data-sourcesCreates a data source.
The Amazon Web Services account ID.
A display name for the data source.
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
<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>
Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
A list of resource permissions on the data source.
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying data source.
The parameters that Amazon QuickSight uses to connect to your underlying data source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
VPC connection properties.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://quicksight.{region}.amazonaws.com/accounts/{AwsAccountId}/data-sources' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}http://quicksight.{region}.amazonaws.com/accounts/{AwsAccountId}/data-sourcesCreates a data source.
The Amazon Web Services account ID.
A display name for the data source.
Contains a map of the key-value pairs for the resource tag or tags assigned to the data source.
<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>
Data source credentials. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
A list of resource permissions on the data source.
An ID for the data source. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.
Secure Socket Layer (SSL) properties that apply when Amazon QuickSight connects to your underlying data source.
The parameters that Amazon QuickSight uses to connect to your underlying data source. This is a variant type structure. For this structure to be valid, only one of the attributes can be non-null.
VPC connection properties.
{
"success": true,
"data": {
"id": "abc123",
"created_at": "2025-01-01T00:00:00Z"
}
}{
"success": false,
"error": {
"code": "VALIDATION_ERROR",
"message": "Invalid request parameters"
}
}1curl --request POST \2 --url 'http://quicksight.{region}.amazonaws.com/accounts/{AwsAccountId}/data-sources' \3 --header 'accept: application/json' \4 --header 'content-type: application/json'1{2 "success": true,3 "data": {4 "id": "abc123",5 "created_at": "2025-01-01T00:00:00Z"6 }7}