MCPcopy Index your code
hub / github.com/aws/aws-cli / _build_profile_map

Method _build_profile_map

awscli/botocore/session.py:260–266  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

258 return list(self._build_profile_map().keys())
259
260 def _build_profile_map(self):
261 # This will build the profile map if it has not been created,
262 # otherwise it will return the cached value. The profile map
263 # is a list of profile names, to the config values for the profile.
264 if self._profile_map is None:
265 self._profile_map = self.full_config['profiles']
266 return self._profile_map
267
268 @property
269 def profile(self):

Callers 2

available_profilesMethod · 0.95
get_scoped_configMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected