class_docstr: Authenticator for S3 AWS
      
class_docstr_tok: ["Authenticator","for","S3","AWS"]
docstr: Parameters
  ----------
  host: str, optional
    In some cases it is necessary to provide host to connect to. Passed
    to boto.connect_s3
docstr_tok: ["Parameters","--","--","--","--","--","host",":","str",",","optional","In","some","cases","it","is","necessary","to","provide","host","to","connect","to",".","Passed","to","boto.connect_s3"]
code: def __init__(self, *args, host=None, **kwargs):
      """
  
      Parameters
      ----------
      host: str, optional
        In some cases it is necessary to provide host to connect to. Passed
        to boto.connect_s3
      """
      super(S3Authenticator, self).__init__(*args, **kwargs)
      self.connection = None
      self.bucket = None
      self._conn_kwargs = {}
      if host:
          self._conn_kwargs["host"] = host
  
imports: import re
  from urllib.parse import urlsplit, unquote
  from ..utils import auto_repr, ensure_dict_from_str
  from ..dochelpers import borrowkwargs
  from ..support.network import get_url_straight_filename, iso8601_to_epoch, rfc2822_to_epoch
  from .base import Authenticator
  from .base import BaseDownloader, DownloaderSession
  from ..support.exceptions import AccessPermissionExpiredError, CapturedException, TargetFileAbsent
  from ..support.s3 import Key, OrdinaryCallingFormat, S3ResponseError, boto, get_bucket, try_multiple_dec_s3
  from ..support.status import FileStatus
  import logging
  from logging import getLogger
label_desc: Use image node_id 1 to create a new S3Authenticator object from inherited base classes: Authenticator with example: obj = S3Authenticator()