deleteWorkflowStep method
Delete a step in a migration workflow. Pause the workflow to delete a running step.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter id :
The ID of the step you want to delete.
Parameter stepGroupId :
The ID of the step group that contains the step you want to delete.
Parameter workflowId :
The ID of the migration workflow.
Implementation
Future<void> deleteWorkflowStep({
required String id,
required String stepGroupId,
required String workflowId,
}) async {
final $query = <String, List<String>>{
'stepGroupId': [stepGroupId],
'workflowId': [workflowId],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/workflowstep/${Uri.encodeComponent(id)}',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
}