amazonka-redshift-1.5.0: Amazon Redshift 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.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 Source #

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

See: describeTableRestoreStatus smart constructor.

Instances

Eq DescribeTableRestoreStatus Source # 
Data DescribeTableRestoreStatus Source # 

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 Source # 
Show DescribeTableRestoreStatus Source # 
Generic DescribeTableRestoreStatus Source # 
Hashable DescribeTableRestoreStatus Source # 
NFData DescribeTableRestoreStatus Source # 
AWSRequest DescribeTableRestoreStatus Source # 
ToQuery DescribeTableRestoreStatus Source # 
ToPath DescribeTableRestoreStatus Source # 
ToHeaders DescribeTableRestoreStatus Source # 
type Rep DescribeTableRestoreStatus Source # 
type Rep DescribeTableRestoreStatus = D1 (MetaData "DescribeTableRestoreStatus" "Network.AWS.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" 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 Source # 

Request Lenses

dtrssTableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text) Source #

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

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

dtrssMarker :: Lens' DescribeTableRestoreStatus (Maybe Text) Source #

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

Destructuring the Response

describeTableRestoreStatusResponse Source #

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

See: describeTableRestoreStatusResponse smart constructor.

Instances

Eq DescribeTableRestoreStatusResponse Source # 
Data DescribeTableRestoreStatusResponse Source # 

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 Source # 
Show DescribeTableRestoreStatusResponse Source # 
Generic DescribeTableRestoreStatusResponse Source # 
NFData DescribeTableRestoreStatusResponse Source # 
type Rep DescribeTableRestoreStatusResponse Source # 
type Rep DescribeTableRestoreStatusResponse = D1 (MetaData "DescribeTableRestoreStatusResponse" "Network.AWS.Redshift.DescribeTableRestoreStatus" "amazonka-redshift-1.5.0-Dab3rZV2tPBCgimwpoJly0" 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 DecidedStrict) (Rec0 Int)))))

Response Lenses

dtrsrsMarker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text) Source #

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

dtrsrsTableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse [TableRestoreStatus] Source #

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