|
529 | 529 | {"shape":"ResponseHeadersPolicyAlreadyExists"},
|
530 | 530 | {"shape":"TooManyResponseHeadersPolicies"},
|
531 | 531 | {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
|
532 |
| - {"shape":"TooLongCSPInResponseHeadersPolicy"} |
| 532 | + {"shape":"TooLongCSPInResponseHeadersPolicy"}, |
| 533 | + {"shape":"TooManyRemoveHeadersInResponseHeadersPolicy"} |
533 | 534 | ],
|
534 |
| - "documentation":"<p>Creates a response headers policy.</p> <p>A response headers policy contains information about a set of HTTP response headers and their values. To create a response headers policy, you provide some metadata about the policy, and a set of configurations that specify the response headers.</p> <p>After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match the cache behavior.</p>" |
| 535 | + "documentation":"<p>Creates a response headers policy.</p> <p>A response headers policy contains information about a set of HTTP headers. To create a response headers policy, you provide some metadata about the policy and a set of configurations that specify the headers.</p> <p>After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html\">Adding or removing HTTP headers in CloudFront responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>" |
535 | 536 | },
|
536 | 537 | "CreateStreamingDistribution":{
|
537 | 538 | "name":"CreateStreamingDistribution2020_05_31",
|
|
2053 | 2054 | {"shape":"PreconditionFailed"},
|
2054 | 2055 | {"shape":"ResponseHeadersPolicyAlreadyExists"},
|
2055 | 2056 | {"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
|
2056 |
| - {"shape":"TooLongCSPInResponseHeadersPolicy"} |
| 2057 | + {"shape":"TooLongCSPInResponseHeadersPolicy"}, |
| 2058 | + {"shape":"TooManyRemoveHeadersInResponseHeadersPolicy"} |
2057 | 2059 | ],
|
2058 | 2060 | "documentation":"<p>Updates a response headers policy.</p> <p>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:</p> <ol> <li> <p>Use <code>GetResponseHeadersPolicyConfig</code> to get the current policy's configuration.</p> </li> <li> <p>Modify the fields in the response headers policy configuration that you want to update.</p> </li> <li> <p>Call <code>UpdateResponseHeadersPolicy</code>, providing the entire response headers policy configuration, including the fields that you modified and those that you didn't.</p> </li> </ol>"
|
2059 | 2061 | },
|
|
3627 | 3629 | "members":{
|
3628 | 3630 | "ResponseHeadersPolicyConfig":{
|
3629 | 3631 | "shape":"ResponseHeadersPolicyConfig",
|
3630 |
| - "documentation":"<p>Contains metadata about the response headers policy, and a set of configurations that specify the response headers.</p>", |
| 3632 | + "documentation":"<p>Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.</p>", |
3631 | 3633 | "locationName":"ResponseHeadersPolicyConfig",
|
3632 | 3634 | "xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
|
3633 | 3635 | }
|
|
8734 | 8736 | },
|
8735 | 8737 | "ResponseHeadersPolicyConfig":{
|
8736 | 8738 | "shape":"ResponseHeadersPolicyConfig",
|
8737 |
| - "documentation":"<p>A response headers policy configuration.</p> <p>A response headers policy contains information about a set of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior that's associated with the policy.</p>" |
| 8739 | + "documentation":"<p>A response headers policy configuration.</p>" |
8738 | 8740 | }
|
8739 | 8741 | },
|
8740 |
| - "documentation":"<p>A response headers policy.</p> <p>A response headers policy contains information about a set of HTTP response headers and their values.</p> <p>After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match the cache behavior.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/adding-response-headers.html\">Adding HTTP headers to CloudFront responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>" |
| 8742 | + "documentation":"<p>A response headers policy.</p> <p>A response headers policy contains information about a set of HTTP response headers.</p> <p>After you create a response headers policy, you can use its ID to attach it to one or more cache behaviors in a CloudFront distribution. When it's attached to a cache behavior, the response headers policy affects the HTTP headers that CloudFront includes in HTTP responses to requests that match the cache behavior. CloudFront adds or removes response headers according to the configuration of the response headers policy.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/modifying-response-headers.html\">Adding or removing HTTP headers in CloudFront responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>" |
8741 | 8743 | },
|
8742 | 8744 | "ResponseHeadersPolicyAccessControlAllowHeaders":{
|
8743 | 8745 | "type":"structure",
|
|
8857 | 8859 | "CustomHeadersConfig":{
|
8858 | 8860 | "shape":"ResponseHeadersPolicyCustomHeadersConfig",
|
8859 | 8861 | "documentation":"<p>A configuration for a set of custom HTTP response headers.</p>"
|
| 8862 | + }, |
| 8863 | + "RemoveHeadersConfig":{ |
| 8864 | + "shape":"ResponseHeadersPolicyRemoveHeadersConfig", |
| 8865 | + "documentation":"<p>A configuration for a set of HTTP headers to remove from the HTTP response.</p>" |
8860 | 8866 | }
|
8861 | 8867 | },
|
8862 |
| - "documentation":"<p>A response headers policy configuration.</p> <p>A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers and their values. CloudFront adds the headers in the policy to HTTP responses that it sends for requests that match a cache behavior associated with the policy.</p>" |
| 8868 | + "documentation":"<p>A response headers policy configuration.</p> <p>A response headers policy configuration contains metadata about the response headers policy, and configurations for sets of HTTP response headers.</p>" |
8863 | 8869 | },
|
8864 | 8870 | "ResponseHeadersPolicyContentSecurityPolicy":{
|
8865 | 8871 | "type":"structure",
|
|
9047 | 9053 | },
|
9048 | 9054 | "documentation":"<p>Determines whether CloudFront includes the <code>Referrer-Policy</code> HTTP response header and the header's value.</p> <p>For more information about the <code>Referrer-Policy</code> HTTP response header, see <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy\">Referrer-Policy</a> in the MDN Web Docs.</p>"
|
9049 | 9055 | },
|
| 9056 | + "ResponseHeadersPolicyRemoveHeader":{ |
| 9057 | + "type":"structure", |
| 9058 | + "required":["Header"], |
| 9059 | + "members":{ |
| 9060 | + "Header":{ |
| 9061 | + "shape":"string", |
| 9062 | + "documentation":"<p>The HTTP header name.</p>" |
| 9063 | + } |
| 9064 | + }, |
| 9065 | + "documentation":"<p>The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.</p>" |
| 9066 | + }, |
| 9067 | + "ResponseHeadersPolicyRemoveHeaderList":{ |
| 9068 | + "type":"list", |
| 9069 | + "member":{ |
| 9070 | + "shape":"ResponseHeadersPolicyRemoveHeader", |
| 9071 | + "locationName":"ResponseHeadersPolicyRemoveHeader" |
| 9072 | + } |
| 9073 | + }, |
| 9074 | + "ResponseHeadersPolicyRemoveHeadersConfig":{ |
| 9075 | + "type":"structure", |
| 9076 | + "required":["Quantity"], |
| 9077 | + "members":{ |
| 9078 | + "Quantity":{ |
| 9079 | + "shape":"integer", |
| 9080 | + "documentation":"<p>The number of HTTP header names in the list.</p>" |
| 9081 | + }, |
| 9082 | + "Items":{ |
| 9083 | + "shape":"ResponseHeadersPolicyRemoveHeaderList", |
| 9084 | + "documentation":"<p>The list of HTTP header names.</p>" |
| 9085 | + } |
| 9086 | + }, |
| 9087 | + "documentation":"<p>A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the cache behavior that this response headers policy is attached to.</p>" |
| 9088 | + }, |
9050 | 9089 | "ResponseHeadersPolicySecurityHeadersConfig":{
|
9051 | 9090 | "type":"structure",
|
9052 | 9091 | "members":{
|
|
10177 | 10216 | "error":{"httpStatusCode":400},
|
10178 | 10217 | "exception":true
|
10179 | 10218 | },
|
| 10219 | + "TooManyRemoveHeadersInResponseHeadersPolicy":{ |
| 10220 | + "type":"structure", |
| 10221 | + "members":{ |
| 10222 | + "Message":{"shape":"string"} |
| 10223 | + }, |
| 10224 | + "documentation":"<p>The number of headers in <code>RemoveHeadersConfig</code> in the response headers policy exceeds the maximum.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/cloudfront-limits.html\">Quotas</a> (formerly known as limits) in the <i>Amazon CloudFront Developer Guide</i>.</p>", |
| 10225 | + "error":{"httpStatusCode":400}, |
| 10226 | + "exception":true |
| 10227 | + }, |
10180 | 10228 | "TooManyResponseHeadersPolicies":{
|
10181 | 10229 | "type":"structure",
|
10182 | 10230 | "members":{
|
|
0 commit comments