Skip to content

Remove Tags From Resource

storagegateway_remove_tags_from_resource R Documentation

Removes one or more tags from the specified resource

Description

Removes one or more tags from the specified resource. This operation is supported in storage gateways of all types.

Usage

storagegateway_remove_tags_from_resource(ResourceARN, TagKeys)

Arguments

ResourceARN

[required] The Amazon Resource Name (ARN) of the resource you want to remove the tags from.

TagKeys

[required] The keys of the tags you want to remove from the specified resource. A tag is composed of a key-value pair.

Value

A list with the following syntax:

list(
  ResourceARN = "string"
)

Request syntax

svc$remove_tags_from_resource(
  ResourceARN = "string",
  TagKeys = list(
    "string"
  )
)

Examples

## Not run: 
# Lists the iSCSI stored volumes of a gateway. Removes one or more tags
# from the specified resource.
svc$remove_tags_from_resource(
  ResourceARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B",
  TagKeys = list(
    "Dev Gatgeway Region",
    "East Coast"
  )
)

## End(Not run)