def METHOD_NAME(assume_role_arn, region_name):
    response = boto3.client(
        'sts',
        region_name=region_name
    ).assume_role(
        RoleArn=assume_role_arn,
        RoleSessionName=str(uuid.uuid4())
    )
    return response['Credentials']