def METHOD_NAME(module, conn_type, resource, region="us-west-2", **kwargs):
    if conn_type != "client":
        # TODO support resource-based connections
        raise ValueError(f"Mocker only supports client, not {conn_type}")
    return session.client(resource, region_name=region)