Skip to content

/AWS1/CL_FNT=>GETRESPONSEHEADERSPOLICY()

About GetResponseHeadersPolicy

Gets a response headers policy, including metadata (the policy's identifier and the date and time when the policy was last modified).

To get a response headers policy, you must provide the policy's identifier. If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

Method Signature

IMPORTING

Required arguments:

IV_ID TYPE /AWS1/FNTSTRING /AWS1/FNTSTRING

The identifier for the response headers policy.

If the response headers policy is attached to a distribution's cache behavior, you can get the policy's identifier using ListDistributions or GetDistribution. If the response headers policy is not attached to a cache behavior, you can get the identifier using ListResponseHeadersPolicies.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_FNTGETRSPHEADERSPLYRS /AWS1/CL_FNTGETRSPHEADERSPLYRS