Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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
.
- describeTableRestoreStatus :: DescribeTableRestoreStatus
- data DescribeTableRestoreStatus
- dtrssTableRestoreRequestId :: Lens' DescribeTableRestoreStatus (Maybe Text)
- dtrssClusterIdentifier :: Lens' DescribeTableRestoreStatus (Maybe Text)
- dtrssMarker :: Lens' DescribeTableRestoreStatus (Maybe Text)
- dtrssMaxRecords :: Lens' DescribeTableRestoreStatus (Maybe Int)
- describeTableRestoreStatusResponse :: Int -> DescribeTableRestoreStatusResponse
- data DescribeTableRestoreStatusResponse
- dtrsrsMarker :: Lens' DescribeTableRestoreStatusResponse (Maybe Text)
- dtrsrsTableRestoreStatusDetails :: Lens' DescribeTableRestoreStatusResponse [TableRestoreStatus]
- dtrsrsResponseStatus :: Lens' DescribeTableRestoreStatusResponse Int
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 aTableRestoreRequestId
value, thenDescribeTableRestoreStatus
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 previousDescribeTableRestoreStatus
request. If this parameter is specified, the response includes only records beyond the marker, up to the value specified by theMaxRecords
parameter.dtrssMaxRecords
- The maximum number of records to include in the response. If more records exist than the specifiedMaxRecords
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.
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:
dtrsrsMarker
- A pagination token that can be used in a subsequentDescribeTableRestoreStatus
request.dtrsrsTableRestoreStatusDetails
- A list of status details for one or more table restore requests.dtrsrsResponseStatus
- -- | The response status code.
data DescribeTableRestoreStatusResponse Source #
See: describeTableRestoreStatusResponse
smart constructor.
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.
dtrsrsResponseStatus :: Lens' DescribeTableRestoreStatusResponse Int Source #
- - | The response status code.