parameters: (self, load_config, client_creator, cache, profile_name,
                   prompter=getpass.getpass, credential_sourcer=None,
                   profile_provider_builder=None)
docstring: :type load_config: callable
          :param load_config: A function that accepts no arguments, and
              when called, will return the full configuration dictionary
              for the session (``session.full_config``).
  
          :type client_creator: callable
          :param client_creator: A factory function that will create
              a client when called.  Has the same interface as
              ``botocore.session.Session.create_client``.
  
          :type cache: dict
          :param cache: An object that supports ``__getitem__``,
              ``__setitem__``, and ``__contains__``.  An example
              of this is the ``JSONFileCache`` class in the CLI.
  
          :type profile_name: str
          :param profile_name: The name of the profile.
  
          :type prompter: callable
          :param prompter: A callable that returns input provided
              by the user (i.e raw_input, getpass.getpass, etc.).
  
          :type credential_sourcer: CanonicalNameCredentialSourcer
          :param credential_sourcer: A credential provider that takes a
              configuration, which is used to provide the source credentials
              for the STS call.
docstring_summary: :type load_config: callable
          :param load_config: A function that accepts no arguments, and
              when called, will return the full configuration dictionary
              for the session (``session.full_config``).
docstring_tokens: : type load_config : callable : param load_config : A function that accepts no arguments and when called will return the full configuration dictionary for the session ( session . full_config ) .
function: def __init__(self, load_config, client_creator, cache, profile_name,
                   prompter=getpass.getpass, credential_sourcer=None,
                   profile_provider_builder=None):
          """
          :type load_config: callable
          :param load_config: A function that accepts no arguments, and
              when called, will return the full configuration dictionary
              for the session (``session.full_config``).
  
          :type client_creator: callable
          :param client_creator: A factory function that will create
              a client when called.  Has the same interface as
              ``botocore.session.Session.create_client``.
  
          :type cache: dict
          :param cache: An object that supports ``__getitem__``,
              ``__setitem__``, and ``__contains__``.  An example
              of this is the ``JSONFileCache`` class in the CLI.
  
          :type profile_name: str
          :param profile_name: The name of the profile.
  
          :type prompter: callable
          :param prompter: A callable that returns input provided
              by the user (i.e raw_input, getpass.getpass, etc.).
  
          :type credential_sourcer: CanonicalNameCredentialSourcer
          :param credential_sourcer: A credential provider that takes a
              configuration, which is used to provide the source credentials
              for the STS call.
          """
          #: The cache used to first check for assumed credentials.
          #: This is checked before making the AssumeRole API
          #: calls and can be useful if you have short lived
          #: scripts and you'd like to avoid calling AssumeRole
          #: until the credentials are expired.
          self.cache = cache
          self._load_config = load_config
          # client_creator is a callable that creates function.
          # It's basically session.create_client
          self._client_creator = client_creator
          self._profile_name = profile_name
          self._prompter = prompter
          # The _loaded_config attribute will be populated from the
          # load_config() function once the configuration is actually
          # loaded.  The reason we go through all this instead of just
          # requiring that the loaded_config be passed to us is to that
          # we can defer configuration loaded until we actually try
          # to load credentials (as opposed to when the object is
          # instantiated).
          self._loaded_config = {}
          self._credential_sourcer = credential_sourcer
          self._profile_provider_builder = profile_provider_builder
          self._visited_profiles = [self._profile_name]
function_tokens: def __init__ ( self , load_config , client_creator , cache , profile_name , prompter = getpass . getpass , credential_sourcer = None , profile_provider_builder = None ) : #: The cache used to first check for assumed credentials. #: This is checked before making the AssumeRole API #: calls and can be useful if you have short lived #: scripts and you'd like to avoid calling AssumeRole #: until the credentials are expired. self . cache = cache self . _load_config = load_config # client_creator is a callable that creates function. # It's basically session.create_client self . _client_creator = client_creator self . _profile_name = profile_name self . _prompter = prompter # The _loaded_config attribute will be populated from the # load_config() function once the configuration is actually # loaded.  The reason we go through all this instead of just # requiring that the loaded_config be passed to us is to that # we can defer configuration loaded until we actually try # to load credentials (as opposed to when the object is # instantiated). self . _loaded_config = { } self . _credential_sourcer = credential_sourcer self . _profile_provider_builder = profile_provider_builder self . _visited_profiles = [ self . _profile_name ]