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

Copyright(c) 2013-2017 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.

Synopsis

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

See: describeTableStatistics smart constructor.

Instances

Eq DescribeTableStatistics Source # 
Data DescribeTableStatistics Source # 

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 Source # 
Show DescribeTableStatistics Source # 
Generic DescribeTableStatistics Source # 
Hashable DescribeTableStatistics Source # 
ToJSON DescribeTableStatistics Source # 
NFData DescribeTableStatistics Source # 

Methods

rnf :: DescribeTableStatistics -> () #

AWSRequest DescribeTableStatistics Source # 
ToQuery DescribeTableStatistics Source # 
ToPath DescribeTableStatistics Source # 
ToHeaders DescribeTableStatistics Source # 
type Rep DescribeTableStatistics Source # 
type Rep DescribeTableStatistics = D1 (MetaData "DescribeTableStatistics" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.5.0-K6vSYoWLw2X8OYk9sVbLk5" 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 Source # 

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

data DescribeTableStatisticsResponse Source #

See: describeTableStatisticsResponse smart constructor.

Instances

Eq DescribeTableStatisticsResponse Source # 
Data DescribeTableStatisticsResponse Source # 

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 Source # 
Show DescribeTableStatisticsResponse Source # 
Generic DescribeTableStatisticsResponse Source # 
NFData DescribeTableStatisticsResponse Source # 
type Rep DescribeTableStatisticsResponse Source # 
type Rep DescribeTableStatisticsResponse = D1 (MetaData "DescribeTableStatisticsResponse" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.5.0-K6vSYoWLw2X8OYk9sVbLk5" 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) 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 .