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.

Removes metadata tags from an Amazon Neptune resource.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to RemoveTagsFromResourceAsync.

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

Syntax

C#
public abstract RemoveTagsFromResourceResponse RemoveTagsFromResource(
         RemoveTagsFromResourceRequest request
)
Parameters
request
Type: Amazon.Neptune.Model.RemoveTagsFromResourceRequest

Container for the necessary parameters to execute the RemoveTagsFromResource service method.

Return Value
The response from the RemoveTagsFromResource service method, as returned by Neptune.

Exceptions

ExceptionCondition
DBClusterNotFoundException DBClusterIdentifier does not refer to an existing DB cluster.
DBInstanceNotFoundException DBInstanceIdentifier does not refer to an existing DB instance.
DBSnapshotNotFoundException DBSnapshotIdentifier does not refer to an existing DB snapshot.

Examples

This example removes the specified tag associated with the specified DB option group.

To remove tags from a resource


var response = client.RemoveTagsFromResource(new RemoveTagsFromResourceRequest 
{
    ResourceName = "arn:aws:rds:us-east-1:992648334831:og:mydboptiongroup",
    TagKeys = new List<string> {
        "MyKey"
    }
});


            

Version Information

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

See Also