amazonka-dms-2.0: Amazon Database Migration Service 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.DMS.Types.TableStatistics

Description

 
Synopsis

Documentation

data TableStatistics Source #

Provides a collection of table statistics in response to a request by the DescribeTableStatistics operation.

See: newTableStatistics smart constructor.

Constructors

TableStatistics' 

Fields

  • appliedDdls :: Maybe Integer

    The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

  • appliedDeletes :: Maybe Integer

    The number of delete actions applied on a target table.

  • appliedInserts :: Maybe Integer

    The number of insert actions applied on a target table.

  • appliedUpdates :: Maybe Integer

    The number of update actions applied on a target table.

  • ddls :: Maybe Integer

    The data definition language (DDL) used to build and modify the structure of your tables.

  • deletes :: Maybe Integer

    The number of delete actions performed on a table.

  • fullLoadCondtnlChkFailedRows :: Maybe Integer

    The number of rows that failed conditional checks during the full load operation (valid only for migrations where DynamoDB is the target).

  • fullLoadEndTime :: Maybe POSIX

    The time when the full load operation completed.

  • fullLoadErrorRows :: Maybe Integer

    The number of rows that failed to load during the full load operation (valid only for migrations where DynamoDB is the target).

  • fullLoadReloaded :: Maybe Bool

    A value that indicates if the table was reloaded (true) or loaded as part of a new full load operation (false).

  • fullLoadRows :: Maybe Integer

    The number of rows added during the full load operation.

  • fullLoadStartTime :: Maybe POSIX

    The time when the full load operation started.

  • inserts :: Maybe Integer

    The number of insert actions performed on a table.

  • lastUpdateTime :: Maybe POSIX

    The last time a table was updated.

  • schemaName :: Maybe Text

    The schema name.

  • tableName :: Maybe Text

    The name of the table.

  • tableState :: Maybe Text

    The state of the tables described.

    Valid states: Table does not exist | Before load | Full load | Table completed | Table cancelled | Table error | Table is being reloaded

  • updates :: Maybe Integer

    The number of update actions performed on a table.

  • validationFailedRecords :: Maybe Integer

    The number of records that failed validation.

  • validationPendingRecords :: Maybe Integer

    The number of records that have yet to be validated.

  • validationState :: Maybe Text

    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.
  • validationStateDetails :: Maybe Text

    Additional details about the state of validation.

  • validationSuspendedRecords :: Maybe Integer

    The number of records that couldn't be validated.

Instances

Instances details
FromJSON TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

Generic TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

Associated Types

type Rep TableStatistics :: Type -> Type #

Read TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

Show TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

NFData TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

Methods

rnf :: TableStatistics -> () #

Eq TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

Hashable TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

type Rep TableStatistics Source # 
Instance details

Defined in Amazonka.DMS.Types.TableStatistics

type Rep TableStatistics = D1 ('MetaData "TableStatistics" "Amazonka.DMS.Types.TableStatistics" "amazonka-dms-2.0-LVCLJv4CY4nJuf0WXCDs3O" 'False) (C1 ('MetaCons "TableStatistics'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "appliedDdls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "appliedDeletes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "appliedInserts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "appliedUpdates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "ddls") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))) :*: ((S1 ('MetaSel ('Just "deletes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "fullLoadCondtnlChkFailedRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "fullLoadEndTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "fullLoadErrorRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "fullLoadReloaded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "fullLoadRows") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))) :*: (((S1 ('MetaSel ('Just "fullLoadStartTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: (S1 ('MetaSel ('Just "inserts") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "lastUpdateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "schemaName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "tableName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "tableState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 ('MetaSel ('Just "updates") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "validationFailedRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "validationPendingRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))) :*: (S1 ('MetaSel ('Just "validationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "validationStateDetails") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "validationSuspendedRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))))))))

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:appliedDdls:TableStatistics', tableStatistics_appliedDdls - The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

$sel:appliedDeletes:TableStatistics', tableStatistics_appliedDeletes - The number of delete actions applied on a target table.

$sel:appliedInserts:TableStatistics', tableStatistics_appliedInserts - The number of insert actions applied on a target table.

$sel:appliedUpdates:TableStatistics', tableStatistics_appliedUpdates - The number of update actions applied on a target table.

$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: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:fullLoadEndTime:TableStatistics', tableStatistics_fullLoadEndTime - The time when the full load operation completed.

$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: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:fullLoadRows:TableStatistics', tableStatistics_fullLoadRows - The number of rows added during the full load operation.

$sel:fullLoadStartTime:TableStatistics', tableStatistics_fullLoadStartTime - The time when the full load operation started.

$sel:inserts:TableStatistics', tableStatistics_inserts - The number of insert actions performed on a table.

$sel:lastUpdateTime:TableStatistics', tableStatistics_lastUpdateTime - The last time a table was updated.

$sel:schemaName:TableStatistics', tableStatistics_schemaName - The schema name.

$sel:tableName:TableStatistics', tableStatistics_tableName - The name of the table.

$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 is being reloaded

$sel:updates:TableStatistics', tableStatistics_updates - The number of update actions performed on a table.

$sel:validationFailedRecords:TableStatistics', tableStatistics_validationFailedRecords - The number of records that failed validation.

$sel:validationPendingRecords:TableStatistics', tableStatistics_validationPendingRecords - The number of records that have yet to be validated.

$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:validationStateDetails:TableStatistics', tableStatistics_validationStateDetails - Additional details about the state of validation.

$sel:validationSuspendedRecords:TableStatistics', tableStatistics_validationSuspendedRecords - The number of records that couldn't be validated.

tableStatistics_appliedDdls :: Lens' TableStatistics (Maybe Integer) Source #

The number of data definition language (DDL) statements used to build and modify the structure of your tables applied on the target.

tableStatistics_appliedDeletes :: Lens' TableStatistics (Maybe Integer) Source #

The number of delete actions applied on a target table.

tableStatistics_appliedInserts :: Lens' TableStatistics (Maybe Integer) Source #

The number of insert actions applied on a target table.

tableStatistics_appliedUpdates :: Lens' TableStatistics (Maybe Integer) Source #

The number of update actions applied on a target table.

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_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_fullLoadEndTime :: Lens' TableStatistics (Maybe UTCTime) Source #

The time when the full load operation completed.

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_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_fullLoadRows :: Lens' TableStatistics (Maybe Integer) Source #

The number of rows added during the full load operation.

tableStatistics_fullLoadStartTime :: Lens' TableStatistics (Maybe UTCTime) Source #

The time when the full load operation started.

tableStatistics_inserts :: Lens' TableStatistics (Maybe Integer) Source #

The number of insert actions performed on a table.

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 is being reloaded

tableStatistics_updates :: Lens' TableStatistics (Maybe Integer) Source #

The number of update actions performed on a table.

tableStatistics_validationFailedRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that failed validation.

tableStatistics_validationPendingRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that have yet to be validated.

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_validationStateDetails :: Lens' TableStatistics (Maybe Text) Source #

Additional details about the state of validation.

tableStatistics_validationSuspendedRecords :: Lens' TableStatistics (Maybe Integer) Source #

The number of records that couldn't be validated.