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

Class: Aws::Organizations::Types::ListTagsForResourceRequest

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

Overview

Note:

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

{
  resource_id: "TaggableResourceId", # required
  next_token: "NextToken",
}

Instance Attribute Summary collapse

Instance Attribute Details

#next_tokenString

The parameter for receiving additional results if you receive a NextToken response in a previous request. A NextToken response indicates that more output is available. Set this parameter to the value of the previous call\'s NextToken response to indicate where the output should continue from.

Returns:

  • (String)

    The parameter for receiving additional results if you receive a NextToken response in a previous request.

#resource_idString

The ID of the resource with the tags to list.

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 with the tags to list.