Skip to content

CloudTrailClient.remove_tags

rboto-cloudtrail==0.4.0 · Service index · Types

Model summary (excerpt): Removes the specified tags from a trail, event data store, dashboard, or channel.

Install and imports

python -m pip install "rboto[cloudtrail]==0.4.0"
from rboto import CloudTrailClient
from collections.abc import Sequence
from rboto_cloudtrail.types import (
    RemoveTagsOutput,
    Tag,
)

Signature

async def remove_tags(
    *,
    resource_id: str,
    tags_list: Sequence[Tag],
) -> RemoveTagsOutput: ...

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_id Yes Specifies the ARN of the trail, event data store, dashboard, or channel from which tags should be removed. Example trail ARN format: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail Example event data store ARN format: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE Example dashboard ARN format:...
tags_list Yes Specifies a list of tags to be removed.

Output

RemoveTagsOutput.

Read-only native attributes, accessed as response.field. Collection getters materialize Python values; to_dict() recursively materializes a mapping. Streams are consumed once.

No fields.

| 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.

RemoveTagsOutput, Tag

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_cloudtrail.exceptions:

ChannelARNInvalidError, ChannelNotFoundError, CloudTrailARNInvalidError, ConflictError, EventDataStoreARNInvalidError, EventDataStoreNotFoundError, InactiveEventDataStoreError, InvalidTagParameterError, InvalidTrailNameError, NoManagementAccountSLRExistsError, NotOrganizationMasterAccountError, OperationNotPermittedError, ResourceNotFoundError, ResourceTypeNotSupportedError, UnsupportedOperationError.

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

Service guide · Pinned model