5.0.0 • Published 3 years ago

@datafire/amazonaws_timestream_query v5.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@datafire/amazonaws_timestream_query

Client library for Amazon Timestream Query

Installation and Usage

npm install --save @datafire/amazonaws_timestream_query
let amazonaws_timestream_query = require('@datafire/amazonaws_timestream_query').create({
  accessKeyId: "",
  secretAccessKey: "",
  region: ""
});

.then(data => {
  console.log(data);
});

Description

Actions

CancelQuery

amazonaws_timestream_query.CancelQuery({
  "QueryId": null
}, context)

Input

  • input object
    • QueryId required

Output

DescribeEndpoints

amazonaws_timestream_query.DescribeEndpoints({}, context)

Input

  • input object

Output

Query

amazonaws_timestream_query.Query({
  "QueryString": null
}, context)

Input

  • input object
    • MaxRows string
    • NextToken string
    • ClientToken
    • MaxRows
    • NextToken
    • QueryString required

Output

Definitions

AccessDeniedException

CancelQueryRequest

  • CancelQueryRequest object
    • QueryId required

CancelQueryResponse

  • CancelQueryResponse object
    • CancellationMessage

ClientRequestToken

  • ClientRequestToken string

ColumnInfo

  • ColumnInfo object: Contains the meta data for query results such as the column names, data types, and other attributes.
    • Name
    • Type required
      • ArrayColumnInfo
        • Name
        • Type required
          • ArrayColumnInfo
            • Name
            • Type required
          • RowColumnInfo
          • ScalarType
          • TimeSeriesMeasureValueColumnInfo
            • Name
            • Type required
      • RowColumnInfo
      • ScalarType
      • TimeSeriesMeasureValueColumnInfo
        • Name
        • Type required
          • ArrayColumnInfo
            • Name
            • Type required
          • RowColumnInfo
          • ScalarType
          • TimeSeriesMeasureValueColumnInfo
            • Name
            • Type required

ColumnInfoList

ConflictException

Datum

  • Datum object: Datum represents a single data point in a query result.

DatumList

  • DatumList array

DescribeEndpointsRequest

  • DescribeEndpointsRequest object

DescribeEndpointsResponse

  • DescribeEndpointsResponse object

Double

  • Double number

Endpoint

  • Endpoint object: Represents an available endpoint against which to make API calls agaisnt, as well as the TTL for that endpoint.
    • Address required
    • CachePeriodInMinutes required

Endpoints

InternalServerException

InvalidEndpointException

Long

  • Long integer

MaxQueryResults

  • MaxQueryResults integer

NullableBoolean

  • NullableBoolean boolean

QueryExecutionException

QueryId

  • QueryId string

QueryRequest

  • QueryRequest object
    • ClientToken
    • MaxRows
    • NextToken
    • QueryString required

QueryResponse

  • QueryResponse object
    • ColumnInfo required
    • NextToken
    • QueryId required
    • QueryStatus
      • CumulativeBytesMetered
      • CumulativeBytesScanned
      • ProgressPercentage
    • Rows required

QueryStatus

  • QueryStatus object: Information about the status of the query, including progress and bytes scannned.
    • CumulativeBytesMetered
    • CumulativeBytesScanned
    • ProgressPercentage

QueryString

  • QueryString string

Row

  • Row object: Represents a single row in the query results.

RowList

  • RowList array

ScalarType

  • ScalarType string (values: VARCHAR, BOOLEAN, BIGINT, DOUBLE, TIMESTAMP, DATE, TIME, INTERVAL_DAY_TO_SECOND, INTERVAL_YEAR_TO_MONTH, UNKNOWN, INTEGER)

ScalarValue

  • ScalarValue string

String

  • String string

ThrottlingException

TimeSeriesDataPoint

  • TimeSeriesDataPoint object: 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.

TimeSeriesDataPointList

Timestamp

  • Timestamp string

Type

  • Type object: 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.
    • ArrayColumnInfo
      • Name
      • Type required
        • ArrayColumnInfo
          • Name
          • Type required
            • ArrayColumnInfo
            • RowColumnInfo
            • ScalarType
            • TimeSeriesMeasureValueColumnInfo
        • RowColumnInfo
        • ScalarType
        • TimeSeriesMeasureValueColumnInfo
          • Name
          • Type required
            • ArrayColumnInfo
            • RowColumnInfo
            • ScalarType
            • TimeSeriesMeasureValueColumnInfo
    • RowColumnInfo
    • ScalarType
    • TimeSeriesMeasureValueColumnInfo
      • Name
      • Type required
        • ArrayColumnInfo
          • Name
          • Type required
            • ArrayColumnInfo
            • RowColumnInfo
            • ScalarType
            • TimeSeriesMeasureValueColumnInfo
        • RowColumnInfo
        • ScalarType
        • TimeSeriesMeasureValueColumnInfo
          • Name
          • Type required
            • ArrayColumnInfo
            • RowColumnInfo
            • ScalarType
            • TimeSeriesMeasureValueColumnInfo

ValidationException