class_docstr: Creates a refreshable credential provider class given an existing credential provider in
  the boto3 credential chain.
class_docstr_tok: ["Creates","a","refreshable","credential","provider","class","given","an","existing","credential","provider","in","the","boto3","credential","chain","."]
code: def load(self) -> Credentials:
      return (
          self.credential_provider.load()
          and RefreshableSharedCredentials(
              credentials_provider=self.credential_provider,
              check_every=self.check_every,
          )
      )
  
imports: import logging
  import os
  import threading
  import time
  from typing import Any
  import boto3
  from botocore import session
  from botocore.compat import ensure_unicode
  from botocore.credentials import CredentialProvider, Credentials, ReadOnlyCredentials, SharedCredentialProvider
  from botocore.session import get_session
label_desc: Use image node_id 2 for calling the RefreshableCredentialProvider obj's underlying member method code with example usage: obj.load() and returns: unknown