update_collection_group
async
¶
update_collection_group(
id: CollectionGroupId,
*,
config_overrides: Optional[AsyncOpenSearchServerlessClientConfig] = None,
description: Optional[str] = None,
capacity_limits: Optional[CollectionGroupCapacityLimits] = None,
client_token: Optional[ClientToken] = None,
) -> UpdateCollectionGroupResponse
Updates the description and capacity limits of a collection group.
Parameters:
-
id(CollectionGroupId) –The unique identifier of the collection group to update.
-
description(Optional[str], default:None) –A new description for the collection group.
-
capacity_limits(Optional[CollectionGroupCapacityLimits], default:None) –Updated capacity limits for the collection group, in OpenSearch Compute Units (OCUs).
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier to ensure idempotency of the request.
Raises:
-
ConflictException–When creating a resource, thrown when a resource with the same name already exists or is being created. When deleting a resource, thrown when the resource is not in the ACTIVE, FAILED, or UPDATE_FAILED state.
-
InternalServerException–Thrown when an error internal to the service occurs while processing a request.
-
ServiceQuotaExceededException–Thrown when you attempt to create more resources than the service allows based on service quotas.
-
ValidationException–Thrown when the HTTP request contains invalid input or is missing required input.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_opensearchserverless/_services/async_open_search_serverless.py
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 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 | |