startJob method

Future<void> startJob({
  1. required String jobId,
})

This operation starts a job.

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

Parameter jobId : The unique identifier for a job.

Implementation

Future<void> startJob({
  required String jobId,
}) async {
  ArgumentError.checkNotNull(jobId, 'jobId');
  final response = await _protocol.send(
    payload: null,
    method: 'PATCH',
    requestUri: '/v1/jobs/${Uri.encodeComponent(jobId)}',
    exceptionFnMap: _exceptionFns,
  );
}