update_collection_group
¶
update_collection_group(
id: CollectionGroupId,
*,
config_overrides: Optional[OpenSearchServerlessClientConfig] = 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) –The updated capacity limits for the collection group, in OpenSearch Compute Units (OCUs). Updates to capacity limits are not incremental. Any field not specified resets to its default value.
-
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/open_search_serverless.py
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 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 | |