get the file size from s3 response after create code example
Example: aws s3 get file size
aws s3 ls --summarize --human-readable --recursive s3://bucket-name/directory
aws s3 ls --summarize --human-readable --recursive s3://bucket-name/directory