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

Method create_dir_bucket

tests/__init__.py:571–580  ·  view source on GitHub ↗
(self, name=None, location=None)

Source from the content-addressed store, hash-verified

569 return bucket_name
570
571 def create_dir_bucket(self, name=None, location=None):
572 if location:
573 region, _ = location
574 else:
575 region = self._region
576 bucket_name = create_dir_bucket(self._session, name, location)
577 self._bucket_to_region[bucket_name] = region
578 # Wait for the bucket to exist before letting it be used.
579 self.wait_bucket_exists(bucket_name)
580 return bucket_name
581
582 def put_object(self, bucket_name, key_name, contents='', extra_args=None):
583 client = self._create_client_for_bucket(bucket_name)

Callers 2

shared_dir_bucketFunction · 0.80
shared_copy_dir_bucketFunction · 0.80

Calls 2

wait_bucket_existsMethod · 0.95
create_dir_bucketFunction · 0.90

Tested by 2

shared_dir_bucketFunction · 0.64
shared_copy_dir_bucketFunction · 0.64