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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-organizations/types.rb

Overview

Note:

When making an API call, you may pass ListTagsForResourceRequest data as a hash:

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

Constant Summary collapse

SENSITIVE =
[]

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)

3735
3736
3737
3738
3739
3740
# File 'lib/aws-sdk-organizations/types.rb', line 3735

class ListTagsForResourceRequest < Struct.new(
  :resource_id,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#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)

3735
3736
3737
3738
3739
3740
# File 'lib/aws-sdk-organizations/types.rb', line 3735

class ListTagsForResourceRequest < Struct.new(
  :resource_id,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end