AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the UpdateResponseHeadersPolicy operation. 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.
Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z
public class UpdateResponseHeadersPolicyRequest : AmazonCloudFrontRequest IAmazonWebServiceRequest
The UpdateResponseHeadersPolicyRequest type exposes the following members
Name | Description | |
---|---|---|
UpdateResponseHeadersPolicyRequest() |
Name | Type | Description | |
---|---|---|---|
Id | System.String |
Gets and sets the property Id. The identifier for the response headers policy that you are updating. |
|
IfMatch | System.String |
Gets and sets the property IfMatch. The version of the response headers policy that you are updating.
The version is returned in the cache policy's |
|
ResponseHeadersPolicyConfig | Amazon.CloudFront.Model.ResponseHeadersPolicyConfig |
Gets and sets the property ResponseHeadersPolicyConfig. A response headers policy configuration. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5