MCPcopy Create free account
hub / github.com/aws/aws-cli / _run_main

Method _run_main

awscli/customizations/s3/subcommands.py:992–999  ·  view source on GitHub ↗
(self, parsed_args, parsed_globals)

Source from the content-addressed store, hash-verified

990 ]
991
992 def _run_main(self, parsed_args, parsed_globals):
993 super(WebsiteCommand, self)._run_main(parsed_args, parsed_globals)
994 bucket = self._get_bucket_name(parsed_args.paths[0])
995 website_configuration = self._build_website_configuration(parsed_args)
996 self.client.put_bucket_website(
997 Bucket=bucket, WebsiteConfiguration=website_configuration
998 )
999 return 0
1000
1001 def _build_website_configuration(self, parsed_args):
1002 website_config = {}

Callers

nothing calls this directly

Calls 3

_get_bucket_nameMethod · 0.95
_run_mainMethod · 0.45

Tested by

no test coverage detected