DirectoryService / Client / remove_tags_from_resource

remove_tags_from_resource#

DirectoryService.Client.remove_tags_from_resource(**kwargs)#

Removes tags from a directory.

See also: AWS API Documentation

Request Syntax

response = client.remove_tags_from_resource(
    ResourceId='string',
    TagKeys=[
        'string',
    ]
)
Parameters:
  • ResourceId (string) –

    [REQUIRED]

    Identifier (ID) of the directory from which to remove the tag.

  • TagKeys (list) –

    [REQUIRED]

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

    • (string) –

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • DirectoryService.Client.exceptions.EntityDoesNotExistException

  • DirectoryService.Client.exceptions.InvalidParameterException

  • DirectoryService.Client.exceptions.ClientException

  • DirectoryService.Client.exceptions.ServiceException