Skip to content

CloudWatchLogsClient.untag_resource

rboto-cloudwatch-logs==0.4.0 · Service index · Types

Model summary (excerpt): Removes one or more tags from the specified resource.

Install and imports

python -m pip install "rboto[cloudwatch-logs]==0.4.0"
from rboto import CloudWatchLogsClient
from collections.abc import Sequence

Signature

async def untag_resource(
    *,
    resource_arn: str,
    tag_keys: Sequence[str],
) -> None: ...

Arguments without defaults are required. None omits an optional request argument. Static types do not validate resource existence, permissions, lengths, ranges, or conditional service requirements.

Arguments

Argument Required Model notes (excerpt)
resource_arn Yes The ARN of the CloudWatch Logs resource that you're removing tags from. The ARN format of a log group is arn:aws:logs: Region : account-id :log-group: log-group-name The ARN format of a destination is arn:aws:logs: Region : account-id :destination: destination-name For more information about ARN format, see CloudWatch Logs resources and operations .
tag_keys Yes The list of tag keys to remove from the resource.

Output

None.

| None means a value can be absent. Output mappings include every declared key; optional input keys may be omitted. Unknown output enum/union variants are not automatically valid inputs.

—

Follow these links for nested inputs and outputs; recursive types link back to the same type page.

Pagination and streaming

No generated paginator for this operation.

No output stream.

Errors

Import from rboto_cloudwatch_logs.exceptions:

InvalidParameterError, ResourceNotFoundError, ServiceUnavailableError.

Other service failures use the service base error; credential, transport and timeout failures use shared errors.

Service guide · Pinned model