paws.storage (version 0.1.0)

s3_put_object_tagging: Sets the supplied tag-set to an object that already exists in a bucket

Description

Sets the supplied tag-set to an object that already exists in a bucket

Usage

s3_put_object_tagging(Bucket, Key, VersionId, ContentMD5, Tagging)

Arguments

Bucket

[required]

Key

[required]

VersionId
ContentMD5
Tagging

[required]

Request syntax

svc$put_object_tagging(
  Bucket = "string",
  Key = "string",
  VersionId = "string",
  ContentMD5 = "string",
  Tagging = list(
    TagSet = list(
      list(
        Key = "string",
        Value = "string"
      )
    )
  )
)

Examples

Run this code
# NOT RUN {
# The following example adds tags to an existing object.
# }
# NOT RUN {
svc$put_object_tagging(
  Bucket = "examplebucket",
  Key = "HappyFace.jpg",
  Tagging = list(
    TagSet = list(
      list(
        Key = "Key3",
        Value = "Value3"
      ),
      list(
        Key = "Key4",
        Value = "Value4"
      )
    )
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab