create_resiliency_group
¶
create_resiliency_group(
resiliency_group_name: ResiliencyGroupName,
intended_resiliency_model: ResiliencyModel,
*,
config_overrides: Optional[DirectConnectClientConfig] = 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/direct_connect.py
2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 | |