Documentation
¶
Index ¶
- type API
- func (c *API) Execute(ctx aws.Context, query string) (*redshiftdataapiservice.ExecuteStatementOutput, error)
- func (c *API) GetSecret(ctx aws.Context, arn string) (*models.RedshiftSecret, error)
- func (c *API) ListColumns(ctx aws.Context, schema, table string) ([]string, error)
- func (c *API) ListSchemas(ctx aws.Context) ([]string, error)
- func (c *API) ListSecrets(ctx aws.Context) ([]models.ManagedSecret, error)
- func (c *API) ListTables(ctx aws.Context, schema string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type API ¶
type API struct { Client redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI SecretsClient secretsmanageriface.SecretsManagerAPI // contains filtered or unexported fields }
func New ¶
func New(sessionCache *awsds.SessionCache, settings *models.RedshiftDataSourceSettings) (*API, error)
func (*API) Execute ¶
func (c *API) Execute(ctx aws.Context, query string) (*redshiftdataapiservice.ExecuteStatementOutput, error)
func (*API) ListColumns ¶
func (*API) ListSecrets ¶
Click to show internal directories.
Click to hide internal directories.