amazonka-redshift-1.4.0: 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 in-progress table restore requests. 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:

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:

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.