code: func (ns *Namespace) FromString(targetPathIn, contentIn interface{}) (resource.Resource, error) {
  	targetPath, err := cast.ToStringE(targetPathIn)
  	if err != nil {
  		return nil, err
  	}
  	content, err := cast.ToStringE(contentIn)
  	if err != nil {
  		return nil, err
  	}
  
  	return ns.createClient.FromString(targetPath, content)
  }
docs: // FromString creates a Resource from a string published to the relative target path.