Versions in this module Expand all Collapse all v1 v1.11.0 Dec 6, 2022 Changes in this version + const ColumnNullableNotNull + const ColumnNullableNullable + const ColumnNullableUnknown + const EncryptionOptionCseKms + const EncryptionOptionSseKms + const EncryptionOptionSseS3 + const EndpointsID + const ErrCodeInternalServerException + const ErrCodeInvalidRequestException + const ErrCodeTooManyRequestsException + const QueryExecutionStateCancelled + const QueryExecutionStateFailed + const QueryExecutionStateQueued + const QueryExecutionStateRunning + const QueryExecutionStateSucceeded + const ServiceName + const ThrottleReasonConcurrentQueryLimitExceeded + type Athena struct + func New(p client.ConfigProvider, cfgs ...*aws.Config) *Athena + func (c *Athena) BatchGetNamedQuery(input *BatchGetNamedQueryInput) (*BatchGetNamedQueryOutput, error) + func (c *Athena) BatchGetNamedQueryRequest(input *BatchGetNamedQueryInput) (req *request.Request, output *BatchGetNamedQueryOutput) + func (c *Athena) BatchGetNamedQueryWithContext(ctx aws.Context, input *BatchGetNamedQueryInput, opts ...request.Option) (*BatchGetNamedQueryOutput, error) + func (c *Athena) BatchGetQueryExecution(input *BatchGetQueryExecutionInput) (*BatchGetQueryExecutionOutput, error) + func (c *Athena) BatchGetQueryExecutionRequest(input *BatchGetQueryExecutionInput) (req *request.Request, output *BatchGetQueryExecutionOutput) + func (c *Athena) BatchGetQueryExecutionWithContext(ctx aws.Context, input *BatchGetQueryExecutionInput, opts ...request.Option) (*BatchGetQueryExecutionOutput, error) + func (c *Athena) CreateNamedQuery(input *CreateNamedQueryInput) (*CreateNamedQueryOutput, error) + func (c *Athena) CreateNamedQueryRequest(input *CreateNamedQueryInput) (req *request.Request, output *CreateNamedQueryOutput) + func (c *Athena) CreateNamedQueryWithContext(ctx aws.Context, input *CreateNamedQueryInput, opts ...request.Option) (*CreateNamedQueryOutput, error) + func (c *Athena) DeleteNamedQuery(input *DeleteNamedQueryInput) (*DeleteNamedQueryOutput, error) + func (c *Athena) DeleteNamedQueryRequest(input *DeleteNamedQueryInput) (req *request.Request, output *DeleteNamedQueryOutput) + func (c *Athena) DeleteNamedQueryWithContext(ctx aws.Context, input *DeleteNamedQueryInput, opts ...request.Option) (*DeleteNamedQueryOutput, error) + func (c *Athena) GetNamedQuery(input *GetNamedQueryInput) (*GetNamedQueryOutput, error) + func (c *Athena) GetNamedQueryRequest(input *GetNamedQueryInput) (req *request.Request, output *GetNamedQueryOutput) + func (c *Athena) GetNamedQueryWithContext(ctx aws.Context, input *GetNamedQueryInput, opts ...request.Option) (*GetNamedQueryOutput, error) + func (c *Athena) GetQueryExecution(input *GetQueryExecutionInput) (*GetQueryExecutionOutput, error) + func (c *Athena) GetQueryExecutionRequest(input *GetQueryExecutionInput) (req *request.Request, output *GetQueryExecutionOutput) + func (c *Athena) GetQueryExecutionWithContext(ctx aws.Context, input *GetQueryExecutionInput, opts ...request.Option) (*GetQueryExecutionOutput, error) + func (c *Athena) GetQueryResults(input *GetQueryResultsInput) (*GetQueryResultsOutput, error) + func (c *Athena) GetQueryResultsPages(input *GetQueryResultsInput, fn func(*GetQueryResultsOutput, bool) bool) error + func (c *Athena) GetQueryResultsPagesWithContext(ctx aws.Context, input *GetQueryResultsInput, ...) error + func (c *Athena) GetQueryResultsRequest(input *GetQueryResultsInput) (req *request.Request, output *GetQueryResultsOutput) + func (c *Athena) GetQueryResultsWithContext(ctx aws.Context, input *GetQueryResultsInput, opts ...request.Option) (*GetQueryResultsOutput, error) + func (c *Athena) ListNamedQueries(input *ListNamedQueriesInput) (*ListNamedQueriesOutput, error) + func (c *Athena) ListNamedQueriesPages(input *ListNamedQueriesInput, fn func(*ListNamedQueriesOutput, bool) bool) error + func (c *Athena) ListNamedQueriesPagesWithContext(ctx aws.Context, input *ListNamedQueriesInput, ...) error + func (c *Athena) ListNamedQueriesRequest(input *ListNamedQueriesInput) (req *request.Request, output *ListNamedQueriesOutput) + func (c *Athena) ListNamedQueriesWithContext(ctx aws.Context, input *ListNamedQueriesInput, opts ...request.Option) (*ListNamedQueriesOutput, error) + func (c *Athena) ListQueryExecutions(input *ListQueryExecutionsInput) (*ListQueryExecutionsOutput, error) + func (c *Athena) ListQueryExecutionsPages(input *ListQueryExecutionsInput, ...) error + func (c *Athena) ListQueryExecutionsPagesWithContext(ctx aws.Context, input *ListQueryExecutionsInput, ...) error + func (c *Athena) ListQueryExecutionsRequest(input *ListQueryExecutionsInput) (req *request.Request, output *ListQueryExecutionsOutput) + func (c *Athena) ListQueryExecutionsWithContext(ctx aws.Context, input *ListQueryExecutionsInput, opts ...request.Option) (*ListQueryExecutionsOutput, error) + func (c *Athena) StartQueryExecution(input *StartQueryExecutionInput) (*StartQueryExecutionOutput, error) + func (c *Athena) StartQueryExecutionRequest(input *StartQueryExecutionInput) (req *request.Request, output *StartQueryExecutionOutput) + func (c *Athena) StartQueryExecutionWithContext(ctx aws.Context, input *StartQueryExecutionInput, opts ...request.Option) (*StartQueryExecutionOutput, error) + func (c *Athena) StopQueryExecution(input *StopQueryExecutionInput) (*StopQueryExecutionOutput, error) + func (c *Athena) StopQueryExecutionRequest(input *StopQueryExecutionInput) (req *request.Request, output *StopQueryExecutionOutput) + func (c *Athena) StopQueryExecutionWithContext(ctx aws.Context, input *StopQueryExecutionInput, opts ...request.Option) (*StopQueryExecutionOutput, error) + type BatchGetNamedQueryInput struct + NamedQueryIds []*string + func (s *BatchGetNamedQueryInput) SetNamedQueryIds(v []*string) *BatchGetNamedQueryInput + func (s *BatchGetNamedQueryInput) Validate() error + func (s BatchGetNamedQueryInput) GoString() string + func (s BatchGetNamedQueryInput) String() string + type BatchGetNamedQueryOutput struct + NamedQueries []*NamedQuery + UnprocessedNamedQueryIds []*UnprocessedNamedQueryId + func (s *BatchGetNamedQueryOutput) SetNamedQueries(v []*NamedQuery) *BatchGetNamedQueryOutput + func (s *BatchGetNamedQueryOutput) SetUnprocessedNamedQueryIds(v []*UnprocessedNamedQueryId) *BatchGetNamedQueryOutput + func (s BatchGetNamedQueryOutput) GoString() string + func (s BatchGetNamedQueryOutput) String() string + type BatchGetQueryExecutionInput struct + QueryExecutionIds []*string + func (s *BatchGetQueryExecutionInput) SetQueryExecutionIds(v []*string) *BatchGetQueryExecutionInput + func (s *BatchGetQueryExecutionInput) Validate() error + func (s BatchGetQueryExecutionInput) GoString() string + func (s BatchGetQueryExecutionInput) String() string + type BatchGetQueryExecutionOutput struct + QueryExecutions []*QueryExecution + UnprocessedQueryExecutionIds []*UnprocessedQueryExecutionId + func (s *BatchGetQueryExecutionOutput) SetQueryExecutions(v []*QueryExecution) *BatchGetQueryExecutionOutput + func (s *BatchGetQueryExecutionOutput) SetUnprocessedQueryExecutionIds(v []*UnprocessedQueryExecutionId) *BatchGetQueryExecutionOutput + func (s BatchGetQueryExecutionOutput) GoString() string + func (s BatchGetQueryExecutionOutput) String() string + type ColumnInfo struct + CaseSensitive *bool + CatalogName *string + Label *string + Name *string + Nullable *string + Precision *int64 + Scale *int64 + SchemaName *string + TableName *string + Type *string + func (s *ColumnInfo) SetCaseSensitive(v bool) *ColumnInfo + func (s *ColumnInfo) SetCatalogName(v string) *ColumnInfo + func (s *ColumnInfo) SetLabel(v string) *ColumnInfo + func (s *ColumnInfo) SetName(v string) *ColumnInfo + func (s *ColumnInfo) SetNullable(v string) *ColumnInfo + func (s *ColumnInfo) SetPrecision(v int64) *ColumnInfo + func (s *ColumnInfo) SetScale(v int64) *ColumnInfo + func (s *ColumnInfo) SetSchemaName(v string) *ColumnInfo + func (s *ColumnInfo) SetTableName(v string) *ColumnInfo + func (s *ColumnInfo) SetType(v string) *ColumnInfo + func (s ColumnInfo) GoString() string + func (s ColumnInfo) String() string + type CreateNamedQueryInput struct + ClientRequestToken *string + Database *string + Description *string + Name *string + QueryString *string + func (s *CreateNamedQueryInput) SetClientRequestToken(v string) *CreateNamedQueryInput + func (s *CreateNamedQueryInput) SetDatabase(v string) *CreateNamedQueryInput + func (s *CreateNamedQueryInput) SetDescription(v string) *CreateNamedQueryInput + func (s *CreateNamedQueryInput) SetName(v string) *CreateNamedQueryInput + func (s *CreateNamedQueryInput) SetQueryString(v string) *CreateNamedQueryInput + func (s *CreateNamedQueryInput) Validate() error + func (s CreateNamedQueryInput) GoString() string + func (s CreateNamedQueryInput) String() string + type CreateNamedQueryOutput struct + NamedQueryId *string + func (s *CreateNamedQueryOutput) SetNamedQueryId(v string) *CreateNamedQueryOutput + func (s CreateNamedQueryOutput) GoString() string + func (s CreateNamedQueryOutput) String() string + type Datum struct + VarCharValue *string + func (s *Datum) SetVarCharValue(v string) *Datum + func (s Datum) GoString() string + func (s Datum) String() string + type DeleteNamedQueryInput struct + NamedQueryId *string + func (s *DeleteNamedQueryInput) SetNamedQueryId(v string) *DeleteNamedQueryInput + func (s *DeleteNamedQueryInput) Validate() error + func (s DeleteNamedQueryInput) GoString() string + func (s DeleteNamedQueryInput) String() string + type DeleteNamedQueryOutput struct + func (s DeleteNamedQueryOutput) GoString() string + func (s DeleteNamedQueryOutput) String() string + type EncryptionConfiguration struct + EncryptionOption *string + KmsKey *string + func (s *EncryptionConfiguration) SetEncryptionOption(v string) *EncryptionConfiguration + func (s *EncryptionConfiguration) SetKmsKey(v string) *EncryptionConfiguration + func (s *EncryptionConfiguration) Validate() error + func (s EncryptionConfiguration) GoString() string + func (s EncryptionConfiguration) String() string + type GetNamedQueryInput struct + NamedQueryId *string + func (s *GetNamedQueryInput) SetNamedQueryId(v string) *GetNamedQueryInput + func (s *GetNamedQueryInput) Validate() error + func (s GetNamedQueryInput) GoString() string + func (s GetNamedQueryInput) String() string + type GetNamedQueryOutput struct + NamedQuery *NamedQuery + func (s *GetNamedQueryOutput) SetNamedQuery(v *NamedQuery) *GetNamedQueryOutput + func (s GetNamedQueryOutput) GoString() string + func (s GetNamedQueryOutput) String() string + type GetQueryExecutionInput struct + QueryExecutionId *string + func (s *GetQueryExecutionInput) SetQueryExecutionId(v string) *GetQueryExecutionInput + func (s *GetQueryExecutionInput) Validate() error + func (s GetQueryExecutionInput) GoString() string + func (s GetQueryExecutionInput) String() string + type GetQueryExecutionOutput struct + QueryExecution *QueryExecution + func (s *GetQueryExecutionOutput) SetQueryExecution(v *QueryExecution) *GetQueryExecutionOutput + func (s GetQueryExecutionOutput) GoString() string + func (s GetQueryExecutionOutput) String() string + type GetQueryResultsInput struct + MaxResults *int64 + NextToken *string + QueryExecutionId *string + func (s *GetQueryResultsInput) SetMaxResults(v int64) *GetQueryResultsInput + func (s *GetQueryResultsInput) SetNextToken(v string) *GetQueryResultsInput + func (s *GetQueryResultsInput) SetQueryExecutionId(v string) *GetQueryResultsInput + func (s *GetQueryResultsInput) Validate() error + func (s GetQueryResultsInput) GoString() string + func (s GetQueryResultsInput) String() string + type GetQueryResultsOutput struct + NextToken *string + ResultSet *ResultSet + func (s *GetQueryResultsOutput) SetNextToken(v string) *GetQueryResultsOutput + func (s *GetQueryResultsOutput) SetResultSet(v *ResultSet) *GetQueryResultsOutput + func (s GetQueryResultsOutput) GoString() string + func (s GetQueryResultsOutput) String() string + type ListNamedQueriesInput struct + MaxResults *int64 + NextToken *string + func (s *ListNamedQueriesInput) SetMaxResults(v int64) *ListNamedQueriesInput + func (s *ListNamedQueriesInput) SetNextToken(v string) *ListNamedQueriesInput + func (s ListNamedQueriesInput) GoString() string + func (s ListNamedQueriesInput) String() string + type ListNamedQueriesOutput struct + NamedQueryIds []*string + NextToken *string + func (s *ListNamedQueriesOutput) SetNamedQueryIds(v []*string) *ListNamedQueriesOutput + func (s *ListNamedQueriesOutput) SetNextToken(v string) *ListNamedQueriesOutput + func (s ListNamedQueriesOutput) GoString() string + func (s ListNamedQueriesOutput) String() string + type ListQueryExecutionsInput struct + MaxResults *int64 + NextToken *string + func (s *ListQueryExecutionsInput) SetMaxResults(v int64) *ListQueryExecutionsInput + func (s *ListQueryExecutionsInput) SetNextToken(v string) *ListQueryExecutionsInput + func (s ListQueryExecutionsInput) GoString() string + func (s ListQueryExecutionsInput) String() string + type ListQueryExecutionsOutput struct + NextToken *string + QueryExecutionIds []*string + func (s *ListQueryExecutionsOutput) SetNextToken(v string) *ListQueryExecutionsOutput + func (s *ListQueryExecutionsOutput) SetQueryExecutionIds(v []*string) *ListQueryExecutionsOutput + func (s ListQueryExecutionsOutput) GoString() string + func (s ListQueryExecutionsOutput) String() string + type NamedQuery struct + Database *string + Description *string + Name *string + NamedQueryId *string + QueryString *string + func (s *NamedQuery) SetDatabase(v string) *NamedQuery + func (s *NamedQuery) SetDescription(v string) *NamedQuery + func (s *NamedQuery) SetName(v string) *NamedQuery + func (s *NamedQuery) SetNamedQueryId(v string) *NamedQuery + func (s *NamedQuery) SetQueryString(v string) *NamedQuery + func (s NamedQuery) GoString() string + func (s NamedQuery) String() string + type QueryExecution struct + Query *string + QueryExecutionContext *QueryExecutionContext + QueryExecutionId *string + ResultConfiguration *ResultConfiguration + Statistics *QueryExecutionStatistics + Status *QueryExecutionStatus + func (s *QueryExecution) SetQuery(v string) *QueryExecution + func (s *QueryExecution) SetQueryExecutionContext(v *QueryExecutionContext) *QueryExecution + func (s *QueryExecution) SetQueryExecutionId(v string) *QueryExecution + func (s *QueryExecution) SetResultConfiguration(v *ResultConfiguration) *QueryExecution + func (s *QueryExecution) SetStatistics(v *QueryExecutionStatistics) *QueryExecution + func (s *QueryExecution) SetStatus(v *QueryExecutionStatus) *QueryExecution + func (s QueryExecution) GoString() string + func (s QueryExecution) String() string + type QueryExecutionContext struct + Database *string + func (s *QueryExecutionContext) SetDatabase(v string) *QueryExecutionContext + func (s *QueryExecutionContext) Validate() error + func (s QueryExecutionContext) GoString() string + func (s QueryExecutionContext) String() string + type QueryExecutionStatistics struct + DataScannedInBytes *int64 + EngineExecutionTimeInMillis *int64 + func (s *QueryExecutionStatistics) SetDataScannedInBytes(v int64) *QueryExecutionStatistics + func (s *QueryExecutionStatistics) SetEngineExecutionTimeInMillis(v int64) *QueryExecutionStatistics + func (s QueryExecutionStatistics) GoString() string + func (s QueryExecutionStatistics) String() string + type QueryExecutionStatus struct + CompletionDateTime *time.Time + State *string + StateChangeReason *string + SubmissionDateTime *time.Time + func (s *QueryExecutionStatus) SetCompletionDateTime(v time.Time) *QueryExecutionStatus + func (s *QueryExecutionStatus) SetState(v string) *QueryExecutionStatus + func (s *QueryExecutionStatus) SetStateChangeReason(v string) *QueryExecutionStatus + func (s *QueryExecutionStatus) SetSubmissionDateTime(v time.Time) *QueryExecutionStatus + func (s QueryExecutionStatus) GoString() string + func (s QueryExecutionStatus) String() string + type ResultConfiguration struct + EncryptionConfiguration *EncryptionConfiguration + OutputLocation *string + func (s *ResultConfiguration) SetEncryptionConfiguration(v *EncryptionConfiguration) *ResultConfiguration + func (s *ResultConfiguration) SetOutputLocation(v string) *ResultConfiguration + func (s *ResultConfiguration) Validate() error + func (s ResultConfiguration) GoString() string + func (s ResultConfiguration) String() string + type ResultSet struct + ResultSetMetadata *ResultSetMetadata + Rows []*Row + func (s *ResultSet) SetResultSetMetadata(v *ResultSetMetadata) *ResultSet + func (s *ResultSet) SetRows(v []*Row) *ResultSet + func (s ResultSet) GoString() string + func (s ResultSet) String() string + type ResultSetMetadata struct + ColumnInfo []*ColumnInfo + func (s *ResultSetMetadata) SetColumnInfo(v []*ColumnInfo) *ResultSetMetadata + func (s ResultSetMetadata) GoString() string + func (s ResultSetMetadata) String() string + type Row struct + Data []*Datum + func (s *Row) SetData(v []*Datum) *Row + func (s Row) GoString() string + func (s Row) String() string + type StartQueryExecutionInput struct + ClientRequestToken *string + QueryExecutionContext *QueryExecutionContext + QueryString *string + ResultConfiguration *ResultConfiguration + func (s *StartQueryExecutionInput) SetClientRequestToken(v string) *StartQueryExecutionInput + func (s *StartQueryExecutionInput) SetQueryExecutionContext(v *QueryExecutionContext) *StartQueryExecutionInput + func (s *StartQueryExecutionInput) SetQueryString(v string) *StartQueryExecutionInput + func (s *StartQueryExecutionInput) SetResultConfiguration(v *ResultConfiguration) *StartQueryExecutionInput + func (s *StartQueryExecutionInput) Validate() error + func (s StartQueryExecutionInput) GoString() string + func (s StartQueryExecutionInput) String() string + type StartQueryExecutionOutput struct + QueryExecutionId *string + func (s *StartQueryExecutionOutput) SetQueryExecutionId(v string) *StartQueryExecutionOutput + func (s StartQueryExecutionOutput) GoString() string + func (s StartQueryExecutionOutput) String() string + type StopQueryExecutionInput struct + QueryExecutionId *string + func (s *StopQueryExecutionInput) SetQueryExecutionId(v string) *StopQueryExecutionInput + func (s *StopQueryExecutionInput) Validate() error + func (s StopQueryExecutionInput) GoString() string + func (s StopQueryExecutionInput) String() string + type StopQueryExecutionOutput struct + func (s StopQueryExecutionOutput) GoString() string + func (s StopQueryExecutionOutput) String() string + type UnprocessedNamedQueryId struct + ErrorCode *string + ErrorMessage *string + NamedQueryId *string + func (s *UnprocessedNamedQueryId) SetErrorCode(v string) *UnprocessedNamedQueryId + func (s *UnprocessedNamedQueryId) SetErrorMessage(v string) *UnprocessedNamedQueryId + func (s *UnprocessedNamedQueryId) SetNamedQueryId(v string) *UnprocessedNamedQueryId + func (s UnprocessedNamedQueryId) GoString() string + func (s UnprocessedNamedQueryId) String() string + type UnprocessedQueryExecutionId struct + ErrorCode *string + ErrorMessage *string + QueryExecutionId *string + func (s *UnprocessedQueryExecutionId) SetErrorCode(v string) *UnprocessedQueryExecutionId + func (s *UnprocessedQueryExecutionId) SetErrorMessage(v string) *UnprocessedQueryExecutionId + func (s *UnprocessedQueryExecutionId) SetQueryExecutionId(v string) *UnprocessedQueryExecutionId + func (s UnprocessedQueryExecutionId) GoString() string + func (s UnprocessedQueryExecutionId) String() string