CreateDataSource - Amazon QuickSight

CreateDataSource

Use the CreateDataSource API operation to create a data source. Following is an example AWS CLI command for this operation.

AWS CLI
aws quicksight create-data-source --aws-account-id AWSACCOUNTID --data-source-id DATASOURCEID --name NAME --type ATHENA

You can also make this command using a CLI skeleton file with the following command. For more information about CLI skeleton files, see Use CLI skeleton files.

aws quicksight create-data-source --cli-input-json file://createdatasource.json

For more information about the CreateDataSource API operation, see CreateDataSource in the Amazon QuickSight API Reference.