update_connection_function
¶
update_connection_function(
id: ResourceId,
if_match: string,
connection_function_config: FunctionConfig,
connection_function_code: FunctionBlob,
*,
config_overrides: Optional[CloudFrontClientConfig] = 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/cloud_front.py
9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 | |