amazonka-timestream-write-2.0: Amazon Timestream Write SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.TimeStreamWrite.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2018-11-01 of the Amazon Timestream Write SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You are not authorized to perform this action.

_ConflictException :: AsError a => Fold a ServiceError Source #

Timestream was unable to process this request because it contains resource that already exists.

_InternalServerException :: AsError a => Fold a ServiceError Source #

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

_InvalidEndpointException :: AsError a => Fold a ServiceError Source #

The requested endpoint was invalid.

_RejectedRecordsException :: AsError a => Fold a ServiceError Source #

WriteRecords would throw this exception in the following cases:

  • Records with duplicate data where there are multiple records with the same dimensions, timestamps, and measure names but:

    • Measure values are different
    • Version is not present in the request or the value of version in the new record is equal to or lower than the existing value

    In this case, if Timestream rejects data, the ExistingVersion field in the RejectedRecords response will indicate the current record’s version. To force an update, you can resend the request with a version for the record set to a value greater than the ExistingVersion.

  • Records with timestamps that lie outside the retention duration of the memory store
  • Records with dimensions or measures that exceed the Timestream defined limits.

For more information, see Quotas in the Timestream Developer Guide.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

Instance quota of resource exceeded for this account.

_ThrottlingException :: AsError a => Fold a ServiceError Source #

Too many requests were made by a user exceeding service quotas. The request was throttled.

_ValidationException :: AsError a => Fold a ServiceError Source #

Invalid or malformed request.

DimensionValueType

newtype DimensionValueType Source #

Bundled Patterns

pattern DimensionValueType_VARCHAR :: DimensionValueType 

Instances

Instances details
FromJSON DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

FromJSONKey DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToJSON DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToJSONKey DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToByteString DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToHeader DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToLog DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToQuery DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

FromText DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToText DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

FromXML DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

ToXML DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Generic DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Associated Types

type Rep DimensionValueType :: Type -> Type #

Read DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Show DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

NFData DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Methods

rnf :: DimensionValueType -> () #

Eq DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Ord DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

Hashable DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

type Rep DimensionValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.DimensionValueType

type Rep DimensionValueType = D1 ('MetaData "DimensionValueType" "Amazonka.TimeStreamWrite.Types.DimensionValueType" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'True) (C1 ('MetaCons "DimensionValueType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDimensionValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

MeasureValueType

newtype MeasureValueType Source #

Instances

Instances details
FromJSON MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

FromJSONKey MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToJSON MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToJSONKey MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToByteString MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToHeader MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToLog MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToQuery MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

FromText MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToText MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

FromXML MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

ToXML MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Generic MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Associated Types

type Rep MeasureValueType :: Type -> Type #

Read MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Show MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

NFData MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Methods

rnf :: MeasureValueType -> () #

Eq MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Ord MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

Hashable MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

type Rep MeasureValueType Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValueType

type Rep MeasureValueType = D1 ('MetaData "MeasureValueType" "Amazonka.TimeStreamWrite.Types.MeasureValueType" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'True) (C1 ('MetaCons "MeasureValueType'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromMeasureValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

S3EncryptionOption

newtype S3EncryptionOption Source #

Instances

Instances details
FromJSON S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

FromJSONKey S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToJSON S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToJSONKey S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToByteString S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToHeader S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToLog S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToQuery S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

FromText S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToText S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

FromXML S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

ToXML S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Generic S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Associated Types

type Rep S3EncryptionOption :: Type -> Type #

Read S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Show S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

NFData S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Methods

rnf :: S3EncryptionOption -> () #

Eq S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Ord S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

Hashable S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

type Rep S3EncryptionOption Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3EncryptionOption

type Rep S3EncryptionOption = D1 ('MetaData "S3EncryptionOption" "Amazonka.TimeStreamWrite.Types.S3EncryptionOption" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'True) (C1 ('MetaCons "S3EncryptionOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromS3EncryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TableStatus

newtype TableStatus Source #

Constructors

TableStatus' 

Bundled Patterns

pattern TableStatus_ACTIVE :: TableStatus 
pattern TableStatus_DELETING :: TableStatus 

Instances

Instances details
FromJSON TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

FromJSONKey TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToJSON TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToJSONKey TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToByteString TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToHeader TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToLog TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToQuery TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

FromText TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToText TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Methods

toText :: TableStatus -> Text #

FromXML TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

ToXML TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Methods

toXML :: TableStatus -> XML #

Generic TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Associated Types

type Rep TableStatus :: Type -> Type #

Read TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Show TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

NFData TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Methods

rnf :: TableStatus -> () #

Eq TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Ord TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

Hashable TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

type Rep TableStatus Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TableStatus

type Rep TableStatus = D1 ('MetaData "TableStatus" "Amazonka.TimeStreamWrite.Types.TableStatus" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'True) (C1 ('MetaCons "TableStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTableStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

TimeUnit

newtype TimeUnit Source #

Constructors

TimeUnit' 

Fields

Instances

Instances details
FromJSON TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

FromJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToJSON TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToJSONKey TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToByteString TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

toBS :: TimeUnit -> ByteString #

ToHeader TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

toHeader :: HeaderName -> TimeUnit -> [Header] #

ToLog TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToQuery TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

FromText TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToText TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

toText :: TimeUnit -> Text #

FromXML TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

ToXML TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

toXML :: TimeUnit -> XML #

Generic TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Associated Types

type Rep TimeUnit :: Type -> Type #

Methods

from :: TimeUnit -> Rep TimeUnit x #

to :: Rep TimeUnit x -> TimeUnit #

Read TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Show TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

NFData TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

rnf :: TimeUnit -> () #

Eq TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Ord TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Hashable TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

Methods

hashWithSalt :: Int -> TimeUnit -> Int #

hash :: TimeUnit -> Int #

type Rep TimeUnit Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.TimeUnit

type Rep TimeUnit = D1 ('MetaData "TimeUnit" "Amazonka.TimeStreamWrite.Types.TimeUnit" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'True) (C1 ('MetaCons "TimeUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromTimeUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Database

data Database Source #

A top level container for a table. Databases and tables are the fundamental management concepts in Amazon Timestream. All tables in a database are encrypted with the same KMS key.

See: newDatabase smart constructor.

Constructors

Database' 

Fields

Instances

Instances details
FromJSON Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Generic Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Associated Types

type Rep Database :: Type -> Type #

Methods

from :: Database -> Rep Database x #

to :: Rep Database x -> Database #

Read Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Show Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

NFData Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Methods

rnf :: Database -> () #

Eq Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Hashable Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

Methods

hashWithSalt :: Int -> Database -> Int #

hash :: Database -> Int #

type Rep Database Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Database

type Rep Database = D1 ('MetaData "Database" "Amazonka.TimeStreamWrite.Types.Database" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Database'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "tableCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))

newDatabase :: Database Source #

Create a value of Database with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:Database', database_arn - The Amazon Resource Name that uniquely identifies this database.

$sel:creationTime:Database', database_creationTime - The time when the database was created, calculated from the Unix epoch time.

$sel:databaseName:Database', database_databaseName - The name of the Timestream database.

$sel:kmsKeyId:Database', database_kmsKeyId - The identifier of the KMS key used to encrypt the data stored in the database.

$sel:lastUpdatedTime:Database', database_lastUpdatedTime - The last time that this database was updated.

$sel:tableCount:Database', database_tableCount - The total number of tables found within a Timestream database.

database_arn :: Lens' Database (Maybe Text) Source #

The Amazon Resource Name that uniquely identifies this database.

database_creationTime :: Lens' Database (Maybe UTCTime) Source #

The time when the database was created, calculated from the Unix epoch time.

database_databaseName :: Lens' Database (Maybe Text) Source #

The name of the Timestream database.

database_kmsKeyId :: Lens' Database (Maybe Text) Source #

The identifier of the KMS key used to encrypt the data stored in the database.

database_lastUpdatedTime :: Lens' Database (Maybe UTCTime) Source #

The last time that this database was updated.

database_tableCount :: Lens' Database (Maybe Integer) Source #

The total number of tables found within a Timestream database.

Dimension

data Dimension Source #

Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

See: newDimension smart constructor.

Constructors

Dimension' 

Fields

  • dimensionValueType :: Maybe DimensionValueType

    The data type of the dimension for the time series data point.

  • name :: Text

    Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

    For constraints on Dimension names, see Naming Constraints.

  • value :: Text

    The value of the dimension.

Instances

Instances details
ToJSON Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Generic Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Associated Types

type Rep Dimension :: Type -> Type #

Read Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Show Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

NFData Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Methods

rnf :: Dimension -> () #

Eq Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

Hashable Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

type Rep Dimension Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Dimension

type Rep Dimension = D1 ('MetaData "Dimension" "Amazonka.TimeStreamWrite.Types.Dimension" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Dimension'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dimensionValueType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DimensionValueType)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDimension Source #

Create a value of Dimension with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensionValueType:Dimension', dimension_dimensionValueType - The data type of the dimension for the time series data point.

$sel:name:Dimension', dimension_name - Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

For constraints on Dimension names, see Naming Constraints.

$sel:value:Dimension', dimension_value - The value of the dimension.

dimension_dimensionValueType :: Lens' Dimension (Maybe DimensionValueType) Source #

The data type of the dimension for the time series data point.

dimension_name :: Lens' Dimension Text Source #

Dimension represents the meta data attributes of the time series. For example, the name and availability zone of an EC2 instance or the name of the manufacturer of a wind turbine are dimensions.

For constraints on Dimension names, see Naming Constraints.

dimension_value :: Lens' Dimension Text Source #

The value of the dimension.

Endpoint

data Endpoint Source #

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

See: newEndpoint smart constructor.

Constructors

Endpoint' 

Fields

Instances

Instances details
FromJSON Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Generic Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Associated Types

type Rep Endpoint :: Type -> Type #

Methods

from :: Endpoint -> Rep Endpoint x #

to :: Rep Endpoint x -> Endpoint #

Read Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Show Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

NFData Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Methods

rnf :: Endpoint -> () #

Eq Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Hashable Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

Methods

hashWithSalt :: Int -> Endpoint -> Int #

hash :: Endpoint -> Int #

type Rep Endpoint Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Endpoint

type Rep Endpoint = D1 ('MetaData "Endpoint" "Amazonka.TimeStreamWrite.Types.Endpoint" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Endpoint'" 'PrefixI 'True) (S1 ('MetaSel ('Just "address") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "cachePeriodInMinutes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)))

newEndpoint Source #

Create a value of Endpoint with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:address:Endpoint', endpoint_address - An endpoint address.

$sel:cachePeriodInMinutes:Endpoint', endpoint_cachePeriodInMinutes - The TTL for the endpoint, in minutes.

endpoint_address :: Lens' Endpoint Text Source #

An endpoint address.

endpoint_cachePeriodInMinutes :: Lens' Endpoint Integer Source #

The TTL for the endpoint, in minutes.

MagneticStoreRejectedDataLocation

data MagneticStoreRejectedDataLocation Source #

The location to write error reports for records rejected, asynchronously, during magnetic store writes.

See: newMagneticStoreRejectedDataLocation smart constructor.

Constructors

MagneticStoreRejectedDataLocation' 

Fields

Instances

Instances details
FromJSON MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

ToJSON MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

Generic MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

Associated Types

type Rep MagneticStoreRejectedDataLocation :: Type -> Type #

Read MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

Show MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

NFData MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

Eq MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

Hashable MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

type Rep MagneticStoreRejectedDataLocation Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation

type Rep MagneticStoreRejectedDataLocation = D1 ('MetaData "MagneticStoreRejectedDataLocation" "Amazonka.TimeStreamWrite.Types.MagneticStoreRejectedDataLocation" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "MagneticStoreRejectedDataLocation'" 'PrefixI 'True) (S1 ('MetaSel ('Just "s3Configuration") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3Configuration))))

newMagneticStoreRejectedDataLocation :: MagneticStoreRejectedDataLocation Source #

Create a value of MagneticStoreRejectedDataLocation with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:s3Configuration:MagneticStoreRejectedDataLocation', magneticStoreRejectedDataLocation_s3Configuration - Configuration of an S3 location to write error reports for records rejected, asynchronously, during magnetic store writes.

magneticStoreRejectedDataLocation_s3Configuration :: Lens' MagneticStoreRejectedDataLocation (Maybe S3Configuration) Source #

Configuration of an S3 location to write error reports for records rejected, asynchronously, during magnetic store writes.

MagneticStoreWriteProperties

data MagneticStoreWriteProperties Source #

The set of properties on a table for configuring magnetic store writes.

See: newMagneticStoreWriteProperties smart constructor.

Constructors

MagneticStoreWriteProperties' 

Fields

Instances

Instances details
FromJSON MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

ToJSON MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

Generic MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

Associated Types

type Rep MagneticStoreWriteProperties :: Type -> Type #

Read MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

Show MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

NFData MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

Eq MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

Hashable MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

type Rep MagneticStoreWriteProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties

type Rep MagneticStoreWriteProperties = D1 ('MetaData "MagneticStoreWriteProperties" "Amazonka.TimeStreamWrite.Types.MagneticStoreWriteProperties" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "MagneticStoreWriteProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "magneticStoreRejectedDataLocation") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MagneticStoreRejectedDataLocation)) :*: S1 ('MetaSel ('Just "enableMagneticStoreWrites") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool)))

newMagneticStoreWriteProperties Source #

Create a value of MagneticStoreWriteProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:magneticStoreRejectedDataLocation:MagneticStoreWriteProperties', magneticStoreWriteProperties_magneticStoreRejectedDataLocation - The location to write error reports for records rejected asynchronously during magnetic store writes.

$sel:enableMagneticStoreWrites:MagneticStoreWriteProperties', magneticStoreWriteProperties_enableMagneticStoreWrites - A flag to enable magnetic store writes.

magneticStoreWriteProperties_magneticStoreRejectedDataLocation :: Lens' MagneticStoreWriteProperties (Maybe MagneticStoreRejectedDataLocation) Source #

The location to write error reports for records rejected asynchronously during magnetic store writes.

MeasureValue

data MeasureValue Source #

MeasureValue represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures. MeasureValue has both name and value.

MeasureValue is only allowed for type MULTI. Using MULTI type, you can pass multiple data attributes associated with the same time series in a single record

See: newMeasureValue smart constructor.

Constructors

MeasureValue' 

Fields

Instances

Instances details
ToJSON MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Generic MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Associated Types

type Rep MeasureValue :: Type -> Type #

Read MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Show MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

NFData MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Methods

rnf :: MeasureValue -> () #

Eq MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

Hashable MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

type Rep MeasureValue Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.MeasureValue

type Rep MeasureValue = D1 ('MetaData "MeasureValue" "Amazonka.TimeStreamWrite.Types.MeasureValue" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "MeasureValue'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 MeasureValueType))))

newMeasureValue Source #

Create a value of MeasureValue with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:name:MeasureValue', measureValue_name - Name of the MeasureValue.

For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.

$sel:value:MeasureValue', measureValue_value - Value for the MeasureValue.

$sel:type':MeasureValue', measureValue_type - Contains the data type of the MeasureValue for the time series data point.

measureValue_name :: Lens' MeasureValue Text Source #

Name of the MeasureValue.

For constraints on MeasureValue names, refer to Naming Constraints in the Timestream developer guide.

measureValue_value :: Lens' MeasureValue Text Source #

Value for the MeasureValue.

measureValue_type :: Lens' MeasureValue MeasureValueType Source #

Contains the data type of the MeasureValue for the time series data point.

Record

data Record Source #

Record represents a time series data point being written into Timestream. Each record contains an array of dimensions. Dimensions represent the meta data attributes of a time series data point such as the instance name or availability zone of an EC2 instance. A record also contains the measure name which is the name of the measure being collected for example the CPU utilization of an EC2 instance. A record also contains the measure value and the value type which is the data type of the measure value. In addition, the record contains the timestamp when the measure was collected that the timestamp unit which represents the granularity of the timestamp.

Records have a Version field, which is a 64-bit long that you can use for updating data points. Writes of a duplicate record with the same dimension, timestamp, and measure name but different measure value will only succeed if the Version attribute of the record in the write request is higher than that of the existing record. Timestream defaults to a Version of 1 for records without the Version field.

See: newRecord smart constructor.

Constructors

Record' 

Fields

  • dimensions :: Maybe [Dimension]

    Contains the list of dimensions for time series data points.

  • measureName :: Maybe Text

    Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures.

  • measureValue :: Maybe Text

    Contains the measure value for the time series data point.

  • measureValueType :: Maybe MeasureValueType

    Contains the data type of the measure value for the time series data point. Default type is DOUBLE.

  • measureValues :: Maybe [MeasureValue]

    Contains the list of MeasureValue for time series data points.

    This is only allowed for type MULTI. For scalar values, use MeasureValue attribute of the Record directly.

  • time :: Maybe Text

    Contains the time at which the measure value for the data point was collected. The time value plus the unit provides the time elapsed since the epoch. For example, if the time value is 12345 and the unit is ms, then 12345 ms have elapsed since the epoch.

  • timeUnit :: Maybe TimeUnit

    The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds or other supported values. Default is MILLISECONDS.

  • version :: Maybe Integer

    64-bit attribute used for record updates. Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version will still be updated . Default value is 1.

    Version must be 1 or greater, or you will receive a ValidationException error.

Instances

Instances details
ToJSON Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Generic Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Associated Types

type Rep Record :: Type -> Type #

Methods

from :: Record -> Rep Record x #

to :: Rep Record x -> Record #

Read Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Show Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

NFData Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Methods

rnf :: Record -> () #

Eq Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Methods

(==) :: Record -> Record -> Bool #

(/=) :: Record -> Record -> Bool #

Hashable Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

Methods

hashWithSalt :: Int -> Record -> Int #

hash :: Record -> Int #

type Rep Record Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Record

newRecord :: Record Source #

Create a value of Record with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dimensions:Record', record_dimensions - Contains the list of dimensions for time series data points.

$sel:measureName:Record', record_measureName - Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures.

$sel:measureValue:Record', record_measureValue - Contains the measure value for the time series data point.

$sel:measureValueType:Record', record_measureValueType - Contains the data type of the measure value for the time series data point. Default type is DOUBLE.

$sel:measureValues:Record', record_measureValues - Contains the list of MeasureValue for time series data points.

This is only allowed for type MULTI. For scalar values, use MeasureValue attribute of the Record directly.

$sel:time:Record', record_time - Contains the time at which the measure value for the data point was collected. The time value plus the unit provides the time elapsed since the epoch. For example, if the time value is 12345 and the unit is ms, then 12345 ms have elapsed since the epoch.

$sel:timeUnit:Record', record_timeUnit - The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds or other supported values. Default is MILLISECONDS.

$sel:version:Record', record_version - 64-bit attribute used for record updates. Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version will still be updated . Default value is 1.

Version must be 1 or greater, or you will receive a ValidationException error.

record_dimensions :: Lens' Record (Maybe [Dimension]) Source #

Contains the list of dimensions for time series data points.

record_measureName :: Lens' Record (Maybe Text) Source #

Measure represents the data attribute of the time series. For example, the CPU utilization of an EC2 instance or the RPM of a wind turbine are measures.

record_measureValue :: Lens' Record (Maybe Text) Source #

Contains the measure value for the time series data point.

record_measureValueType :: Lens' Record (Maybe MeasureValueType) Source #

Contains the data type of the measure value for the time series data point. Default type is DOUBLE.

record_measureValues :: Lens' Record (Maybe [MeasureValue]) Source #

Contains the list of MeasureValue for time series data points.

This is only allowed for type MULTI. For scalar values, use MeasureValue attribute of the Record directly.

record_time :: Lens' Record (Maybe Text) Source #

Contains the time at which the measure value for the data point was collected. The time value plus the unit provides the time elapsed since the epoch. For example, if the time value is 12345 and the unit is ms, then 12345 ms have elapsed since the epoch.

record_timeUnit :: Lens' Record (Maybe TimeUnit) Source #

The granularity of the timestamp unit. It indicates if the time value is in seconds, milliseconds, nanoseconds or other supported values. Default is MILLISECONDS.

record_version :: Lens' Record (Maybe Integer) Source #

64-bit attribute used for record updates. Write requests for duplicate data with a higher version number will update the existing measure value and version. In cases where the measure value is the same, Version will still be updated . Default value is 1.

Version must be 1 or greater, or you will receive a ValidationException error.

RecordsIngested

data RecordsIngested Source #

Information on the records ingested by this request.

See: newRecordsIngested smart constructor.

Constructors

RecordsIngested' 

Fields

Instances

Instances details
FromJSON RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

Generic RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

Associated Types

type Rep RecordsIngested :: Type -> Type #

Read RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

Show RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

NFData RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

Methods

rnf :: RecordsIngested -> () #

Eq RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

Hashable RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

type Rep RecordsIngested Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RecordsIngested

type Rep RecordsIngested = D1 ('MetaData "RecordsIngested" "Amazonka.TimeStreamWrite.Types.RecordsIngested" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "RecordsIngested'" 'PrefixI 'True) (S1 ('MetaSel ('Just "magneticStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "memoryStore") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "total") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newRecordsIngested :: RecordsIngested Source #

Create a value of RecordsIngested with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:magneticStore:RecordsIngested', recordsIngested_magneticStore - Count of records ingested into the magnetic store.

$sel:memoryStore:RecordsIngested', recordsIngested_memoryStore - Count of records ingested into the memory store.

$sel:total:RecordsIngested', recordsIngested_total - Total count of successfully ingested records.

recordsIngested_magneticStore :: Lens' RecordsIngested (Maybe Int) Source #

Count of records ingested into the magnetic store.

recordsIngested_memoryStore :: Lens' RecordsIngested (Maybe Int) Source #

Count of records ingested into the memory store.

recordsIngested_total :: Lens' RecordsIngested (Maybe Int) Source #

Total count of successfully ingested records.

RetentionProperties

data RetentionProperties Source #

Retention properties contain the duration for which your time series data must be stored in the magnetic store and the memory store.

See: newRetentionProperties smart constructor.

Constructors

RetentionProperties' 

Fields

Instances

Instances details
FromJSON RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

ToJSON RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

Generic RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

Associated Types

type Rep RetentionProperties :: Type -> Type #

Read RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

Show RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

NFData RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

Methods

rnf :: RetentionProperties -> () #

Eq RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

Hashable RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

type Rep RetentionProperties Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.RetentionProperties

type Rep RetentionProperties = D1 ('MetaData "RetentionProperties" "Amazonka.TimeStreamWrite.Types.RetentionProperties" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "RetentionProperties'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memoryStoreRetentionPeriodInHours") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "magneticStoreRetentionPeriodInDays") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))

newRetentionProperties Source #

Create a value of RetentionProperties with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:memoryStoreRetentionPeriodInHours:RetentionProperties', retentionProperties_memoryStoreRetentionPeriodInHours - The duration for which data must be stored in the memory store.

$sel:magneticStoreRetentionPeriodInDays:RetentionProperties', retentionProperties_magneticStoreRetentionPeriodInDays - The duration for which data must be stored in the magnetic store.

retentionProperties_memoryStoreRetentionPeriodInHours :: Lens' RetentionProperties Natural Source #

The duration for which data must be stored in the memory store.

retentionProperties_magneticStoreRetentionPeriodInDays :: Lens' RetentionProperties Natural Source #

The duration for which data must be stored in the magnetic store.

S3Configuration

data S3Configuration Source #

Configuration specifing an S3 location.

See: newS3Configuration smart constructor.

Constructors

S3Configuration' 

Fields

Instances

Instances details
FromJSON S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

ToJSON S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

Generic S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

Associated Types

type Rep S3Configuration :: Type -> Type #

Read S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

Show S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

NFData S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

Methods

rnf :: S3Configuration -> () #

Eq S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

Hashable S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

type Rep S3Configuration Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.S3Configuration

type Rep S3Configuration = D1 ('MetaData "S3Configuration" "Amazonka.TimeStreamWrite.Types.S3Configuration" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "S3Configuration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "bucketName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "encryptionOption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe S3EncryptionOption))) :*: (S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "objectKeyPrefix") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newS3Configuration :: S3Configuration Source #

Create a value of S3Configuration with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:bucketName:S3Configuration', s3Configuration_bucketName - >Bucket name of the customer S3 bucket.

$sel:encryptionOption:S3Configuration', s3Configuration_encryptionOption - Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.

$sel:kmsKeyId:S3Configuration', s3Configuration_kmsKeyId - KMS key id for the customer s3 location when encrypting with a KMS managed key.

$sel:objectKeyPrefix:S3Configuration', s3Configuration_objectKeyPrefix - Object key preview for the customer S3 location.

s3Configuration_bucketName :: Lens' S3Configuration (Maybe Text) Source #

Bucket name of the customer S3 bucket.

s3Configuration_encryptionOption :: Lens' S3Configuration (Maybe S3EncryptionOption) Source #

Encryption option for the customer s3 location. Options are S3 server side encryption with an S3-managed key or KMS managed key.

s3Configuration_kmsKeyId :: Lens' S3Configuration (Maybe Text) Source #

KMS key id for the customer s3 location when encrypting with a KMS managed key.

s3Configuration_objectKeyPrefix :: Lens' S3Configuration (Maybe Text) Source #

Object key preview for the customer S3 location.

Table

data Table Source #

Table represents a database table in Timestream. Tables contain one or more related time series. You can modify the retention duration of the memory store and the magnetic store for a table.

See: newTable smart constructor.

Constructors

Table' 

Fields

Instances

Instances details
FromJSON Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Generic Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Associated Types

type Rep Table :: Type -> Type #

Methods

from :: Table -> Rep Table x #

to :: Rep Table x -> Table #

Read Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Show Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Methods

showsPrec :: Int -> Table -> ShowS #

show :: Table -> String #

showList :: [Table] -> ShowS #

NFData Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Methods

rnf :: Table -> () #

Eq Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Methods

(==) :: Table -> Table -> Bool #

(/=) :: Table -> Table -> Bool #

Hashable Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

Methods

hashWithSalt :: Int -> Table -> Int #

hash :: Table -> Int #

type Rep Table Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Table

newTable :: Table Source #

Create a value of Table with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:arn:Table', table_arn - The Amazon Resource Name that uniquely identifies this table.

$sel:creationTime:Table', table_creationTime - The time when the Timestream table was created.

$sel:databaseName:Table', table_databaseName - The name of the Timestream database that contains this table.

$sel:lastUpdatedTime:Table', table_lastUpdatedTime - The time when the Timestream table was last updated.

$sel:magneticStoreWriteProperties:Table', table_magneticStoreWriteProperties - Contains properties to set on the table when enabling magnetic store writes.

$sel:retentionProperties:Table', table_retentionProperties - The retention duration for the memory store and magnetic store.

$sel:tableName:Table', table_tableName - The name of the Timestream table.

$sel:tableStatus:Table', table_tableStatus - The current state of the table:

  • DELETING - The table is being deleted.
  • ACTIVE - The table is ready for use.

table_arn :: Lens' Table (Maybe Text) Source #

The Amazon Resource Name that uniquely identifies this table.

table_creationTime :: Lens' Table (Maybe UTCTime) Source #

The time when the Timestream table was created.

table_databaseName :: Lens' Table (Maybe Text) Source #

The name of the Timestream database that contains this table.

table_lastUpdatedTime :: Lens' Table (Maybe UTCTime) Source #

The time when the Timestream table was last updated.

table_magneticStoreWriteProperties :: Lens' Table (Maybe MagneticStoreWriteProperties) Source #

Contains properties to set on the table when enabling magnetic store writes.

table_retentionProperties :: Lens' Table (Maybe RetentionProperties) Source #

The retention duration for the memory store and magnetic store.

table_tableName :: Lens' Table (Maybe Text) Source #

The name of the Timestream table.

table_tableStatus :: Lens' Table (Maybe TableStatus) Source #

The current state of the table:

  • DELETING - The table is being deleted.
  • ACTIVE - The table is ready for use.

Tag

data Tag Source #

A tag is a label that you assign to a Timestream database and/or table. Each tag consists of a key and an optional value, both of which you define. Tags enable you to categorize databases and/or tables, for example, by purpose, owner, or environment.

See: newTag smart constructor.

Constructors

Tag' 

Fields

  • key :: Text

    The key of the tag. Tag keys are case sensitive.

  • value :: Text

    The value of the tag. Tag values are case-sensitive and can be null.

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Hashable Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.TimeStreamWrite.Types.Tag" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newTag Source #

Create a value of Tag with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:key:Tag', tag_key - The key of the tag. Tag keys are case sensitive.

$sel:value:Tag', tag_value - The value of the tag. Tag values are case-sensitive and can be null.

tag_key :: Lens' Tag Text Source #

The key of the tag. Tag keys are case sensitive.

tag_value :: Lens' Tag Text Source #

The value of the tag. Tag values are case-sensitive and can be null.