Module Values.TableStatisticsSource

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

Sourcetype nonrec t = {
  1. schemaName : String_.t option;
    (*

    The schema name.

    *)
  2. tableName : String_.t option;
    (*

    The name of the table.

    *)
  3. inserts : Long.t option;
    (*

    The number of insert actions performed on a table.

    *)
  4. deletes : Long.t option;
    (*

    The number of delete actions performed on a table.

    *)
  5. updates : Long.t option;
    (*

    The number of update actions performed on a table.

    *)
  6. ddls : Long.t option;
    (*

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

    *)
  7. appliedInserts : LongOptional.t option;
    (*

    The number of insert actions applied on a target table.

    *)
  8. appliedDeletes : LongOptional.t option;
    (*

    The number of delete actions applied on a target table.

    *)
  9. appliedUpdates : LongOptional.t option;
    (*

    The number of update actions applied on a target table.

    *)
  10. appliedDdls : LongOptional.t option;
    (*

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

    *)
  11. fullLoadRows : Long.t option;
    (*

    The number of rows added during the full load operation.

    *)
  12. fullLoadCondtnlChkFailedRows : Long.t option;
    (*

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

    *)
  13. fullLoadErrorRows : Long.t option;
    (*

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

    *)
  14. fullLoadStartTime : TStamp.t option;
    (*

    The time when the full load operation started.

    *)
  15. fullLoadEndTime : TStamp.t option;
    (*

    The time when the full load operation completed.

    *)
  16. fullLoadReloaded : BooleanOptional.t option;
    (*

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

    *)
  17. lastUpdateTime : TStamp.t option;
    (*

    The last time a table was updated.

    *)
  18. tableState : String_.t option;
    (*

    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

    *)
  19. validationPendingRecords : Long.t option;
    (*

    The number of records that have yet to be validated.

    *)
  20. validationFailedRecords : Long.t option;
    (*

    The number of records that failed validation.

    *)
  21. validationSuspendedRecords : Long.t option;
    (*

    The number of records that couldn't be validated.

    *)
  22. validationState : String_.t option;
    (*

    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.

    *)
  23. validationStateDetails : String_.t option;
    (*

    Additional details about the state of validation.

    *)
  24. resyncState : String_.t option;
    (*

    Records the current state of table resynchronization in the migration task. This parameter can have the following values: Not enabled – Resync is not enabled for the table in the migration task. Pending – The tables are waiting for resync. In progress – Resync in progress for some records in the table. No primary key – The table could not be resynced because it has no primary key. Last resync at: date/time – Resync session is finished at time. Time provided in UTC format.

    *)
  25. resyncRowsAttempted : LongOptional.t option;
    (*

    Records the total number of mismatched data rows where the system attempted to apply fixes in the target database.

    *)
  26. resyncRowsSucceeded : LongOptional.t option;
    (*

    Records the total number of mismatched data rows where fixes were successfully applied in the target database.

    *)
  27. resyncRowsFailed : LongOptional.t option;
    (*

    Records the total number of mismatched data rows where fix attempts failed in the target database.

    *)
  28. resyncProgress : DoubleOptional.t option;
    (*

    Calculates the percentage of failed validations that were successfully resynced to the system.

    *)
}
Sourceval make : ?schemaName:??? -> ?tableName:??? -> ?inserts:??? -> ?deletes:??? -> ?updates:??? -> ?ddls:??? -> ?appliedInserts:??? -> ?appliedDeletes:??? -> ?appliedUpdates:??? -> ?appliedDdls:??? -> ?fullLoadRows:??? -> ?fullLoadCondtnlChkFailedRows:??? -> ?fullLoadErrorRows:??? -> ?fullLoadStartTime:??? -> ?fullLoadEndTime:??? -> ?fullLoadReloaded:??? -> ?lastUpdateTime:??? -> ?tableState:??? -> ?validationPendingRecords:??? -> ?validationFailedRecords:??? -> ?validationSuspendedRecords:??? -> ?validationState:??? -> ?validationStateDetails:??? -> ?resyncState:??? -> ?resyncRowsAttempted:??? -> ?resyncRowsSucceeded:??? -> ?resyncRowsFailed:??? -> ?resyncProgress:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of BooleanOptional.t | `Double of DoubleOptional.t | `Long of Long.t | `String of String_.t | `Timestamp of TStamp.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t