remove_tags_from_resource

CloudHSM.Client.remove_tags_from_resource(**kwargs)

This is documentation for AWS CloudHSM Classic . For more information, see AWS CloudHSM Classic FAQs, the AWS CloudHSM Classic User Guide, and the AWS CloudHSM Classic API Reference.

For information about the current version of AWS CloudHSM , see AWS CloudHSM, the AWS CloudHSM User Guide, and the AWS CloudHSM API Reference.

Removes one or more tags from the specified AWS CloudHSM resource.

To remove a tag, specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.

See also: AWS API Documentation

Request Syntax

response = client.remove_tags_from_resource(
    ResourceArn='string',
    TagKeyList=[
        'string',
    ]
)
Parameters
  • ResourceArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the AWS CloudHSM resource.

  • TagKeyList (list) --

    [REQUIRED]

    The tag key or keys to remove.

    Specify only the tag key to remove (not the value). To overwrite the value for an existing tag, use AddTagsToResource.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'Status': 'string'
}

Response Structure

  • (dict) --

    • Status (string) --

      The status of the operation.

Exceptions

  • CloudHSM.Client.exceptions.CloudHsmServiceException
  • CloudHSM.Client.exceptions.CloudHsmInternalException
  • CloudHSM.Client.exceptions.InvalidRequestException