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

Method get_component

awscli/botocore/session.py:756–768  ·  view source on GitHub ↗
(self, name)

Source from the content-addressed store, hash-verified

754 return first_non_none_response(responses)
755
756 def get_component(self, name):
757 try:
758 return self._components.get_component(name)
759 except ValueError:
760 if name in ['endpoint_resolver', 'exceptions_factory']:
761 warnings.warn(
762 f'Fetching the {name} component with the get_component() '
763 'method is deprecated as the component has always been '
764 'considered an internal interface of botocore',
765 DeprecationWarning,
766 )
767 return self._internal_components.get_component(name)
768 raise
769
770 def _get_internal_component(self, name):
771 # While this method may be called by botocore classes outside of the

Callers 15

create_clidriverFunction · 0.95
_get_crt_versionMethod · 0.95
get_config_variableMethod · 0.95
get_dataMethod · 0.95
get_waiter_modelMethod · 0.95
get_paginator_modelMethod · 0.95
get_service_dataMethod · 0.95
create_clientMethod · 0.95

Calls

no outgoing calls

Tested by 4

run_cmdMethod · 0.36
override_parserMethod · 0.36