Skip to content

List Tags For Resource

storagegateway_list_tags_for_resource R Documentation

Lists the tags that have been added to the specified resource

Description

Lists the tags that have been added to the specified resource. This operation is supported in storage gateways of all types.

Usage

storagegateway_list_tags_for_resource(ResourceARN, Marker, Limit)

Arguments

ResourceARN

[required] The Amazon Resource Name (ARN) of the resource for which you want to list tags.

Marker

An opaque string that indicates the position at which to begin returning the list of tags.

Limit

Specifies that the list of tags returned be limited to the specified number of items.

Value

A list with the following syntax:

list(
  ResourceARN = "string",
  Marker = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

svc$list_tags_for_resource(
  ResourceARN = "string",
  Marker = "string",
  Limit = 123
)

Examples

## Not run: 
# Lists the tags that have been added to the specified resource.
svc$list_tags_for_resource(
  Limit = 1L,
  Marker = "1",
  ResourceARN = "arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-11A2222B"
)

## End(Not run)