Skip to content

Tag Resource

workspacesweb_tag_resource R Documentation

Adds or overwrites one or more tags for the specified resource

Description

Adds or overwrites one or more tags for the specified resource.

Usage

workspacesweb_tag_resource(clientToken, resourceArn, tags)

Arguments

clientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

resourceArn

[required] The ARN of the resource.

tags

[required] The tags of the resource.

Value

An empty list.

Request syntax

svc$tag_resource(
  clientToken = "string",
  resourceArn = "string",
  tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  )
)