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.UpdateTable

Description

Modifies the retention duration of the memory store and magnetic store for your Timestream table. Note that the change in retention duration takes effect immediately. For example, if the retention period of the memory store was initially set to 2 hours and then changed to 24 hours, the memory store will be capable of holding 24 hours of data, but will be populated with 24 hours of data 22 hours after this change was made. Timestream does not retrieve data from the magnetic store to populate the memory store.

See code sample for details.

Synopsis

Creating a Request

data UpdateTable Source #

See: newUpdateTable smart constructor.

Constructors

UpdateTable' 

Fields

Instances

Instances details
ToJSON UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

ToHeaders UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Methods

toHeaders :: UpdateTable -> [Header] #

ToPath UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

ToQuery UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

AWSRequest UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Associated Types

type AWSResponse UpdateTable #

Generic UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Associated Types

type Rep UpdateTable :: Type -> Type #

Read UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Show UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

NFData UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Methods

rnf :: UpdateTable -> () #

Eq UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Hashable UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

type AWSResponse UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

type Rep UpdateTable Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

type Rep UpdateTable = D1 ('MetaData "UpdateTable" "Amazonka.TimeStreamWrite.UpdateTable" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "UpdateTable'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "magneticStoreWriteProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe MagneticStoreWriteProperties)) :*: S1 ('MetaSel ('Just "retentionProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RetentionProperties))) :*: (S1 ('MetaSel ('Just "databaseName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUpdateTable Source #

Create a value of UpdateTable 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:

UpdateTable, updateTable_magneticStoreWriteProperties - Contains properties to set on the table when enabling magnetic store writes.

UpdateTable, updateTable_retentionProperties - The retention duration of the memory store and the magnetic store.

UpdateTable, updateTable_databaseName - The name of the Timestream database.

UpdateTable, updateTable_tableName - The name of the Timestream table.

Request Lenses

updateTable_magneticStoreWriteProperties :: Lens' UpdateTable (Maybe MagneticStoreWriteProperties) Source #

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

updateTable_retentionProperties :: Lens' UpdateTable (Maybe RetentionProperties) Source #

The retention duration of the memory store and the magnetic store.

updateTable_databaseName :: Lens' UpdateTable Text Source #

The name of the Timestream database.

updateTable_tableName :: Lens' UpdateTable Text Source #

The name of the Timestream table.

Destructuring the Response

data UpdateTableResponse Source #

See: newUpdateTableResponse smart constructor.

Constructors

UpdateTableResponse' 

Fields

Instances

Instances details
Generic UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Associated Types

type Rep UpdateTableResponse :: Type -> Type #

Read UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Show UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

NFData UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

Methods

rnf :: UpdateTableResponse -> () #

Eq UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

type Rep UpdateTableResponse Source # 
Instance details

Defined in Amazonka.TimeStreamWrite.UpdateTable

type Rep UpdateTableResponse = D1 ('MetaData "UpdateTableResponse" "Amazonka.TimeStreamWrite.UpdateTable" "amazonka-timestream-write-2.0-LXdAXNx5NaTIjNxYPQvSVq" 'False) (C1 ('MetaCons "UpdateTableResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "table") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Table)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateTableResponse Source #

Create a value of UpdateTableResponse 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:table:UpdateTableResponse', updateTableResponse_table - The updated Timestream table.

$sel:httpStatus:UpdateTableResponse', updateTableResponse_httpStatus - The response's http status code.

Response Lenses