def get_client()

in codes/lambda/api-hosting-predictor/src/handler.py [0:0]


def get_client(service, profile):
    if profile is None:
        return boto3.client(service)
    else:
        return boto3.Session(profile_name=profile).client(service)