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

Method _run_main

awscli/customizations/dsql.py:91–104  ·  view source on GitHub ↗
(self, parsed_args, parsed_globals)

Source from the content-addressed store, hash-verified

89 ]
90
91 def _run_main(self, parsed_args, parsed_globals):
92 dsql = self._session.create_client(
93 'dsql',
94 parsed_globals.region,
95 parsed_globals.endpoint_url,
96 parsed_globals.verify_ssl,
97 )
98
99 token = dsql.generate_db_connect_admin_auth_token(
100 parsed_args.hostname, parsed_globals.region, parsed_args.expires_in
101 )
102 uni_print(token)
103 uni_print('\n')
104 return 0

Callers

nothing calls this directly

Calls 2

uni_printFunction · 0.90
create_clientMethod · 0.45

Tested by

no test coverage detected