Ensure that the API is available in your workspace environment; see Install the Data API for setup information.
Authentication
The Datasource client uses environment variables available in the workspace to automatically authenticate your identity. To override this behavior, see Custom Authentication.Usage
Assuming a data source namedredshift-test is configured with valid credentials for the current user: