stopColumnStatisticsTaskRun method
Stops a task run for the specified table.
May throw ColumnStatisticsTaskNotRunningException.
May throw ColumnStatisticsTaskStoppingException.
May throw EntityNotFoundException.
May throw OperationTimeoutException.
Parameter databaseName :
The name of the database where the table resides.
Parameter tableName :
The name of the table.
Implementation
Future<void> stopColumnStatisticsTaskRun({
required String databaseName,
required String tableName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'AWSGlue.StopColumnStatisticsTaskRun'
};
await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'DatabaseName': databaseName,
'TableName': tableName,
},
);
}