ExAws.Timestream.Write.Record (ExAws.Timestream v0.3.0) View Source

Record represents a time series data point being written into Timestream. https://docs.aws.amazon.com/timestream/latest/developerguide/API_Record.html

Link to this section Summary

Functions

Add a dimension to a record struct

Create a new Record struct

Link to this section Types

Specs

dimension() :: %ExAws.Timestream.Write.Dimension{
  dimension_value_type: term(),
  name: term(),
  value: term()
}

Specs

new_opts() :: %{
  dimensions: [dimension()],
  measure_name: binary(),
  measure_value: binary(),
  measure_value_type: binary(),
  time: binary(),
  time_unit: binary()
}

Specs

record() :: %ExAws.Timestream.Write.Record{
  dimensions: term(),
  measure_name: term(),
  measure_value: term(),
  measure_value_type: term(),
  time: term(),
  time_unit: term()
}

Link to this section Functions

Link to this function

add_dimension(record, dimension)

View Source

Specs

add_dimension(record :: record(), dimension :: dimension()) :: record()

Add a dimension to a record struct

Specs

new(new_opts :: new_opts()) :: record()

Create a new Record struct