Documentation ¶
Index ¶
- func New(sessionCache *awsds.SessionCache, settings sqlModels.Settings) (api.AWSAPI, error)
- type API
- func (c *API) Columns(ctx aws.Context, options sqlds.Options) ([]string, error)
- func (c *API) DataCatalogs(ctx context.Context) ([]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) Regions(aws.Context) ([]string, 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)
- func (c *API) Workgroups(ctx context.Context) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct { Client athenaiface.AthenaAPI // contains filtered or unexported fields }
func NewFake ¶ added in v0.2.0
func NewFake(cli athenaiface.AthenaAPI, settings *models.AthenaDataSourceSettings) *API
NewFake returns an API object with the given args
func (*API) DataCatalogs ¶ added in v1.0.1
func (*API) Execute ¶ added in v0.2.0
func (c *API) Execute(ctx context.Context, input *api.ExecuteQueryInput) (*api.ExecuteQueryOutput, error)
func (*API) Status ¶ added in v1.0.1
func (c *API) Status(ctx aws.Context, output *api.ExecuteQueryOutput) (*api.ExecuteQueryStatus, error)
Click to show internal directories.
Click to hide internal directories.