Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
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 AWS 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.
- describeTableStatistics :: Text -> DescribeTableStatistics
- data DescribeTableStatistics
- dtsFilters :: Lens' DescribeTableStatistics [Filter]
- dtsMarker :: Lens' DescribeTableStatistics (Maybe Text)
- dtsMaxRecords :: Lens' DescribeTableStatistics (Maybe Int)
- dtsReplicationTaskARN :: Lens' DescribeTableStatistics Text
- describeTableStatisticsResponse :: Int -> DescribeTableStatisticsResponse
- data DescribeTableStatisticsResponse
- dtsrsReplicationTaskARN :: Lens' DescribeTableStatisticsResponse (Maybe Text)
- dtsrsMarker :: Lens' DescribeTableStatisticsResponse (Maybe Text)
- dtsrsTableStatistics :: Lens' DescribeTableStatisticsResponse [TableStatistics]
- dtsrsResponseStatus :: Lens' DescribeTableStatisticsResponse Int
Creating a Request
describeTableStatistics Source #
Creates a value of DescribeTableStatistics
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtsFilters
- Filters applied to the describe table statistics action. Valid filter names: schema-name | table-name | table-state A combination of filters creates an AND condition where each record matches all specified filters.dtsMarker
- 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 byMaxRecords
.dtsMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.dtsReplicationTaskARN
- The Amazon Resource Name (ARN) of the replication task.
data DescribeTableStatistics Source #
See: describeTableStatistics
smart constructor.
Request Lenses
dtsFilters :: Lens' DescribeTableStatistics [Filter] Source #
Filters applied to the describe table statistics action. Valid filter names: schema-name | table-name | table-state A combination of filters creates an AND condition where each record matches all specified filters.
dtsMarker :: 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
.
dtsMaxRecords :: 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.
dtsReplicationTaskARN :: Lens' DescribeTableStatistics Text Source #
The Amazon Resource Name (ARN) of the replication task.
Destructuring the Response
describeTableStatisticsResponse Source #
Creates a value of DescribeTableStatisticsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dtsrsReplicationTaskARN
- The Amazon Resource Name (ARN) of the replication task.dtsrsMarker
- 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 byMaxRecords
.dtsrsTableStatistics
- The table statistics.dtsrsResponseStatus
- -- | The response status code.
data DescribeTableStatisticsResponse Source #
See: describeTableStatisticsResponse
smart constructor.
Response Lenses
dtsrsReplicationTaskARN :: Lens' DescribeTableStatisticsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the replication task.
dtsrsMarker :: 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
.
dtsrsTableStatistics :: Lens' DescribeTableStatisticsResponse [TableStatistics] Source #
The table statistics.
dtsrsResponseStatus :: Lens' DescribeTableStatisticsResponse Int Source #
- - | The response status code.