create_resiliency_group
async
¶
create_resiliency_group(
resiliency_group_name: ResiliencyGroupName,
intended_resiliency_model: ResiliencyModel,
*,
config_overrides: Optional[AsyncDirectConnectClientConfig] = None,
client_token: Optional[IdempotencyToken] = None,
tags: Optional[TagList] = None,
) -> CreateResiliencyGroupResult
Creates a resiliency group. A resiliency group lets you group Direct Connect connections together and manage them as a single unit to meet a target resiliency model.
Parameters:
-
resiliency_group_name(ResiliencyGroupName) –The name of the resiliency group.
-
intended_resiliency_model(ResiliencyModel) –The resiliency model that the resiliency group is intended to meet. The valid values are
maximum-resiliency,high-resiliency, andbasic-resiliency. -
client_token(Optional[IdempotencyToken], default:None) –A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
tags(Optional[TagList], default:None) –The tags to associate with the resiliency group.
Raises:
-
DirectConnectClientException–One or more parameters are not valid.
-
DirectConnectServerException–A server-side error occurred.
-
DuplicateTagKeysException–A tag key was specified more than once.
-
LimitExceededException–The rate limiter limit has been exceeded for the connection. You cannot add more rate limiters to virtual interfaces on this connection.
-
TooManyTagsException–You have reached the limit on the number of tags that can be assigned.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_direct_connect/_services/async_direct_connect.py
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 | |