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. Retrieves the list of key-value tags assigned to the resource.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.AppConfig.AmazonAppConfigRequest
      Amazon.AppConfig.Model.ListTagsForResourceRequest

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

Syntax

C#
public class ListTagsForResourceRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The ListTagsForResourceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

The resource ARN.

Examples

The following list-tags-for-resource example lists the tags of a specified application.

To list the tags of an application


var client = new AmazonAppConfigClient();
var response = client.ListTagsForResource(new ListTagsForResourceRequest 
{
    ResourceArn = "arn:aws:appconfig:us-east-1:111122223333:application/339ohji"
});

Dictionary<string, string> tags = response.Tags;

            

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