'Gets metadata information for a resource.'

@util.identified_stack
def metadata(self, req, identity, resource_name):

    res = self.rpc_client.describe_stack_resource(req.context, identity, resource_name)
    return {rpc_api.RES_METADATA: res[rpc_api.RES_METADATA]}
