Skip to content

Commit

Permalink
Merge branch 'release-1.29.41'
Browse files Browse the repository at this point in the history
* release-1.29.41:
  Bumping version to 1.29.41
  Update to latest partitions and endpoints
  Update to latest models
  • Loading branch information
aws-sdk-python-automation committed Dec 30, 2022
2 parents 88633aa + f7e3757 commit eb00ef6
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 23 deletions.
12 changes: 12 additions & 0 deletions .changes/1.29.41.json
@@ -0,0 +1,12 @@
[
{
"category": "``cloudfront``",
"description": "Extend response headers policy to support removing headers from viewer responses",
"type": "api-change"
},
{
"category": "``iotfleetwise``",
"description": "Update documentation - correct the epoch constant value of default value for expiryTime field in CreateCampaign request.",
"type": "api-change"
}
]
7 changes: 7 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -2,6 +2,13 @@
CHANGELOG
=========

1.29.41
=======

* api-change:``cloudfront``: Extend response headers policy to support removing headers from viewer responses
* api-change:``iotfleetwise``: Update documentation - correct the epoch constant value of default value for expiryTime field in CreateCampaign request.


1.29.40
=======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Expand Up @@ -16,7 +16,7 @@
import os
import re

__version__ = '1.29.40'
__version__ = '1.29.41'


class NullHandler(logging.Handler):
Expand Down
62 changes: 55 additions & 7 deletions botocore/data/cloudfront/2020-05-31/service-2.json
Expand Up @@ -529,9 +529,10 @@
{"shape":"ResponseHeadersPolicyAlreadyExists"},
{"shape":"TooManyResponseHeadersPolicies"},
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
{"shape":"TooLongCSPInResponseHeadersPolicy"}
{"shape":"TooLongCSPInResponseHeadersPolicy"},
{"shape":"TooManyRemoveHeadersInResponseHeadersPolicy"}
],
"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>"
"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>"
},
"CreateStreamingDistribution":{
"name":"CreateStreamingDistribution2020_05_31",
Expand Down Expand Up @@ -2053,7 +2054,8 @@
{"shape":"PreconditionFailed"},
{"shape":"ResponseHeadersPolicyAlreadyExists"},
{"shape":"TooManyCustomHeadersInResponseHeadersPolicy"},
{"shape":"TooLongCSPInResponseHeadersPolicy"}
{"shape":"TooLongCSPInResponseHeadersPolicy"},
{"shape":"TooManyRemoveHeadersInResponseHeadersPolicy"}
],
"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>"
},
Expand Down Expand Up @@ -3627,7 +3629,7 @@
"members":{
"ResponseHeadersPolicyConfig":{
"shape":"ResponseHeadersPolicyConfig",
"documentation":"<p>Contains metadata about the response headers policy, and a set of configurations that specify the response headers.</p>",
"documentation":"<p>Contains metadata about the response headers policy, and a set of configurations that specify the HTTP headers.</p>",
"locationName":"ResponseHeadersPolicyConfig",
"xmlNamespace":{"uri":"http://cloudfront.amazonaws.com/doc/2020-05-31/"}
}
Expand Down Expand Up @@ -8734,10 +8736,10 @@
},
"ResponseHeadersPolicyConfig":{
"shape":"ResponseHeadersPolicyConfig",
"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>"
"documentation":"<p>A response headers policy configuration.</p>"
}
},
"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>"
"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>"
},
"ResponseHeadersPolicyAccessControlAllowHeaders":{
"type":"structure",
Expand Down Expand Up @@ -8857,9 +8859,13 @@
"CustomHeadersConfig":{
"shape":"ResponseHeadersPolicyCustomHeadersConfig",
"documentation":"<p>A configuration for a set of custom HTTP response headers.</p>"
},
"RemoveHeadersConfig":{
"shape":"ResponseHeadersPolicyRemoveHeadersConfig",
"documentation":"<p>A configuration for a set of HTTP headers to remove from the HTTP response.</p>"
}
},
"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>"
"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>"
},
"ResponseHeadersPolicyContentSecurityPolicy":{
"type":"structure",
Expand Down Expand Up @@ -9047,6 +9053,39 @@
},
"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>"
},
"ResponseHeadersPolicyRemoveHeader":{
"type":"structure",
"required":["Header"],
"members":{
"Header":{
"shape":"string",
"documentation":"<p>The HTTP header name.</p>"
}
},
"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>"
},
"ResponseHeadersPolicyRemoveHeaderList":{
"type":"list",
"member":{
"shape":"ResponseHeadersPolicyRemoveHeader",
"locationName":"ResponseHeadersPolicyRemoveHeader"
}
},
"ResponseHeadersPolicyRemoveHeadersConfig":{
"type":"structure",
"required":["Quantity"],
"members":{
"Quantity":{
"shape":"integer",
"documentation":"<p>The number of HTTP header names in the list.</p>"
},
"Items":{
"shape":"ResponseHeadersPolicyRemoveHeaderList",
"documentation":"<p>The list of HTTP header names.</p>"
}
},
"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>"
},
"ResponseHeadersPolicySecurityHeadersConfig":{
"type":"structure",
"members":{
Expand Down Expand Up @@ -10177,6 +10216,15 @@
"error":{"httpStatusCode":400},
"exception":true
},
"TooManyRemoveHeadersInResponseHeadersPolicy":{
"type":"structure",
"members":{
"Message":{"shape":"string"}
},
"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>",
"error":{"httpStatusCode":400},
"exception":true
},
"TooManyResponseHeadersPolicies":{
"type":"structure",
"members":{
Expand Down
6 changes: 4 additions & 2 deletions botocore/data/endpoints.json
Expand Up @@ -87,7 +87,7 @@
"description" : "Middle East (Bahrain)"
},
"sa-east-1" : {
"description" : "South America (São Paulo)"
"description" : "South America (Sao Paulo)"
},
"us-east-1" : {
"description" : "US East (N. Virginia)"
Expand Down Expand Up @@ -8088,6 +8088,7 @@
},
"kendra" : {
"endpoints" : {
"ap-south-1" : { },
"ap-southeast-1" : { },
"ap-southeast-2" : { },
"ca-central-1" : { },
Expand Down Expand Up @@ -20000,7 +20001,8 @@
},
"pi" : {
"endpoints" : {
"us-gov-east-1" : { }
"us-gov-east-1" : { },
"us-gov-west-1" : { }
}
},
"pinpoint" : {
Expand Down
2 changes: 1 addition & 1 deletion botocore/data/iotfleetwise/2021-06-17/service-2.json
Expand Up @@ -1367,7 +1367,7 @@
},
"expiryTime":{
"shape":"timestamp",
"documentation":"<p> (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires. </p> <p>Default: 253402243200 (December 31, 9999, 00:00:00 UTC)</p>"
"documentation":"<p> (Optional) The time the campaign expires, in seconds since epoch (January 1, 1970 at midnight UTC time). Vehicle data won't be collected after the campaign expires. </p> <p>Default: 253402214400 (December 31, 9999, 00:00:00 UTC)</p>"
},
"postTriggerCollectionDuration":{
"shape":"uint32",
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -54,7 +54,7 @@
# The short X.Y version.
version = '1.29.'
# The full version, including alpha/beta/rc tags.
release = '1.29.40'
release = '1.29.41'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
22 changes: 11 additions & 11 deletions tests/functional/endpoint-rules/iotfleetwise/endpoint-tests-1.json
Expand Up @@ -8,8 +8,8 @@
}
},
"params": {
"Region": "eu-central-1",
"UseDualStack": true,
"Region": "eu-central-1",
"UseFIPS": true
}
},
Expand All @@ -21,8 +21,8 @@
}
},
"params": {
"Region": "eu-central-1",
"UseDualStack": false,
"Region": "eu-central-1",
"UseFIPS": true
}
},
Expand All @@ -34,8 +34,8 @@
}
},
"params": {
"Region": "eu-central-1",
"UseDualStack": true,
"Region": "eu-central-1",
"UseFIPS": false
}
},
Expand All @@ -47,8 +47,8 @@
}
},
"params": {
"Region": "eu-central-1",
"UseDualStack": false,
"Region": "eu-central-1",
"UseFIPS": false
}
},
Expand All @@ -60,8 +60,8 @@
}
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"Region": "us-east-1",
"UseFIPS": true
}
},
Expand All @@ -73,8 +73,8 @@
}
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"Region": "us-east-1",
"UseFIPS": true
}
},
Expand All @@ -86,8 +86,8 @@
}
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"Region": "us-east-1",
"UseFIPS": false
}
},
Expand All @@ -99,8 +99,8 @@
}
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"Region": "us-east-1",
"UseFIPS": false
}
},
Expand All @@ -112,8 +112,8 @@
}
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"Region": "us-east-1",
"UseFIPS": false,
"Endpoint": "https://example.com"
}
Expand All @@ -124,8 +124,8 @@
"error": "Invalid Configuration: FIPS and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseDualStack": false,
"Region": "us-east-1",
"UseFIPS": true,
"Endpoint": "https://example.com"
}
Expand All @@ -136,8 +136,8 @@
"error": "Invalid Configuration: Dualstack and custom endpoint are not supported"
},
"params": {
"Region": "us-east-1",
"UseDualStack": true,
"Region": "us-east-1",
"UseFIPS": false,
"Endpoint": "https://example.com"
}
Expand Down

0 comments on commit eb00ef6

Please sign in to comment.