how to check the storage capacity of a s3 bucket through terminal code example
Example: aws s3 get size in gb
aws s3 ls s3://mybucket --recursive --human-readable --summarize
aws s3 ls s3://mybucket --recursive --human-readable --summarize