openapi: 3.2.0 info: title: Amazon Web Services cloudfront Response Headers Policy API description: 'Amazon CloudFront This is the Amazon CloudFront API Reference. This guide is for developers who need detailed information about CloudFront API actions, data types, and errors. For detailed information about CloudFront features, see the Amazon CloudFront Developer Guide.' tags: - name: Response Headers Policy paths: /2020-05-31/response-headers-policy: GET: summary: Amazon Web Services Listresponseheaderspolicies description: Gets a list of response headers policies. You can optionally apply a filter to get only the managed policies created by Amazon Web Services, or only the custom policies created in your Amazon Web Services account. You can optionally specify the maximum number of items to receive in the response. If the total number of items in the list exceeds the maximum that you specify, or the default maximum, the response is paginated. To get the next page of items, send a subsequent request that specifies the NextMarker value from the current response as the Marker value in the subsequent request. operationId: amazonWebServicesListResponseHeadersPolicies tags: - Response Headers Policy /2020-05-31/response-headers-policy/{Id}: PUT: summary: Amazon Web Services Updateresponseheaderspolicy description: 'Updates a response headers policy. When you update a response headers policy, the entire policy is replaced. You cannot update some policy fields independent of others. To update a response headers policy configuration: Use GetResponseHeadersPolicyConfig to get the current policy''s configuration. Modify the fields in the response headers policy configuration that you want to update. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn''t.' operationId: amazonWebServicesUpdateResponseHeadersPolicy tags: - Response Headers Policy /2020-05-31/response-headers-policy/{Id}/config: GET: summary: Amazon Web Services Getresponseheaderspolicyconfig description: Gets a response headers policy configuration. To get a response headers policy configuration, 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. operationId: amazonWebServicesGetResponseHeadersPolicyConfig tags: - Response Headers Policy