getResponseHeadersPolicy
inline suspend fun CloudFrontClient.getResponseHeadersPolicy(crossinline block: GetResponseHeadersPolicyRequest.Builder.() -> Unit): GetResponseHeadersPolicyResponse
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
.