types

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2021 License: Apache-2.0 Imports: 2 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessDeniedException

type AccessDeniedException struct {
	Message *string
}

You are not authorized to perform this action.

func (*AccessDeniedException) Error

func (e *AccessDeniedException) Error() string

func (*AccessDeniedException) ErrorCode

func (e *AccessDeniedException) ErrorCode() string

func (*AccessDeniedException) ErrorFault

func (e *AccessDeniedException) ErrorFault() smithy.ErrorFault

func (*AccessDeniedException) ErrorMessage

func (e *AccessDeniedException) ErrorMessage() string

type ColumnInfo

type ColumnInfo struct {

	// The data type of the result set column. The data type can be a scalar or
	// complex. Scalar data types are integers, strings, doubles, booleans, and others.
	// Complex data types are types such as arrays, rows, and others.
	//
	// This member is required.
	Type *Type

	// The name of the result set column. The name of the result set is available for
	// columns of all data types except for arrays.
	Name *string
}

Contains the meta data for query results such as the column names, data types, and other attributes.

type ConflictException

type ConflictException struct {
	Message *string
}

Unable to poll results for a cancelled query.

func (*ConflictException) Error

func (e *ConflictException) Error() string

func (*ConflictException) ErrorCode

func (e *ConflictException) ErrorCode() string

func (*ConflictException) ErrorFault

func (e *ConflictException) ErrorFault() smithy.ErrorFault

func (*ConflictException) ErrorMessage

func (e *ConflictException) ErrorMessage() string

type Datum

type Datum struct {

	// Indicates if the data point is an array.
	ArrayValue []Datum

	// Indicates if the data point is null.
	NullValue *bool

	// Indicates if the data point is a row.
	RowValue *Row

	// Indicates if the data point is a scalar value such as integer, string, double,
	// or boolean.
	ScalarValue *string

	// Indicates if the data point is of timeseries data type.
	TimeSeriesValue []TimeSeriesDataPoint
}

Datum represents a single data point in a query result.

type Endpoint

type Endpoint struct {

	// An endpoint address.
	//
	// This member is required.
	Address *string

	// The TTL for the endpoint, in minutes.
	//
	// This member is required.
	CachePeriodInMinutes int64
}

Represents an available endpoint against which to make API calls agaisnt, as well as the TTL for that endpoint.

type InternalServerException

type InternalServerException struct {
	Message *string
}

Timestream was unable to fully process this request because of an internal server error.

func (*InternalServerException) Error

func (e *InternalServerException) Error() string

func (*InternalServerException) ErrorCode

func (e *InternalServerException) ErrorCode() string

func (*InternalServerException) ErrorFault

func (e *InternalServerException) ErrorFault() smithy.ErrorFault

func (*InternalServerException) ErrorMessage

func (e *InternalServerException) ErrorMessage() string

type InvalidEndpointException

type InvalidEndpointException struct {
	Message *string
}

The requested endpoint was invalid.

func (*InvalidEndpointException) Error

func (e *InvalidEndpointException) Error() string

func (*InvalidEndpointException) ErrorCode

func (e *InvalidEndpointException) ErrorCode() string

func (*InvalidEndpointException) ErrorFault

func (e *InvalidEndpointException) ErrorFault() smithy.ErrorFault

func (*InvalidEndpointException) ErrorMessage

func (e *InvalidEndpointException) ErrorMessage() string

type QueryExecutionException

type QueryExecutionException struct {
	Message *string
}

Timestream was unable to run the query successfully.

func (*QueryExecutionException) Error

func (e *QueryExecutionException) Error() string

func (*QueryExecutionException) ErrorCode

func (e *QueryExecutionException) ErrorCode() string

func (*QueryExecutionException) ErrorFault

func (e *QueryExecutionException) ErrorFault() smithy.ErrorFault

func (*QueryExecutionException) ErrorMessage

func (e *QueryExecutionException) ErrorMessage() string

type QueryStatus added in v0.3.0

type QueryStatus struct {

	// The amount of data scanned by the query in bytes that you will be charged for.
	// This is a cumulative sum and represents the total amount of data that you will
	// be charged for since the query was started. The charge is applied only once and
	// is either applied when the query completes execution or when the query is
	// cancelled.
	CumulativeBytesMetered int64

	// The amount of data scanned by the query in bytes. This is a cumulative sum and
	// represents the total amount of bytes scanned since the query was started.
	CumulativeBytesScanned int64

	// The progress of the query, expressed as a percentage.
	ProgressPercentage float64
}

Information about the status of the query, including progress and bytes scannned.

type Row

type Row struct {

	// List of data points in a single row of the result set.
	//
	// This member is required.
	Data []Datum
}

Represents a single row in the query results.

type ScalarType

type ScalarType string
const (
	ScalarTypeVarchar             ScalarType = "VARCHAR"
	ScalarTypeBoolean             ScalarType = "BOOLEAN"
	ScalarTypeBigint              ScalarType = "BIGINT"
	ScalarTypeDouble              ScalarType = "DOUBLE"
	ScalarTypeTimestamp           ScalarType = "TIMESTAMP"
	ScalarTypeDate                ScalarType = "DATE"
	ScalarTypeTime                ScalarType = "TIME"
	ScalarTypeIntervalDayToSecond ScalarType = "INTERVAL_DAY_TO_SECOND"
	ScalarTypeIntervalYearToMonth ScalarType = "INTERVAL_YEAR_TO_MONTH"
	ScalarTypeUnknown             ScalarType = "UNKNOWN"
	ScalarTypeInteger             ScalarType = "INTEGER"
)

Enum values for ScalarType

func (ScalarType) Values

func (ScalarType) Values() []ScalarType

Values returns all known values for ScalarType. Note that this can be expanded in the future, and so it is only as up to date as the client. The ordering of this slice is not guaranteed to be stable across updates.

type ThrottlingException

type ThrottlingException struct {
	Message *string
}

The request was denied due to request throttling.

func (*ThrottlingException) Error

func (e *ThrottlingException) Error() string

func (*ThrottlingException) ErrorCode

func (e *ThrottlingException) ErrorCode() string

func (*ThrottlingException) ErrorFault

func (e *ThrottlingException) ErrorFault() smithy.ErrorFault

func (*ThrottlingException) ErrorMessage

func (e *ThrottlingException) ErrorMessage() string

type TimeSeriesDataPoint

type TimeSeriesDataPoint struct {

	// The timestamp when the measure value was collected.
	//
	// This member is required.
	Time *string

	// The measure value for the data point.
	//
	// This member is required.
	Value *Datum
}

The timeseries datatype represents the values of a measure over time. A time series is an array of rows of timestamps and measure values, with rows sorted in ascending order of time. A TimeSeriesDataPoint is a single data point in the timeseries. It represents a tuple of (time, measure value) in a timeseries.

type Type

type Type struct {

	// Indicates if the column is an array.
	ArrayColumnInfo *ColumnInfo

	// Indicates if the column is a row.
	RowColumnInfo []ColumnInfo

	// Indicates if the column is of type string, integer, boolean, double, timestamp,
	// date, time.
	ScalarType ScalarType

	// Indicates if the column is a timeseries data type.
	TimeSeriesMeasureValueColumnInfo *ColumnInfo
}

Contains the data type of a column in a query result set. The data type can be scalar or complex. The supported scalar data types are integers, boolean, string, double, timestamp, date, time, and intervals. The supported complex data types are arrays, rows, and timeseries.

type ValidationException

type ValidationException struct {
	Message *string
}

Invalid or malformed request.

func (*ValidationException) Error

func (e *ValidationException) Error() string

func (*ValidationException) ErrorCode

func (e *ValidationException) ErrorCode() string

func (*ValidationException) ErrorFault

func (e *ValidationException) ErrorFault() smithy.ErrorFault

func (*ValidationException) ErrorMessage

func (e *ValidationException) ErrorMessage() string

Jump to

Keyboard shortcuts

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