Skip to content

Remove Tags From Vault

glacier_remove_tags_from_vault R Documentation

This operation removes one or more tags from the set of tags attached to a vault

Description

This operation removes one or more tags from the set of tags attached to a vault. For more information about tags, see Tagging Amazon S3 Glacier Resources. This operation is idempotent. The operation will be successful, even if there are no tags attached to the vault.

Usage

glacier_remove_tags_from_vault(accountId, vaultName, TagKeys)

Arguments

accountId

[required] The AccountId value is the AWS account ID of the account that owns the vault. You can either specify an AWS account ID or optionally a single '-' (hyphen), in which case Amazon S3 Glacier uses the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not include any hyphens ('-') in the ID.

vaultName

[required] The name of the vault.

TagKeys

A list of tag keys. Each corresponding tag is removed from the vault.

Value

An empty list.

Request syntax

svc$remove_tags_from_vault(
  accountId = "string",
  vaultName = "string",
  TagKeys = list(
    "string"
  )
)

Examples

## Not run: 
# The example removes two tags from the vault named examplevault.
svc$remove_tags_from_vault(
  TagKeys = list(
    "examplekey1",
    "examplekey2"
  ),
  accountId = "-",
  vaultName = "examplevault"
)

## End(Not run)