Skip to content

Commit 41204fe

Browse files
This release adds new origin timeout options: 1) ResponseCompletionTimeout and 2) OriginReadTimeout (for S3 origins)
1 parent 59a2684 commit 41204fe

24 files changed

+258
-42
lines changed

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.api.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8458,6 +8458,7 @@
84588458
"VpcOriginConfig":{"shape":"VpcOriginConfig"},
84598459
"ConnectionAttempts":{"shape":"integer"},
84608460
"ConnectionTimeout":{"shape":"integer"},
8461+
"ResponseCompletionTimeout":{"shape":"integer"},
84618462
"OriginShield":{"shape":"OriginShield"},
84628463
"OriginAccessControlId":{"shape":"string"}
84638464
}
@@ -9582,7 +9583,8 @@
95829583
"type":"structure",
95839584
"required":["OriginAccessIdentity"],
95849585
"members":{
9585-
"OriginAccessIdentity":{"shape":"string"}
9586+
"OriginAccessIdentity":{"shape":"string"},
9587+
"OriginReadTimeout":{"shape":"integer"}
95869588
}
95879589
},
95889590
"SSLSupportMethod":{

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.docs.json

Lines changed: 12 additions & 10 deletions
Large diffs are not rendered by default.

generator/ServiceModels/cloudfront/cloudfront-2020-05-31.normal.json

Lines changed: 18 additions & 10 deletions
Large diffs are not rendered by default.

sdk/src/Services/CloudFront/Generated/Model/CacheBehavior.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,14 @@ namespace Amazon.CloudFront.Model
6464
/// To add, change, or remove one or more cache behaviors, update the distribution configuration
6565
/// and specify all of the cache behaviors that you want to include in the updated distribution.
6666
/// </para>
67-
///
67+
/// <important>
68+
/// <para>
69+
/// If your minimum TTL is greater than 0, CloudFront will cache content for at least
70+
/// the duration specified in the cache policy's minimum TTL, even if the <c>Cache-Control:
71+
/// no-cache</c>, <c>no-store</c>, or <c>private</c> directives are present in the origin
72+
/// headers.
73+
/// </para>
74+
/// </important>
6875
/// <para>
6976
/// For more information about cache behaviors, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-web-values-specify.html#DownloadDistValuesCacheBehavior">Cache
7077
/// Behavior Settings</a> in the <i>Amazon CloudFront Developer Guide</i>.

sdk/src/Services/CloudFront/Generated/Model/CachePolicyConfig.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,14 @@ namespace Amazon.CloudFront.Model
4747
/// The default, minimum, and maximum time to live (TTL) values that you want objects
4848
/// to stay in the CloudFront cache.
4949
/// </para>
50-
/// </li> </ul>
50+
/// <important>
51+
/// <para>
52+
/// If your minimum TTL is greater than 0, CloudFront will cache content for at least
53+
/// the duration specified in the cache policy's minimum TTL, even if the <c>Cache-Control:
54+
/// no-cache</c>, <c>no-store</c>, or <c>private</c> directives are present in the origin
55+
/// headers.
56+
/// </para>
57+
/// </important> </li> </ul>
5158
/// <para>
5259
/// The headers, cookies, and query strings that are included in the cache key are also
5360
/// included in requests that CloudFront sends to the origin. CloudFront sends a request

sdk/src/Services/CloudFront/Generated/Model/CreateCachePolicyRequest.cs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,14 @@ namespace Amazon.CloudFront.Model
4949
/// The default, minimum, and maximum time to live (TTL) values that you want objects
5050
/// to stay in the CloudFront cache.
5151
/// </para>
52-
/// </li> </ul>
52+
/// <important>
53+
/// <para>
54+
/// If your minimum TTL is greater than 0, CloudFront will cache content for at least
55+
/// the duration specified in the cache policy's minimum TTL, even if the <c>Cache-Control:
56+
/// no-cache</c>, <c>no-store</c>, or <c>private</c> directives are present in the origin
57+
/// headers.
58+
/// </para>
59+
/// </important> </li> </ul>
5360
/// <para>
5461
/// The headers, cookies, and query strings that are included in the cache key are also
5562
/// included in requests that CloudFront sends to the origin. CloudFront sends a request

sdk/src/Services/CloudFront/Generated/Model/CustomOriginConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ internal bool IsSetOriginProtocolPolicy()
153153
///
154154
/// <para>
155155
/// For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/DownloadDistValuesOrigin.html#DownloadDistValuesOriginResponseTimeout">Response
156-
/// timeout (custom origins only)</a> in the <i>Amazon CloudFront Developer Guide</i>.
156+
/// timeout</a> in the <i>Amazon CloudFront Developer Guide</i>.
157157
/// </para>
158158
/// </summary>
159159
public int? OriginReadTimeout

sdk/src/Services/CloudFront/Generated/Model/DefaultCacheBehavior.cs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,15 @@ namespace Amazon.CloudFront.Model
3333
/// A complex type that describes the default cache behavior if you don't specify a <c>CacheBehavior</c>
3434
/// element or if request URLs don't match any of the values of <c>PathPattern</c> in
3535
/// <c>CacheBehavior</c> elements. You must create exactly one default cache behavior.
36+
///
37+
/// <important>
38+
/// <para>
39+
/// If your minimum TTL is greater than 0, CloudFront will cache content for at least
40+
/// the duration specified in the cache policy's minimum TTL, even if the <c>Cache-Control:
41+
/// no-cache</c>, <c>no-store</c>, or <c>private</c> directives are present in the origin
42+
/// headers.
43+
/// </para>
44+
/// </important>
3645
/// </summary>
3746
public partial class DefaultCacheBehavior
3847
{

sdk/src/Services/CloudFront/Generated/Model/DistributionConfig.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ internal bool IsSetComment()
201201
/// Gets and sets the property ConnectionMode.
202202
/// <para>
203203
/// This field specifies whether the connection mode is through a standard distribution
204-
/// (direct) or a multi-tenant distribution with distribution tenants(tenant-only).
204+
/// (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
205205
/// </para>
206206
/// </summary>
207207
public ConnectionMode ConnectionMode

sdk/src/Services/CloudFront/Generated/Model/DistributionSummary.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ internal bool IsSetComment()
196196
/// Gets and sets the property ConnectionMode.
197197
/// <para>
198198
/// This field specifies whether the connection mode is through a standard distribution
199-
/// (direct) or a multi-tenant distribution with distribution tenants(tenant-only).
199+
/// (direct) or a multi-tenant distribution with distribution tenants (tenant-only).
200200
/// </para>
201201
/// </summary>
202202
public ConnectionMode ConnectionMode

0 commit comments

Comments
 (0)