Skip to content

Commit 58b5345

Browse files
author
awstools
committed
Updates SDK to v2.1122.0
1 parent 0121221 commit 58b5345

37 files changed

+4433
-1584
lines changed

.changes/2.1122.0.json

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "CloudFront",
5+
"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."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "EventBridge",
10+
"description": "Throw runtime error when unsupported parameter EndpointId is supplied with PutEvents API"
11+
},
12+
{
13+
"type": "feature",
14+
"category": "Ivschat",
15+
"description": "Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast."
16+
},
17+
{
18+
"type": "feature",
19+
"category": "Lightsail",
20+
"description": "This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration."
21+
},
22+
{
23+
"type": "feature",
24+
"category": "NetworkFirewall",
25+
"description": "AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources."
26+
},
27+
{
28+
"type": "feature",
29+
"category": "S3",
30+
"description": "Add error message to try v3 SDK when customer uses multi-regional ARN in s3"
31+
},
32+
{
33+
"type": "feature",
34+
"category": "SageMaker",
35+
"description": "SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation."
36+
}
37+
]

.changes/next-release/feature-EventBridge-cb87ec0e.json

-5
This file was deleted.

.changes/next-release/feature-S3-d46d71d9.json

-5
This file was deleted.

CHANGELOG.md

+10-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1121.0-->
2+
<!--LATEST=2.1122.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1122.0
6+
* 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.
7+
* feature: EventBridge: Throw runtime error when unsupported parameter EndpointId is supplied with PutEvents API
8+
* feature: Ivschat: Adds new APIs for IVS Chat, a feature for building interactive chat experiences alongside an IVS broadcast.
9+
* feature: Lightsail: This release adds support for Lightsail load balancer HTTP to HTTPS redirect and TLS policy configuration.
10+
* feature: NetworkFirewall: AWS Network Firewall now enables customers to use a customer managed AWS KMS key for the encryption of their firewall resources.
11+
* feature: S3: Add error message to try v3 SDK when customer uses multi-regional ARN in s3
12+
* feature: SageMaker: SageMaker Inference Recommender now accepts customer KMS key ID for encryption of endpoints and compilation outputs created during inference recommendation.
13+
514
## 2.1121.0
615
* feature: Connect: This release adds SearchUsers API which can be used to search for users with a Connect Instance
716
* 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.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
2929
To use the SDK in the browser, simply add the following script tag to your
3030
HTML pages:
3131

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

3434
You can also build a custom browser SDK with your specified set of AWS services.
3535
This can allow you to reduce the SDK's size, specify different API versions of

apis/cloudfront-2020-05-31.min.json

+42-28
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@
582582
"type": "structure",
583583
"members": {
584584
"ResponseHeadersPolicy": {
585-
"shape": "S5w"
585+
"shape": "S5y"
586586
},
587587
"Location": {
588588
"location": "header",
@@ -608,7 +608,7 @@
608608
],
609609
"members": {
610610
"StreamingDistributionConfig": {
611-
"shape": "S5y",
611+
"shape": "S60",
612612
"locationName": "StreamingDistributionConfig",
613613
"xmlNamespace": {
614614
"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"
@@ -621,7 +621,7 @@
621621
"type": "structure",
622622
"members": {
623623
"StreamingDistribution": {
624-
"shape": "S62"
624+
"shape": "S64"
625625
},
626626
"Location": {
627627
"location": "header",
@@ -658,7 +658,7 @@
658658
],
659659
"members": {
660660
"StreamingDistributionConfig": {
661-
"shape": "S5y"
661+
"shape": "S60"
662662
},
663663
"Tags": {
664664
"shape": "S35"
@@ -672,7 +672,7 @@
672672
"type": "structure",
673673
"members": {
674674
"StreamingDistribution": {
675-
"shape": "S62"
675+
"shape": "S64"
676676
},
677677
"Location": {
678678
"location": "header",
@@ -1653,7 +1653,7 @@
16531653
"type": "structure",
16541654
"members": {
16551655
"ResponseHeadersPolicy": {
1656-
"shape": "S5w"
1656+
"shape": "S5y"
16571657
},
16581658
"ETag": {
16591659
"location": "header",
@@ -1715,7 +1715,7 @@
17151715
"type": "structure",
17161716
"members": {
17171717
"StreamingDistribution": {
1718-
"shape": "S62"
1718+
"shape": "S64"
17191719
},
17201720
"ETag": {
17211721
"location": "header",
@@ -1746,7 +1746,7 @@
17461746
"type": "structure",
17471747
"members": {
17481748
"StreamingDistributionConfig": {
1749-
"shape": "S5y"
1749+
"shape": "S60"
17501750
},
17511751
"ETag": {
17521752
"location": "header",
@@ -1967,7 +1967,7 @@
19671967
"type": "structure",
19681968
"members": {
19691969
"DistributionList": {
1970-
"shape": "S8j"
1970+
"shape": "S8l"
19711971
}
19721972
},
19731973
"payload": "DistributionList"
@@ -2002,7 +2002,7 @@
20022002
"type": "structure",
20032003
"members": {
20042004
"DistributionIdList": {
2005-
"shape": "S8o"
2005+
"shape": "S8q"
20062006
}
20072007
},
20082008
"payload": "DistributionIdList"
@@ -2037,7 +2037,7 @@
20372037
"type": "structure",
20382038
"members": {
20392039
"DistributionIdList": {
2040-
"shape": "S8o"
2040+
"shape": "S8q"
20412041
}
20422042
},
20432043
"payload": "DistributionIdList"
@@ -2072,7 +2072,7 @@
20722072
"type": "structure",
20732073
"members": {
20742074
"DistributionIdList": {
2075-
"shape": "S8o"
2075+
"shape": "S8q"
20762076
}
20772077
},
20782078
"payload": "DistributionIdList"
@@ -2099,7 +2099,7 @@
20992099
"type": "structure",
21002100
"members": {
21012101
"DistributionList": {
2102-
"shape": "S8j"
2102+
"shape": "S8l"
21032103
}
21042104
},
21052105
"payload": "DistributionList"
@@ -2134,7 +2134,7 @@
21342134
"type": "structure",
21352135
"members": {
21362136
"DistributionIdList": {
2137-
"shape": "S8o"
2137+
"shape": "S8q"
21382138
}
21392139
},
21402140
"payload": "DistributionIdList"
@@ -2169,7 +2169,7 @@
21692169
"type": "structure",
21702170
"members": {
21712171
"DistributionList": {
2172-
"shape": "S8j"
2172+
"shape": "S8l"
21732173
}
21742174
},
21752175
"payload": "DistributionList"
@@ -2711,7 +2711,7 @@
27112711
"members": {
27122712
"Type": {},
27132713
"ResponseHeadersPolicy": {
2714-
"shape": "S5w"
2714+
"shape": "S5y"
27152715
}
27162716
}
27172717
}
@@ -2790,7 +2790,7 @@
27902790
},
27912791
"DomainName": {},
27922792
"S3Origin": {
2793-
"shape": "S5z"
2793+
"shape": "S61"
27942794
},
27952795
"Aliases": {
27962796
"shape": "Su"
@@ -3461,7 +3461,7 @@
34613461
"type": "structure",
34623462
"members": {
34633463
"ResponseHeadersPolicy": {
3464-
"shape": "S5w"
3464+
"shape": "S5y"
34653465
},
34663466
"ETag": {
34673467
"location": "header",
@@ -3484,7 +3484,7 @@
34843484
],
34853485
"members": {
34863486
"StreamingDistributionConfig": {
3487-
"shape": "S5y",
3487+
"shape": "S60",
34883488
"locationName": "StreamingDistributionConfig",
34893489
"xmlNamespace": {
34903490
"uri": "http://cloudfront.amazonaws.com/doc/2020-05-31/"
@@ -3505,7 +3505,7 @@
35053505
"type": "structure",
35063506
"members": {
35073507
"StreamingDistribution": {
3508-
"shape": "S62"
3508+
"shape": "S64"
35093509
},
35103510
"ETag": {
35113511
"location": "header",
@@ -5187,10 +5187,24 @@
51875187
}
51885188
}
51895189
}
5190+
},
5191+
"ServerTimingHeadersConfig": {
5192+
"type": "structure",
5193+
"required": [
5194+
"Enabled"
5195+
],
5196+
"members": {
5197+
"Enabled": {
5198+
"type": "boolean"
5199+
},
5200+
"SamplingRate": {
5201+
"type": "double"
5202+
}
5203+
}
51905204
}
51915205
}
51925206
},
5193-
"S5w": {
5207+
"S5y": {
51945208
"type": "structure",
51955209
"required": [
51965210
"Id",
@@ -5207,7 +5221,7 @@
52075221
}
52085222
}
52095223
},
5210-
"S5y": {
5224+
"S60": {
52115225
"type": "structure",
52125226
"required": [
52135227
"CallerReference",
@@ -5219,7 +5233,7 @@
52195233
"members": {
52205234
"CallerReference": {},
52215235
"S3Origin": {
5222-
"shape": "S5z"
5236+
"shape": "S61"
52235237
},
52245238
"Aliases": {
52255239
"shape": "Su"
@@ -5249,7 +5263,7 @@
52495263
}
52505264
}
52515265
},
5252-
"S5z": {
5266+
"S61": {
52535267
"type": "structure",
52545268
"required": [
52555269
"DomainName",
@@ -5260,7 +5274,7 @@
52605274
"OriginAccessIdentity": {}
52615275
}
52625276
},
5263-
"S62": {
5277+
"S64": {
52645278
"type": "structure",
52655279
"required": [
52665280
"Id",
@@ -5282,11 +5296,11 @@
52825296
"shape": "S2s"
52835297
},
52845298
"StreamingDistributionConfig": {
5285-
"shape": "S5y"
5299+
"shape": "S60"
52865300
}
52875301
}
52885302
},
5289-
"S8j": {
5303+
"S8l": {
52905304
"type": "structure",
52915305
"required": [
52925306
"Marker",
@@ -5381,7 +5395,7 @@
53815395
}
53825396
}
53835397
},
5384-
"S8o": {
5398+
"S8q": {
53855399
"type": "structure",
53865400
"required": [
53875401
"Marker",

apis/cloudfront-2020-05-31.normal.json

+26
Original file line numberDiff line numberDiff line change
@@ -8805,6 +8805,10 @@
88058805
"CustomHeadersConfig": {
88068806
"shape": "ResponseHeadersPolicyCustomHeadersConfig",
88078807
"documentation": "<p>A configuration for a set of custom HTTP response headers.</p>"
8808+
},
8809+
"ServerTimingHeadersConfig": {
8810+
"shape": "ResponseHeadersPolicyServerTimingHeadersConfig",
8811+
"documentation": "<p>A configuration for enabling the <code>Server-Timing</code> header in HTTP responses sent from CloudFront.</p>"
88088812
}
88098813
},
88108814
"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>"
@@ -9020,6 +9024,23 @@
90209024
},
90219025
"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>"
90229026
},
9027+
"ResponseHeadersPolicyServerTimingHeadersConfig": {
9028+
"type": "structure",
9029+
"required": [
9030+
"Enabled"
9031+
],
9032+
"members": {
9033+
"Enabled": {
9034+
"shape": "boolean",
9035+
"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>"
9036+
},
9037+
"SamplingRate": {
9038+
"shape": "SamplingRate",
9039+
"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>"
9040+
}
9041+
},
9042+
"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>"
9043+
},
90239044
"ResponseHeadersPolicyStrictTransportSecurity": {
90249045
"type": "structure",
90259046
"required": [
@@ -9156,6 +9177,11 @@
91569177
"static-ip"
91579178
]
91589179
},
9180+
"SamplingRate": {
9181+
"type": "double",
9182+
"max": 100,
9183+
"min": 0
9184+
},
91599185
"Signer": {
91609186
"type": "structure",
91619187
"members": {

0 commit comments

Comments
 (0)