| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.RedshiftServerLess.GetTableRestoreStatus
Description
Returns information about a TableRestoreStatus object.
Synopsis
- data GetTableRestoreStatus = GetTableRestoreStatus' {}
- newGetTableRestoreStatus :: Text -> GetTableRestoreStatus
- getTableRestoreStatus_tableRestoreRequestId :: Lens' GetTableRestoreStatus Text
- data GetTableRestoreStatusResponse = GetTableRestoreStatusResponse' {}
- newGetTableRestoreStatusResponse :: Int -> GetTableRestoreStatusResponse
- getTableRestoreStatusResponse_tableRestoreStatus :: Lens' GetTableRestoreStatusResponse (Maybe TableRestoreStatus)
- getTableRestoreStatusResponse_httpStatus :: Lens' GetTableRestoreStatusResponse Int
Creating a Request
data GetTableRestoreStatus Source #
See: newGetTableRestoreStatus smart constructor.
Constructors
| GetTableRestoreStatus' | |
Fields
| |
Instances
newGetTableRestoreStatus Source #
Arguments
| :: Text | |
| -> GetTableRestoreStatus |
Create a value of GetTableRestoreStatus with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetTableRestoreStatus, getTableRestoreStatus_tableRestoreRequestId - The ID of the RestoreTableFromSnapshot request to return status for.
Request Lenses
getTableRestoreStatus_tableRestoreRequestId :: Lens' GetTableRestoreStatus Text Source #
The ID of the RestoreTableFromSnapshot request to return status for.
Destructuring the Response
data GetTableRestoreStatusResponse Source #
See: newGetTableRestoreStatusResponse smart constructor.
Constructors
| GetTableRestoreStatusResponse' | |
Fields
| |
Instances
newGetTableRestoreStatusResponse Source #
Create a value of GetTableRestoreStatusResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tableRestoreStatus:GetTableRestoreStatusResponse', getTableRestoreStatusResponse_tableRestoreStatus - The returned TableRestoreStatus object that contains information about
the status of your RestoreTableFromSnapshot request.
$sel:httpStatus:GetTableRestoreStatusResponse', getTableRestoreStatusResponse_httpStatus - The response's http status code.
Response Lenses
getTableRestoreStatusResponse_tableRestoreStatus :: Lens' GetTableRestoreStatusResponse (Maybe TableRestoreStatus) Source #
The returned TableRestoreStatus object that contains information about
the status of your RestoreTableFromSnapshot request.
getTableRestoreStatusResponse_httpStatus :: Lens' GetTableRestoreStatusResponse Int Source #
The response's http status code.