api

package
v1.0.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 21, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(sessionCache *awsds.SessionCache, settings sqlModels.Settings) (api.AWSAPI, error)

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) Columns added in v1.0.1

func (c *API) Columns(ctx aws.Context, options sqlds.Options) ([]string, error)

func (*API) DataCatalogs added in v1.0.1

func (c *API) DataCatalogs(ctx context.Context) ([]string, error)

func (*API) Databases added in v1.0.1

func (c *API) Databases(ctx aws.Context, options sqlds.Options) ([]string, error)

func (*API) Execute added in v0.2.0

func (c *API) Execute(ctx context.Context, input *api.ExecuteQueryInput) (*api.ExecuteQueryOutput, error)

func (*API) Regions added in v1.0.1

func (c *API) Regions(aws.Context) ([]string, error)

func (*API) Status added in v1.0.1

func (c *API) Status(ctx aws.Context, output *api.ExecuteQueryOutput) (*api.ExecuteQueryStatus, error)

func (*API) Stop added in v1.0.1

func (c *API) Stop(output *api.ExecuteQueryOutput) error

func (*API) Tables added in v1.0.1

func (c *API) Tables(ctx aws.Context, options sqlds.Options) ([]string, error)

func (*API) Workgroups added in v1.0.1

func (c *API) Workgroups(ctx context.Context) ([]string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL