deleteSyncJob method
Delete the SyncJob.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ServiceQuotaExceededException.
May throw ThrottlingException.
May throw ValidationException.
Parameter syncSource :
The sync source.
Parameter workspaceId :
The workspace ID.
Implementation
Future<DeleteSyncJobResponse> deleteSyncJob({
required String syncSource,
required String workspaceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri:
'/workspaces/${Uri.encodeComponent(workspaceId)}/sync-jobs/${Uri.encodeComponent(syncSource)}',
hostPrefix: 'api.',
exceptionFnMap: _exceptionFns,
);
return DeleteSyncJobResponse.fromJson(response);
}