/AWS1/CL_FNT=>DELETEORIGINREQUESTPOLICY()
¶
About DeleteOriginRequestPolicy¶
Deletes an origin request policy.
You cannot delete an origin request policy if it's attached to any cache behaviors. First update your distributions to remove the origin request policy from all cache behaviors, then delete the origin request policy.
To delete an origin request policy, you must provide the policy's identifier and
version. To get the identifier, you can use ListOriginRequestPolicies
or
GetOriginRequestPolicy
.
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_ID
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The unique identifier for the origin request policy that you are deleting. To get the identifier, you can use
ListOriginRequestPolicies
.
Optional arguments:¶
IV_IFMATCH
TYPE /AWS1/FNTSTRING
/AWS1/FNTSTRING
¶
The version of the origin request policy that you are deleting. The version is the origin request policy's
ETag
value, which you can get usingListOriginRequestPolicies
,GetOriginRequestPolicy
, orGetOriginRequestPolicyConfig
.