Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data UpdateTable = UpdateTable' {}
- newUpdateTable :: Text -> Text -> UpdateTable
- updateTable_magneticStoreWriteProperties :: Lens' UpdateTable (Maybe MagneticStoreWriteProperties)
- updateTable_retentionProperties :: Lens' UpdateTable (Maybe RetentionProperties)
- updateTable_databaseName :: Lens' UpdateTable Text
- updateTable_tableName :: Lens' UpdateTable Text
- data UpdateTableResponse = UpdateTableResponse' {
- table :: Maybe Table
- httpStatus :: Int
- newUpdateTableResponse :: Int -> UpdateTableResponse
- updateTableResponse_table :: Lens' UpdateTableResponse (Maybe Table)
- updateTableResponse_httpStatus :: Lens' UpdateTableResponse Int
Creating a Request
data UpdateTable Source #
See: newUpdateTable
smart constructor.
UpdateTable' | |
|
Instances
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.
UpdateTableResponse' | |
|
Instances
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
updateTableResponse_table :: Lens' UpdateTableResponse (Maybe Table) Source #
The updated Timestream table.
updateTableResponse_httpStatus :: Lens' UpdateTableResponse Int Source #
The response's http status code.