amazonka-dms-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Data DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.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 Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Show DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Generic DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Associated Types

type Rep DescribeTableStatistics :: Type -> Type #

Hashable DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

ToJSON DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

AWSPager DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

AWSRequest DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Associated Types

type Rs DescribeTableStatistics :: Type #

ToHeaders DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

ToPath DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

ToQuery DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

NFData DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Methods

rnf :: DescribeTableStatistics -> () #

type Rep DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

type Rep DescribeTableStatistics = D1 (MetaData "DescribeTableStatistics" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "DescribeTableStatistics'" PrefixI True) ((S1 (MetaSel (Just "_dtsFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [Filter])) :*: S1 (MetaSel (Just "_dtsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dtsMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int)) :*: S1 (MetaSel (Just "_dtsReplicationTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeTableStatistics Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

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 # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Data DescribeTableStatisticsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

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 # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Show DescribeTableStatisticsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Generic DescribeTableStatisticsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

Associated Types

type Rep DescribeTableStatisticsResponse :: Type -> Type #

NFData DescribeTableStatisticsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

type Rep DescribeTableStatisticsResponse Source # 
Instance details

Defined in Network.AWS.DMS.DescribeTableStatistics

type Rep DescribeTableStatisticsResponse = D1 (MetaData "DescribeTableStatisticsResponse" "Network.AWS.DMS.DescribeTableStatistics" "amazonka-dms-1.6.1-14neO3bVY9yK6uL0mC7eXy" False) (C1 (MetaCons "DescribeTableStatisticsResponse'" PrefixI True) ((S1 (MetaSel (Just "_dtsrsReplicationTaskARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_dtsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_dtsrsTableStatistics") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableStatistics])) :*: S1 (MetaSel (Just "_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 .