untag_resource
async
¶
untag_resource(
resource_arn: str,
tag_keys: StringList,
*,
config_overrides: Optional[AsyncResourceExplorer2ClientConfig] = None,
) -> UntagResourceOutput
Removes one or more tag key and value pairs from an Amazon Web Services Resource Explorer view or index.
Parameters:
-
resource_arn(str) –The Amazon Resource Name (ARN) of the view or index that you want to remove tags from.
-
tag_keys(StringList) –A list of the keys for the tags that you want to remove from the specified view or index.
Raises:
-
AccessDeniedException–The credentials that you used to call this operation don't have the minimum required permissions.
-
InternalServerException–The request failed because of internal service error. Try your request again later.
-
ResourceNotFoundException–You specified a resource that doesn't exist. Check the ID or ARN that you used to identity the resource, and try again.
-
ThrottlingException–The request failed because you exceeded a rate limit for this operation. For more information, see Quotas for Resource Explorer.
-
UnauthorizedException–The principal making the request isn't permitted to perform the operation.
-
ValidationException–You provided an invalid value for one of the operation's parameters. Check the syntax for the operation, and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_resource_explorer_2/_services/async_resource_explorer2.py
1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 | |