untag_resource
¶
untag_resource(
resource_arn: String,
tag_keys: TagKeyList,
*,
config_overrides: Optional[MPAClientConfig] = None,
) -> UntagResourceResponse
Removes a resource tag. Each tag is a label consisting of a user-defined key and value. Tags can help you manage, identify, organize, search for, and filter resources.
Parameters:
-
resource_arn(String) –Amazon Resource Name (ARN) for the resource you want to untag.
-
tag_keys(TagKeyList) –Array of tag key-value pairs that you want to untag.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action. Check your permissions, and try again.
-
InternalServerException–The service encountered an internal error. Try your request again. If the problem persists, contact Amazon Web Services Support.
-
ResourceNotFoundException–The specified resource doesn't exist. Check the resource ID, and try again.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.