By default delete_item from boto3 does not return an error even if operation is performed on an Item that does not exists.
id = '123'
timenow = '1589046426'
dynamodb = boto3.resource('dynamodb')
boto3_table = dynamodb.Table(MY_TABLE)
response = boto3_table.delete_item(Key={"ID": id, "TIMENOW": timenow})
How do I change the code above to force the delete_item to return an error when item does not exist?