/AWS1/CL_FNT=>UPDATEFUNCTION()
¶
About UpdateFunction¶
Updates a CloudFront function.
You can update a function's code or the comment that describes the function. You cannot update a function's name.
To update a function, you provide the function's name and version (ETag
value) along with the updated function code. To get the name and version, you can use
ListFunctions
and DescribeFunction
.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_NAME
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The name of the function that you are updating.
IV_IFMATCH
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The current version (
ETag
value) of the function that you are updating, which you can get usingDescribeFunction
.
IO_FUNCTIONCONFIG
TYPE REF TO /AWS1/CL_FNTFUNCTIONCONFIG
/AWS1/CL_FNTFUNCTIONCONFIG
¶
Configuration information about the function.
IV_FUNCTIONCODE
TYPE /AWS1/FNTFUNCTIONBLOB
/AWS1/FNTFUNCTIONBLOB
¶
The function code. For more information about writing a CloudFront function, see Writing function code for CloudFront Functions in the Amazon CloudFront Developer Guide.