class_docstr: Store models on S3.
  
  Fetches them when needed, instead of storing them on the local disk.
class_docstr_tok: ["Store","models","on","S3",".","Fetches","them","when","needed",",","instead","of","storing","them","on","the","local","disk","."]
docstr: Uploads a model persisted in the `target_dir` to s3.
docstr_tok: ["Uploads","a","model","persisted","in","the","`","target_dir","`","to","s3","."]
code: def _persist_tar(self, file_key: Text, tar_path: Text) -> None:
      """Uploads a model persisted in the `target_dir` to s3."""
      with open(tar_path, "rb") as f:
          self.s3.Object(self.bucket_name, file_key).put(Body=f)
  
imports: import abc
  import logging
  import os
  import shutil
  from typing import Optional, Text, Tuple, TYPE_CHECKING
  import rasa.shared.utils.common
  import rasa.utils.common
label_desc: Use image node_id 3 for calling the AWSPersistor obj's underlying member method code with example usage: obj._persist_tar(file_key, tar_path) without return types