Initializing help system before first use

s3newtag

s3newtag


Purpose
Creates an s3tag record with the given key and value
Synopsis
function s3newtag(key:string, value:text):s3tag
function s3newtag(key:text, value:text):s3tag
Example
s3setobjecttagging(mybucket,"my/file.dat",[
  s3newtag("firstname","John"),
  s3newtag("lastname","Smith")])
if s3status(mybucket)<>S3_OK then
  writeln("Error returned by S3: ",s3getlasterror(mybucket))
  exit(1)
end-if
Further information
This would most often be used when constructing a tag list to pass to s3setobjecttagging
Related topics