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

Class NoSuchBucketError

awscli/customizations/s3uploader.py:40–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40class NoSuchBucketError(Exception):
41 def __init__(self, **kwargs):
42 msg = self.fmt.format(**kwargs)
43 Exception.__init__(self, msg)
44 self.kwargs = kwargs
45
46 fmt = (
47 "S3 Bucket does not exist. "
48 "Execute the command to create a new bucket"
49 "\n"
50 "aws s3 mb s3://{bucket_name}"
51 )
52
53
54class S3Uploader:

Callers 1

uploadMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected