update_connection_group
¶
update_connection_group(
id: string,
if_match: string,
*,
config_overrides: Optional[CloudFrontClientConfig] = 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/cloud_front.py
9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 | |