getWorkflow method

Future<GetMigrationWorkflowResponse> getWorkflow({
  1. required String id,
})

Get migration workflow.

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

Parameter id : The ID of the migration workflow.

Implementation

Future<GetMigrationWorkflowResponse> getWorkflow({
  required String id,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'GET',
    requestUri: '/migrationworkflow/${Uri.encodeComponent(id)}',
    exceptionFnMap: _exceptionFns,
  );
  return GetMigrationWorkflowResponse.fromJson(response);
}