storagegateway_list_tags_for_resource: Lists the tags that have been added to the specified resource

Description Usage Arguments Value Request syntax Examples

View source: R/storagegateway_operations.R

Description

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

Usage

1
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:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
list(
  ResourceARN = "string",
  Marker = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Request syntax

1
2
3
4
5
svc$list_tags_for_resource(
  ResourceARN = "string",
  Marker = "string",
  Limit = 123
)

Examples

1
2
3
4
5
6
7
8
9
## 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)

paws.storage documentation built on Aug. 23, 2021, 1:06 a.m.