organizations_untag_resource: Removes any tags with the specified keys from the specified...

Description Usage Arguments Value Request syntax

View source: R/organizations_operations.R

Description

Removes any tags with the specified keys from the specified resource.

You can attach tags to the following resources in AWS Organizations.

This operation can be called only from the organization's management account.

Usage

1
organizations_untag_resource(ResourceId, TagKeys)

Arguments

ResourceId

[required] The ID of the resource to remove a tag from.

You can specify any of the following taggable resources.

  • AWS account – specify the account ID number.

  • Organizational unit – specify the OU ID that begins with ou- and looks similar to: ou-1a2b-34uvwxyz

  • Root – specify the root ID that begins with r- and looks similar to: r-1a2b

  • Policy – specify the policy ID that begins with p- andlooks similar to: p-12abcdefg3

TagKeys

[required] The list of keys for tags to remove from the specified resource.

Value

An empty list.

Request syntax

1
2
3
4
5
6
svc$untag_resource(
  ResourceId = "string",
  TagKeys = list(
    "string"
  )
)

paws.management documentation built on Aug. 23, 2021, 9:11 a.m.