Skip to content

/AWS1/CL_FNT=>GETORIGINREQUESTPOLICY()

About GetOriginRequestPolicy

Gets an origin request policy, including the following metadata:

  • The policy's identifier.

  • The date and time when the policy was last modified.

To get an origin request policy, you must provide the policy's identifier. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the origin request policy is not attached to a cache behavior, you can get the identifier using ListOriginRequestPolicies.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTGETORIGINREQPLYRS /AWS1/CL_FNTGETORIGINREQPLYRS