untag_resource
¶
untag_resource(
resource_arn: ResourceArn,
tag_keys: TagKeyList,
*,
config_overrides: Optional[ObservabilityAdminClientConfig] = None,
) -> None
Removes tags from a resource. Supports telemetry rule resources and telemetry pipeline resources.
Parameters:
-
resource_arn(ResourceArn) –The Amazon Resource Name (ARN) of the telemetry rule resource to remove tags from.
-
tag_keys(TagKeyList) –The list of tag keys to remove from the telemetry rule resource.
Raises:
-
AccessDeniedException–Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see Access management for Amazon Web Services resources in the IAM user guide.
-
InternalServerException–Indicates the request has failed to process because of an unknown server error, exception, or failure.
-
ResourceNotFoundException–The specified resource (such as a telemetry rule) could not be found.
-
TooManyRequestsException–The request throughput limit was exceeded.
-
ValidationException–Indicates input validation failed. Check your request parameters and retry the request.
-
UnknownServiceError–The service returned an error code this client does not model.