libZSservicesZSamazonka-dmsZSamazonka-dms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.DMS.DescribeTableStatistics

Description

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.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeTableStatistics Source #

See: newDescribeTableStatistics smart constructor.

Constructors

DescribeTableStatistics' 

Fields

  • filters :: Maybe [Filter]

    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.

  • marker :: Maybe Text

    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.

  • maxRecords :: Maybe Int

    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.

  • replicationTaskArn :: Text

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

Instances

Instances details
Eq DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Read DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Show DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Generic DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Associated Types

type Rep DescribeTableStatistics :: Type -> Type #

NFData DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Methods

rnf :: DescribeTableStatistics -> () #

Hashable DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

ToJSON DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

AWSPager DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

AWSRequest DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

ToHeaders DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

ToPath DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

ToQuery DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

type Rep DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

type Rep DescribeTableStatistics = D1 ('MetaData "DescribeTableStatistics" "Amazonka.DMS.DescribeTableStatistics" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DescribeTableStatistics'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "filters") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxRecords") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "replicationTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse DescribeTableStatistics Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

newDescribeTableStatistics Source #

Create a value of DescribeTableStatistics 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:filters:DescribeTableStatistics', describeTableStatistics_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.

$sel:marker:DescribeTableStatistics', describeTableStatistics_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.

$sel:maxRecords:DescribeTableStatistics', describeTableStatistics_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.

$sel:replicationTaskArn:DescribeTableStatistics', describeTableStatistics_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.

Request Lenses

describeTableStatistics_filters :: Lens' DescribeTableStatistics (Maybe [Filter]) Source #

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.

describeTableStatistics_marker :: Lens' DescribeTableStatistics (Maybe Text) Source #

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.

describeTableStatistics_maxRecords :: Lens' DescribeTableStatistics (Maybe Int) Source #

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.

describeTableStatistics_replicationTaskArn :: Lens' DescribeTableStatistics Text Source #

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

Destructuring the Response

data DescribeTableStatisticsResponse Source #

See: newDescribeTableStatisticsResponse smart constructor.

Constructors

DescribeTableStatisticsResponse' 

Fields

Instances

Instances details
Eq DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Read DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Show DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Generic DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

Associated Types

type Rep DescribeTableStatisticsResponse :: Type -> Type #

NFData DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

type Rep DescribeTableStatisticsResponse Source # 
Instance details

Defined in Amazonka.DMS.DescribeTableStatistics

type Rep DescribeTableStatisticsResponse = D1 ('MetaData "DescribeTableStatisticsResponse" "Amazonka.DMS.DescribeTableStatistics" "libZSservicesZSamazonka-dmsZSamazonka-dms" 'False) (C1 ('MetaCons "DescribeTableStatisticsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "replicationTaskArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tableStatistics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TableStatistics])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeTableStatisticsResponse Source #

Create a value of DescribeTableStatisticsResponse 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:replicationTaskArn:DescribeTableStatistics', describeTableStatisticsResponse_replicationTaskArn - The Amazon Resource Name (ARN) of the replication task.

$sel:marker:DescribeTableStatistics', describeTableStatisticsResponse_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.

$sel:tableStatistics:DescribeTableStatisticsResponse', describeTableStatisticsResponse_tableStatistics - The table statistics.

$sel:httpStatus:DescribeTableStatisticsResponse', describeTableStatisticsResponse_httpStatus - The response's http status code.

Response Lenses

describeTableStatisticsResponse_marker :: Lens' DescribeTableStatisticsResponse (Maybe Text) Source #

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.