AWS SDK Version 3 for .NET
API Reference

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:

  1. Use GetResponseHeadersPolicyConfig to get the current policy's configuration.

  2. Modify the fields in the response headers policy configuration that you want to update.

  3. Call UpdateResponseHeadersPolicy, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudFront.AmazonCloudFrontRequest
      Amazon.CloudFront.Model.UpdateResponseHeadersPolicyRequest

Namespace: Amazon.CloudFront.Model
Assembly: AWSSDK.CloudFront.dll
Version: 3.x.y.z

Syntax

C#
public class UpdateResponseHeadersPolicyRequest : AmazonCloudFrontRequest
         IAmazonWebServiceRequest

The UpdateResponseHeadersPolicyRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Id System.String

Gets and sets the property Id.

The identifier for the response headers policy that you are updating.

Public Property 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 ETag field in the response to GetResponseHeadersPolicyConfig.

Public Property ResponseHeadersPolicyConfig Amazon.CloudFront.Model.ResponseHeadersPolicyConfig

Gets and sets the property ResponseHeadersPolicyConfig.

A response headers policy configuration.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5