Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data TableStatistics = TableStatistics' {
- validationState :: Maybe Text
- fullLoadRows :: Maybe Integer
- inserts :: Maybe Integer
- fullLoadEndTime :: Maybe POSIX
- fullLoadCondtnlChkFailedRows :: Maybe Integer
- fullLoadReloaded :: Maybe Bool
- validationFailedRecords :: Maybe Integer
- validationSuspendedRecords :: Maybe Integer
- schemaName :: Maybe Text
- validationStateDetails :: Maybe Text
- tableState :: Maybe Text
- fullLoadErrorRows :: Maybe Integer
- ddls :: Maybe Integer
- deletes :: Maybe Integer
- updates :: Maybe Integer
- validationPendingRecords :: Maybe Integer
- fullLoadStartTime :: Maybe POSIX
- lastUpdateTime :: Maybe POSIX
- tableName :: Maybe Text
- newTableStatistics :: TableStatistics
- tableStatistics_validationState :: Lens' TableStatistics (Maybe Text)
- tableStatistics_fullLoadRows :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_inserts :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_fullLoadEndTime :: Lens' TableStatistics (Maybe UTCTime)
- tableStatistics_fullLoadCondtnlChkFailedRows :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_fullLoadReloaded :: Lens' TableStatistics (Maybe Bool)
- tableStatistics_validationFailedRecords :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_validationSuspendedRecords :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_schemaName :: Lens' TableStatistics (Maybe Text)
- tableStatistics_validationStateDetails :: Lens' TableStatistics (Maybe Text)
- tableStatistics_tableState :: Lens' TableStatistics (Maybe Text)
- tableStatistics_fullLoadErrorRows :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_ddls :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_deletes :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_updates :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_validationPendingRecords :: Lens' TableStatistics (Maybe Integer)
- tableStatistics_fullLoadStartTime :: Lens' TableStatistics (Maybe UTCTime)
- tableStatistics_lastUpdateTime :: Lens' TableStatistics (Maybe UTCTime)
- tableStatistics_tableName :: Lens' TableStatistics (Maybe Text)
Documentation
data TableStatistics Source #
Provides a collection of table statistics in response to a request by
the DescribeTableStatistics
operation.
See: newTableStatistics
smart constructor.
TableStatistics' | |
|
Instances
newTableStatistics :: TableStatistics Source #
Create a value of TableStatistics
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:validationState:TableStatistics'
, tableStatistics_validationState
- The validation state of the table.
This parameter can have the following values:
- Not enabled – Validation isn't enabled for the table in the migration task.
- Pending records – Some records in the table are waiting for validation.
- Mismatched records – Some records in the table don't match between the source and target.
- Suspended records – Some records in the table couldn't be validated.
- No primary key –The table couldn't be validated because it has no primary key.
- Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
- Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
- Error – The table couldn't be validated because of an unexpected error.
- Pending validation – The table is waiting validation.
- Preparing table – Preparing the table enabled in the migration task for validation.
- Pending revalidation – All rows in the table are pending validation after the table was updated.
$sel:fullLoadRows:TableStatistics'
, tableStatistics_fullLoadRows
- The number of rows added during the full load operation.
$sel:inserts:TableStatistics'
, tableStatistics_inserts
- The number of insert actions performed on a table.
$sel:fullLoadEndTime:TableStatistics'
, tableStatistics_fullLoadEndTime
- The time when the full load operation completed.
$sel:fullLoadCondtnlChkFailedRows:TableStatistics'
, tableStatistics_fullLoadCondtnlChkFailedRows
- The number of rows that failed conditional checks during the full load
operation (valid only for migrations where DynamoDB is the target).
$sel:fullLoadReloaded:TableStatistics'
, tableStatistics_fullLoadReloaded
- A value that indicates if the table was reloaded (true
) or loaded as
part of a new full load operation (false
).
$sel:validationFailedRecords:TableStatistics'
, tableStatistics_validationFailedRecords
- The number of records that failed validation.
$sel:validationSuspendedRecords:TableStatistics'
, tableStatistics_validationSuspendedRecords
- The number of records that couldn't be validated.
$sel:schemaName:TableStatistics'
, tableStatistics_schemaName
- The schema name.
$sel:validationStateDetails:TableStatistics'
, tableStatistics_validationStateDetails
- Additional details about the state of validation.
$sel:tableState:TableStatistics'
, tableStatistics_tableState
- The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table all | Table updates | Table is being reloaded
$sel:fullLoadErrorRows:TableStatistics'
, tableStatistics_fullLoadErrorRows
- The number of rows that failed to load during the full load operation
(valid only for migrations where DynamoDB is the target).
$sel:ddls:TableStatistics'
, tableStatistics_ddls
- The data definition language (DDL) used to build and modify the
structure of your tables.
$sel:deletes:TableStatistics'
, tableStatistics_deletes
- The number of delete actions performed on a table.
$sel:updates:TableStatistics'
, tableStatistics_updates
- The number of update actions performed on a table.
$sel:validationPendingRecords:TableStatistics'
, tableStatistics_validationPendingRecords
- The number of records that have yet to be validated.
$sel:fullLoadStartTime:TableStatistics'
, tableStatistics_fullLoadStartTime
- The time when the full load operation started.
$sel:lastUpdateTime:TableStatistics'
, tableStatistics_lastUpdateTime
- The last time a table was updated.
$sel:tableName:TableStatistics'
, tableStatistics_tableName
- The name of the table.
tableStatistics_validationState :: Lens' TableStatistics (Maybe Text) Source #
The validation state of the table.
This parameter can have the following values:
- Not enabled – Validation isn't enabled for the table in the migration task.
- Pending records – Some records in the table are waiting for validation.
- Mismatched records – Some records in the table don't match between the source and target.
- Suspended records – Some records in the table couldn't be validated.
- No primary key –The table couldn't be validated because it has no primary key.
- Table error – The table wasn't validated because it's in an error state and some data wasn't migrated.
- Validated – All rows in the table are validated. If the table is updated, the status can change from Validated.
- Error – The table couldn't be validated because of an unexpected error.
- Pending validation – The table is waiting validation.
- Preparing table – Preparing the table enabled in the migration task for validation.
- Pending revalidation – All rows in the table are pending validation after the table was updated.
tableStatistics_fullLoadRows :: Lens' TableStatistics (Maybe Integer) Source #
The number of rows added during the full load operation.
tableStatistics_inserts :: Lens' TableStatistics (Maybe Integer) Source #
The number of insert actions performed on a table.
tableStatistics_fullLoadEndTime :: Lens' TableStatistics (Maybe UTCTime) Source #
The time when the full load operation completed.
tableStatistics_fullLoadCondtnlChkFailedRows :: Lens' TableStatistics (Maybe Integer) Source #
The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).
tableStatistics_fullLoadReloaded :: Lens' TableStatistics (Maybe Bool) Source #
A value that indicates if the table was reloaded (true
) or loaded as
part of a new full load operation (false
).
tableStatistics_validationFailedRecords :: Lens' TableStatistics (Maybe Integer) Source #
The number of records that failed validation.
tableStatistics_validationSuspendedRecords :: Lens' TableStatistics (Maybe Integer) Source #
The number of records that couldn't be validated.
tableStatistics_schemaName :: Lens' TableStatistics (Maybe Text) Source #
The schema name.
tableStatistics_validationStateDetails :: Lens' TableStatistics (Maybe Text) Source #
Additional details about the state of validation.
tableStatistics_tableState :: Lens' TableStatistics (Maybe Text) Source #
The state of the tables described.
Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table all | Table updates | Table is being reloaded
tableStatistics_fullLoadErrorRows :: Lens' TableStatistics (Maybe Integer) Source #
The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).
tableStatistics_ddls :: Lens' TableStatistics (Maybe Integer) Source #
The data definition language (DDL) used to build and modify the structure of your tables.
tableStatistics_deletes :: Lens' TableStatistics (Maybe Integer) Source #
The number of delete actions performed on a table.
tableStatistics_updates :: Lens' TableStatistics (Maybe Integer) Source #
The number of update actions performed on a table.
tableStatistics_validationPendingRecords :: Lens' TableStatistics (Maybe Integer) Source #
The number of records that have yet to be validated.
tableStatistics_fullLoadStartTime :: Lens' TableStatistics (Maybe UTCTime) Source #
The time when the full load operation started.
tableStatistics_lastUpdateTime :: Lens' TableStatistics (Maybe UTCTime) Source #
The last time a table was updated.
tableStatistics_tableName :: Lens' TableStatistics (Maybe Text) Source #
The name of the table.