untag_resource
¶
untag_resource(
resource_arn: ComprehendArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[ComprehendClientConfig] = None,
) -> UntagResourceResponse
Removes a specific tag associated with an Amazon Comprehend resource.
Parameters:
-
resource_arn(ComprehendArn) –The Amazon Resource Name (ARN) of the given Amazon Comprehend resource from which you want to remove the tags.
-
tag_keys(TagKeyList) –The initial part of a key-value pair that forms a tag being removed from a given resource. For example, a tag with "Sales" as the key might be added to a resource to indicate its use by the sales department. Keys must be unique and cannot be duplicated for a particular resource.
Raises:
-
ConcurrentModificationException–Concurrent modification of the tags associated with an Amazon Comprehend resource is not supported.
-
InternalServerException–An internal server error occurred. Retry your request.
-
InvalidRequestException–The request is invalid.
-
ResourceNotFoundException–The specified resource ARN was not found. Check the ARN and try your request again.
-
TooManyTagKeysException–The request contains more tag keys than can be associated with a resource (50 tag keys per resource).
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_comprehend/_services/comprehend.py
6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 | |