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
- Struct
- Aws::Organizations::Types::ListTagsForResourceRequest
- Defined in:
- (unknown)
Overview
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
-
#next_token ⇒ String
The parameter for receiving additional results if you receive a
NextToken
response in a previous request. -
#resource_id ⇒ String
The ID of the resource with the tags to list.
Instance Attribute Details
#next_token ⇒ String
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.
#resource_id ⇒ String
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