amazonka-dms-1.6.0: Amazon Database Migration Service SDK.

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

Network.AWS.DMS.DescribeTableStatistics

Contents

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 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.

Synopsis

Creating a Request

describeTableStatistics #

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 by MaxRecords .
  • dtsMaxRecords - 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 - The Amazon Resource Name (ARN) of the replication task.

data DescribeTableStatistics #

See: describeTableStatistics smart constructor.

Instances

Eq DescribeTableStatistics # 
Data DescribeTableStatistics # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeTableStatistics -> c DescribeTableStatistics #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeTableStatistics #

toConstr :: DescribeTableStatistics -> Constr #

dataTypeOf :: DescribeTableStatistics -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeTableStatistics) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeTableStatistics) #

gmapT :: (forall b. Data b => b -> b) -> DescribeTableStatistics -> DescribeTableStatistics #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableStatistics -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableStatistics -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeTableStatistics -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeTableStatistics -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeTableStatistics -> m DescribeTableStatistics #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableStatistics -> m DescribeTableStatistics #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableStatistics -> m DescribeTableStatistics #

Read DescribeTableStatistics # 
Show DescribeTableStatistics # 
Generic DescribeTableStatistics # 
Hashable DescribeTableStatistics # 
ToJSON DescribeTableStatistics # 
NFData DescribeTableStatistics # 

Methods

rnf :: DescribeTableStatistics -> () #

AWSPager DescribeTableStatistics # 
AWSRequest DescribeTableStatistics # 
ToHeaders DescribeTableStatistics # 
ToPath DescribeTableStatistics # 
ToQuery DescribeTableStatistics # 
type Rep DescribeTableStatistics # 
type Rep DescribeTableStatistics = D1 * (MetaData "DescribeTableStatistics" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.6.0-GqH7kuM5kL3HMlibDeDmZp" False) (C1 * (MetaCons "DescribeTableStatistics'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dtsFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Filter]))) (S1 * (MetaSel (Just Symbol "_dtsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dtsMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Int))) (S1 * (MetaSel (Just Symbol "_dtsReplicationTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs DescribeTableStatistics # 

Request Lenses

dtsFilters :: Lens' DescribeTableStatistics [Filter] #

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) #

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) #

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 #

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

Destructuring the Response

describeTableStatisticsResponse #

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 by MaxRecords .
  • dtsrsTableStatistics - The table statistics.
  • dtsrsResponseStatus - -- | The response status code.

data DescribeTableStatisticsResponse #

See: describeTableStatisticsResponse smart constructor.

Instances

Eq DescribeTableStatisticsResponse # 
Data DescribeTableStatisticsResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeTableStatisticsResponse -> c DescribeTableStatisticsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeTableStatisticsResponse #

toConstr :: DescribeTableStatisticsResponse -> Constr #

dataTypeOf :: DescribeTableStatisticsResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeTableStatisticsResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeTableStatisticsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeTableStatisticsResponse -> DescribeTableStatisticsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableStatisticsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeTableStatisticsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeTableStatisticsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeTableStatisticsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeTableStatisticsResponse -> m DescribeTableStatisticsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableStatisticsResponse -> m DescribeTableStatisticsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeTableStatisticsResponse -> m DescribeTableStatisticsResponse #

Read DescribeTableStatisticsResponse # 
Show DescribeTableStatisticsResponse # 
Generic DescribeTableStatisticsResponse # 
NFData DescribeTableStatisticsResponse # 
type Rep DescribeTableStatisticsResponse # 
type Rep DescribeTableStatisticsResponse = D1 * (MetaData "DescribeTableStatisticsResponse" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.6.0-GqH7kuM5kL3HMlibDeDmZp" False) (C1 * (MetaCons "DescribeTableStatisticsResponse'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dtsrsReplicationTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dtsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dtsrsTableStatistics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [TableStatistics]))) (S1 * (MetaSel (Just Symbol "_dtsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

dtsrsReplicationTaskARN :: Lens' DescribeTableStatisticsResponse (Maybe Text) #

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

dtsrsMarker :: Lens' DescribeTableStatisticsResponse (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 .