untag_resource
async
¶
untag_resource(
resource_arn: ComprehendArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[AsyncComprehendClientConfig] = 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/async_comprehend.py
6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 | |