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) –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/open_search_serverless.py
1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 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 | |