Copyright | (c) 2013-2021 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 |
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
- data DescribeTableStatistics = DescribeTableStatistics' {}
- newDescribeTableStatistics :: Text -> DescribeTableStatistics
- describeTableStatistics_filters :: Lens' DescribeTableStatistics (Maybe [Filter])
- describeTableStatistics_marker :: Lens' DescribeTableStatistics (Maybe Text)
- describeTableStatistics_maxRecords :: Lens' DescribeTableStatistics (Maybe Int)
- describeTableStatistics_replicationTaskArn :: Lens' DescribeTableStatistics Text
- data DescribeTableStatisticsResponse = DescribeTableStatisticsResponse' {}
- newDescribeTableStatisticsResponse :: Int -> DescribeTableStatisticsResponse
- describeTableStatisticsResponse_replicationTaskArn :: Lens' DescribeTableStatisticsResponse (Maybe Text)
- describeTableStatisticsResponse_marker :: Lens' DescribeTableStatisticsResponse (Maybe Text)
- describeTableStatisticsResponse_tableStatistics :: Lens' DescribeTableStatisticsResponse (Maybe [TableStatistics])
- describeTableStatisticsResponse_httpStatus :: Lens' DescribeTableStatisticsResponse Int
Creating a Request
data DescribeTableStatistics Source #
See: newDescribeTableStatistics
smart constructor.
DescribeTableStatistics' | |
|
Instances
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.
DescribeTableStatisticsResponse' | |
|
Instances
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_replicationTaskArn :: Lens' DescribeTableStatisticsResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the replication task.
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
.
describeTableStatisticsResponse_tableStatistics :: Lens' DescribeTableStatisticsResponse (Maybe [TableStatistics]) Source #
The table statistics.
describeTableStatisticsResponse_httpStatus :: Lens' DescribeTableStatisticsResponse Int Source #
The response's http status code.