Skip to content

Commit

Permalink
Updates SDK to v2.1122.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Apr 26, 2022
1 parent 0121221 commit 58b5345
Show file tree
Hide file tree
Showing 37 changed files with 4,433 additions and 1,584 deletions.
37 changes: 37 additions & 0 deletions .changes/2.1122.0.json
@@ -0,0 +1,37 @@
[
{
"type": "feature",
"category": "CloudFront",
"description": "CloudFront now supports the Server-Timing header in HTTP responses sent from CloudFront. You can use this header to view metrics that help you gain insights about the behavior and performance of CloudFront. To use this header, enable it in a response headers policy."
},
{
"type": "feature",
"category": "EventBridge",
"description": "Throw runtime error when unsupported parameter EndpointId is supplied with PutEvents API"
},
{
"type": "feature",
"category": "Ivschat",
"description": "Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast."
},
{
"type": "feature",
"category": "Lightsail",
"description": "This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration."
},
{
"type": "feature",
"category": "NetworkFirewall",
"description": "AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources."
},
{
"type": "feature",
"category": "S3",
"description": "Add error message to try v3 SDK when customer uses multi-regional ARN in s3"
},
{
"type": "feature",
"category": "SageMaker",
"description": "SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation."
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/feature-EventBridge-cb87ec0e.json

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/next-release/feature-S3-d46d71d9.json

This file was deleted.

11 changes: 10 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,16 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1121.0-->
<!--LATEST=2.1122.0-->
<!--ENTRYINSERT-->

## 2.1122.0
* feature: CloudFront: CloudFront now supports the Server-Timing header in HTTP responses sent from CloudFront. You can use this header to view metrics that help you gain insights about the behavior and performance of CloudFront. To use this header, enable it in a response headers policy.
* feature: EventBridge: Throw runtime error when unsupported parameter EndpointId is supplied with PutEvents API
* feature: Ivschat: Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast.
* feature: Lightsail: This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.
* feature: NetworkFirewall: AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources.
* feature: S3: Add error message to try v3 SDK when customer uses multi-regional ARN in s3
* feature: SageMaker: SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation.

## 2.1121.0
* feature: Connect: This release adds SearchUsers API which can be used to search for users with a Connect Instance
* feature: MQ: This release adds the CRITICAL_ACTION_REQUIRED broker state and the ActionRequired API property. CRITICAL_ACTION_REQUIRED informs you when your broker is degraded. ActionRequired provides you with a code which you can use to find instructions in the Developer Guide on how to resolve the issue.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1121.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1122.0.min.js"></script>

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
70 changes: 42 additions & 28 deletions apis/cloudfront-2020-05-31.min.json
Expand Up @@ -582,7 +582,7 @@
"type": "structure",
"members": {
"ResponseHeadersPolicy": {
"shape": "S5w"
"shape": "S5y"
},
"Location": {
"location": "header",
Expand All @@ -608,7 +608,7 @@
],
"members": {
"StreamingDistributionConfig": {
"shape": "S5y",
"shape": "S60",
"locationName": "StreamingDistributionConfig",
"xmlNamespace": {
"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"
Expand All @@ -621,7 +621,7 @@
"type": "structure",
"members": {
"StreamingDistribution": {
"shape": "S62"
"shape": "S64"
},
"Location": {
"location": "header",
Expand Down Expand Up @@ -658,7 +658,7 @@
],
"members": {
"StreamingDistributionConfig": {
"shape": "S5y"
"shape": "S60"
},
"Tags": {
"shape": "S35"
Expand All @@ -672,7 +672,7 @@
"type": "structure",
"members": {
"StreamingDistribution": {
"shape": "S62"
"shape": "S64"
},
"Location": {
"location": "header",
Expand Down Expand Up @@ -1653,7 +1653,7 @@
"type": "structure",
"members": {
"ResponseHeadersPolicy": {
"shape": "S5w"
"shape": "S5y"
},
"ETag": {
"location": "header",
Expand Down Expand Up @@ -1715,7 +1715,7 @@
"type": "structure",
"members": {
"StreamingDistribution": {
"shape": "S62"
"shape": "S64"
},
"ETag": {
"location": "header",
Expand Down Expand Up @@ -1746,7 +1746,7 @@
"type": "structure",
"members": {
"StreamingDistributionConfig": {
"shape": "S5y"
"shape": "S60"
},
"ETag": {
"location": "header",
Expand Down Expand Up @@ -1967,7 +1967,7 @@
"type": "structure",
"members": {
"DistributionList": {
"shape": "S8j"
"shape": "S8l"
}
},
"payload": "DistributionList"
Expand Down Expand Up @@ -2002,7 +2002,7 @@
"type": "structure",
"members": {
"DistributionIdList": {
"shape": "S8o"
"shape": "S8q"
}
},
"payload": "DistributionIdList"
Expand Down Expand Up @@ -2037,7 +2037,7 @@
"type": "structure",
"members": {
"DistributionIdList": {
"shape": "S8o"
"shape": "S8q"
}
},
"payload": "DistributionIdList"
Expand Down Expand Up @@ -2072,7 +2072,7 @@
"type": "structure",
"members": {
"DistributionIdList": {
"shape": "S8o"
"shape": "S8q"
}
},
"payload": "DistributionIdList"
Expand All @@ -2099,7 +2099,7 @@
"type": "structure",
"members": {
"DistributionList": {
"shape": "S8j"
"shape": "S8l"
}
},
"payload": "DistributionList"
Expand Down Expand Up @@ -2134,7 +2134,7 @@
"type": "structure",
"members": {
"DistributionIdList": {
"shape": "S8o"
"shape": "S8q"
}
},
"payload": "DistributionIdList"
Expand Down Expand Up @@ -2169,7 +2169,7 @@
"type": "structure",
"members": {
"DistributionList": {
"shape": "S8j"
"shape": "S8l"
}
},
"payload": "DistributionList"
Expand Down Expand Up @@ -2711,7 +2711,7 @@
"members": {
"Type": {},
"ResponseHeadersPolicy": {
"shape": "S5w"
"shape": "S5y"
}
}
}
Expand Down Expand Up @@ -2790,7 +2790,7 @@
},
"DomainName": {},
"S3Origin": {
"shape": "S5z"
"shape": "S61"
},
"Aliases": {
"shape": "Su"
Expand Down Expand Up @@ -3461,7 +3461,7 @@
"type": "structure",
"members": {
"ResponseHeadersPolicy": {
"shape": "S5w"
"shape": "S5y"
},
"ETag": {
"location": "header",
Expand All @@ -3484,7 +3484,7 @@
],
"members": {
"StreamingDistributionConfig": {
"shape": "S5y",
"shape": "S60",
"locationName": "StreamingDistributionConfig",
"xmlNamespace": {
"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"
Expand All @@ -3505,7 +3505,7 @@
"type": "structure",
"members": {
"StreamingDistribution": {
"shape": "S62"
"shape": "S64"
},
"ETag": {
"location": "header",
Expand Down Expand Up @@ -5187,10 +5187,24 @@
}
}
}
},
"ServerTimingHeadersConfig": {
"type": "structure",
"required": [
"Enabled"
],
"members": {
"Enabled": {
"type": "boolean"
},
"SamplingRate": {
"type": "double"
}
}
}
}
},
"S5w": {
"S5y": {
"type": "structure",
"required": [
"Id",
Expand All @@ -5207,7 +5221,7 @@
}
}
},
"S5y": {
"S60": {
"type": "structure",
"required": [
"CallerReference",
Expand All @@ -5219,7 +5233,7 @@
"members": {
"CallerReference": {},
"S3Origin": {
"shape": "S5z"
"shape": "S61"
},
"Aliases": {
"shape": "Su"
Expand Down Expand Up @@ -5249,7 +5263,7 @@
}
}
},
"S5z": {
"S61": {
"type": "structure",
"required": [
"DomainName",
Expand All @@ -5260,7 +5274,7 @@
"OriginAccessIdentity": {}
}
},
"S62": {
"S64": {
"type": "structure",
"required": [
"Id",
Expand All @@ -5282,11 +5296,11 @@
"shape": "S2s"
},
"StreamingDistributionConfig": {
"shape": "S5y"
"shape": "S60"
}
}
},
"S8j": {
"S8l": {
"type": "structure",
"required": [
"Marker",
Expand Down Expand Up @@ -5381,7 +5395,7 @@
}
}
},
"S8o": {
"S8q": {
"type": "structure",
"required": [
"Marker",
Expand Down
26 changes: 26 additions & 0 deletions apis/cloudfront-2020-05-31.normal.json
Expand Up @@ -8805,6 +8805,10 @@
"CustomHeadersConfig": {
"shape": "ResponseHeadersPolicyCustomHeadersConfig",
"documentation": "<p>A configuration for a set of custom HTTP response headers.</p>"
},
"ServerTimingHeadersConfig": {
"shape": "ResponseHeadersPolicyServerTimingHeadersConfig",
"documentation": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent from CloudFront.</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>"
Expand Down Expand Up @@ -9020,6 +9024,23 @@
},
"documentation": "<p>A configuration for a set of security-related HTTP response headers. CloudFront adds these headers to HTTP responses that it sends for requests that match a cache behavior associated with this response headers policy.</p>"
},
"ResponseHeadersPolicyServerTimingHeadersConfig": {
"type": "structure",
"required": [
"Enabled"
],
"members": {
"Enabled": {
"shape": "boolean",
"documentation": "<p>A Boolean that determines whether CloudFront adds the <code>Server-Timing</code> header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.</p>"
},
"SamplingRate": {
"shape": "SamplingRate",
"documentation": "<p>A number 0–100 (inclusive) that specifies the percentage of responses that you want CloudFront to add the <code>Server-Timing</code> header to. When you set the sampling rate to 100, CloudFront adds the <code>Server-Timing</code> header to the HTTP response for every request that matches the cache behavior that this response headers policy is attached to. When you set it to 50, CloudFront adds the header to 50% of the responses for requests that match the cache behavior. You can set the sampling rate to any number 0–100 with up to four decimal places.</p>"
}
},
"documentation": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent from CloudFront. CloudFront adds this header to HTTP responses that it sends in response to requests that match a cache behavior that's associated with this response headers policy.</p> <p>You can use the <code>Server-Timing</code> header to view metrics that can help you gain insights about the behavior and performance of CloudFront. For example, you can see which cache layer served a cache hit, or the first byte latency from the origin when there was a cache miss. You can use the metrics in the <code>Server-Timing</code> header to troubleshoot issues or test the efficiency of your CloudFront configuration. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/understanding-response-headers-policies.html#server-timing-header\">Server-Timing header</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>"
},
"ResponseHeadersPolicyStrictTransportSecurity": {
"type": "structure",
"required": [
Expand Down Expand Up @@ -9156,6 +9177,11 @@
"static-ip"
]
},
"SamplingRate": {
"type": "double",
"max": 100,
"min": 0
},
"Signer": {
"type": "structure",
"members": {
Expand Down

0 comments on commit 58b5345

Please sign in to comment.