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 RemoveTagsFromResource operation. Removes metadata tags from an DMS resource, including replication instance, endpoint, subnet group, and migration task. For more information, see Tag data type description.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.DatabaseMigrationService.AmazonDatabaseMigrationServiceRequest
      Amazon.DatabaseMigrationService.Model.RemoveTagsFromResourceRequest

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

Syntax

C#
public class RemoveTagsFromResourceRequest : AmazonDatabaseMigrationServiceRequest
         IAmazonWebServiceRequest

The RemoveTagsFromResourceRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ResourceArn System.String

Gets and sets the property ResourceArn.

An DMS resource from which you want to remove tag(s). The value for this parameter is an Amazon Resource Name (ARN).

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

Gets and sets the property TagKeys.

The tag key (name) of the tag to be removed.

Examples

Removes metadata tags from an AWS DMS resource.

Remove tags from resource


var client = new AmazonDatabaseMigrationServiceClient();
var response = client.RemoveTagsFromResource(new RemoveTagsFromResourceRequest 
{
    ResourceArn = "arn:aws:dms:us-east-1:123456789012:endpoint:ASXWXJZLNWNT5HTWCGV2BUJQ7E",
    TagKeys = new List<string> {
                    
    }
});


            

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