AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DescribeTableStatistics operation. Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.

Note that the "last updated" column the DMS console only indicates the time that DMS last updated the table statistics record for a table. It does not indicate the time of the last update to the table.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.DescribeTableStatisticsRequest

Namespace: Amazon.DatabaseMigrationService.Model
Assembly: AWSSDK.DatabaseMigrationService.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeTableStatisticsRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The DescribeTableStatisticsRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Filters System.Collections.Generic.List<Amazon.DatabaseMigrationService.Model.Filter>

Gets and sets the property Filters.

Filters applied to table statistics.

Valid filter names: schema-name | table-name | table-state

A combination of filters creates an AND condition where each record matches all specified filters.

Public Property Marker System.String

Gets and sets the property Marker.

An optional pagination token provided by a previous request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by MaxRecords.

Public Property MaxRecords System.Int32

Gets and sets the property MaxRecords.

The maximum number of records to include in the response. If more records exist than the specified MaxRecords value, a pagination token called a marker is included in the response so that the remaining results can be retrieved.

Default: 100

Constraints: Minimum 20, maximum 500.

Public Property ReplicationTaskArn System.String

Gets and sets the property ReplicationTaskArn.

The Amazon Resource Name (ARN) of the replication task.

Examples

Returns table statistics on the database migration task, including table name, rows inserted, rows updated, and rows deleted.

Describe table statistics


var client = new AmazonDatabaseMigrationServiceClient();
var response = client.DescribeTableStatistics(new DescribeTableStatisticsRequest 
{
    Marker = "",
    MaxRecords = 123,
    ReplicationTaskArn = ""
});

string marker = response.Marker;
string replicationTaskArn = response.ReplicationTaskArn;
List<TableStatistics> tableStatistics = response.TableStatistics;

            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5