def METHOD_NAME(self):
    match = re.compile(self.RESOURCE_ID_PATTERN).match(self._resource_id)
    if match is None:
        raise RuntimeError(
            "Unable to parse resource name {name}".format(
                name=self._resource_id
            )
        )
    return match.groups()