In many AWS programs (not don\'t use S3), I have the following:
session = boto3.Session(profile_name=\'myname\') awsclient = session.client(service_name=\'s3\