EFS / Client / delete_tags
delete_tags#
- EFS.Client.delete_tags(**kwargs)#
Note
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.Danger
This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.
See also: AWS API Documentation
Request Syntax
response = client.delete_tags( FileSystemId='string', TagKeys=[ 'string', ] )
- Parameters:
FileSystemId (string) –
[REQUIRED]
The ID of the file system whose tags you want to delete (String).
TagKeys (list) –
[REQUIRED]
A list of tag keys to delete.
(string) –
- Returns:
None
Exceptions
EFS.Client.exceptions.BadRequest
EFS.Client.exceptions.InternalServerError
EFS.Client.exceptions.FileSystemNotFound
Examples
This operation deletes tags for an EFS file system.
response = client.delete_tags( FileSystemId='fs-01234567', TagKeys=[ 'Name', ], ) print(response)
Expected Output:
{ 'ResponseMetadata': { '...': '...', }, }