retryWorkflowStep method

Future<RetryWorkflowStepResponse> retryWorkflowStep({
  1. required String id,
  2. required String stepGroupId,
  3. required String workflowId,
})

Retry a failed step in a migration workflow.

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

Parameter id : The ID of the step.

Parameter stepGroupId : The ID of the step group.

Parameter workflowId : The ID of the migration workflow.

Implementation

Future<RetryWorkflowStepResponse> retryWorkflowStep({
  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: 'POST',
    requestUri: '/retryworkflowstep/${Uri.encodeComponent(id)}',
    queryParams: $query,
    exceptionFnMap: _exceptionFns,
  );
  return RetryWorkflowStepResponse.fromJson(response);
}