Retrieves the intent with the specified name from the given resource type.
The resource type containing the intents.
The name of the intent to retrieve.
The intent with the specified name.
If the intent is not found on the resource type.
Retrieves the intent with the specified name from the given resource type.