paws.storage (version 0.1.0)

fsx_tag_resource: Tags an Amazon FSx resource

Description

Tags an Amazon FSx resource.

Usage

fsx_tag_resource(ResourceARN, Tags)

Arguments

ResourceARN

[required] The Amazon Resource Name (ARN) of the Amazon FSx resource that you want to tag.

Tags

[required] A list of tags for the resource. If a tag with a given key already exists, the value is replaced by the one specified in this parameter.

Request syntax

svc$tag_resource(
  ResourceARN = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)

Examples

Run this code
# NOT RUN {
# This operation tags an Amazon FSx resource.
# }
# NOT RUN {
svc$tag_resource(
  ResourceARN = "arn:aws:fsx:us-east-1:012345678912:file-system/fs-0498eed5fe91001ec",
  Tags = list(
    list(
      Key = "Name",
      Value = "MyFileSystem"
    )
  )
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab