It returns the lifecycle context for the provider connection. If no context is found it throws an error
the provider id
the connection to retrieve the lifecycle context for
the lifecycle context
if no provider with the id has been found or there is no context associate to it.