update_connection_group
async
¶
update_connection_group(
id: string,
if_match: string,
*,
config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
ipv6_enabled: Optional[boolean] = None,
anycast_ip_list_id: Optional[string] = None,
enabled: Optional[boolean] = None,
) -> UpdateConnectionGroupResult
Updates a connection group.
Parameters:
-
id(string) –The ID of the connection group.
-
ipv6_enabled(Optional[boolean], default:None) –Enable IPv6 for the connection group. For more information, see Enable IPv6 in the Amazon CloudFront Developer Guide.
-
if_match(string) –The value of the
ETagheader that you received when retrieving the connection group that you're updating. -
anycast_ip_list_id(Optional[string], default:None) –The ID of the Anycast static IP list.
-
enabled(Optional[boolean], default:None) –Whether the connection group is enabled.
Raises:
-
AccessDenied–Access denied.
-
EntityAlreadyExists–The entity already exists. You must provide a unique entity.
-
EntityLimitExceeded–The entity limit has been exceeded.
-
EntityNotFound–The entity was not found.
-
InvalidArgument–An argument is invalid.
-
InvalidIfMatchVersion–The
If-Matchversion is missing or not valid. -
PreconditionFailed–The precondition in one or more of the request fields evaluated to
false. -
ResourceInUse–Cannot delete this resource because it is in use.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudfront/_services/async_cloud_front.py
9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 | |