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

Method _get_access_point_bucket

awscli/customizations/s3/utils.py:839–842  ·  view source on GitHub ↗
(self, account, name)

Source from the content-addressed store, hash-verified

837 return [f"s3://{bucket}/{key}" for bucket in buckets]
838
839 def _get_access_point_bucket(self, account, name):
840 return self._s3control_client.get_access_point(
841 AccountId=account, Name=name
842 )['Bucket']
843
844 def _get_account_id(self):
845 return self._sts_client.get_caller_identity()['Account']

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected