restartSimulationJob method

Future<void> restartSimulationJob({
  1. required String job,
})

Restarts a running simulation job.

May throw ResourceNotFoundException. May throw ThrottlingException. May throw LimitExceededException. May throw InvalidParameterException. May throw InternalServerException.

Parameter job : The Amazon Resource Name (ARN) of the simulation job.

Implementation

Future<void> restartSimulationJob({
  required String job,
}) async {
  ArgumentError.checkNotNull(job, 'job');
  _s.validateStringLength(
    'job',
    job,
    1,
    1224,
    isRequired: true,
  );
  final $payload = <String, dynamic>{
    'job': job,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/restartSimulationJob',
    exceptionFnMap: _exceptionFns,
  );
}