':param config_filename: The session configuration scoped to the current
profile.  This is available via ``session.config``.
:param profile_name: The name of the current profile.
:param config_parser: A config parser callable.'

def __init__(self, config_filename, profile_name, config_parser=None):

    self._config_filename = config_filename
    self._profile_name = profile_name
    if (config_parser is None):
        config_parser = botocore.configloader.load_config
    self._config_parser = config_parser
