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

Method _resolve_accesspoint_alias

awscli/customizations/s3/utils.py:830–833  ·  view source on GitHub ↗
(self, alias, key)

Source from the content-addressed store, hash-verified

828 return [f"s3://{bucket}/{key}"]
829
830 def _resolve_accesspoint_alias(self, alias, key):
831 account = self._get_account_id()
832 bucket = self._get_access_point_bucket(account, alias)
833 return [f"s3://{bucket}/{key}"]
834
835 def _resolve_mrap_alias(self, account, alias, key):
836 buckets = self._get_mrap_buckets(account, alias)

Callers 1

Calls 2

_get_account_idMethod · 0.95

Tested by

no test coverage detected