tag_resource
async
¶
tag_resource(
resource_arn: AmazonResourceName,
tags: TagList,
*,
config_overrides: Optional[AsyncCodeConnectionsClientConfig] = None,
) -> TagResourceOutput
Adds to or modifies the tags of the given resource. Tags are metadata that can be used to manage a resource.
Parameters:
-
resource_arn(AmazonResourceName) –The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.
-
tags(TagList) –The tags you want to modify or add to the resource.
Raises:
-
LimitExceededException–Exceeded the maximum limit for connections.
-
ResourceNotFoundException–Resource not found. Verify the connection resource ARN and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_codeconnections/_services/async_code_connections.py
1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 | |