untag_resource
async
¶
untag_resource(
resource_arn: String,
tag_keys: KeyList,
*,
config_overrides: Optional[AsyncMemoryDBClientConfig] = None,
) -> UntagResourceResponse
Use this operation to remove tags on a resource. A tag is a key-value pair where the key and value are case-sensitive. You can use tags to categorize and track all your MemoryDB resources. For more information, see Tagging your MemoryDB resources.
When you remove tags from multi region clusters, you might not immediately see the latest effective tags in the ListTags API response due to it being eventually consistent specifically for multi region clusters. For more information, see Tagging your MemoryDB resources.
You can specify cost-allocation tags for your MemoryDB resources, Amazon generates a cost allocation report as a comma-separated value (CSV) file with your usage and costs aggregated by your tags. You can apply tags that represent business categories (such as cost centers, application names, or owners) to organize your costs across multiple services. For more information, see Using Cost Allocation Tags.
Parameters:
-
resource_arn(String) –The Amazon Resource Name (ARN) of the resource to which the tags are to be removed.
-
tag_keys(KeyList) –The list of keys of the tags that are to be removed.
Raises:
-
ACLNotFoundFault–The specified ACL does not exist.
-
ClusterNotFoundFault–The specified cluster does not exist.
-
InvalidARNFault–The specified Amazon Resource Name (ARN) is not valid.
-
InvalidClusterStateFault–The cluster is not in a valid state for the requested operation.
-
InvalidParameterValueException–The specified parameter value is not valid.
-
MultiRegionClusterNotFoundFault–The specified multi-Region cluster does not exist.
-
MultiRegionParameterGroupNotFoundFault–The specified multi-Region parameter group does not exist.
-
ParameterGroupNotFoundFault–The specified parameter group does not exist.
-
ServiceLinkedRoleNotFoundFault–The required service-linked role was not found.
-
SnapshotNotFoundFault–The specified snapshot does not exist.
-
SubnetGroupNotFoundFault–The specified subnet group does not exist.
-
TagNotFoundFault–The specified tag does not exist.
-
UserNotFoundFault–The specified user does not exist.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_memorydb/_services/async_memory_db.py
3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 | |