Skip to content

Tag Resource

appregistry_tag_resource R Documentation

Assigns one or more tags (key-value pairs) to the specified resource

Description

Assigns one or more tags (key-value pairs) to the specified resource.

Each tag consists of a key and an optional value. If a tag with the same key is already associated with the resource, this action updates its value.

This operation returns an empty response if the call was successful.

Usage

appregistry_tag_resource(resourceArn, tags)

Arguments

resourceArn

[required] The Amazon resource name (ARN) that specifies the resource.

tags

[required] The new or modified tags for the resource.

Value

An empty list.

Request syntax

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