/AWS1/CL_FNT=>UPDATECACHEPOLICY()
¶
About UpdateCachePolicy¶
Updates a cache policy configuration.
When you update a cache policy configuration, all the fields are updated with the values provided in the request. You cannot update some fields independent of others. To update a cache policy configuration:
-
Use
GetCachePolicyConfig
to get the current configuration. -
Locally modify the fields in the cache policy configuration that you want to update.
-
Call
UpdateCachePolicy
by providing the entire cache policy configuration, including the fields that you modified and those that you didn't.
Method Signature¶
IMPORTING¶
Required arguments:¶
IO_CACHEPOLICYCONFIG
TYPE REF TO /AWS1/CL_FNTCACHEPOLICYCONFIG
/AWS1/CL_FNTCACHEPOLICYCONFIG
¶
A cache policy configuration.
IV_ID
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The unique identifier for the cache policy that you are updating. The identifier is returned in a cache behavior's
CachePolicyId
field in the response toGetDistributionConfig
.
Optional arguments:¶
IV_IFMATCH
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The version of the cache policy that you are updating. The version is returned in the cache policy's
ETag
field in the response toGetCachePolicyConfig
.