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 UntagResource operation. Deletes a tag key and value from an AppConfig resource.

Inheritance Hierarchy

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

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

Syntax

C#
public class UntagResourceRequest : AmazonAppConfigRequest
         IAmazonWebServiceRequest

The UntagResourceRequest type exposes the following members

Constructors

NameDescription
Public Method UntagResourceRequest()

Properties

NameTypeDescription
Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

The ARN of the resource for which to remove tags.

Public Property TagKeys System.Collections.Generic.List<System.String>

Gets and sets the property TagKeys.

The tag keys to delete.

Examples

The following untag-resource example removes the group1 tag from the specified application.

To remove a tag from an application


var client = new AmazonAppConfigClient();
var response = client.UntagResource(new UntagResourceRequest 
{
    ResourceArn = "arn:aws:appconfig:us-east-1:111122223333:application/339ohji",
    TagKeys = new List<string> {
        "group1"
    }
});


            

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