Skip to content

/AWS1/CL_LSA=>RESETDISTRIBUTIONCACHE()

About ResetDistributionCache

Deletes currently cached content from your Amazon Lightsail content delivery network (CDN) distribution.

After resetting the cache, the next time a content request is made, your distribution pulls, serves, and caches it from the origin.

Method Signature

IMPORTING

Optional arguments:

IV_DISTRIBUTIONNAME TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME

The name of the distribution for which to reset cache.

Use the GetDistributions action to get a list of distribution names that you can specify.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_LSARESETDISTRIBUTIO01 /AWS1/CL_LSARESETDISTRIBUTIO01