put-object-tagging

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

See also: PUT Object Tagging.

Synopsis

put-object-tagging
  --bucket <value>
  --key <value>
  [--version-id <value>]
  [--content-md5 <value>]
  --tagging <value>
  [--cli-input-json <value>]

Options

--bucket (string)

--key (string)

--version-id (string)

--content-md5 (string)

--tagging (structure)

Shorthand Syntax:

TagSet=[{Key=string,Value=string},{Key=string,Value=string}]

JSON Syntax:

{
  "TagSet": [
    {
      "Key": "string",
      "Value": "string"
    }
    ...
  ]
}

--cli-input-json (string)

Operates a service or services based on the provided JSON string. If other arguments are provided on the command line, the CLI values override the JSON-provided values. You cannot pass arbitrary binary values using a JSON-provided value, because the string is taken literally.

Output

VersionId -> (string)