Documentation
¶
Index ¶
- func New(sessionCache *awsds.SessionCache, settings awsModels.Settings) (api.AWSAPI, error)
- type API
- func (c *API) CancelQuery(ctx context.Context, options sqlds.Options, queryID string) error
- func (c *API) Clusters() ([]models.RedshiftCluster, error)
- func (c *API) Columns(ctx aws.Context, options sqlds.Options) ([]string, error)
- func (c *API) Databases(ctx aws.Context, options sqlds.Options) ([]string, error)
- func (c *API) Execute(ctx context.Context, input *api.ExecuteQueryInput) (*api.ExecuteQueryOutput, error)
- func (c *API) GetQueryID(ctx context.Context, query string, args ...interface{}) (bool, string, error)
- func (c *API) Regions(aws.Context) ([]string, error)
- func (c *API) Schemas(ctx aws.Context, options sqlds.Options) ([]string, error)
- func (c *API) Secret(ctx aws.Context, options sqlds.Options) (*models.RedshiftSecret, error)
- func (c *API) Secrets(ctx aws.Context) ([]models.ManagedSecret, error)
- func (c *API) Status(ctx aws.Context, output *api.ExecuteQueryOutput) (*api.ExecuteQueryStatus, error)
- func (c *API) Stop(output *api.ExecuteQueryOutput) error
- func (c *API) Tables(ctx aws.Context, options sqlds.Options) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct { DataClient redshiftdataapiserviceiface.RedshiftDataAPIServiceAPI SecretsClient secretsmanageriface.SecretsManagerAPI ManagementClient redshiftiface.RedshiftAPI // contains filtered or unexported fields }
func (*API) CancelQuery ¶ added in v1.4.0
func (*API) Execute ¶
func (c *API) Execute(ctx context.Context, input *api.ExecuteQueryInput) (*api.ExecuteQueryOutput, error)
func (*API) GetQueryID ¶ added in v1.4.0
func (*API) Status ¶ added in v1.0.2
func (c *API) Status(ctx aws.Context, output *api.ExecuteQueryOutput) (*api.ExecuteQueryStatus, error)
Click to show internal directories.
Click to hide internal directories.