update_connection_function
async
¶
update_connection_function(
id: ResourceId,
if_match: string,
connection_function_config: FunctionConfig,
connection_function_code: FunctionBlob,
*,
config_overrides: Optional[AsyncCloudFrontClientConfig] = None,
) -> UpdateConnectionFunctionResult
Updates a connection function.
Parameters:
-
id(ResourceId) –The connection function ID.
-
if_match(string) –The current version (
ETagvalue) of the connection function you are updating. -
connection_function_code(FunctionBlob) –The connection function code.
Raises:
-
AccessDenied–Access denied.
-
EntityNotFound–The entity was not found.
-
EntitySizeLimitExceeded–The entity size limit was exceeded.
-
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. -
UnsupportedOperation–This operation is not supported in this Amazon Web Services Region.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_cloudfront/_services/async_cloud_front.py
9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 | |