resumeBatchLoadTask method

Future<void> resumeBatchLoadTask({
  1. required String taskId,
})

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

Parameter taskId : The ID of the batch load task to resume.

Implementation

Future<void> resumeBatchLoadTask({
  required String taskId,
}) async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.0',
    'X-Amz-Target': 'Timestream_20181101.ResumeBatchLoadTask'
  };
  await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
    payload: {
      'TaskId': taskId,
    },
  );
}