deleteWorkflowStepGroup method

Future<void> deleteWorkflowStepGroup({
  1. required String id,
  2. required String workflowId,
})

Delete a step group in a migration workflow.

May throw AccessDeniedException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter id : The ID of the step group you want to delete.

Parameter workflowId : The ID of the migration workflow.

Implementation

Future<void> deleteWorkflowStepGroup({
  required String id,
  required String workflowId,
}) async {
  final $query = <String, List<String>>{
    'workflowId': [workflowId],
  };
  final response = await _protocol.send(
    payload: null,
    method: 'DELETE',
    requestUri: '/workflowstepgroup/${Uri.encodeComponent(id)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
}