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.
DEPRECATED - DeleteTags
is deprecated and not maintained. To remove tags from
EFS resources, use the API action.
Deletes the specified tags from a file system. If the DeleteTags
request includes
a tag key that doesn't exist, Amazon EFS ignores it and doesn't cause an error. For
more information about tags and related restrictions, see Tag
restrictions in the Billing and Cost Management User Guide.
This operation requires permissions for the elasticfilesystem:DeleteTags
action.
Namespace: Amazon.ElasticFileSystem.Model
Assembly: AWSSDK.ElasticFileSystem.dll
Version: 3.x.y.z
public class DeleteTagsRequest : AmazonElasticFileSystemRequest IAmazonWebServiceRequest
The DeleteTagsRequest type exposes the following members
Name | Description | |
---|---|---|
DeleteTagsRequest() |
Name | Type | Description | |
---|---|---|---|
FileSystemId | System.String |
Gets and sets the property FileSystemId. The ID of the file system whose tags you want to delete (String). |
|
TagKeys | System.Collections.Generic.List<System.String> |
Gets and sets the property TagKeys. A list of tag keys to delete. |
This operation deletes tags for an EFS file system.
var client = new AmazonElasticFileSystemClient(); var response = client.DeleteTags(new DeleteTagsRequest { FileSystemId = "fs-01234567", TagKeys = new List<string> { "Name" } });
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5