paws.storage (version 0.1.0)

s3_put_bucket_tagging: Sets the tags for a bucket

Description

Sets the tags for a bucket.

Usage

s3_put_bucket_tagging(Bucket, ContentMD5, Tagging)

Arguments

Bucket

[required]

ContentMD5
Tagging

[required]

Request syntax

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

Examples

Run this code
# NOT RUN {
# The following example sets tags on a bucket. Any existing tags are
# replaced.
# }
# NOT RUN {
svc$put_bucket_tagging(
  Bucket = "examplebucket",
  Tagging = list(
    TagSet = list(
      list(
        Key = "Key1",
        Value = "Value1"
      ),
      list(
        Key = "Key2",
        Value = "Value2"
      )
    )
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace