AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::Organizations::Types::UntagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing UntagResourceRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_id: "TaggableResourceId", # required
  tag_keys: ["TagKey"], # required
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_idString

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

Returns:

  • (String)

    The ID of the resource to remove a tag from.

#tag_keysArray<String>

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

Returns:

  • (Array<String>)

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