deleteScheduledAction method
Future<DeleteScheduledActionResponse>
deleteScheduledAction({
- required String scheduledActionName,
Deletes a scheduled action.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter scheduledActionName :
The name of the scheduled action to delete.
Implementation
Future<DeleteScheduledActionResponse> deleteScheduledAction({
required String scheduledActionName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'RedshiftServerless.DeleteScheduledAction'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'scheduledActionName': scheduledActionName,
},
);
return DeleteScheduledActionResponse.fromJson(jsonResponse.body);
}