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 DeleteTags operation. Deletes the specified tags from a file system. If the DeleteTags request includes a tag key that does not exist, Amazon EFS ignores it and doesn't cause an error. For more information about tags and related restrictions, see Tag Restrictions in the AWS Billing and Cost Management User Guide.

This operation requires permissions for the elasticfilesystem:DeleteTags action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElasticFileSystem.AmazonElasticFileSystemRequest
      Amazon.ElasticFileSystem.Model.DeleteTagsRequest

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

Syntax

C#
public class DeleteTagsRequest : AmazonElasticFileSystemRequest
         IAmazonWebServiceRequest

The DeleteTagsRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteTagsRequest()

Properties

NameTypeDescription
Public Property FileSystemId System.String

Gets and sets the property FileSystemId.

ID of the file system whose tags you want to delete (String).

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

Gets and sets the property TagKeys.

List of tag keys to delete.

Examples

This operation deletes tags for an EFS file system.

To delete tags for an EFS file system


var response = client.DeleteTags(new DeleteTagsRequest 
{
    FileSystemId = "fs-01234567",
    TagKeys = new List {
        "Name"
    }
});


            

Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms