quicksight

package
v0.11.511 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BasicOperator

type BasicOperator struct {
	// contains filtered or unexported fields
}

func NewBasicOperator

func NewBasicOperator(conn config.ConnectionGetter) *BasicOperator

func (BasicOperator) Run

func (BasicOperator) RunTask

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(cfg Config) (*Client, error)

func (*Client) CreateIngestion

func (c *Client) CreateIngestion(ctx context.Context, dataSetID, ingestionID string, ingestionType qstypes.IngestionType) error

func (*Client) DescribeDashboard

func (c *Client) DescribeDashboard(ctx context.Context, dashboardID string) (*DashboardDetail, error)

func (*Client) DescribeDashboardDefinition

func (c *Client) DescribeDashboardDefinition(ctx context.Context, dashboardID string) (*DashboardDetail, error)

func (*Client) DescribeDataSet

func (c *Client) DescribeDataSet(ctx context.Context, dataSetID string) (*DataSetDetail, error)

func (*Client) DescribeDataSource

func (c *Client) DescribeDataSource(ctx context.Context, dataSourceID string) (*DataSourceDetail, error)

func (*Client) DescribeIngestion

func (c *Client) DescribeIngestion(ctx context.Context, dataSetID, ingestionID string) (*IngestionStatus, error)

func (*Client) GetName

func (c *Client) GetName() string

func (*Client) ListDashboards

func (c *Client) ListDashboards(ctx context.Context) ([]DashboardSummary, error)

func (*Client) ListDataSets

func (c *Client) ListDataSets(ctx context.Context) ([]DataSetSummary, error)

func (*Client) ListDataSources

func (c *Client) ListDataSources(ctx context.Context) ([]DataSourceSummary, error)

func (*Client) Ping

func (c *Client) Ping(ctx context.Context) error

type Config

type Config struct {
	Name               string `yaml:"name,omitempty" json:"name" mapstructure:"name"`
	AwsAccessKeyID     string `yaml:"aws_access_key_id,omitempty" json:"aws_access_key_id" mapstructure:"aws_access_key_id"`
	AwsSecretAccessKey string `yaml:"aws_secret_access_key,omitempty" json:"aws_secret_access_key" mapstructure:"aws_secret_access_key"`
	AwsSessionToken    string `yaml:"aws_session_token,omitempty" json:"aws_session_token" mapstructure:"aws_session_token"`
	AwsRegion          string `yaml:"aws_region,omitempty" json:"aws_region" mapstructure:"aws_region"`
	AwsAccountID       string `yaml:"aws_account_id,omitempty" json:"aws_account_id" mapstructure:"aws_account_id"`
}

func (Config) GetName

func (c Config) GetName() string

type DashboardDetail

type DashboardDetail struct {
	ID          string
	Name        string
	Arn         string
	DataSetArns []string
	Sheets      []SheetDetail
}

DashboardDetail holds full detail for a dashboard including sheets and visuals.

type DashboardSummary

type DashboardSummary struct {
	ID   string
	Name string
	Arn  string
}

DashboardSummary holds summary info for a dashboard.

type DataSetColumn

type DataSetColumn struct {
	Name string
	Type string
}

DataSetColumn represents a column in a dataset.

type DataSetDetail

type DataSetDetail struct {
	ID                string
	Name              string
	Arn               string
	ImportMode        string
	Columns           []DataSetColumn
	PhysicalTableMaps map[string]PhysicalTable
}

DataSetDetail holds full detail for a dataset including columns and physical table maps.

type DataSetSummary

type DataSetSummary struct {
	ID         string
	Name       string
	Arn        string
	ImportMode string
}

DataSetSummary holds summary info for a dataset as returned by ListDataSets.

type DataSourceDetail

type DataSourceDetail struct {
	ID             string
	Name           string
	Type           string
	Arn            string
	Database       string
	Schema         string
	Host           string
	Port           int32
	Catalog        string
	Warehouse      string
	ConnectionType string
}

DataSourceDetail holds full detail for a data source connection.

type DataSourceSummary

type DataSourceSummary struct {
	ID   string
	Name string
	Type string
	Arn  string
}

DataSourceSummary holds summary info for a data source.

type IngestionStatus

type IngestionStatus struct {
	Status       string
	ErrorMessage string
}

IngestionStatus holds the status of an ingestion.

type PhysicalTable

type PhysicalTable struct {
	DatabaseName string
	SchemaName   string
	TableName    string
	Columns      []DataSetColumn
	DataSourceID string
	SqlQuery     string // CustomSql query text, empty for relational/S3 tables
	SqlName      string // CustomSql alias name
}

PhysicalTable represents a physical table map entry in a dataset.

type SheetDetail

type SheetDetail struct {
	SheetID string
	Name    string
	Visuals []VisualDetail
}

SheetDetail represents a sheet within a dashboard.

type VisualDetail

type VisualDetail struct {
	Name       string
	Type       string
	DataSetID  string
	Dimensions []string
	Metrics    []string
}

VisualDetail represents a visual (chart) within a sheet.

Jump to

Keyboard shortcuts

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