If the closure only accesses a regular API (not a client API, infrastructure API, or captured property), the deducer does not add the resource object to the closure's dependencies. Consequently, it will not create the client for the resource object within the closure code.