powered by
Get/delete the tag set for a bucket.
get_tagging(bucket, ...)put_tagging(bucket, tags = list(), ...)delete_tagging(bucket, ...)
put_tagging(bucket, tags = list(), ...)
delete_tagging(bucket, ...)
Character string with the name of the bucket, or an object of class “s3_bucket”.
Additional arguments passed to s3HTTP.
s3HTTP
A list containing key-value pairs of tag names and values.
A list containing the tag set, if one has been set. For delete_tagging: TRUE if successful, FALSE otherwise.
delete_tagging
TRUE
FALSE
API Documentation: PUT tagging API Documentation: GET tagging API Documentation: DELETE tagging
# NOT RUN { put_tagging("mybucket", tags = list(foo = "1", bar = "2")) get_tagging("mybucket") delete_tagging("mybucket") # } # NOT RUN { # }
Run the code above in your browser using DataLab