CloudHSMV2 / Client / untag_resource
untag_resource#
- CloudHSMV2.Client.untag_resource(**kwargs)#
Removes the specified tag or tags from the specified CloudHSM cluster.
Cross-account use: No. You cannot perform this operation on an CloudHSM resource in a different Amazon Web Services account.
See also: AWS API Documentation
Request Syntax
response = client.untag_resource( ResourceId='string', TagKeyList=[ 'string', ] )
- Parameters:
ResourceId (string) –
[REQUIRED]
The cluster identifier (ID) for the cluster whose tags you are removing. To find the cluster ID, use DescribeClusters.
TagKeyList (list) –
[REQUIRED]
A list of one or more tag keys for the tags that you are removing. Specify only the tag keys, not the tag values.
(string) –
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
CloudHSMV2.Client.exceptions.CloudHsmAccessDeniedException
CloudHSMV2.Client.exceptions.CloudHsmInternalFailureException
CloudHSMV2.Client.exceptions.CloudHsmInvalidRequestException
CloudHSMV2.Client.exceptions.CloudHsmResourceNotFoundException
CloudHSMV2.Client.exceptions.CloudHsmServiceException
CloudHSMV2.Client.exceptions.CloudHsmTagException