def get_client(self):
    session = boto3.session.Session()
    return session.client('s3', region_name=self.aws_region, endpoint_url=self.s3_endpoint_url, config=get_boto_config())
def get_client(self):
    session = boto3.session.Session()
    return session.client('s3', region_name=self.aws_region, endpoint_url=self.s3_endpoint_url, config=get_boto_config())