getTableRestoreStatus method
Future<GetTableRestoreStatusResponse>
getTableRestoreStatus({
- required String tableRestoreRequestId,
Returns information about a TableRestoreStatus object.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter tableRestoreRequestId :
The ID of the RestoreTableFromSnapshot request to return
status for.
Implementation
Future<GetTableRestoreStatusResponse> getTableRestoreStatus({
required String tableRestoreRequestId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'RedshiftServerless.GetTableRestoreStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'tableRestoreRequestId': tableRestoreRequestId,
},
);
return GetTableRestoreStatusResponse.fromJson(jsonResponse.body);
}