AWS SDK Version 3 for .NET
API Reference

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.

Container for the parameters to the ListTagsForResource operation. Lists tags that are attached to the specified resource.

You can attach tags to the following resources in Organizations.

This operation can be called only from the organization's management account or by a member account that is a delegated administrator for an Amazon Web Services service.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Organizations.AmazonOrganizationsRequest
      Amazon.Organizations.Model.ListTagsForResourceRequest

Namespace: Amazon.Organizations.Model
Assembly: AWSSDK.Organizations.dll
Version: 3.x.y.z

Syntax

C#
public class ListTagsForResourceRequest : AmazonOrganizationsRequest
         IAmazonWebServiceRequest

The ListTagsForResourceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property NextToken System.String

Gets and sets the property NextToken.

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.

Public Property ResourceId System.String

Gets and sets the property ResourceId.

The ID of the resource with the tags to list.

You can specify any of the following taggable resources.

  • Amazon Web Services 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

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5