'Handles the creation of a single response item by setting
parameters and creating the appropriate resource instance.
:type resource_cls: ServiceResource subclass
:param resource_cls: The resource class to instantiate.
:type parent: ServiceResource
:param parent: The resource instance to which this action is attached.
:type identifiers: dict
:param identifiers: Map of identifier names to value or values.
:type resource_data: dict or None
:param resource_data: Data for resource attributes.
:rtype: ServiceResource
:return: New resource instance.'

def handle_response_item(self, resource_cls, parent, identifiers, resource_data):

    kwargs = {'client': parent.meta.client}
    for (name, value) in identifiers.items():
        if isinstance(value, list):
            value = value.pop(0)
        kwargs[name] = value
    resource = resource_cls(**kwargs)
    if (resource_data is not None):
        resource.meta.data = resource_data
    return resource
