amazonka-redshift-1.4.5: Amazon Redshift SDK.

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

Network.AWS.Redshift.DescribeTableRestoreStatus

Contents

Description

Lists the status of one or more table restore requests made using the RestoreTableFromClusterSnapshot API action. If you don't specify a value for the TableRestoreRequestId parameter, then DescribeTableRestoreStatus returns the status of all table restore requests ordered by the date and time of the request in ascending order. Otherwise DescribeTableRestoreStatus returns the status of the table specified by TableRestoreRequestId .

Synopsis

Creating a Request

describeTableRestoreStatus :: DescribeTableRestoreStatus #

Creates a value of DescribeTableRestoreStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dtrssTableRestoreRequestId - The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.
  • dtrssClusterIdentifier - The Amazon Redshift cluster that the table is being restored to.
  • dtrssMarker - An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.
  • dtrssMaxRecords - 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.

data DescribeTableRestoreStatus #

See: describeTableRestoreStatus smart constructor.

Instances

Eq DescribeTableRestoreStatus # 
Data DescribeTableRestoreStatus # 

Methods

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

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

toConstr :: DescribeTableRestoreStatus -> Constr #

dataTypeOf :: DescribeTableRestoreStatus -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTableRestoreStatus # 
Show DescribeTableRestoreStatus # 
Generic DescribeTableRestoreStatus # 
Hashable DescribeTableRestoreStatus # 
NFData DescribeTableRestoreStatus # 
AWSRequest DescribeTableRestoreStatus # 
ToQuery DescribeTableRestoreStatus # 
ToPath DescribeTableRestoreStatus # 
ToHeaders DescribeTableRestoreStatus # 
type Rep DescribeTableRestoreStatus # 
type Rep DescribeTableRestoreStatus = D1 (MetaData "DescribeTableRestoreStatus" "Network.AWS.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "DescribeTableRestoreStatus'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dtrssTableRestoreRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtrssClusterIdentifier") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_dtrssMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dtrssMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))
type Rs DescribeTableRestoreStatus # 

Request Lenses

dtrssTableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text) #

The identifier of the table restore request to return status for. If you don't specify a TableRestoreRequestId value, then DescribeTableRestoreStatus returns the status of all in-progress table restore requests.

dtrssClusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text) #

The Amazon Redshift cluster that the table is being restored to.

dtrssMarker :: Lens' DescribeTableRestoreStatus (Maybe Text) #

An optional pagination token provided by a previous DescribeTableRestoreStatus request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by the MaxRecords parameter.

dtrssMaxRecords :: Lens' DescribeTableRestoreStatus (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.

Destructuring the Response

describeTableRestoreStatusResponse #

Creates a value of DescribeTableRestoreStatusResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeTableRestoreStatusResponse #

See: describeTableRestoreStatusResponse smart constructor.

Instances

Eq DescribeTableRestoreStatusResponse # 
Data DescribeTableRestoreStatusResponse # 

Methods

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

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

toConstr :: DescribeTableRestoreStatusResponse -> Constr #

dataTypeOf :: DescribeTableRestoreStatusResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeTableRestoreStatusResponse # 
Show DescribeTableRestoreStatusResponse # 
Generic DescribeTableRestoreStatusResponse # 
NFData DescribeTableRestoreStatusResponse # 
type Rep DescribeTableRestoreStatusResponse # 
type Rep DescribeTableRestoreStatusResponse = D1 (MetaData "DescribeTableRestoreStatusResponse" "Network.AWS.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-1.4.5-5ygenDSSyjc71mxYPXWxi1" False) (C1 (MetaCons "DescribeTableRestoreStatusResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dtrsrsMarker") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dtrsrsTableRestoreStatusDetails") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [TableRestoreStatus]))) (S1 (MetaSel (Just Symbol "_dtrsrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)))))

Response Lenses

dtrsrsMarker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text) #

A pagination token that can be used in a subsequent DescribeTableRestoreStatus request.

dtrsrsTableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse [TableRestoreStatus] #

A list of status details for one or more table restore requests.