class_docstr: Downloader from AWS S3 buckets
      
class_docstr_tok: ["Downloader","from","AWS","S3","buckets"]
docstr: Quick check of the credential if known on either it has not expired
  
  Raises
  ------
  AccessPermissionExpiredError
    if credential is found to be expired
docstr_tok: ["Quick","check","of","the","credential","if","known","on","either","it","has","not","expired","Raises","--","--","--","AccessPermissionExpiredError","if","credential","is","found","to","be","expired"]
code: def _check_credential(self):
      """Quick check of the credential if known on either it has not expired
  
      Raises
      ------
      AccessPermissionExpiredError
        if credential is found to be expired
      """
      if self.credential and self.credential.is_expired:
          raise AccessPermissionExpiredError(
              "Credential %s has expired" % self.credential
          )
  
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 6 for calling the S3Downloader obj's underlying member method code with example usage: obj._check_credential() without return types