untag_resource
¶
untag_resource(
resource_arn: str,
tag_keys: StringList,
*,
config_overrides: Optional[ResourceExplorer2ClientConfig] = 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/resource_explorer2.py
1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 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 | |